CVE-2021-47442

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

MEDIUM
5.5
CVSS Score
Published: May 22, 2024 at 06:19 AM UTC
Updated: June 17, 2026 at 04:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.13 ≤ v < 4.14.2523.13 ≤ v < 4.19.2133.13 ≤ v < 4.4.2903.13 ≤ v < 4.9.2883.13 ≤ v < 5.10.753.13 ≤ v < 5.14.143.13 ≤ v < 5.153.13 ≤ v < 5.4.1554.10 ≤ v < 4.14.2524.15 ≤ v < 4.19.2134.20 ≤ v < 5.4.1554.5 ≤ v < 4.9.2885.11 ≤ v < 5.14.145.5 ≤ v < 5.10.752c66daecc4092e6049673c281b2e6f0d5e59a94c5.15 rc15.15 rc25.15 rc35.15 rc45.15 rc5
Vendor states this is fixed in 071bdef36391958c89af5fa2172f691b31baa212 (fixed)
Vendor states this is fixed in 291c932fc3692e4d211a445ba8aa35663831bac7 (fixed)
Vendor states this is fixed in 2bde4aca56db9fe25405d39ddb062531493a65db (fixed)
Vendor states this is fixed in 50cb95487c265187289810addec5093d4fed8329 (fixed)
Vendor states this is fixed in 6432d7f1d1c3aa74cfe8f5e3afdf81b786c32e86 (fixed)
Vendor states this is fixed in 74569c78aa84f8c958f1334b465bc530906ec99a (fixed)
Vendor states this is fixed in 88c890b0b9a1fb9fcd01c61ada515e8b636c34f9 (fixed)
Vendor states this is fixed in fcce6e5255474ca33c27dda0cdf9bf5087278873 (fixed)
Vendor states this is fixed in 3.13 (unaffected)
Vendor states this is fixed in 4.14.252 (unaffected)
Vendor states this is fixed in 4.19.213 (unaffected)
Vendor states this is fixed in 4.4.290 (unaffected)
Vendor states this is fixed in 4.9.288 (unaffected)
Vendor states this is fixed in 5.10.75 (unaffected)
Vendor states this is fixed in 5.14.14 (unaffected)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.4.155 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/071bdef36391958c89af5fa2172f691b31baa212
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/291c932fc3692e4d211a445ba8aa35663831bac7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2bde4aca56db9fe25405d39ddb062531493a65db
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/50cb95487c265187289810addec5093d4fed8329
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6432d7f1d1c3aa74cfe8f5e3afdf81b786c32e86
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/74569c78aa84f8c958f1334b465bc530906ec99a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/88c890b0b9a1fb9fcd01c61ada515e8b636c34f9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fcce6e5255474ca33c27dda0cdf9bf5087278873

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card