Description
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nf_tables: fix nft_counters_enabled underflow at nf_tables_addchain()
syzbot is reporting underflow of nft_counters_enabled counter at
nf_tables_addchain() [1], for commit 43eb8949cfdffa76 ("netfilter:
nf_tables: do not leave chain stats enabled on error") missed that
nf_tables_chain_destroy() after nft_basechain_init() in the error path of
nf_tables_addchain() decrements the counter because nft_basechain_init()
makes nft_is_base_chain() return true by setting NFT_CHAIN_BASE flag.
Increment the counter immediately after returning from
nft_basechain_init().
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 5.10.140 – < 5.10.146, 5.15.64 – < 5.15.71, 5.19.6 – < 5.19.12 | 5.10.146 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 6.0.2-1 | — |
| Debian 13 | linux | 6.0.2-1 | — |
| Debian 12 | linux | 6.0.2-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux-raspi-realtime | No fix yet | — |
| Ubuntu 22.04 LTS | linux +1 | 5.15.0-57.63 | — |
| Ubuntu 22.04 LTS | linux-aws | 5.15.0-1027.31 | — |
| Ubuntu 22.04 LTS | linux-azure | 5.15.0-1030.37 | — |
| Ubuntu 22.04 LTS | linux-azure-fde | 5.15.0-1030.37.1 | — |
| Ubuntu 22.04 LTS | linux-gcp | 5.15.0-1026.33 | — |
| Ubuntu 22.04 LTS | linux-gke | 5.15.0-1024.29 | — |
| Ubuntu 22.04 LTS | linux-gkeop | 5.15.0-1012.16 | — |
| Ubuntu 22.04 LTS | linux-ibm | 5.15.0-1022.25 | — |
| Ubuntu 22.04 LTS | linux-intel-iotg | 5.15.0-1023.28 | — |
| Ubuntu 22.04 LTS | linux-kvm | 5.15.0-1025.30 | — |
| Ubuntu 22.04 LTS | linux-oracle | 5.15.0-1026.32 | — |
| Ubuntu 22.04 LTS | linux-raspi | 5.15.0-1022.24 | — |
| Ubuntu 22.04 LTS | linux-riscv +22 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-aws-5.15 +1 | 5.15.0-1027.31~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-azure-5.15 | 5.15.0-1030.37~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-azure-fde-5.15 | 5.15.0-1030.37~20.04.1.1 | — |
| Ubuntu 20.04 LTS | linux-gcp-5.15 | 5.15.0-1027.34~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-gke +26 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gkeop-5.15 | 5.15.0-1012.16~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-hwe-5.15 | 5.15.0-57.63~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-intel-iotg-5.15 | 5.15.0-1023.28~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-lowlatency-hwe-5.15 | 5.15.0-58.64~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-oracle-5.15 | 5.15.0-1027.33~20.04.1 | — |
| Ubuntu 18.04 LTS | linux-gcp +13 | No fix yet | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime | 5.15.0-1029.32 | — |
Advisories 1
- WID-SEC-2024-0984 Linux Kernel: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 13, 2026