CVE-2021-23134 Linux kernel llcp_sock_bind/connect use-after-free

High 7.8 Published Updated

Local attackers with CAP_NET_RAW can exploit a use-after-free in NFC sockets to escalate privileges in the Linux kernel.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-23134?

CVE-2021-23134 is a high-severity use after free vulnerability in Debian Debian Linux, published on 12 May 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Use After Free vulnerability in nfc sockets in the Linux Kernel before 5.12.4 allows local attackers to elevate their privileges. In typical configurations, the issue can only be triggered by a privileged local user with the CAP_NET_RAW capability.

Weakness: CWE-416

Which versions are affected by CVE-2021-23134?

It affects 10 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Linux kernel, Netapp Cloud Backup, Netapp H300s Firmware, Netapp H410c Firmware and 4 more.

How do I fix CVE-2021-23134?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2021-23134 being exploited?

There is no known exploitation of CVE-2021-23134 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as A-188883590, AZL-6531, DEBIAN-CVE-2021-23134, GHSA-jm36-c9r2-g7rq, PUB-A-188883590, UBUNTU-CVE-2021-23134.

Is CVE-2021-23134 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free