Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 6fcd486b3a0a628c41f12b3a7329a18a2c74b351 before 39f8a29330f433000e716eefc4b9abda05b71a82; affected 6fcd486b3a0a628c41f12b3a7329a18a2c74b351 before 6f5ae91172a93abac9720ba94edf3ec8f4d7f24f; affected 6fcd486b3a0a628c41f12b3a7329a18a2c74b351 before c58ccdd2483a1d990748cdaf94206b5d5986a001; affected 6fcd486b3a0a628c41f12b3a7329a18a2c74b351 before 0db63c0b86e981a1e97d2596d64ceceba1a5470e |
| Linux / Linux | affected 6.4; unaffected 0 before 6.4; unaffected 6.6.33 through 6.6.*; unaffected 6.8.12 through 6.8.*; unaffected 6.9.3 through 6.9.*; unaffected 6.10 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/39f8a29330f433000e716eefc4b9abda05b71a82
- https://git.kernel.org/stable/c/6f5ae91172a93abac9720ba94edf3ec8f4d7f24f
- https://git.kernel.org/stable/c/c58ccdd2483a1d990748cdaf94206b5d5986a001
- https://git.kernel.org/stable/c/0db63c0b86e981a1e97d2596d64ceceba1a5470e
ADP enrichment
No English description supplied.
No English description supplied.
No references supplied.