{"id":"CVE-2023-53298","aliases":["CVE-2023-53298"],"related":[],"kind":"vulnerability","state":"published","title":"nfc: fix memory leak of se_io context in nfc_genl_se_io","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: fix memory leak of se_io context in nfc_genl_se_io\n\nThe callback context for sending/receiving APDUs to/from the selected\nsecure element is allocated inside nfc_genl_se_io and supposed to be\neventually freed in se_io_cb callback function. However, there are several\nerror paths where the bwi_timer is not charged to call se_io_cb later, and\nthe cb_context is leaked.\n\nThe patch proposes to free the cb_context explicitly on those error paths.\n\nAt the moment we can't simply check 'dev->ops->se_io()' return value as it\nmay be negative in both cases: when the timer was charged and was not.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: fix memory leak of se_io context in nfc_genl_se_io\n\nThe callback context for sending/receiving APDUs to/from the selected\nsecure element is allocated inside nfc_genl_se_io and supposed to be\neventually freed in se_io_cb callback function. However, there are several\nerror paths where the bwi_timer is not charged to call se_io_cb later, and\nthe cb_context is leaked.\n\nThe patch proposes to free the cb_context explicitly on those error paths.\n\nAt the moment we can't simply check 'dev->ops->se_io()' return value as it\nmay be negative in both cases: when the timer was charged and was not.","source":"cvelist"}],"published":"2025-09-16T08:11:30.044Z","modified":"2026-06-17T06:44:46.733Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"5ce3f32b5264b337bfd13a780452a17705307725","fixed":"5321da6d84b87a34eea441677d649c34bd854169","status":"affected"},{"type":"git","introduced":"5ce3f32b5264b337bfd13a780452a17705307725","fixed":"af452e35b9e6a87cd49e54a7a3d60d934b194651","status":"affected"},{"type":"git","introduced":"5ce3f32b5264b337bfd13a780452a17705307725","fixed":"271eed1736426103335c5aac50f15b0f4d236bc0","status":"affected"},{"type":"git","introduced":"5ce3f32b5264b337bfd13a780452a17705307725","fixed":"8978315cb4bf8878c9c8ec05dafd8f7ff539860d","status":"affected"},{"type":"git","introduced":"5ce3f32b5264b337bfd13a780452a17705307725","fixed":"c494365432dcdc549986f4d9af9eb6190cbdb153","status":"affected"},{"type":"git","introduced":"5ce3f32b5264b337bfd13a780452a17705307725","fixed":"b2036a252381949d3b743a3de069324ae3028a57","status":"affected"},{"type":"git","introduced":"5ce3f32b5264b337bfd13a780452a17705307725","fixed":"ba98db08895748c12e5ded52cd1598dce2c79e55","status":"affected"},{"type":"git","introduced":"5ce3f32b5264b337bfd13a780452a17705307725","fixed":"25ff6f8a5a3b8dc48e8abda6f013e8cc4b14ffea","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.13","status":"unaffected"},{"type":"semver","introduced":"4.14.308","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.276","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.235","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.173","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.100","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.18","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.5","lastAffected":"6.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.3","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.13","fixed":"4.14.308"},{"status":"affected","introduced":"4.15","fixed":"4.19.276"},{"status":"affected","introduced":"4.20","fixed":"5.4.235"},{"status":"affected","introduced":"5.5","fixed":"5.10.173"},{"status":"affected","introduced":"5.11","fixed":"5.15.100"},{"status":"affected","introduced":"5.16","fixed":"6.1.18"},{"status":"affected","introduced":"6.2","fixed":"6.2.5"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/5321da6d84b87a34eea441677d649c34bd854169","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/af452e35b9e6a87cd49e54a7a3d60d934b194651","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/271eed1736426103335c5aac50f15b0f4d236bc0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8978315cb4bf8878c9c8ec05dafd8f7ff539860d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c494365432dcdc549986f4d9af9eb6190cbdb153","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b2036a252381949d3b743a3de069324ae3028a57","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ba98db08895748c12e5ded52cd1598dce2c79e55","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/25ff6f8a5a3b8dc48e8abda6f013e8cc4b14ffea","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-14T18:12:51.752Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53298","url":"https://www.cve.org/CVERecord?id=CVE-2023-53298","licence":"CVE Terms of Use","modified":"2026-05-11T19:42:14.483Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53298","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53298","licence":"Public domain","modified":"2026-06-17T06:44:46.733Z"}],"updatedAt":"2026-11-25T22:58:34.817Z","epss":{"score":0.00156,"percentile":0.05012,"date":"2026-12-01T12:00:22.000Z"}}