CVE-2021-3612 Memory corruption in kernel

High 7.8 Published Updated

A local attacker can exploit an out-of-bounds write in the joystick subsystem to crash the system or escalate privileges.

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-3612?

CVE-2021-3612 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 9 Jul 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An out-of-bounds memory write flaw was found in the Linux kernel's joystick devices subsystem in versions before 5.9-rc1, in the way the user calls ioctl JSIOCSBTNMAP. This flaw allows a local user to crash the system or possibly escalate their privileges on the system. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.

Weakness: CWE-787, CWE-20

Which versions are affected by CVE-2021-3612?

It affects 17 products.

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

How do I fix CVE-2021-3612?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-3612 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-3612, GHSA-3g5m-332q-27r3, UBUNTU-CVE-2021-3612.

Is CVE-2021-3612 in your software?

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

Check your SBOMs for free