๐Ÿ” CVE Alert

CVE-2024-47703

UNKNOWN 0.0

bpf, lsm: Add check for BPF LSM return value

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

Vendor linux
Product linux
Ecosystems
Industries
Technology
Published Oct 21, 2024
Last Updated May 11, 2026
Stay Ahead of the Next One

Get instant alerts for linux linux

Be the first to know when new unknown vulnerabilities affecting linux linux are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

Linux / Linux
520b7aa00d8cd8e411ecc09f63a2acd90feb6d29 < 1050727d83e70449991c29dd1cf29fe936a63da3 520b7aa00d8cd8e411ecc09f63a2acd90feb6d29 < 27ca3e20fe80be85a92b10064dfeb56cb2564b1c 520b7aa00d8cd8e411ecc09f63a2acd90feb6d29 < 5d99e198be279045e6ecefe220f5c52f8ce9bfd5
Linux / Linux
5.7

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
git.kernel.org: https://git.kernel.org/stable/c/1050727d83e70449991c29dd1cf29fe936a63da3 git.kernel.org: https://git.kernel.org/stable/c/27ca3e20fe80be85a92b10064dfeb56cb2564b1c git.kernel.org: https://git.kernel.org/stable/c/5d99e198be279045e6ecefe220f5c52f8ce9bfd5