CVE-2024-38566

bpf: Fix verifier assumptions about socket->sk

published June 19, 2024

CVSS
—
EPSS
0%
Percentile
12.0
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

bpf: Fix verifier assumptions about socket->sk

The verifier assumes that 'sk' field in 'struct socket' is valid

and non-NULL when 'socket' pointer itself is trusted and non-NULL.

That may not be the case when socket was just created and

passed to LSM socket_accept hook.

Fix this verifier assumption and adjust tests.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00221 · 12.0th percentile
Published
2024-06-19T13:35Z
EPSS history
Timeline
  • 19 JUN 13:35Z
    bpf: Fix verifier assumptions about socket->sk
    cvelistv5