CVE-2024-47703

CVE-2024-47703

High · published October 21, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
11.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00216 · 11.4th percentile
Published
2024-10-21T16:15Z
Affected products (2)
ProductVersionsFixed in
linux/linux_kernel≥ 5.7, < 6.10.136.10.13
linux/linux_kernel≥ 6.11, < 6.11.26.11.2
References (3)
EPSS history
Timeline
  • 21 OCT 11:53Z
    bpf, lsm: Add check for BPF LSM return value
    cvelistv5