CVE-2024-38566

Source
https://cve.org/CVERecord?id=CVE-2024-38566
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38566.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-38566
Downstream
Related
Published
2024-06-19T13:35:33.587Z
Modified
2026-03-23T05:09:42.263714404Z
Summary
bpf: Fix verifier assumptions about socket->sk
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38566.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6fcd486b3a0a628c41f12b3a7329a18a2c74b351
Fixed
39f8a29330f433000e716eefc4b9abda05b71a82
Fixed
6f5ae91172a93abac9720ba94edf3ec8f4d7f24f
Fixed
c58ccdd2483a1d990748cdaf94206b5d5986a001
Fixed
0db63c0b86e981a1e97d2596d64ceceba1a5470e

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38566.json"