CVE-2024-38566

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

17 Sep 2025, 21:04

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
References () https://git.kernel.org/stable/c/0db63c0b86e981a1e97d2596d64ceceba1a5470e - () https://git.kernel.org/stable/c/0db63c0b86e981a1e97d2596d64ceceba1a5470e - Patch
References () https://git.kernel.org/stable/c/39f8a29330f433000e716eefc4b9abda05b71a82 - () https://git.kernel.org/stable/c/39f8a29330f433000e716eefc4b9abda05b71a82 - Patch
References () https://git.kernel.org/stable/c/6f5ae91172a93abac9720ba94edf3ec8f4d7f24f - () https://git.kernel.org/stable/c/6f5ae91172a93abac9720ba94edf3ec8f4d7f24f - Patch
References () https://git.kernel.org/stable/c/c58ccdd2483a1d990748cdaf94206b5d5986a001 - () https://git.kernel.org/stable/c/c58ccdd2483a1d990748cdaf94206b5d5986a001 - Patch
CWE NVD-CWE-noinfo
First Time Linux linux Kernel
Linux

21 Nov 2024, 09:26

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/0db63c0b86e981a1e97d2596d64ceceba1a5470e - () https://git.kernel.org/stable/c/0db63c0b86e981a1e97d2596d64ceceba1a5470e -
References () https://git.kernel.org/stable/c/39f8a29330f433000e716eefc4b9abda05b71a82 - () https://git.kernel.org/stable/c/39f8a29330f433000e716eefc4b9abda05b71a82 -
References () https://git.kernel.org/stable/c/6f5ae91172a93abac9720ba94edf3ec8f4d7f24f - () https://git.kernel.org/stable/c/6f5ae91172a93abac9720ba94edf3ec8f4d7f24f -
References () https://git.kernel.org/stable/c/c58ccdd2483a1d990748cdaf94206b5d5986a001 - () https://git.kernel.org/stable/c/c58ccdd2483a1d990748cdaf94206b5d5986a001 -

20 Jun 2024, 12:44

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se resolvió la siguiente vulnerabilidad: bpf: corrige las suposiciones del verificador sobre socket->sk. El verificador asume que el campo 'sk' en 'struct socket' es válido y no NULL cuando el puntero 'socket' en sí es confiable y no NULL. Puede que ese no sea el caso cuando el socket se acaba de crear y se pasó al gancho LSM socket_accept. Corrija esta suposición del verificador y ajuste las pruebas.

19 Jun 2024, 14:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-06-19 14:15

Updated : 2025-09-17 21:04


NVD link : CVE-2024-38566

Mitre link : CVE-2024-38566

CVE.ORG link : CVE-2024-38566


JSON object : View

Products Affected

linux

  • linux_kernel