Skip to content
Heist/ feed
Back to feed
HighFix available

nfc: rawsock: cancel tx_work before socket teardown

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.253, 5.15.203, 6.1.167, 6.12.77, 6.18.17, 6.19.7, 6.6.130
CVEs
CVE-2026-23372
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 18:30 UTC · Revision 1

Source evidence

nfc: rawsock: cancel tx_work before socket teardown

core-osv · Original source

Published 25 Mar 2026, 10:27 UTC

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.

osv:CVE-2026-23372

Kernel

Fixed versions: 5.10.253, 5.15.203, 6.1.167, 6.6.130, 6.12.77, 6.18.17, 6.19.7

Complete source record
{
  "id": "12aac1ad03cace4f23bf1d7aae90b099f6be50294d4c7bed0a36a7d65bf184cd",
  "url": "https://osv.dev/vulnerability/CVE-2026-23372",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "nfc: rawsock: cancel tx_work before socket teardown",
    "summary": "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.",
    "evidence": "osv:CVE-2026-23372",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.253",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.203",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.167",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.130",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.77",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.17",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.19.7",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-23372",
      "aliases": [
        "CVE-2026-23372"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "23b7869c0fd08d73c9f83a2db88a13312d6198bb"
                },
                {
                  "fixed": "9b2d23cd09e1cb56bdf0e4d5614703094159f16c"
                },
                {
                  "fixed": "cdeed45ce8c92defd057f7d67ee9a69374d8fa16"
                },
                {
                  "fixed": "3ae592ed91bb4b6b51df256b51045c13d2656049"
                },
                {
                  "fixed": "722a28b635ec281bb08a23885223526d8e7d6526"
                },
                {
                  "fixed": "78141b8832e16d80d09cbefb4258612db0777a24"
                },
                {
                  "fixed": "edc988613def90c5b558e025b1b423f48007be06"
                },
                {
                  "fixed": "da4515fc8263c5933ed605e396af91079806dc45"
                },
                {
                  "fixed": "d793458c45df2aed498d7f74145eab7ee22d25aa"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23372.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "3.1.0"
                },
                {
                  "fixed": "5.10.253"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.203"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.167"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.130"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.77"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.17"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "6.19.7"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23372.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.594423064Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-784472.html",
        "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/9b2d23cd09e1cb56bdf0e4d5614703094159f16c",
        "https://git.kernel.org/stable/c/cdeed45ce8c92defd057f7d67ee9a69374d8fa16",
        "https://git.kernel.org/stable/c/d793458c45df2aed498d7f74145eab7ee22d25aa",
        "https://git.kernel.org/stable/c/da4515fc8263c5933ed605e396af91079806dc45",
        "https://git.kernel.org/stable/c/edc988613def90c5b558e025b1b423f48007be06",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23372.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-23372",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23372.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-23372",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 488475,
  "published_at": "2026-03-25T10:27:53.308+00:00"
}