{"id":"CVE-2026-90224","aliases":["CVE-2026-90224"],"related":[],"kind":"vulnerability","state":"published","title":"nfc: nci: fix double completion race in nci_data_exchange_complete","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: nci: fix double completion race in nci_data_exchange_complete\n\nnci_close_device() and nci_rx_work can both call\nnci_data_exchange_complete() concurrently.  After commit 4527025d440ce8\n(\"nfc: nci: fix circular locking dependency in nci_close_device\") moved\nflush_workqueue(ndev->rx_wq) after mutex_unlock(&ndev->req_lock),\nrx_work is no longer serialized with the explicit completion call in the\nclose path.  Both callers read the non-NULL callback pointer and invoke\nrawsock_data_exchange_complete(), which calls sock_put() -- but only one\nsock_hold() was taken, so the second sock_put() underflows the refcount\nand frees the socket while it is still in use.\n\nReplace the bare clear_bit(NCI_DATA_EXCHANGE) with\ntest_and_clear_bit() so that only the first caller proceeds to invoke\nthe callback.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: nci: fix double completion race in nci_data_exchange_complete\n\nnci_close_device() and nci_rx_work can both call\nnci_data_exchange_complete() concurrently.  After commit 4527025d440ce8\n(\"nfc: nci: fix circular locking dependency in nci_close_device\") moved\nflush_workqueue(ndev->rx_wq) after mutex_unlock(&ndev->req_lock),\nrx_work is no longer serialized with the explicit completion call in the\nclose path.  Both callers read the non-NULL callback pointer and invoke\nrawsock_data_exchange_complete(), which calls sock_put() -- but only one\nsock_hold() was taken, so the second sock_put() underflows the refcount\nand frees the socket while it is still in use.\n\nReplace the bare clear_bit(NCI_DATA_EXCHANGE) with\ntest_and_clear_bit() so that only the first caller proceeds to invoke\nthe callback.","source":"cvelist"}],"published":"2026-09-17T16:07:34.009Z","modified":"2026-10-19T09:19:12.647Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"7ed00a3edc8597fe2333f524401e2889aa1b5edf","fixed":"3f075832734005310740d148d1cf1c1e792ebdca","status":"affected"},{"type":"git","introduced":"5eef9ebec7f5738f12cadede3545c05b34bf5ac3","fixed":"588ccd19a6e69eca72d54608c3ab3b45709b2305","status":"affected"},{"type":"git","introduced":"ca54e904a071aa65ef3ad46ba42d51aaac6b73b4","fixed":"cf646a9f5554bc07d6ccb59c327812b3a0c6a368","status":"affected"},{"type":"git","introduced":"eb435d150ca74b4d40f77f1a2266f3636ed64a79","fixed":"9030a1bbe2c6b1e3e54cef462d159b5248f09fd2","status":"affected"},{"type":"git","introduced":"1edc12d2bbcb7a8d0f1088e6fccb9d8c01bb1289","fixed":"bfdf412208fea7fc0d5b32d68a35b25261917393","status":"affected"},{"type":"git","introduced":"d89b74bf08f067b55c03d7f999ba0a0e73177eb3","fixed":"ba4c776af3dc21ed04e315e6545e99703bb1b53a","status":"affected"},{"type":"git","introduced":"4527025d440ce84bf56e75ce1df2e84cb8178616","fixed":"ee08414d78b851e3d1856d6e4d631939b01a1bbe","status":"affected"},{"type":"git","introduced":"4527025d440ce84bf56e75ce1df2e84cb8178616","fixed":"8265a626cc14a48e46e6dc8c47667e72b4232ac2","status":"affected"},{"type":"git","version":"09143c0e8f3b03517e6233aad42f45c794d8df8e","status":"affected"},{"type":"semver","introduced":"5.10.253","fixed":"5.10.270","status":"affected"},{"type":"semver","introduced":"5.15.203","fixed":"5.15.221","status":"affected"},{"type":"semver","introduced":"6.1.168","fixed":"6.1.188","status":"affected"},{"type":"semver","introduced":"6.6.131","fixed":"6.6.157","status":"affected"},{"type":"semver","introduced":"6.12.80","fixed":"6.12.110","status":"affected"},{"type":"semver","introduced":"6.18.21","fixed":"6.18.52","status":"affected"},{"type":"semver","introduced":"6.19.11","fixed":"6.20","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.0","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/3f075832734005310740d148d1cf1c1e792ebdca","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/588ccd19a6e69eca72d54608c3ab3b45709b2305","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cf646a9f5554bc07d6ccb59c327812b3a0c6a368","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9030a1bbe2c6b1e3e54cef462d159b5248f09fd2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bfdf412208fea7fc0d5b32d68a35b25261917393","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ba4c776af3dc21ed04e315e6545e99703bb1b53a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ee08414d78b851e3d1856d6e4d631939b01a1bbe","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8265a626cc14a48e46e6dc8c47667e72b4232ac2","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90224","url":"https://www.cve.org/CVERecord?id=CVE-2026-90224","licence":"CVE Terms of Use","modified":"2026-10-19T09:00:00.751Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90224","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90224","licence":"Public domain","modified":"2026-10-19T09:19:12.647Z"}],"updatedAt":"2026-11-25T22:59:39.347Z","epss":{"score":0.00298,"percentile":0.24231,"date":"2026-12-01T12:00:22.000Z"}}