# CVE-2026-23372: nfc: rawsock: cancel tx\_work before socket teardown

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-03-25 · Modified: 2026-10-15
- Aliases: UBUNTU-CVE-2026-23372, DEBIAN-CVE-2026-23372
- Record: https://cvemate.com/vulnerability/CVE-2026-23372 · JSON: https://cvemate.com/vulnerability/CVE-2026-23372/json

## Description

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

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.158%, percentile 5.128%, 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 161)

- debian linux (Debian): \< 6.1.170-1 \| \< 6.12.85-1 \| \< 6.19.8-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-186.196 \| \< 6.8.0-136.136
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1112.119 \| \< 6.8.0-1061.64
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1112.119~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1061.64~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1112.119+fips1 \| \< 6.8.0-1061.64+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1117.126 \| \< 6.8.0-1063.71

## References (first 20 of 40)

- <https://git.kernel.org/stable/c/9b2d23cd09e1cb56bdf0e4d5614703094159f16c>
- <https://git.kernel.org/stable/c/cdeed45ce8c92defd057f7d67ee9a69374d8fa16>
- <https://git.kernel.org/stable/c/3ae592ed91bb4b6b51df256b51045c13d2656049>
- <https://git.kernel.org/stable/c/722a28b635ec281bb08a23885223526d8e7d6526>
- <https://git.kernel.org/stable/c/78141b8832e16d80d09cbefb4258612db0777a24>
- <https://git.kernel.org/stable/c/edc988613def90c5b558e025b1b423f48007be06>
- <https://git.kernel.org/stable/c/da4515fc8263c5933ed605e396af91079806dc45>
- <https://git.kernel.org/stable/c/d793458c45df2aed498d7f74145eab7ee22d25aa>
- <https://ubuntu.com/security/CVE-2026-23372>
- <https://www.cve.org/CVERecord?id=CVE-2026-23372>
- <https://git.kernel.org/linus/d793458c45df2aed498d7f74145eab7ee22d25aa>
- <https://ubuntu.com/security/notices/USN-8567-1>
- <https://ubuntu.com/security/notices/USN-8574-1>
- <https://ubuntu.com/security/notices/USN-8575-1>
- <https://ubuntu.com/security/notices/USN-8576-1>
- <https://ubuntu.com/security/notices/USN-8574-2>
- <https://ubuntu.com/security/notices/USN-8595-1>
- <https://ubuntu.com/security/notices/USN-8596-1>
- <https://ubuntu.com/security/notices/USN-8575-2>
- <https://ubuntu.com/security/notices/USN-8576-2>

---

Data as of 2026-12-05T03:06:59.188Z. 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
