CVE-2021-47443Published May 22, 2024 · May 22Updated Jun 17
NFC: digital: fix possible memory leak in digital_tg_listen_mdaa()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1c7a4c24fbfd99442cc6e14dc80fcb00f118e8b8 · < 3f2960b39f22e26cf8addae93c3f5884d1c183c9| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
NFC: digital: fix possible memory leak in digital_tg_listen_mdaa()
'params' is allocated in digital_tg_listen_mdaa(), but not free when digital_send_cmd() failed, which will cause memory leak. Fix it by freeing 'params' if digital_send_cmd() return failed.
From the CVE record · Linux
The Linux kernel's NFC digital code can leak memory when digital_send_cmd() fails in digital_tg_listen_mdaa(). The input does not establish whether an attacker can trigger the failure or specify the access or interaction required.
Anyone running a Linux kernel with the affected NFC digital code should check their kernel version; affected versions are not specified.