Description
In the Linux kernel, the following vulnerability has been resolved: net: kcm: Hold RCU read lock while running BPF parser kcm_parse_func_strparser() calls bpf_prog_run_pin_on_cpu() which prevents CPU migration, but does not establish an RCU read-side critical section. Consequently, BPF map operations can trigger WARN_ON_ONCE(!bpf_rcu_lock_held()) when called from the KCM strparser program. Hold the RCU read lock while running the program.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
9b73896a81dc68a638a011877b7344b252f92276 to < 37108861cf7bd909d4a372069bcd61c8f489e232affected9b73896a81dc68a638a011877b7344b252f92276 to < 3c70d27e792a28bca650ddd8a9aa0fe3591ffec5affected9b73896a81dc68a638a011877b7344b252f92276 to < 1d26a6e007d46babc7fa76e5a157dccf86cd55c0affected9b73896a81dc68a638a011877b7344b252f92276 to < b0e94ea63dbdcbfec9beb819cd5f8fa584809ef2affected9b73896a81dc68a638a011877b7344b252f92276 to < 21526f8a191a3c50622b8c10bd927870d780eae4affected9b73896a81dc68a638a011877b7344b252f92276 to < 292846223eaddba890e40699d2ab82ee5671798caffected9b73896a81dc68a638a011877b7344b252f92276 to < f392affef3c9ce64dfdde794df0579e0a7793440affected9b73896a81dc68a638a011877b7344b252f92276 to < b0346dd64e4905291cc9c479f2e6cf1884ced4e6affected
Linux Linux
Default version status: affected
4.9affected0 to < 4.9unaffected5.10.270 to ≤ 5.10.*unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.52 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/37108861cf7bd909d4a372069bcd61c8f489e232 ↗
- https://git.kernel.org/stable/c/3c70d27e792a28bca650ddd8a9aa0fe3591ffec5 ↗
- https://git.kernel.org/stable/c/1d26a6e007d46babc7fa76e5a157dccf86cd55c0 ↗
- https://git.kernel.org/stable/c/b0e94ea63dbdcbfec9beb819cd5f8fa584809ef2 ↗
- https://git.kernel.org/stable/c/21526f8a191a3c50622b8c10bd927870d780eae4 ↗
- https://git.kernel.org/stable/c/292846223eaddba890e40699d2ab82ee5671798c ↗
- https://git.kernel.org/stable/c/f392affef3c9ce64dfdde794df0579e0a7793440 ↗
- https://git.kernel.org/stable/c/b0346dd64e4905291cc9c479f2e6cf1884ced4e6 ↗