{"id":"CVE-2026-23372","aliases":["CVE-2026-23372"],"related":[],"kind":"vulnerability","state":"published","title":"nfc: rawsock: cancel tx_work before socket teardown","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: rawsock: cancel tx_work before socket teardown\n\nIn rawsock_release(), cancel any pending tx_work and purge the write\nqueue before orphaning the socket.  rawsock_tx_work runs on the system\nworkqueue and calls nfc_data_exchange which dereferences the NCI\ndevice.  Without synchronization, tx_work can race with socket and\ndevice teardown when a process is killed (e.g. by SIGKILL), leading\nto use-after-free or leaked references.\n\nSet SEND_SHUTDOWN first so that if tx_work is already running it will\nsee the flag and skip transmitting, then use cancel_work_sync to wait\nfor any in-progress execution to finish, and finally purge any\nremaining queued skbs.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: rawsock: cancel tx_work before socket teardown\n\nIn rawsock_release(), cancel any pending tx_work and purge the write\nqueue before orphaning the socket.  rawsock_tx_work runs on the system\nworkqueue and calls nfc_data_exchange which dereferences the NCI\ndevice.  Without synchronization, tx_work can race with socket and\ndevice teardown when a process is killed (e.g. by SIGKILL), leading\nto use-after-free or leaked references.\n\nSet SEND_SHUTDOWN first so that if tx_work is already running it will\nsee the flag and skip transmitting, then use cancel_work_sync to wait\nfor any in-progress execution to finish, and finally purge any\nremaining queued skbs.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnfc: rawsock: cancelar tx_work antes del desmontaje del socket\n\nEn rawsock_release(), cancelar cualquier tx_work pendiente y purgar la cola de escritura antes de dejar huérfano el socket. rawsock_tx_work se ejecuta en la cola de trabajo del sistema y llama a nfc_data_exchange, que desreferencia el dispositivo NCI. Sin sincronización, tx_work puede competir con el desmontaje del socket y del dispositivo cuando un proceso es terminado (p. ej., por SIGKILL), lo que lleva a uso después de liberación o referencias filtradas.\n\nEstablecer SEND_SHUTDOWN primero para que si tx_work ya se está ejecutando, vea la bandera y omita la transmisión, luego usar cancel_work_sync para esperar a que finalice cualquier ejecución en curso, y finalmente purgar cualquier skbs en cola restante.","source":"nvd"}],"published":"2026-03-25T10:27:53.308Z","modified":"2026-10-15T02:18:52.950Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"23b7869c0fd08d73c9f83a2db88a13312d6198bb","fixed":"9b2d23cd09e1cb56bdf0e4d5614703094159f16c","status":"affected"},{"type":"git","introduced":"23b7869c0fd08d73c9f83a2db88a13312d6198bb","fixed":"cdeed45ce8c92defd057f7d67ee9a69374d8fa16","status":"affected"},{"type":"git","introduced":"23b7869c0fd08d73c9f83a2db88a13312d6198bb","fixed":"3ae592ed91bb4b6b51df256b51045c13d2656049","status":"affected"},{"type":"git","introduced":"23b7869c0fd08d73c9f83a2db88a13312d6198bb","fixed":"722a28b635ec281bb08a23885223526d8e7d6526","status":"affected"},{"type":"git","introduced":"23b7869c0fd08d73c9f83a2db88a13312d6198bb","fixed":"78141b8832e16d80d09cbefb4258612db0777a24","status":"affected"},{"type":"git","introduced":"23b7869c0fd08d73c9f83a2db88a13312d6198bb","fixed":"edc988613def90c5b558e025b1b423f48007be06","status":"affected"},{"type":"git","introduced":"23b7869c0fd08d73c9f83a2db88a13312d6198bb","fixed":"da4515fc8263c5933ed605e396af91079806dc45","status":"affected"},{"type":"git","introduced":"23b7869c0fd08d73c9f83a2db88a13312d6198bb","fixed":"d793458c45df2aed498d7f74145eab7ee22d25aa","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.1","status":"unaffected"},{"type":"semver","introduced":"5.10.253","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.203","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.167","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.130","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.77","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.17","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.7","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.1.1","fixed":"5.10.253"},{"status":"affected","introduced":"5.11","fixed":"5.15.203"},{"status":"affected","introduced":"5.16","fixed":"6.1.167"},{"status":"affected","introduced":"6.2","fixed":"6.6.130"},{"status":"affected","introduced":"6.7","fixed":"6.12.77"},{"status":"affected","introduced":"6.13","fixed":"6.18.17"},{"status":"affected","introduced":"6.19","fixed":"6.19.7"},{"status":"affected","version":"3.1"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/9b2d23cd09e1cb56bdf0e4d5614703094159f16c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cdeed45ce8c92defd057f7d67ee9a69374d8fa16","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3ae592ed91bb4b6b51df256b51045c13d2656049","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/722a28b635ec281bb08a23885223526d8e7d6526","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/78141b8832e16d80d09cbefb4258612db0777a24","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/edc988613def90c5b558e025b1b423f48007be06","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/da4515fc8263c5933ed605e396af91079806dc45","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d793458c45df2aed498d7f74145eab7ee22d25aa","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23372","url":"https://www.cve.org/CVERecord?id=CVE-2026-23372","licence":"CVE Terms of Use","modified":"2026-10-15T01:14:30.909Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23372","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23372","licence":"Public domain","modified":"2026-10-15T02:18:52.950Z"}],"updatedAt":"2026-11-25T22:59:16.698Z","epss":{"score":0.00158,"percentile":0.05175,"date":"2026-12-01T12:00:22.000Z"}}