CVE-2026-23372

nfc: rawsock: cancel tx_work before socket teardown

7.8 high EPSS 0.21%

Published 25 Mar 2026 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2026-23372

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-23372 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

nfc: rawsock: cancel tx_work before socket teardown

In rawsock_release(), cancel any pending tx_work and purge the write queue before orphaning the socket. rawsock_tx_work runs on the system workqueue and calls nfc_data_exchange which dereferences the NCI device. Without synchronization, tx_work can race with socket and device teardown when a process is killed (e.g. by SIGKILL), leading to use-after-free or leaked references.

Set SEND_SHUTDOWN first so that if tx_work is already running it will see the flag and skip transmitting, then use cancel_work_sync to wait for any in-progress execution to finish, and finally purge any remaining queued skbs.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.57% of all scored CVEs. Scores of 30 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 23b7869c0fd08d73c9f83a2db88a13312d6198bb, before 9b2d23cd09e1cb56bdf0e4d5614703094159f16c
affected from 23b7869c0fd08d73c9f83a2db88a13312d6198bb, before cdeed45ce8c92defd057f7d67ee9a69374d8fa16
affected from 23b7869c0fd08d73c9f83a2db88a13312d6198bb, before 3ae592ed91bb4b6b51df256b51045c13d2656049
affected from 23b7869c0fd08d73c9f83a2db88a13312d6198bb, before 722a28b635ec281bb08a23885223526d8e7d6526
affected from 23b7869c0fd08d73c9f83a2db88a13312d6198bb, before 78141b8832e16d80d09cbefb4258612db0777a24
affected from 23b7869c0fd08d73c9f83a2db88a13312d6198bb, before edc988613def90c5b558e025b1b423f48007be06
affected from 23b7869c0fd08d73c9f83a2db88a13312d6198bb, before da4515fc8263c5933ed605e396af91079806dc45
affected from 23b7869c0fd08d73c9f83a2db88a13312d6198bb, before d793458c45df2aed498d7f74145eab7ee22d25aa
Other versions: unaffected
Linux
affected 3.1
unaffected before 3.1
unaffected from 5.10.253 up to and including 5.10.*
unaffected from 5.15.203 up to and including 5.15.*
unaffected from 6.1.167 up to and including 6.1.*
unaffected from 6.6.130 up to and including 6.6.*
unaffected from 6.12.77 up to and including 6.12.*
unaffected from 6.18.17 up to and including 6.18.*
unaffected from 6.19.7 up to and including 6.19.*
unaffected 7.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-23372 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-23372

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-23372
trivy image --scanners vuln IMAGE | grep CVE-2026-23372

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-23372 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.