CVE-2023-53298 Details
Description
In the Linux kernel, the following vulnerability has been resolved: nfc: fix memory leak of se_io context in nfc_genl_se_io The callback context for sending/receiving APDUs to/from the selected secure element is allocated inside nfc_genl_se_io and supposed to be eventually freed in se_io_cb callback function. However, there are several error paths where the bwi_timer is not charged to call se_io_cb later, and the cb_context is leaked. The patch proposes to free the cb_context explicitly on those error paths. At the moment we can't simply check 'dev->ops->se_io()' return value as it may be negative in both cases: when the timer was charged and was not.
A memory leak vulnerability has been identified in the Linux kernel's NFC subsystem, specifically within the netlink SE API implementation. The issue arises in the 'nfc_genl_se_io' function, where the callback context for sending and receiving APDUs to and from the selected secure element is allocated. This context is intended to be freed later in the 'se_io_cb' callback function. However, several error paths prevent the 'bwi_timer' from being charged to invoke 'se_io_cb', leading to a leak of the callback context. The vulnerability affects the Linux kernel stable tree.
Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability. The patch is included in the commit referenced by the CVE.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/25ff6f8a5a3b8dc48e8abda6f013e8cc4b14ffea | kernel.org | Patch |
| https://git.kernel.org/stable/c/271eed1736426103335c5aac50f15b0f4d236bc0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5321da6d84b87a34eea441677d649c34bd854169 | kernel.org | Patch |
| https://git.kernel.org/stable/c/8978315cb4bf8878c9c8ec05dafd8f7ff539860d | kernel.org | Patch |
| https://git.kernel.org/stable/c/af452e35b9e6a87cd49e54a7a3d60d934b194651 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b2036a252381949d3b743a3de069324ae3028a57 | kernel.org | Patch |
| https://git.kernel.org/stable/c/ba98db08895748c12e5ded52cd1598dce2c79e55 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c494365432dcdc549986f4d9af9eb6190cbdb153 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
| CWE-401 | Missing Release of Memory after Effective Lifetime | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.13, < 4.14.308 >= 4.15, < 4.19.276 >= 4.20, < 5.4.235 >= 5.5, < 5.10.173 >= 5.11, < 5.15.100 >= 5.16, < 6.1.18 >= 6.2, < 6.2.5 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 14, 2026 | CVE Modified | CISA-ADP |
| Dec 2, 2025 | Initial Analysis | [email protected] |
| Sep 16, 2025 | New CVE Received | kernel.org |