VDB

CVE-2026-45897

CVE-2026-45897 PUBLISHED

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.

PackageEcosystemFixed in
kernel6.18Amazon Linux1:6.18.44-99.149.amzn2023
linux-qemu-6.18Chainguard6.18.42-r0, 6.18.38-r2
kernel6.18-develAmazon Linux1:6.18.44-99.149.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.44-99.149.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.103-127.188.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.103-127.188.amzn2023
bpftool6.12Amazon Linux1:6.12.103-127.188.amzn2023
kernel-livepatch-6.18.44-99.149Amazon Linux1:1.0-0.amzn2023
linux_kernellinux6.19.4, 6.2

Affected products

VendorProductVersions
LinuxLinuxfb1adb05ea87b6149e65a31e511756c4f470d0cd, f123293db16dcd0cd81b246ae60e6362f0025d0a, 3cb03edb4de33fd04c4ea55f47397b96a8657c53
LinuxLinux6.7, 0, 6.1.188
amazon:2023kernel6.180
chainguardlinux-qemu-6.180, 0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.12-tools0
amazon:2023kernel6.12-modules-extra0
amazon:2023bpftool6.120
amazon:2023kernel-livepatch-6.18.44-99.1490
linuxlinux_kernel6.7, 6.1.107, 6.6.48
amazon:2023kernel6.120
amazon:2023python3-perf6.180
amazon:2023kernel6.18-modules-extra-common0
amazon:2023python3-perf6.120
chainguardlinux-gcp-6.180, 0
amazon:2023kernel6.12-devel0
amazon:2023bpftool6.180
amazon:2023kernel6.12-modules-extra-common0
LinuxLinux6.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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›