VYPR
Unrated severityNVD Advisory· Published Jun 19, 2024· Updated May 4, 2025

bpf: Fix verifier assumptions about socket->sk

CVE-2024-38566

Description

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.

Affected products

49

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.