CVE-2024-47703

MEDIUM EPSS 10.7%
Published Oct 21, 20241y ago · Modified Jun 17, 20262w ago
5.5 CVSS 3.1
Medium
Find Similar
Published Oct 21, 2024 1y ago
Last Modified Jun 17, 2026 2w ago

Description

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.

CVSS Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
10.7% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Affected Products 2

VendorProductVersionRange
linuxlinux_kernel*≥5.7  –  <6.10.13
linuxlinux_kernel*≥6.11  –  <6.11.2

References 3

  • git.kernel.org https://git.kernel.org/stable/c/1050727d83e70449991c29dd1cf29fe936a63da3
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/27ca3e20fe80be85a92b10064dfeb56cb2564b1c
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/5d99e198be279045e6ecefe220f5c52f8ce9bfd5
    Patch

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/1050727d83e70449991c29dd1cf29fe936a63da3
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/27ca3e20fe80be85a92b10064dfeb56cb2564b1c
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/5d99e198be279045e6ecefe220f5c52f8ce9bfd5
    Patch