{"id":"CVE-2024-38566","published":"2024-06-19T13:35:33Z","modified":"2026-05-11T20:19:11Z","title":"bpf: Fix verifier assumptions about socket->sk","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix verifier assumptions about socket->sk\n\nThe verifier assumes that 'sk' field in 'struct socket' is valid\nand non-NULL when 'socket' pointer itself is trusted and non-NULL.\nThat may not be the case when socket was just created and\npassed to LSM socket_accept hook.\nFix this verifier assumption and adjust tests.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00221,"percentile":0.12921,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/39f8a29330f433000e716eefc4b9abda05b71a82","tags":[]},{"url":"https://git.kernel.org/stable/c/6f5ae91172a93abac9720ba94edf3ec8f4d7f24f","tags":[]},{"url":"https://git.kernel.org/stable/c/c58ccdd2483a1d990748cdaf94206b5d5986a001","tags":[]},{"url":"https://git.kernel.org/stable/c/0db63c0b86e981a1e97d2596d64ceceba1a5470e","tags":[]}],"priority":{"score":2.6,"factors":[{"name":"EPSS percentile","points":2.58}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 6fcd486b3a0a628c41f12b3a7329a18a2c74b351, < 39f8a29330f433000e716eefc4b9abda05b71a82",">= 6fcd486b3a0a628c41f12b3a7329a18a2c74b351, < 6f5ae91172a93abac9720ba94edf3ec8f4d7f24f",">= 6fcd486b3a0a628c41f12b3a7329a18a2c74b351, < c58ccdd2483a1d990748cdaf94206b5d5986a001",">= 6fcd486b3a0a628c41f12b3a7329a18a2c74b351, < 0db63c0b86e981a1e97d2596d64ceceba1a5470e"]},{"vendor":"Linux","product":"Linux","versions":["6.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T17:14:31.584918Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-37429","exploited":false,"provenance":"source"}}