CVEvulnerability
CVE-2024-38566
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-06-19
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
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 configurations
• linux linux kernel (>= 6.4 < 6.6.33)
• linux linux kernel (>= 6.7 < 6.8.12)
• linux linux kernel (>= 6.9 < 6.9.3)
References
- https://git.kernel.org/stable/c/0db63c0b86e981a1e97d2596d64ceceba1a5470e Patch
- https://git.kernel.org/stable/c/39f8a29330f433000e716eefc4b9abda05b71a82 Patch
- https://git.kernel.org/stable/c/6f5ae91172a93abac9720ba94edf3ec8f4d7f24f Patch
- https://git.kernel.org/stable/c/c58ccdd2483a1d990748cdaf94206b5d5986a001 Patch
- https://git.kernel.org/stable/c/0db63c0b86e981a1e97d2596d64ceceba1a5470e Patch
- https://git.kernel.org/stable/c/39f8a29330f433000e716eefc4b9abda05b71a82 Patch
- https://git.kernel.org/stable/c/6f5ae91172a93abac9720ba94edf3ec8f4d7f24f Patch
- https://git.kernel.org/stable/c/c58ccdd2483a1d990748cdaf94206b5d5986a001 Patch