CVE-2021-47442
JSON

5.5medium

NFC: digital: fix possible memory leak in digital_in_send_sdd_req()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.23% (higher than 14% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 2c66daecc4092e6049673c281b2e6f0d5e59a94c before 74569c78aa84f8c958f1334b465bc530906ec99a, from 2c66daecc4092e6049673c281b2e6f0d5e59a94c before 88c890b0b9a1fb9fcd01c61ada515e8b636c34f9, from 2c66daecc4092e6049673c281b2e6f0d5e59a94c before fcce6e5255474ca33c27dda0cdf9bf5087278873, from 2c66daecc4092e6049673c281b2e6f0d5e59a94c before 071bdef36391958c89af5fa2172f691b31baa212, from 2c66daecc4092e6049673c281b2e6f0d5e59a94c before 2bde4aca56db9fe25405d39ddb062531493a65db, from 2c66daecc4092e6049673c281b2e6f0d5e59a94c before 50cb95487c265187289810addec5093d4fed8329, from 2c66daecc4092e6049673c281b2e6f0d5e59a94c before 6432d7f1d1c3aa74cfe8f5e3afdf81b786c32e86, from 2c66daecc4092e6049673c281b2e6f0d5e59a94c before 291c932fc3692e4d211a445ba8aa35663831bac7 and 1 more
Not affected: before 3.13, from 4.4.290 up to 4.4.*, from 4.9.288 up to 4.9.*, from 4.14.252 up to 4.14.*, from 4.19.213 up to 4.19.*, from 5.4.155 up to 5.4.*
CVE List
linux linux_kernelfrom 3.13 before 4.4.290, from 4.5 before 4.9.288, from 4.10 before 4.14.252, from 4.15 before 4.19.213, from 4.20 before 5.4.155, from 5.5 before 5.10.75, from 5.11 before 5.14.14, 5.15NVD

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: NFC: digital: corrige una posible pérdida de memoria en digital_in_send_sdd_req() 'skb' está asignado en digital_in_send_sdd_req(), pero no está libre cuando falla digital_in_send_cmd(), lo que provocará una pérdida de memoria. Solucionarlo liberando 'skb' si falla la devolución de digital_in_send_cmd().

References

Sources

SourceRecordLicence
CVE ListCVE-2021-47442 changed 2026-05-11CVE Terms of Use
NVDCVE-2021-47442 changed 2026-06-17Public domain