{"id":"CVE-2026-23372","summary":"nfc: rawsock: cancel tx_work before socket teardown","details":"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.","modified":"2026-04-14T03:48:09.489010Z","published":"2026-03-25T10:27:53.308Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23372.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3ae592ed91bb4b6b51df256b51045c13d2656049"},{"type":"WEB","url":"https://git.kernel.org/stable/c/722a28b635ec281bb08a23885223526d8e7d6526"},{"type":"WEB","url":"https://git.kernel.org/stable/c/78141b8832e16d80d09cbefb4258612db0777a24"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d793458c45df2aed498d7f74145eab7ee22d25aa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/da4515fc8263c5933ed605e396af91079806dc45"},{"type":"WEB","url":"https://git.kernel.org/stable/c/edc988613def90c5b558e025b1b423f48007be06"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23372.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23372"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"23b7869c0fd08d73c9f83a2db88a13312d6198bb"},{"fixed":"3ae592ed91bb4b6b51df256b51045c13d2656049"},{"fixed":"722a28b635ec281bb08a23885223526d8e7d6526"},{"fixed":"78141b8832e16d80d09cbefb4258612db0777a24"},{"fixed":"edc988613def90c5b558e025b1b423f48007be06"},{"fixed":"da4515fc8263c5933ed605e396af91079806dc45"},{"fixed":"d793458c45df2aed498d7f74145eab7ee22d25aa"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-23372.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1.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"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-23372.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}