APPLIED: [SRU][M/J/F][PATCH 0/1] CVE-2024-26622
Roxana Nicolescu
roxana.nicolescu at canonical.com
Mon Apr 8 07:05:26 UTC 2024
On 01/04/2024 16:19, Bethany Jamison wrote:
> [Impact]
>
> In the Linux kernel, the following vulnerability has been resolved:
>
> tomoyo: fix UAF write bug in tomoyo_write_control()
>
> Since tomoyo_write_control() updates head->write_buf when write()
> of long lines is requested, we need to fetch head->write_buf after
> head->io_sem is held. Otherwise, concurrent write() requests can
> cause use-after-free-write and double-free problems.
>
> [Fix]
>
> Mantic: Clean cherry-pick
> Jammy: M patch applied cleanly
> Focal: M patch applied cleanly
> Bionic: fix sent to esm ML
> Xenial: fix sent to esm ML
> Trusty: not going to be fixed by us
>
> [Test Case]
>
> Compile and boot tested.
>
> [Where problems could occur]
>
> This affects those who use Tomoyo as a MAC, mandatory access control,
> issues could occur when writting to the tomoyo interface.
>
> Tetsuo Handa (1):
> tomoyo: fix UAF write bug in tomoyo_write_control()
>
> security/tomoyo/common.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
Applied to mantic, jammy, focal master-next branches. Thanks!
More information about the kernel-team
mailing list