First published: Mon Oct 21 2024(Updated: )
In the Linux kernel, the following vulnerability has been resolved: bpf, lsm: Add check for BPF LSM return value A bpf prog returning a positive number attached to file_alloc_security hook makes kernel panic. This happens because file system can not filter out the positive number returned by the LSM prog using IS_ERR, and misinterprets this positive number as a file pointer. Given that hook file_alloc_security never returned positive number before the introduction of BPF LSM, and other BPF LSM hooks may encounter similar issues, this patch adds LSM return value check in verifier, to ensure no unexpected value is returned.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | >=5.7<6.10.13 | |
Linux Kernel | >=6.11<6.11.2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-47703 is classified as a high severity vulnerability due to the potential for kernel panic.
To mitigate CVE-2024-47703, upgrade your Linux kernel to version 6.12.12-1 or later.
CVE-2024-47703 affects multiple versions of the Linux kernel ranging from 5.7 to 6.11.2.
If exploited, CVE-2024-47703 can lead to a kernel panic, rendering the system unresponsive.
CVE-2024-47703 was published in 2024, addressing an issue in the Linux kernel related to BPF LSM.