CVE-2024-35899
published high CVSS 3.1 · 7.3netfilter: nf_tables: flush pending destroy work before exit_net release
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0935d558840099b3679c67bb7468dc78fcbad940 to < f4e14695fe805eb0f0cb36e0ad6a560b9f985e86 · 0935d558840099b3679c67bb7468dc78fcbad940 to < 46c4481938e2ca62343b16ea83ab28f4c1733d31 · 0935d558840099b3679c67bb7468dc78fcbad940 to < f7e3c88cc2a977c2b9a8aa52c1ce689e7b394e49 · 0935d558840099b3679c67bb7468dc78fcbad940 to < 4e8447a9a3d367b5065a0b7abe101da6e0037b6e · 0935d558840099b3679c67bb7468dc78fcbad940 to < 333b5085522cf1898d5a0d92616046b414f631a7 · 0935d558840099b3679c67bb7468dc78fcbad940 to < d2c9eb19fc3b11caebafde4c30a76a49203d18a6 · 0935d558840099b3679c67bb7468dc78fcbad940 to < 24cea9677025e0de419989ecb692acd4bb34cac2 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.20 (affected) · 0 to < 4.20 (unaffected · semver) · 5.4.274 through 5.4.* (unaffected · semver) · 5.10.215 through 5.10.* (unaffected · semver) · 5.15.154 through 5.15.* (unaffected · semver) · 6.1.85 through 6.1.* (unaffected · semver) · 6.6.26 through 6.6.* (unaffected · semver) · 6.8.5 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Siemens | — | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 to < V1.1.1 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| linux | — | linux_kernel0935d5588400 to < f4e14695fe80 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2024-068 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| Debian | buster | linux-5.10 | Advisory build | 5.10.216-1~deb10u1 | DLA-3842-1 |
Show 117 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| linux | — | linux_kernel0935d5588400 to < 46c4481938e2 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| linux | — | linux_kernel0935d5588400 to < f7e3c88cc2a9 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| linux | — | linux_kernel0935d5588400 to < 4e8447a9a3d3 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| linux | — | linux_kernel0935d5588400 to < 333b5085522c · Other versions: unknown | Affected | Not stated | CISA-ADP |
| linux | — | linux_kernel0935d5588400 to < d2c9eb19fc3b · Other versions: unknown | Affected | Not stated | CISA-ADP |
| linux | — | linux_kernel0935d5588400 to < 24cea9677025 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| linux | — | linux_kernel0 to < 4.20 · Other versions: unknown | Unaffected | Not stated | CISA-ADP |
| linux | — | linux_kernel5.4.274 to < 5.5 · Other versions: unknown | Unaffected | Not stated | CISA-ADP |
| linux | — | linux_kernel6.8.5 to < 6.9 · Other versions: unknown | Unaffected | Not stated | CISA-ADP |
| linux | — | linux_kernel6.9 · Other versions: unknown | Unaffected | Not stated | CISA-ADP |
| linux | — | linux_kernel4.20 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| linux | — | linux_kernel5.10.215 to < 5.11 · Other versions: unknown | Unaffected | Not stated | CISA-ADP |
| linux | — | linux_kernel5.15.154 to < 5.16 · Other versions: unknown | Unaffected | Not stated | CISA-ADP |
| linux | — | linux_kernel6.1.85 to < 6.2 · Other versions: unknown | Unaffected | Not stated | CISA-ADP |
| linux | — | linux_kernel6.6.26 to < 6.7 · Other versions: unknown | Unaffected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2024-049 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2024-079 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-613 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-debug-kvm | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-kvm | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 9 | bpftool | Advisory build | 7.3.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: flush pending destroy work before exit_net release Similar to 2c9f0293280e ("netfilter: nf_tables: flush pending destroy work before netlink notifier") to address a race between exit_net and the destroy workqueue. The trace below shows an element to be released via destroy workqueue while exit_net path (triggered via module removal) has already released the set that is used in such transaction. [ 1360.547789] BUG: KASAN: slab-use-after-free in nf_tables_trans_destroy_work+0x3f5/0x590 [nf_tables] [ 1360.547861] Read of size 8 at addr ffff888140500cc0 by task kworker/4:1/152465 [ 1360.547870] CPU: 4 PID: 152465 Comm: kworker/4:1 Not tainted 6.8.0+ #359 [ 1360.547882] Workqueue: events nf_tables_trans_destroy_work [nf_tables] [ 1360.547984] Call Trace: [ 1360.547991] <TASK> [ 1360.547998] dump_stack_lvl+0x53/0x70 [ 1360.548014] print_report+0xc4/0x610 [ 1360.548026] ? __virt_addr_valid+0xba/0x160 [ 1360.548040] ? __pfx__raw_spin_lock_irqsave+0x10/0x10 [ 1360.548054] ? nf_tables_trans_destroy_work+0x3f5/0x590 [nf_tables] [ 1360.548176] kasan_report+0xae/0xe0 [ 1360.548189] ? nf_tables_trans_destroy_work+0x3f5/0x590 [nf_tables] [ 1360.548312] nf_tables_trans_destroy_work+0x3f5/0x590 [nf_tables] [ 1360.548447] ? __pfx_nf_tables_trans_destroy_work+0x10/0x10 [nf_tables] [ 1360.548577] ? _raw_spin_unlock_irq+0x18/0x30 [ 1360.548591] process_one_work+0x2f1/0x670 [ 1360.548610] worker_thread+0x4d3/0x760 [ 1360.548627] ? __pfx_worker_thread+0x10/0x10 [ 1360.548640] kthread+0x16b/0x1b0 [ 1360.548653] ? __pfx_kthread+0x10/0x10 [ 1360.548665] ret_from_fork+0x2f/0x50 [ 1360.548679] ? __pfx_kthread+0x10/0x10 [ 1360.548690] ret_from_fork_asm+0x1a/0x30 [ 1360.548707] </TASK> [ 1360.548719] Allocated by task 192061: [ 1360.548726] kasan_save_stack+0x20/0x40 [ 1360.548739] kasan_save_track+0x14/0x30 [ 1360.548750] __kasan_kmalloc+0x8f/0xa0 [ 1360.548760] __kmalloc_node+0x1f1/0x450 [ 1360.548771] nf_tables_newset+0x10c7/0x1b50 [nf_tables] [ 1360.548883] nfnetlink_rcv_batch+0xbc4/0xdc0 [nfnetlink] [ 1360.548909] nfnetlink_rcv+0x1a8/0x1e0 [nfnetlink] [ 1360.548927] netlink_unicast+0x367/0x4f0 [ 1360.548935] netlink_sendmsg+0x34b/0x610 [ 1360.548944] ____sys_sendmsg+0x4d4/0x510 [ 1360.548953] ___sys_sendmsg+0xc9/0x120 [ 1360.548961] __sys_sendmsg+0xbe/0x140 [ 1360.548971] do_syscall_64+0x55/0x120 [ 1360.548982] entry_SYSCALL_64_after_hwframe+0x55/0x5d [ 1360.548994] Freed by task 192222: [ 1360.548999] kasan_save_stack+0x20/0x40 [ 1360.549009] kasan_save_track+0x14/0x30 [ 1360.549019] kasan_save_free_info+0x3b/0x60 [ 1360.549028] poison_slab_object+0x100/0x180 [ 1360.549036] __kasan_slab_free+0x14/0x30 [ 1360.549042] kfree+0xb6/0x260 [ 1360.549049] __nft_release_table+0x473/0x6a0 [nf_tables] [ 1360.549131] nf_tables_exit_net+0x170/0x240 [nf_tables] [ 1360.549221] ops_exit_list+0x50/0xa0 [ 1360.549229] free_exit_list+0x101/0x140 [ 1360.549236] unregister_pernet_operations+0x107/0x160 [ 1360.549245] unregister_pernet_subsys+0x1c/0x30 [ 1360.549254] nf_tables_module_exit+0x43/0x80 [nf_tables] [ 1360.549345] __do_sys_delete_module+0x253/0x370 [ 1360.549352] do_syscall_64+0x55/0x120 [ 1360.549360] entry_SYSCALL_64_after_hwframe+0x55/0x5d (gdb) list *__nft_release_table+0x473 0x1e033 is in __nft_release_table (net/netfilter/nf_tables_api.c:11354). 11349 list_for_each_entry_safe(flowtable, nf, &table->flowtables, list) { 11350 list_del(&flowtable->list); 11351 nft_use_dec(&table->use); 11352 nf_tables_flowtable_destroy(flowtable); 11353 } 11354 list_for_each_entry_safe(set, ns, &table->sets, list) { 11355 list_del(&set->list); 11356 nft_use_dec(&table->use); 11357 if (set->flags & (NFT_SET_MAP | NFT_SET_OBJECT)) 11358 nft_map_deactivat ---truncated---
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The attacker-controlled side of the race is driven entirely through NETLINK_NETFILTER `sendmsg()` batches (`nfnetlink_rcv_batch` → `nf_tables_commit`) and the freeing side through the `delete_module()` syscall; no network, adjacent-network, or remote-peer data reaches this code. AC:L - The attacker keeps the global destroy workqueue permanently non-empty by looping nftables commit batches, and `nf_tables_trans_destroy_work()` holds each batch across a `synchronize_rcu()` grace period, so the window during which `__nft_release_table()` can free a still-referenced set is wide and hit reliably; no memory-layout or other attacker-uncontrollable precondition is required beyond the teardown event itself, which is accounted for under User Interaction. PR:L - Creating the tables, sets and pending element-destroy transactions only requires `CAP_NET_ADMIN` in the netlink socket's user namespace (`netlink_net_capable`), which any unprivileged local user obtains with `unshare -Urn`, and module removal frees tables in *every* live netns including the attacker's own. UI:R - The freeing side is only reached via `delete_module()`, which needs `capable(CAP_SYS_MODULE)` in the initial user namespace, so a separate privileged user or administrative automation must unload `nf_tables` for the attacker's primed race to fire. S:U - The use-after-free occurs on kernel slab memory and is exploited within the kernel's own security authority; no VM, hypervisor, IOMMU, or sandbox boundary is crossed. C:H - `nft_set_elem_ext()` reads the freed set's `ops` pointer and adds `ops->elemsize` as an offset, so a reallocated slab lets the attacker aim reads at arbitrary kernel addresses and have the resulting `nft_set_ext` contents processed, yielding disclosure well beyond a bounded leak. I:H - The destroy path performs indirect calls through pointers read from the freed object (`set->ops->destroy(ctx, set)` in `nft_set_destroy()`, `set->exprs[i]->ops->destroy`) plus writes via `nft_set_put()`'s refcount decrement and `nft_use_dec()` through an OOB-derived pointer, giving both a write primitive and control-flow hijack potential. A:H - Even unweaponised, the slab use-after-free in `nf_tables_trans_destroy_work()` dereferences freed memory from a kworker context, producing a kernel oops/panic (KASAN report in the commit message) and taking the machine down.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.1 | medium | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 0935d558840099b3679c67bb7468dc78fcbad940 to < f4e14695fe805eb0f0cb36e0ad6a560b9f985e86 (affected · git)0935d558840099b3679c67bb7468dc78fcbad940 to < 46c4481938e2ca62343b16ea83ab28f4c1733d31 (affected · git)0935d558840099b3679c67bb7468dc78fcbad940 to < f7e3c88cc2a977c2b9a8aa52c1ce689e7b394e49 (affected · git)0935d558840099b3679c67bb7468dc78fcbad940 to < 4e8447a9a3d367b5065a0b7abe101da6e0037b6e (affected · git)0935d558840099b3679c67bb7468dc78fcbad940 to < 333b5085522cf1898d5a0d92616046b414f631a7 (affected · git)0935d558840099b3679c67bb7468dc78fcbad940 to < d2c9eb19fc3b11caebafde4c30a76a49203d18a6 (affected · git)0935d558840099b3679c67bb7468dc78fcbad940 to < 24cea9677025e0de419989ecb692acd4bb34cac2 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.20 (affected)0 to < 4.20 (unaffected · semver)5.4.274 through 5.4.* (unaffected · semver)5.10.215 through 5.10.* (unaffected · semver)5.15.154 through 5.15.* (unaffected · semver)6.1.85 through 6.1.* (unaffected · semver)6.6.26 through 6.6.* (unaffected · semver)6.8.5 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 to < V1.1.1 (affected · custom)Default: unknown | siemens-SADP · adp |
| linux | linux_kernel | 0935d5588400 to < f4e14695fe80 (affected · custom)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 0935d5588400 to < 46c4481938e2 (affected · custom)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 0935d5588400 to < f7e3c88cc2a9 (affected · custom)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 0935d5588400 to < 4e8447a9a3d3 (affected · custom)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 0935d5588400 to < 333b5085522c (affected · custom)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 0935d5588400 to < d2c9eb19fc3b (affected · custom)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 0935d5588400 to < 24cea9677025 (affected · custom)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 0 to < 4.20 (unaffected · custom)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 5.4.274 to < 5.5 (unaffected · custom)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 6.8.5 to < 6.9 (unaffected · custom)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 6.9 (unaffected)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 4.20 (affected)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 5.10.215 to < 5.11 (unaffected · custom)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 5.15.154 to < 5.16 (unaffected · custom)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 6.1.85 to < 6.2 (unaffected · custom)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 6.6.26 to < 6.7 (unaffected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-362 CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
References
9- https://cert-portal.siemens.com/productcert/html/ssa-265688.html
- https://git.kernel.org/stable/c/24cea9677025e0de419989ecb692acd4bb34cac2
- https://git.kernel.org/stable/c/333b5085522cf1898d5a0d92616046b414f631a7
- https://git.kernel.org/stable/c/46c4481938e2ca62343b16ea83ab28f4c1733d31
- https://git.kernel.org/stable/c/4e8447a9a3d367b5065a0b7abe101da6e0037b6e
- https://git.kernel.org/stable/c/d2c9eb19fc3b11caebafde4c30a76a49203d18a6
- https://git.kernel.org/stable/c/f4e14695fe805eb0f0cb36e0ad6a560b9f985e86
- https://git.kernel.org/stable/c/f7e3c88cc2a977c2b9a8aa52c1ce689e7b394e49
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
Provider assertions
4Linux · cna
netfilter: nf_tables: flush pending destroy work before exit_net release
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 20010f68fe7ed07531190360e46e9756ef3c397dc4869595be758f4c9b9387ac
- Ingested
- 15 Oct 2026, 13:09:23 UTC
- Source record
- Official CVE record