[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFf+5zj=KmBG0Avqy6cq9qtpGKR3HnYNc6rK6y8B_78Ajt4RhQ@mail.gmail.com>
Date: Mon, 10 Mar 2025 13:24:54 +0530
From: Amit <amitchoudhary0523@...il.com>
To: linux-kernel@...r.kernel.org
Subject: Catching use-after-free easily in linux kernel.
Hi,
We can catch use-after-free easily if we do the following:
kfree(x);
(x) = NULL;
Now, if someone uses 'x' again then the kernel will crash and we will know where
the use-after-free is happening and then we can fix it.
Regards,
Amit
Powered by blists - more mailing lists