CVE-2021-47442
NFC: digital: fix possible memory leak in digital_in_send_sdd_req()
Check your servers for CVE-2021-47442
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-47442 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 22 May 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 2c66daecc4092e6049673c281b2e6f0d5e59a94c, before 74569c78aa84f8c958f1334b465bc530906ec99a affected from 2c66daecc4092e6049673c281b2e6f0d5e59a94c, before 88c890b0b9a1fb9fcd01c61ada515e8b636c34f9 affected from 2c66daecc4092e6049673c281b2e6f0d5e59a94c, before fcce6e5255474ca33c27dda0cdf9bf5087278873 affected from 2c66daecc4092e6049673c281b2e6f0d5e59a94c, before 071bdef36391958c89af5fa2172f691b31baa212 affected from 2c66daecc4092e6049673c281b2e6f0d5e59a94c, before 2bde4aca56db9fe25405d39ddb062531493a65db affected from 2c66daecc4092e6049673c281b2e6f0d5e59a94c, before 50cb95487c265187289810addec5093d4fed8329 affected from 2c66daecc4092e6049673c281b2e6f0d5e59a94c, before 6432d7f1d1c3aa74cfe8f5e3afdf81b786c32e86 affected from 2c66daecc4092e6049673c281b2e6f0d5e59a94c, before 291c932fc3692e4d211a445ba8aa35663831bac7
Other versions: unaffected
|
| Linux |
affected 3.13 unaffected before 3.13 unaffected from 4.4.290 up to and including 4.4.* unaffected from 4.9.288 up to and including 4.9.* unaffected from 4.14.252 up to and including 4.14.* unaffected from 4.19.213 up to and including 4.19.* unaffected from 5.4.155 up to and including 5.4.* unaffected from 5.10.75 up to and including 5.10.* unaffected from 5.14.14 up to and including 5.14.* unaffected 5.15 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2021-47442 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47442
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2021-47442
trivy image --scanners vuln IMAGE | grep CVE-2021-47442
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/74569c78aa84f8c958f1334b465bc530906ec99a git.kernel.org
- https://git.kernel.org/stable/c/88c890b0b9a1fb9fcd01c61ada515e8b636c34f9 git.kernel.org
- https://git.kernel.org/stable/c/fcce6e5255474ca33c27dda0cdf9bf5087278873 git.kernel.org
- https://git.kernel.org/stable/c/071bdef36391958c89af5fa2172f691b31baa212 git.kernel.org
- https://git.kernel.org/stable/c/2bde4aca56db9fe25405d39ddb062531493a65db git.kernel.org
- https://git.kernel.org/stable/c/50cb95487c265187289810addec5093d4fed8329 git.kernel.org
- https://git.kernel.org/stable/c/6432d7f1d1c3aa74cfe8f5e3afdf81b786c32e86 git.kernel.org
- https://git.kernel.org/stable/c/291c932fc3692e4d211a445ba8aa35663831bac7 git.kernel.org
Source: the record CVE-2021-47442 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse