bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-45897

5.5medium

linux6.18.60 · 6.18.54 · 6.18.8 · 6.12.21in 4 of 4 releases

Reach linux · 8 builds in 4 of 4 releases

full reviewcross-check✓ a member decided

Description · NVD

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.

Published 2026-05-27NVD

CVSS 3.1Local · low privileges · no user interaction

How it is reached

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None

What it costs

Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References 6
Review Av26.10.0x86_64Not affectedAccepted by a member, 2026-11-17. The fix for CVE-2026-45897 ("netfilter: nft_counter: serialize reset with spinlock") is already present in the linux 6.18.60 source used by this build: net/netfilter/nft_counter.c defines the global nft_counter_lock spinlock and nft_counter_fetch_and_reset() takes it around the fetch+reset pair, exactly as in the upstream fix.This build follows it · open the review →

Members of Kernel Kit decide. Sign in if you are one.