cbcvebase.
CVE-2024-47703
published 2024-10-21

CVE-2024-47703: 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…

PriorityP418medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.21%
11.9th percentile
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.

Affected

11 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.11.2-1 (forky)linux 6.11.2-1 (forky)
linuxlinux
linuxlinux>= 520b7aa00d8cd8e411ecc09f63a2acd90feb6d29 < 1050727d83e70449991c29dd1cf29fe936a63da31050727d83e70449991c29dd1cf29fe936a63da3
linuxlinux>= 520b7aa00d8cd8e411ecc09f63a2acd90feb6d29 < 27ca3e20fe80be85a92b10064dfeb56cb2564b1c27ca3e20fe80be85a92b10064dfeb56cb2564b1c
linuxlinux>= 520b7aa00d8cd8e411ecc09f63a2acd90feb6d29 < 5d99e198be279045e6ecefe220f5c52f8ce9bfd55d99e198be279045e6ecefe220f5c52f8ce9bfd5
linuxlinux_kernel>= 0 < 6.11.2-16.11.2-1
linuxlinux_kernel>= 0 < 6.11.2-16.11.2-1
linuxlinux_kernel>= 0 < 6.8.0-54.566.8.0-54.56
linuxlinux_kernel>= 0 < 6.11.0-18.186.11.0-18.18
linuxlinux_kernel>= 5.7 < 6.10.136.10.13
linuxlinux_kernel>= 6.11 < 6.11.26.11.2

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv8.8HIGH
vendor_ubuntu8.8HIGH
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.