PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-45897 Linux CVE debrief

A race condition vulnerability in the Linux kernel's netfilter nft_counter subsystem could allow concurrent dump-and-reset operations to underrun counter values, potentially leading to incorrect packet/byte accounting or policy enforcement bypass. The fix introduces a global spinlock to serialize fetch+reset operations.

Vendor
Linux
Product
Unknown
CVSS
MEDIUM 5.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-05-27
Original CVE updated
2026-08-03
Advisory published
2026-05-27
Advisory updated
2026-08-03

Who should care

Organizations running Linux systems with nftables firewall rules that utilize counter objects, particularly those performing counter resets for monitoring, billing, or policy enforcement purposes. Cloud providers and hosting platforms with multi-tenant nftables deployments should prioritize verification of counter integrity.

Technical summary

The nft_counter module in the Linux kernel netfilter subsystem lacked proper synchronization for counter fetch-and-reset operations. Without serialization, two parallel operations could read identical counter values, then both subtract those values, resulting in counter underrun (negative values or incorrect zeroing). The remediation adds a global static spinlock taken before fetching totals, ensuring atomic fetch+reset sequences. A global lock was chosen for implementation simplicity given infrequent reset operations; the commit notes suggest a per-net lock could replace it if performance bottlenecks emerge.

Defensive priority

medium

Recommended defensive actions

  • Apply kernel updates containing the referenced stable tree commits when available from your Linux distribution
  • Monitor nftables counter behavior for anomalous negative values or accounting discrepancies
  • Review nftables rulesets that rely on counter-based rate limiting or policy decisions for potential bypass scenarios
  • Consider temporary workarounds such as avoiding concurrent counter reset operations if patching is delayed

Evidence notes

The vulnerability description indicates a race condition in nft_counter reset operations where parallel resets could both read the same counter values before either subtracts them, causing underrun. The fix adds a global static spinlock to serialize these operations. Two kernel.org stable tree commits are referenced as remediation sources.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-45897 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-45897

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-45897 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-45897

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/0cdc6d5a26f2d1f7f15a43526841b679445c32e2

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/779c60a5190c42689534172f4b49e927c9959e4e

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.