CVE-2021-47634

Kernel memory corruption via UBI ioctl race

Published Feb 26, 2025 · Updated May 23, 2026

Use-after-free in the Linux kernel UBI subsystem allows local users to corrupt kernel memory by racing UBI volume-management ioctls. The ctrl_cdev_ioctl attach path holds ubi_devices_mutex while ubi_cdev_ioctl uses ubi->device_mutex, allowing uif_init or uif_close to overlap volume creation and removal and free device structures twice. Exploitation requires local low-privileged access and concurrent attach, create, or remove operations; successful triggering compromises kernel confidentiality, integrity, and availability.

CVSS severity7.8
High
EPSS probability0.29%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Use-after-free in the Linux kernel UBI subsystem allows local users to corrupt kernel memory by racing UBI volume-management ioctls. The ctrl_cdev_ioctl attach path holds ubi_devices_mutex while ubi_cdev_ioctl uses ubi->device_mutex, allowing uif_init or uif_close to overlap volume creation and removal and free device structures twice. Exploitation requires local low-privileged access and concurrent attach, create, or remove operations; successful triggering compromises kernel confidentiality, integrity, and availability.

The record

CVE
CVE-2021-47634
Published
Feb 26, 2025
Updated
May 23, 2026
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
CWE-416, T1068
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Feb 26, 2025CVE publishedPublication date reported by the CVE source.
  2. May 23, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=016820bde3f0895d09fcad370415085ba0d1bd4a
  2. Affected versionversion=12f567db822241090b90c5645ea9146f6cf8fa42
  3. Affected versionversion=3.10.103 <3.11
  4. Affected versionversion=3.12.63 <3.13
  5. Affected versionversion=3.14.77 <3.15
  6. Affected versionversion=3.16.39 <3.17
  7. Affected versionversion=3.18.40 <3.19
  8. Affected versionversion=31b0fca8ab9b9786fe6e5027c4a8587b47db5abf
  9. Affected versionversion=3.2.84 <3.3
  10. Affected versionversion=4056337b1e81a1b137aa562133dc5430cd2fd19e
  11. Affected versionversion=4.1.31 <4.2
  12. Affected versionversion=4.4.19 <4.5
  13. Affected versionversion=4.7.2 <4.8
  14. Affected versionversion=4.8
  15. Affected versionversion=6117840dec60344167038f9511c3770d4c096eaa
  16. Affected versionversion=714fb87e8bc05ff78255afc0dca981e8c5242785 <1a3f1cf87054833242fcd0218de0481cf855f888
  17. Affected versionversion=714fb87e8bc05ff78255afc0dca981e8c5242785 <3cbf0e392f173ba0ce425968c8374a6aa3e90f2e
  18. Affected versionversion=714fb87e8bc05ff78255afc0dca981e8c5242785 <432b057f8e847ae5a2306515606f8d2defaca178
  19. Affected versionversion=714fb87e8bc05ff78255afc0dca981e8c5242785 <5f9e9c223e48c264241d2f34d0bfc29e5fcb5c1b
  20. Affected versionversion=714fb87e8bc05ff78255afc0dca981e8c5242785 <a8ecee49259f8f78d91ddb329ab2be7e6fd01974
  21. Affected versionversion=714fb87e8bc05ff78255afc0dca981e8c5242785 <c32fe764191b8ae8b128588beb96e3718d9179d8
  22. Affected versionversion=714fb87e8bc05ff78255afc0dca981e8c5242785 <d727fd32cbd1abf3465f607021bc9c746f17b5a8
  23. Affected versionversion=714fb87e8bc05ff78255afc0dca981e8c5242785 <f149b1bd213820363731aa119e5011ca892a2aac
  24. Affected versionversion=ae32d1b98ba29408df87c0ed47877ca0f248eae7
  25. Affected versionversion=bd7d3de27e7e1acce2e276074a498a82e0834663
  26. Affected versionversion=cdf25333b42fb889f086ef65d0734d0dbdc49f4e
  27. Affected versionversion=f3db4c640b32485105554e0bfd16bbde585f6fb0

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

The Linux Kernel Organization · Linuxversion=016820bde3f0895d09fcad370415085ba0d1bd4a; version=12f567db822241090b90c5645ea9146f6cf8fa42; version=3.10.103 <3.11; version=3.12.63 <3.13; version=3.14.77 <3.15; version=3.16.39 <3.17; version=3.18.40 <3.19; version=31b0fca8ab9b9786fe6e5027c4a8587b47db5abf; version=3.2.84 <3.3; version=4056337b1e81a1b137aa562133dc5430cd2fd19e; version=4.1.31 <4.2; version=4.4.19 <4.5; version=4.7.2 <4.8; version=4.8; version=6117840dec60344167038f9511c3770d4c096eaa; version=714fb87e8bc05ff78255afc0dca981e8c5242785 <1a3f1cf87054833242fcd0218de0481cf855f888; version=714fb87e8bc05ff78255afc0dca981e8c5242785 <3cbf0e392f173ba0ce425968c8374a6aa3e90f2e; version=714fb87e8bc05ff78255afc0dca981e8c5242785 <432b057f8e847ae5a2306515606f8d2defaca178; version=714fb87e8bc05ff78255afc0dca981e8c5242785 <5f9e9c223e48c264241d2f34d0bfc29e5fcb5c1b; version=714fb87e8bc05ff78255afc0dca981e8c5242785 <a8ecee49259f8f78d91ddb329ab2be7e6fd01974; version=714fb87e8bc05ff78255afc0dca981e8c5242785 <c32fe764191b8ae8b128588beb96e3718d9179d8; version=714fb87e8bc05ff78255afc0dca981e8c5242785 <d727fd32cbd1abf3465f607021bc9c746f17b5a8; version=714fb87e8bc05ff78255afc0dca981e8c5242785 <f149b1bd213820363731aa119e5011ca892a2aac; version=ae32d1b98ba29408df87c0ed47877ca0f248eae7; version=bd7d3de27e7e1acce2e276074a498a82e0834663; version=cdf25333b42fb889f086ef65d0734d0dbdc49f4e; version=f3db4c640b32485105554e0bfd16bbde585f6fb0

Published CVSS scores

7.8CanonicalCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
7.8CISA-ADPCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-416Use After Free
T1068Exploitation for Privilege Escalation

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo