CVE-2024-47703
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
5.7
and later are affected. Fixed in
6.10.13,
6.11.2,
6.12
and their respective stable series.
References
The following references provide additional information about CVE-2024-47703 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/1050727d83e70449991c29dd1cf29fe936a63da3
-
PatchKernel patch commithttps://git.kernel.org/stable/c/27ca3e20fe80be85a92b10064dfeb56cb2564b1c
-
PatchKernel patch commithttps://git.kernel.org/stable/c/5d99e198be279045e6ecefe220f5c52f8ce9bfd5
Frequently asked questions
-
What is CVE-2024-47703?
CVE-2024-47703 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 5.7 onward and has been patched in 6.10.13, 6.11.2 and 6.12. CVE-2024-47703 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-47703?
CVE-2024-47703 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-47703?
Yes — CVE-2024-47703 has been patched. Fixed versions include 6.10.13, 6.11.2 and 6.12. If you are running Linux kernel 5.7 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-47703 actively exploited?
No — CVE-2024-47703 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.