CVE-2026-45897
Analyzed Analyzed - Analysis Complete

Netfilter Counter Reset Race Condition in Linux Kernel

Vulnerability report for CVE-2026-45897, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-05-27

Last updated on: 2026-06-25

Assigner: kernel.org

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-05-27
Last Modified
2026-06-25
Generated
2026-07-06
AI Q&A
2026-05-27
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
linux linux_kernel From 6.1.107 (inc) to 6.2 (exc)
linux linux_kernel From 6.6.48 (inc) to 6.19.4 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in the Linux kernel's netfilter nft_counter component. It involves a race condition where concurrent operations to fetch and reset counters could lead to incorrect counter values being read and subtracted. Specifically, without proper serialization, two parallel reset operations might read the same counter values and both subtract them, causing underrunning of values.

The fix involves adding a global static spinlock to serialize the fetch and reset operations, ensuring that only one reset operation can occur at a time. This prevents the race condition and maintains accurate counter values.

Impact Analysis

This vulnerability can cause inaccurate counter values in the netfilter nft_counter feature of the Linux kernel. Specifically, concurrent reset operations could lead to counters being underrun, meaning the counters might report lower values than actual.

Such inaccuracies could impact network monitoring, traffic accounting, or firewall rule statistics that rely on these counters, potentially leading to incorrect data being used for decision-making or analysis.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-45897. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart