[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <165962377794.930556.772272743019429536.b4-ty@kernel.dk>
Date: Thu, 04 Aug 2022 08:36:17 -0600
From: Jens Axboe <axboe@...nel.dk>
To: paul@...l-moore.com, yepeilin.cs@...il.com, eparis@...hat.com,
asml.silence@...il.com
Cc: linux-audit@...hat.com, peilin.ye@...edance.com,
io-uring@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] audit, io_uring, io-wq: Fix memory leak in io_sq_thread() and io_wqe_worker()
On Wed, 3 Aug 2022 15:23:43 -0700, Peilin Ye wrote:
> From: Peilin Ye <peilin.ye@...edance.com>
>
> Currently @audit_context is allocated twice for io_uring workers:
>
> 1. copy_process() calls audit_alloc();
> 2. io_sq_thread() or io_wqe_worker() calls audit_alloc_kernel() (which
> is effectively audit_alloc()) and overwrites @audit_context,
> causing:
>
> [...]
Applied, thanks!
[1/1] audit, io_uring, io-wq: Fix memory leak in io_sq_thread() and io_wqe_worker()
commit: f482aa98652795846cc55da98ebe331eb74f3d0b
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists