netfilter: flowtable: publish GC-visible tuple last
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel d9d3050a70efe217e73a0751e55fdae6a7092620, Kernel 0a00254585827f1695aa2700114af622ea754cfa, Kernel 2014ac62df9d45bb9a004a043e85df7be09ed780 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: netfilter: flowtable: publish GC-visible tuple last nf_flow_table_iterate() only treats original-direction tuple nodes as owning entries. Publishing the original node first lets GC observe and free a flow while flow_offload_add() is still inserting the reply node. Publish the reply node first and the original node last so GC never sees a partially installed flow. KASAN can trigger slab-use-after-free read and write reports in the flowtable/rhashtable path (rht_deferred_worker, jhash, flow_offload_del, flow_offload_lookup, etc.).
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=ac2a66665e231847cab11b8c8e844ce43207dd2e <d9d3050a70efe217e73a0751e55fdae6a7092620, >=ac2a66665e231847cab11b8c8e844ce43207dd2e <0a00254585827f1695aa2700114af622ea754cfa, >=ac2a66665e231847cab11b8c8e844ce43207dd2e <2014ac62df9d45bb9a004a043e85df7be09ed780, >=ac2a66665e231847cab11b8c8e844ce43207dd2e <211ee5d998d92a7d548811939c65942d06c146e4, >=ac2a66665e231847cab11b8c8e844ce43207dd2e <972fdf7c4f5c282a239c88fea614b056c33dc025, >=ac2a66665e231847cab11b8c8e844ce43207dd2e <be345dcbddb4643a54252b954af974b16eda8f91, >=ac2a66665e231847cab11b8c8e844ce43207dd2e <d16b71231e65cb05daea2b45701fcf09cef041e7, >=ac2a66665e231847cab11b8c8e844ce43207dd2e <d37917e7bebe078f3c17e47fd6fc1c9f6e8497b2, =4.16 | d9d3050a70efe217e73a0751e55fdae6a7092620, 0a00254585827f1695aa2700114af622ea754cfa, 2014ac62df9d45bb9a004a043e85df7be09ed780, 211ee5d998d92a7d548811939c65942d06c146e4, 972fdf7c4f5c282a239c88fea614b056c33dc025, be345dcbddb4643a54252b954af974b16eda8f91, d16b71231e65cb05daea2b45701fcf09cef041e7, d37917e7bebe078f3c17e47fd6fc1c9f6e8497b2 |
| linux-kernel: Kernel | >=5.11.0 <5.15.217, >=5.16.0 <6.1.184, >=6.13.0 <6.18.46, >=6.19.0 <7.1.10, >=6.2.0 <6.6.153, >=6.7.0 <6.12.105, >=4.16.0 <5.10.266 | 5.15.217, 6.1.184, 6.18.46, 7.1.10, 6.6.153, 6.12.105, 5.10.266 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket