CVE-2021-47518

nfc: fix potential NULL pointer deref in nfc_genl_dump_ses_done

MEDIUM
5.5
CVSS Score
Published: May 24, 2024 at 03:09 PM 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: fix potential NULL pointer deref in nfc_genl_dump_ses_done The done() netlink callback nfc_genl_dump_ses_done() should check if received argument is non-NULL, because its allocation could fail earlier in dumpit() (nfc_genl_dump_ses()).

Affected

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

3.12 ≤ v < 4.14.2583.12 ≤ v < 4.19.2213.12 ≤ v < 4.4.2953.12 ≤ v < 4.9.2933.12 ≤ v < 5.10.853.12 ≤ v < 5.15.83.12 ≤ v < 5.163.12 ≤ v < 5.4.1654.10 ≤ v < 4.14.2584.15 ≤ v < 4.19.2214.20 ≤ v < 5.4.1654.5 ≤ v < 4.9.2935.11 ≤ v < 5.15.85.5 ≤ v < 5.10.853.12ac22ac466a659f1b2e02a2e2ee23fc5c42da2c95
Vendor states this is fixed in 3b861a40325eac9c4c13b6c53874ad90617e944d (fixed)
Vendor states this is fixed in 48fcd08fdbe05e35b650a252ec2a2d96057a1c7a (fixed)
Vendor states this is fixed in 4cd8371a234d051f9c9557fcbb1f8c523b1c0d10 (fixed)
Vendor states this is fixed in 69bb79a8f5bb9f436b6f1434ca9742591b7bbe18 (fixed)
Vendor states this is fixed in 811a7576747760bcaf60502f096d1e6e91d566fa (fixed)
Vendor states this is fixed in 83ea620a1be840bf05089a5061fb8323ca42f38c (fixed)
Vendor states this is fixed in 87cdb8789c38e44ae5454aafe277997c950d00ed (fixed)
Vendor states this is fixed in fae9705d281091254d4a81fa2da9d22346097dca (fixed)
Vendor states this is fixed in 3.12 (unaffected)
Vendor states this is fixed in 4.14.258 (unaffected)
Vendor states this is fixed in 4.19.221 (unaffected)
Vendor states this is fixed in 4.4.295 (unaffected)
Vendor states this is fixed in 4.9.293 (unaffected)
Vendor states this is fixed in 5.10.85 (unaffected)
Vendor states this is fixed in 5.15.8 (unaffected)
Vendor states this is fixed in 5.16 (unaffected)
Vendor states this is fixed in 5.4.165 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3b861a40325eac9c4c13b6c53874ad90617e944d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/48fcd08fdbe05e35b650a252ec2a2d96057a1c7a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4cd8371a234d051f9c9557fcbb1f8c523b1c0d10
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/69bb79a8f5bb9f436b6f1434ca9742591b7bbe18
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/811a7576747760bcaf60502f096d1e6e91d566fa
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/83ea620a1be840bf05089a5061fb8323ca42f38c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/87cdb8789c38e44ae5454aafe277997c950d00ed
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fae9705d281091254d4a81fa2da9d22346097dca

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

StatusMODIFIED
CWE
CWE-476

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