Description
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 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
ac2a66665e231847cab11b8c8e844ce43207dd2e to < 0a00254585827f1695aa2700114af622ea754cfaaffectedac2a66665e231847cab11b8c8e844ce43207dd2e to < be345dcbddb4643a54252b954af974b16eda8f91affectedac2a66665e231847cab11b8c8e844ce43207dd2e to < 211ee5d998d92a7d548811939c65942d06c146e4affectedac2a66665e231847cab11b8c8e844ce43207dd2e to < d37917e7bebe078f3c17e47fd6fc1c9f6e8497b2affectedac2a66665e231847cab11b8c8e844ce43207dd2e to < 972fdf7c4f5c282a239c88fea614b056c33dc025affectedac2a66665e231847cab11b8c8e844ce43207dd2e to < d9d3050a70efe217e73a0751e55fdae6a7092620affectedac2a66665e231847cab11b8c8e844ce43207dd2e to < d16b71231e65cb05daea2b45701fcf09cef041e7affectedac2a66665e231847cab11b8c8e844ce43207dd2e to < 2014ac62df9d45bb9a004a043e85df7be09ed780affected
Linux Linux
Default version status: affected
4.16affected0 to < 4.16unaffected5.10.266 to ≤ 5.10.*unaffected5.15.217 to ≤ 5.15.*unaffected6.1.184 to ≤ 6.1.*unaffected6.6.153 to ≤ 6.6.*unaffected6.12.105 to ≤ 6.12.*unaffected6.18.46 to ≤ 6.18.*unaffected7.1.10 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/0a00254585827f1695aa2700114af622ea754cfa ↗
- https://git.kernel.org/stable/c/be345dcbddb4643a54252b954af974b16eda8f91 ↗
- https://git.kernel.org/stable/c/211ee5d998d92a7d548811939c65942d06c146e4 ↗
- https://git.kernel.org/stable/c/d37917e7bebe078f3c17e47fd6fc1c9f6e8497b2 ↗
- https://git.kernel.org/stable/c/972fdf7c4f5c282a239c88fea614b056c33dc025 ↗
- https://git.kernel.org/stable/c/d9d3050a70efe217e73a0751e55fdae6a7092620 ↗
- https://git.kernel.org/stable/c/d16b71231e65cb05daea2b45701fcf09cef041e7 ↗
- https://git.kernel.org/stable/c/2014ac62df9d45bb9a004a043e85df7be09ed780 ↗