CVE-2021-47612 json
nfc: fix segfault in nfc_genl_dump_devices_done
published 2024-06-19 2 y ago modified 2026-06-17 4 mo ago also EUVD-2021-34614
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 13%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
nfc: fix segfault in nfc_genl_dump_devices_done
When kmalloc in nfc_genl_dump_devices() fails then nfc_genl_dump_devices_done() segfaults as below
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 PID: 25 Comm: kworker/0:1 Not tainted 5.16.0-rc4-01180-g2a987e65025e-dirty #5 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.14.0-6.fc35 04/01/2014 Workqueue: events netlink_sock_destruct_work RIP: 0010:klist_iter_exit+0x26/0x80 Call Trace: <TASK> class_dev_iter_exit+0x15/0x20 nfc_genl_dump_devices_done+0x3b/0x50 genl_lock_done+0x84/0xd0 netlink_sock_destruct+0x8f/0x270 __sk_destruct+0x64/0x3b0 sk_destruct+0xa8/0xd0 __sk_free+0x2e8/0x3d0 sk_free+0x51/0x90 netlink_sock_destruct_work+0x1c/0x20 process_one_work+0x411/0x710 worker_thread+0x6fd/0xa80
Patch / fix
- Linux Linux 4.4.296, 4.9.294, 4.14.259, 4.19.222, 5.4.167, 5.10.87, 5.15.10, 5.16
- linux Debian 14, Debian 13, Debian 12 5.15.15-1
debian advisories DEBIAN-CVE-2021-47612
- linux Ubuntu 18.04 LTS 4.15.0-169.177
- linux Ubuntu 20.04 LTS 5.4.0-105.119
- linux-aws Ubuntu 18.04 LTS 4.15.0-1121.129
- linux-aws Ubuntu 20.04 LTS 5.4.0-1069.73
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1068.72
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1018.20
- linux-kvm Ubuntu 18.04 LTS 4.15.0-1107.109
- linux-kvm Ubuntu 20.04 LTS 5.4.0-1059.62
ubuntu advisories UBUNTU-CVE-2021-47612
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- dtb-aarch64 openSUSE Leap 15.5 5.14.21-150500.55.73.1
- kernel-64kb SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.73.1
- kernel-syms SLE Module for Development Tools 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.73.1
- kernel-obs-qa openSUSE Leap 15.5 5.14.21-150500.55.73.1
- kernel-source SLE Module for Development Tools 15 SP5, SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.73.1
- kernel-default SLE Workstation Extension 15 SP5, SLE Module for Legacy 15 SP5, SLE Module for Basesystem 15 SP5 +5 more 5.14.21-150500.55.73.1
- kernel-kvmsmall openSUSE Leap 15.5 5.14.21-150500.55.73.1
- kernel-zfcpdump SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.73.1
suse advisories SUSE-SU-2025:0034-1SUSE-SU-2024:4100-1SUSE-SU-2024:2939-1SUSE-SU-2024:2929-1SUSE-SU-2024:2902-1SUSE-SU-2024:2394-1
- git.kernel.org/stable/c/ea55b3797878752aa076b118afb727dcf79cac34 commit
- git.kernel.org/stable/c/214af18abbe39db05beb305b2d11e87d09a6529c commit
- git.kernel.org/stable/c/6644989642844de830f9b072cd65c553cb55946c commit
- git.kernel.org/stable/c/2a8845b9603c545fddd17862282dc4c4ce0971e3 commit
- git.kernel.org/stable/c/d731ecc6f2eaec68f4ad1542283bbc7d07bd0112 commit
- git.kernel.org/stable/c/c602863ad28ec86794cb4ab4edea5324f555f181 commit
- git.kernel.org/stable/c/d89e4211b51752daf063d638af50abed2fd5f96d commit
- git.kernel.org/stable/c/fd79a0cbf0b2e34bcc45b13acf962e2032a82203 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-47612 updated cvss 4.4
kernel: nfc: fix segfault in nfc_genl_dump_devices_done
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.22% chance of exploitation in the next 30 days, higher than 13% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
- Technology feeds
References
-
git.kernel.org
/stable/c/ea55b3797878752aa076b118afb727dcf79cac34
patch
-
git.kernel.org
/stable/c/214af18abbe39db05beb305b2d11e87d09a6529c
patch
-
git.kernel.org
/stable/c/6644989642844de830f9b072cd65c553cb55946c
patch
-
git.kernel.org
/stable/c/2a8845b9603c545fddd17862282dc4c4ce0971e3
patch
-
git.kernel.org
/stable/c/d731ecc6f2eaec68f4ad1542283bbc7d07bd0112
patch
-
git.kernel.org
/stable/c/c602863ad28ec86794cb4ab4edea5324f555f181
patch
-
git.kernel.org
/stable/c/d89e4211b51752daf063d638af50abed2fd5f96d
patch
-
git.kernel.org
/stable/c/fd79a0cbf0b2e34bcc45b13acf962e2032a82203
patch
Sources
- CVE List CVE-2021-47612
- NVD CVE-2021-47612
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.