# CVE-2026-45897: netfilter: nft\_counter: serialize reset with spinlock

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-27 · Modified: 2026-11-06
- Aliases: UBUNTU-CVE-2026-45897, DEBIAN-CVE-2026-45897, CGA-24q6-wph2-mmc5, CGA-2fv7-2gv9-958g, CGA-352x-p9c5-gq84, CGA-3mqj-27vx-fcp2, CGA-3x36-h86c-whmj, CGA-427j-7rgv-v5fp, CGA-4w7x-6m8m-m3w3, CGA-56m7-pq2m-4hp2, CGA-5gv7-4pf4-hxfp, CGA-6438-p672-jf27, CGA-65cj-qm79-vmqm, CGA-6g75-6pjc-8q7h, CGA-6x24-pxwm-q9r8, CGA-6xv8-gqxm-rwhv, CGA-7924-q8qf-m322, CGA-7jcw-964w-cjr6, CGA-7w84-2prg-rmvg, CGA-7x33-pq6m-q448, CGA-8h58-2rr8-5j75, CGA-9hjh-c6x3-j367, CGA-9wx6-7mqr-7xjc, CGA-9xmp-gv3h-553r, CGA-9xrg-366h-r3jw, CGA-c7hw-qc84-2grh, CGA-c7r8-wxrx-3f78, CGA-c92x-6h9p-chqr, CGA-cfrc-rh5x-75rf, CGA-cq2j-7rq7-ph4f, CGA-f2h9-qqvw-p436, CGA-fcxh-fjpw-56vm, CGA-fq3x-c77x-6q2h, CGA-g5jr-qjj9-j6jv, CGA-g68r-9p94-hg2q, CGA-gpq4-vr6w-c2g7, CGA-gqg2-mxcf-385x, CGA-gw5m-h2v4-chfm, CGA-hcrm-2xm3-39qp, CGA-hq65-2843-6pw7, CGA-hvh7-p9qj-m7r3, CGA-j6r2-fh6f-7742, CGA-j8rx-grjv-7rpv, CGA-jm65-w4hx-vmqp, CGA-m3m3-v2r6-m5pp, CGA-m3wc-hw57-5gvh, CGA-mh6q-757r-7jx4, CGA-mrc6-vx9r-qc86, CGA-p327-j9fx-q2j5, CGA-p6gm-m2fm-phr3, CGA-pqwv-w4wp-pg2r, CGA-pw3x-3h5v-9hr2, CGA-pw5c-mqq8-r7q6, CGA-qc2x-966c-3fv2, CGA-qm94-q4xm-7rgr, CGA-r4gm-m4wp-h5mm, CGA-rj2q-2j3j-4463, CGA-rmr2-74rq-w2g7, CGA-rwm8-5q53-hqw6, CGA-vg37-9f4w-7qvm, CGA-vjgf-jwp9-5996, CGA-vp4f-m6c3-hvpm, CGA-vq4f-9874-wc6q, CGA-vrhj-r3q6-fmf4, CGA-wc95-ccwr-h2cx, CGA-wfw9-fq4w-ph3w, CGA-wm66-9g9r-46hr, CGA-x66w-c52g-xpv2, CGA-x6h8-8fj8-9mvc, CGA-x833-24cm-92m2, CGA-xrg6-9x94-c42g, CGA-xxh8-x5h7-g44q, CGA-3548-h33v-ggh4, CGA-5fhw-f3mq-82xh, CGA-76w4-2cgx-r4vx, CGA-crwf-5ppf-mjfh, CGA-r5p6-jgj4-88xp, CGA-mggj-pxr6-cg7x, CGA-mj43-42q7-h4g2, CGA-qwxf-fvmc-933x, CGA-jj4m-w6rx-rxr9, CGA-vwh9-xh87-phxp
- Record: https://cvemate.com/vulnerability/CVE-2026-45897 · JSON: https://cvemate.com/vulnerability/CVE-2026-45897/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.183%, percentile 8.169%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 177)

- chainguard hyperv-daemons-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18 (Chainguard): \< 6.18.42-r0
- chainguard linux-aws-6.18-boot-installed (Chainguard): \< 6.18.42-r0
- chainguard linux-aws-6.18-bootc (Chainguard): All versions (No fix recorded) \| \< 6.18.55-r0 \| \< 6.18.42-r0
- chainguard linux-aws-6.18-bootc-boot-installed (Chainguard): \< 6.18.42-r0
- chainguard linux-aws-6.18-fips-boot-installed (Chainguard): \< 6.18.42-r0
- chainguard linux-aws-6.18-headers (Chainguard): \< 6.18.42-r0
- chainguard linux-aws-6.18-modules (Chainguard): \< 6.18.42-r0
- chainguard linux-azure-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18-fips-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18-modules (Chainguard): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/e13194e60217db02c2e7202375d9e5951267d87b>
- <https://git.kernel.org/stable/c/de6601f1374fab124cd9276df6671f64d940ceb4>
- <https://git.kernel.org/stable/c/48cf7918d10c66cb6b05226fa3fa5daf0c891089>
- <https://git.kernel.org/stable/c/cd968dcdec6aee79a2d399e4f6e0eca63c3b45e1>
- <https://git.kernel.org/stable/c/0cdc6d5a26f2d1f7f15a43526841b679445c32e2>
- <https://git.kernel.org/stable/c/779c60a5190c42689534172f4b49e927c9959e4e>
- <https://ubuntu.com/security/CVE-2026-45897>
- <https://www.cve.org/CVERecord?id=CVE-2026-45897>
- <https://git.kernel.org/linus/779c60a5190c42689534172f4b49e927c9959e4e>
- <https://security-tracker.debian.org/tracker/CVE-2026-45897>
- <https://ubuntu.com/security/notices/USN-8917-1>
- <https://ubuntu.com/security/notices/USN-8918-1>
- <https://ubuntu.com/security/notices/USN-9025-1>
- <https://ubuntu.com/security/notices/USN-9024-1>
- <https://ubuntu.com/security/notices/USN-9026-1>
- <https://ubuntu.com/security/notices/USN-9040-1>
- <https://ubuntu.com/security/notices/USN-9066-1>
- <https://ubuntu.com/security/notices/USN-9091-1>
- <https://ubuntu.com/security/notices/USN-9192-1>

---

Data as of 2026-12-05T04:21:21.975Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
