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

Published Mar 25, 2026
·
Updated

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

nfc: rawsock: cancel txwork before socket teardown

In rawsockrelease(), cancel any pending txwork and purge the write queue before orphaning the socket. rawsocktxwork runs on the system workqueue and calls nfcdataexchange which dereferences the NCI device. Without synchronization, txwork 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 SENDSHUTDOWN first so that if txwork is already running it will see the flag and skip transmitting, then use cancelworksync to wait for any in-progress execution to finish, and finally purge any remaining queued skbs.

Affected Software

17 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=3.1.1<5.10.253
Linux Linux kernel>=5.11<5.15.203
Linux Linux kernel>=5.16<6.1.167
Linux Linux kernel>=6.2<6.6.130
Linux Linux kernel>=6.7<6.12.77
Linux Linux kernel>=6.13<6.18.17
Linux Linux kernel>=6.19<6.19.7
Linux Linux kernel=3.1
Linux Linux kernel=7.0-rc1
Linux Linux kernel=7.0-rc2
Linux Linux kernel=7.0-rc3
Linux Linux kernel=7.0-rc4
Linux Linux kernel=7.0-rc5
Linux Linux kernel=7.0-rc6
Linux Linux kernel=7.0-rc7
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.113-1Fixed in 7.2.12-1Fixed in 7.2.13-1
  2. Compensating control

    In rawsock_release(), set SEND_SHUTDOWN before socket teardown, call cancel_work_sync on tx_work to wait for in-progress execution to finish, purge the remaining queued skbs from the write queue, and only then orphan the socket.

Event History

Mar 25, 2026
CVE Published
via MITRE·10:27 AM
Data Sourced
via MITRE·10:27 AM
DescriptionSeverity
Data Sourced
via NVD·11:16 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2026-23372?

The severity of CVE-2026-23372 is currently classified as high due to its potential impact on Linux kernel networking functions.

2

How do I fix CVE-2026-23372?

To fix CVE-2026-23372, update the Linux kernel to a version where this vulnerability has been resolved by the maintainers.

3

What kind of systems are affected by CVE-2026-23372?

CVE-2026-23372 affects systems running vulnerable versions of the Linux kernel that utilize raw socket communication.

4

What are the potential consequences of CVE-2026-23372?

The potential consequences of CVE-2026-23372 include potential denial of service and instability in networking operations due to improper handling of raw sockets.

5

When was CVE-2026-23372 disclosed?

CVE-2026-23372 was disclosed as part of a routine security update in the Linux kernel development.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203