Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: bpf: Disable xfrm_decode_session hook attachment BPF LSM programs can currently attach to xfrm_decode_session(). That hook may return an error, but security_skb_classify_flow() calls it from a void path and triggers BUG_ON() if an error is returned. Disable BPF attachment to the hook to prevent a BPF LSM program from turning packet classification into a full panic.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 9e4e01dfd3254c7f04f24b7c6b29596bc12332f3 before aa265d47308775c5501073b08133623bcb5421f9; affected 9e4e01dfd3254c7f04f24b7c6b29596bc12332f3 before 6b44c6660aa1c9b843e450a623ac4a8484919dce; affected 9e4e01dfd3254c7f04f24b7c6b29596bc12332f3 before 4ae780d173ef40d4f7cb76935dc2d55fbf380009; affected 9e4e01dfd3254c7f04f24b7c6b29596bc12332f3 before 49fa1be621dde8f526d36e5791aded8fafda1e9c; affected 9e4e01dfd3254c7f04f24b7c6b29596bc12332f3 before 1bb3b6a5c3c5cc814eae4ff0212fdced36f8bce9; affected 9e4e01dfd3254c7f04f24b7c6b29596bc12332f3 before 12091470c6b4c1c14b2de12dcbae2ada6cb6d20b |
| Linux / Linux | affected 5.7; unaffected 0 before 5.7; unaffected 6.1.178 through 6.1.*; unaffected 6.6.145 through 6.6.*; unaffected 6.12.97 through 6.12.*; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/aa265d47308775c5501073b08133623bcb5421f9
- https://git.kernel.org/stable/c/6b44c6660aa1c9b843e450a623ac4a8484919dce
- https://git.kernel.org/stable/c/4ae780d173ef40d4f7cb76935dc2d55fbf380009
- https://git.kernel.org/stable/c/49fa1be621dde8f526d36e5791aded8fafda1e9c
- https://git.kernel.org/stable/c/1bb3b6a5c3c5cc814eae4ff0212fdced36f8bce9
- https://git.kernel.org/stable/c/12091470c6b4c1c14b2de12dcbae2ada6cb6d20b