NFC: digital: fix possible memory leak in digital_in_send_sdd_req()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 2c66daecc4092e6049673c281b2e6f0d5e59a94c · < 50cb95487c265187289810addec5093d4fed8329| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
NFC: digital: fix possible memory leak in digital_in_send_sdd_req()
'skb' is allocated in digital_in_send_sdd_req(), but not free when digital_in_send_cmd() failed, which will cause memory leak. Fix it by freeing 'skb' if digital_in_send_cmd() return failed.
From the CVE record · Linux
The Linux kernel's NFC digital component can leak an allocated buffer when digital_in_send_cmd() fails in digital_in_send_sdd_req(). Repeated failures could consume memory; the input does not specify how an attacker could trigger the failure or whether authentication or user interaction is required.
Engineers running Linux kernels with the NFC digital component should check their versions; affected versions are not specified.