ACK: [SRU][F/J][PATCH 0/1] CVE-2024-35904
Manuel Diewald
manuel.diewald at canonical.com
Mon Oct 21 09:45:46 UTC 2024
On Mon, Oct 21, 2024 at 10:54:11AM +0200, Massimiliano Pellizzer wrote:
> [Impact]
>
> selinux: avoid dereference of garbage after mount failure
>
> In case kern_mount() fails and returns an error pointer return in the
> error branch instead of continuing and dereferencing the error pointer.
>
> While on it drop the never read static variable selinuxfs_mount.
>
> [Fix]
>
> Noble: Fixed
> Jammy: Cherry picked from linux-6.6.y
> Focal: Backported from linux-6.6.y
> Bionic: Not affected
> Xenial: Not affected
>
> [Test Case]
>
> Compile and boot tested enabling SELinux.
>
> [Where problems could occur]
>
> The fix affects the SELinux filesystem. An issue with this fix may lead
> to kernel crashes during SELinux policy enforcement or when interacting
> with the SELinux filesystem. Users may also experience failed attempts
> to load or apply SELinux policies, resulting in security contexts not
> being enforced properly.
>
> Christian Göttsche (1):
> selinux: avoid dereference of garbage after mount failure
>
> security/selinux/selinuxfs.c | 12 +++++++-----
> 1 file changed, 7 insertions(+), 5 deletions(-)
>
> --
> 2.43.0
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
Acked-by: Manuel Diewald <manuel.diewald at canonical.com>
--
Manuel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20241021/dba713aa/attachment.sig>
More information about the kernel-team
mailing list