Re: [PATCH] fs/aio: fix uaf in sys_io_cancel

From: Bart Van Assche
Date: Mon Mar 04 2024 - 12:58:50 EST


On 3/4/24 09:47, Benjamin LaHaise wrote:
On Mon, Mar 04, 2024 at 09:40:35AM -0800, Bart Van Assche wrote:
On 3/4/24 09:31, Benjamin LaHaise wrote:
A revert is justified when a series of patches is buggy and had
insufficient review prior to merging.

That's not how Linux kernel development works. If a bug can get fixed
easily, a fix is preferred instead of reverting + reapplying a patch.

Your original "fix" is not right, and it wasn't properly tested. Commit
54cbc058d86beca3515c994039b5c0f0a34f53dd needs to be reverted.

As I explained before, the above reply is not sufficiently detailed to
motivate a revert.

Bart.