{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-53106","id":"CVE-2023-53106","title":"nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: st-nci: Fix use after free bug in ndlc_remove due to race condition\n\nThis bug influences both st_nci_i2c_remove and st_nci_spi_remove.\nTake st_nci_i2c_remove as an example.\n\nIn st_nci_i2c_probe, it called ndlc_probe and bound &ndlc->sm_work\nwith llt_ndlc_sm_work.\n\nWhen it calls ndlc_recv or timeout handler, it will finally c","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: st-nci: Fix use after free bug in ndlc_remove due to race condition\n\nThis bug influences both st_nci_i2c_remove and st_nci_spi_remove.\nTake st_nci_i2c_remove as an example.\n\nIn st_nci_i2c_probe, it called ndlc_probe and bound &ndlc->sm_work\nwith llt_ndlc_sm_work.\n\nWhen it calls ndlc_recv or timeout handler, it will finally call\nschedule_work to start the work.\n\nWhen we call st_nci_i2c_remove to remove the driver, there\nmay be a sequence as follows:\n\nFix it by finishing the work before cleanup in ndlc_remove\n\nCPU0                  CPU1\n\n                    |llt_ndlc_sm_work\nst_nci_i2c_remove   |\n  ndlc_remove       |\n     st_nci_remove  |\n     nci_free_device|\n     kfree(ndev)    |\n//free ndlc->ndev   |\n                    |llt_ndlc_rcv_queue\n                    |nci_recv_frame\n                    |//use ndlc->ndev","published":"2025-05-02T15:55:47.501Z","updated":"2026-10-28T02:30:31.487016077Z","reserved":"2025-05-02T15:51:43.553Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"35630df68d6030daf12dde12ed07bbe26324e6ac","lessThan":"2156490c4b7cacda9a18ec99929940b8376dc0e3","status":"affected","versionType":"git"},{"version":"35630df68d6030daf12dde12ed07bbe26324e6ac","lessThan":"3405eb641dafcc8b28d174784b203c1622c121bf","status":"affected","versionType":"git"},{"version":"35630df68d6030daf12dde12ed07bbe26324e6ac","lessThan":"b0c202a8dc63008205a5d546559736507a9aae66","status":"affected","versionType":"git"},{"version":"35630df68d6030daf12dde12ed07bbe26324e6ac","lessThan":"43aa468df246175207a7d5d7d6d31b231f15b49c","status":"affected","versionType":"git"},{"version":"35630df68d6030daf12dde12ed07bbe26324e6ac","lessThan":"84dd9cc34014e3a3dcce0eb6d54b8a067e97676b","status":"affected","versionType":"git"},{"version":"35630df68d6030daf12dde12ed07bbe26324e6ac","lessThan":"5e331022b448fbc5e76f24349cd0246844dcad25","status":"affected","versionType":"git"},{"version":"35630df68d6030daf12dde12ed07bbe26324e6ac","lessThan":"f589e5b56c562d99ea74e05b1c3f0eab78aa17a3","status":"affected","versionType":"git"},{"version":"35630df68d6030daf12dde12ed07bbe26324e6ac","lessThan":"5000fe6c27827a61d8250a7e4a1d26c3298ef4f6","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.17","status":"affected"},{"version":"0","lessThan":"3.17","status":"unaffected","versionType":"semver"},{"version":"4.14.311","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.279","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.238","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.176","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.104","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.21","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2.8","lessThanOrEqual":"6.2.*","status":"unaffected","versionType":"semver"},{"version":"6.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/2156490c4b7cacda9a18ec99929940b8376dc0e3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3405eb641dafcc8b28d174784b203c1622c121bf","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b0c202a8dc63008205a5d546559736507a9aae66","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/43aa468df246175207a7d5d7d6d31b231f15b49c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/84dd9cc34014e3a3dcce0eb6d54b8a067e97676b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5e331022b448fbc5e76f24349cd0246844dcad25","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f589e5b56c562d99ea74e05b1c3f0eab78aa17a3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5000fe6c27827a61d8250a7e4a1d26c3298ef4f6","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53106.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53106","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00207,"epssPercentile":0.10927,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-53106","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53106","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-53106","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-53106","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}