CVE-2022-49331Published Feb 26, 2025 · Feb 26Updated Oct 28
nfc: st21nfca: fix memory leaks in EVT_TRANSACTION handling
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 26fc6c7f02cb26c39c4733de3dbc3c0646fc1074 · < f444ecd3f57f4ba5090fe8b6756933e37de4226e| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
nfc: st21nfca: fix memory leaks in EVT_TRANSACTION handling
Error paths do not free previously allocated memory. Add devm_kfree() to those failure paths.
From the CVE record · Linux
The Linux kernel’s st21nfca NFC driver does not free previously allocated memory on some EVT_TRANSACTION error paths. This can cause a memory leak; the input does not specify how an attacker could trigger it or whether access or user interaction is required.
Engineers running Linux kernels with the st21nfca NFC driver should check whether their versions are affected.