netfilter: nfnetlink_log: wait for rcu grace period before freeing pernet state
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 33d1469b0124cc0baaea7a2032123b77a81e0940, Kernel 3b9aa62d78ce80de47af2db472ff452398755213, Kernel 5570d6c8b320dbcc602617ee08c27ce752fed65a and 3 more.
In the Linux kernel, the following vulnerability has been resolved: netfilter: nfnetlink_log: wait for rcu grace period before freeing pernet state sashiko reports: "nfnl_log_net_exit() calls nf_log_unset(), which clears the logger pointer without an RCU grace period. Immediately after, ops_free_list() frees the per-net state while concurrent packets might still be executing nf_log_packet() under rcu_read_lock()." Clear the pointer via .pre_exit to make sure rcu readers have completed before pernet storage is free'd. The change in nf_log_syslog.c is only done for consistency: it doesn't use pernet data.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.12, >=c83fa19603bdaeef17b815713dbbe3230c8a34ee <33d1469b0124cc0baaea7a2032123b77a81e0940, >=c83fa19603bdaeef17b815713dbbe3230c8a34ee <3b9aa62d78ce80de47af2db472ff452398755213, >=c83fa19603bdaeef17b815713dbbe3230c8a34ee <5570d6c8b320dbcc602617ee08c27ce752fed65a, >=c83fa19603bdaeef17b815713dbbe3230c8a34ee <ba2e246aa294f9acd86194ea87fb6834ed0a37ac, >=c83fa19603bdaeef17b815713dbbe3230c8a34ee <dc20050b6b12ca58066715d088e1a537535d938d, >=c83fa19603bdaeef17b815713dbbe3230c8a34ee <f4461654374576e9d5d0245fd534c46ad8509051 | 33d1469b0124cc0baaea7a2032123b77a81e0940, 3b9aa62d78ce80de47af2db472ff452398755213, 5570d6c8b320dbcc602617ee08c27ce752fed65a, ba2e246aa294f9acd86194ea87fb6834ed0a37ac, dc20050b6b12ca58066715d088e1a537535d938d, f4461654374576e9d5d0245fd534c46ad8509051 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket