Skip to main content
Mallory
HighVulnerability

CVE-2021-3612: Linux kernel joydev JSIOCSBTNMAP Out-of-Bounds Write

Published Jul 9, 2021 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS0.69%48th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendors
NetAppOracle CorporationDebian ProjectFedora ProjectLinuxRed Hat
IdentifiersCVE-2021-3612CWE-787 · Out-of-bounds Write

CVE-2021-3612 is an out-of-bounds memory-access vulnerability in Linux kernel joydev joystick-device ioctl handling. Malformed input to the JSIOCSBTNMAP ioctl can cause incorrect processing in joydev_handle_JSIOCSBTNMAP(). In upstream kernels beginning with Linux v5.12-rc1, following commit 182d679b2298, the condition can produce an out-of-bounds kernel-memory write and panic. Earlier affected kernels exposed an out-of-bounds stack-read condition instead.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

A local attacker able to invoke the vulnerable joystick ioctl can crash the kernel, causing a denial of service. The out-of-bounds write in affected newer upstream kernels may also be exploitable for local privilege escalation, with potential compromise of confidentiality and integrity.

Mitigation

If you can’t patch tonight, do this now.

Until patched, prevent untrusted local users from accessing joystick device interfaces, and disable or avoid loading the joydev subsystem where joystick support is not required. Restrict permissions on joystick device nodes and limit local code execution by untrusted users.

Remediation

Patch, then assume compromise.

Install the vendor kernel update containing the joydev fix and reboot into the updated kernel. For affected Red Hat Enterprise Linux 8 Real Time deployments, Red Hat provided the fix through RHSA-2022:1975 and RHSA-2022:1988; RHSA-2022:1975 includes kernel-rt-4.18.0-372.9.1.rt7.166.el8 or later applicable packages.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Debian ProjectDebian Linuxoperating_system
Fedora ProjectFedoraoperating_system
LinuxLinux Kerneloperating_system
NetAppCloud Backupapplication
NetAppH300e Firmwareoperating_system
NetAppH300s Firmwareoperating_system
NetAppH410c Firmwareoperating_system
NetAppH410s Firmwareoperating_system
NetAppH500e Firmwareoperating_system
NetAppH500s Firmwareoperating_system
NetAppH700e Firmwareoperating_system
NetAppH700s Firmwareoperating_system
NetAppSolidfire Baseboard Management Controller Firmwareoperating_system
Oracle CorporationCommunications Cloud Native Core Binding Support Functionapplication
Oracle CorporationCommunications Cloud Native Core Network Exposure Functionapplication
Oracle CorporationCommunications Cloud Native Core Policyapplication
Red HatRed Hat Enterprise Linuxoperating_system
FAQ

Frequently asked questions

Is CVE-2021-3612 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2021-3612 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2021-3612?
As of Oct 16, 2026, Mallory has found no public exploit for CVE-2021-3612.
Is there a patch for CVE-2021-3612?
Install the vendor kernel update containing the joydev fix and reboot into the updated kernel. For affected Red Hat Enterprise Linux 8 Real Time deployments, Red Hat provided the fix through RHSA-2022:1975 and RHSA-2022:1988; RHSA-2022:1975 includes kernel-rt-4.18.0-372.9.1.rt7.166.el8 or later applicable packages.
What products are affected by CVE-2021-3612?
Linux Kernel, NetApp Cloud Backup, Oracle Corporation Communications Cloud Native Core Binding Support Function, Oracle Corporation Communications Cloud Native Core Network Exposure Function, Oracle Corporation Communications Cloud Native Core Policy, and 12 more.
How severe is CVE-2021-3612?
CVE-2021-3612 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.69% (48th percentile) as of Oct 16, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.