CVE-2026-45897
netfilter: nft_counter: serialize reset with spinlock
Reported by linux · Published May 27, 2026
In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_counter: serialize reset with spinlock Add a global static spinlock to serialize counter fetch+reset operations, preventing concurrent dump-and-reset from underrunning values. The lock is taken before fetching the total so that two parallel resets cannot both read the same counter values and then both subtract them. A global lock is used for simplicity since resets are infrequent. If this becomes a bottleneck, it can be replaced with a per-net lock later.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18 | Amazon Linux | 1:6.18.44-99.149.amzn2023 |
| linux-qemu-6.18 | Chainguard | 6.18.42-r0, 6.18.38-r2 |
| kernel6.18-devel | Amazon Linux | 1:6.18.44-99.149.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.44-99.149.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
| kernel-livepatch-6.18.44-99.149 | Amazon Linux | 1:1.0-0.amzn2023 |
| linux_kernel | linux | 6.19.4, 6.2 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | fb1adb05ea87b6149e65a31e511756c4f470d0cd, f123293db16dcd0cd81b246ae60e6362f0025d0a, 3cb03edb4de33fd04c4ea55f47397b96a8657c53 |
| Linux | Linux | 6.7, 0, 6.1.188 |
| amazon:2023 | kernel6.18 | 0 |
| chainguard | linux-qemu-6.18 | 0, 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.18.44-99.149 | 0 |
| linux | linux_kernel | 6.7, 6.1.107, 6.6.48 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| chainguard | linux-gcp-6.18 | 0, 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| Linux | Linux | 6.7, 6.6.48, 6.1.107 |
…and 11 more
Timeline
- May 27, 2026 CVE Published
- May 28, 2026 EPSS Score (17 in total, the first dated here)
- May 29, 2026 Security Advisory (131 in total, the first dated here)
- Jun 4, 2026 Coalition ESS Score
- Aug 11, 2026 Distribution Patch (128 in total, the first dated here)
- Nov 6, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-45897
vulnetix vdb fixes CVE-2026-45897
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-45897/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart