CVE-2021-47612
Last modified
CVE-2021-47612 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
Description
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
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | < 4.4.296 |
| Linux | Linux Kernel | >= 4.5, < 4.9.294 |
| Linux | Linux Kernel | >= 4.10, < 4.14.259 |
| Linux | Linux Kernel | >= 4.15, < 4.19.222 |
| Linux | Linux Kernel | >= 4.20, < 5.4.167 |
| Linux | Linux Kernel | >= 5.5, < 5.10.87 |
| Linux | Linux Kernel | >= 5.11, < 5.15.10 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-47612?
How severe is CVE-2021-47612?
How do I fix CVE-2021-47612?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-47606In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47607In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47608In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47609In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47610In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47611In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47613In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47614In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47615Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2021-47616In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47617In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47618In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2021-47612?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
