# CVE-2026-23372: nfc: rawsock: cancel tx_work before socket teardown

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-03-25T10:27:53.308Z
- Modified: 2026-10-15T02:18:52.950Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 23b7869c0fd08d73c9f83a2db88a13312d6198bb before 9b2d23cd09e1cb56bdf0e4d5614703094159f16c; from 23b7869c0fd08d73c9f83a2db88a13312d6198bb before cdeed45ce8c92defd057f7d67ee9a69374d8fa16; from 23b7869c0fd08d73c9f83a2db88a13312d6198bb before 3ae592ed91bb4b6b51df256b51045c13d2656049; from 23b7869c0fd08d73c9f83a2db88a13312d6198bb before 722a28b635ec281bb08a23885223526d8e7d6526; from 23b7869c0fd08d73c9f83a2db88a13312d6198bb before 78141b8832e16d80d09cbefb4258612db0777a24; from 23b7869c0fd08d73c9f83a2db88a13312d6198bb before edc988613def90c5b558e025b1b423f48007be06; from 23b7869c0fd08d73c9f83a2db88a13312d6198bb before da4515fc8263c5933ed605e396af91079806dc45; from 23b7869c0fd08d73c9f83a2db88a13312d6198bb before d793458c45df2aed498d7f74145eab7ee22d25aa; 3.1 (not affected: before 3.1; from 5.10.253 up to 5.10.*; from 5.15.203 up to 5.15.*; from 6.1.167 up to 6.1.*; from 6.6.130 up to 6.6.*; from 6.12.77 up to 6.12.*; from 6.18.17 up to 6.18.*; from 6.19.7 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 3.1.1 before 5.10.253; from 5.11 before 5.15.203; from 5.16 before 6.1.167; from 6.2 before 6.6.130; from 6.7 before 6.12.77; from 6.13 before 6.18.17; from 6.19 before 6.19.7; 3.1; 7.0

## References

- <https://git.kernel.org/stable/c/9b2d23cd09e1cb56bdf0e4d5614703094159f16c> (patch)
- <https://git.kernel.org/stable/c/cdeed45ce8c92defd057f7d67ee9a69374d8fa16> (patch)
- <https://git.kernel.org/stable/c/3ae592ed91bb4b6b51df256b51045c13d2656049> (patch)
- <https://git.kernel.org/stable/c/722a28b635ec281bb08a23885223526d8e7d6526> (patch)
- <https://git.kernel.org/stable/c/78141b8832e16d80d09cbefb4258612db0777a24> (patch)
- <https://git.kernel.org/stable/c/edc988613def90c5b558e025b1b423f48007be06> (patch)
- <https://git.kernel.org/stable/c/da4515fc8263c5933ed605e396af91079806dc45> (patch)
- <https://git.kernel.org/stable/c/d793458c45df2aed498d7f74145eab7ee22d25aa> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

- CVE List: [CVE-2026-23372](https://www.cve.org/CVERecord?id=CVE-2026-23372), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2026-23372](https://nvd.nist.gov/vuln/detail/CVE-2026-23372), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-23372 · Whole record: https://cve.day/CVE-2026-23372.json · Rebuilt by cve.day 2026-11-25T22:59:16.698Z
