Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2021-47055
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47055 is a security vulnerability in the Linux kernel related to Memory Technology Device (MTD) subsystem permissions. The vulnerability affects the handling of locking and badblock ioctls (MEMLOCK, MEMUNLOCK, and OTPLOCK) which modify protection bits and the bad block table. This issue was discovered in various Linux kernel versions from 4.4.233 through 5.12.4 (NVD).

Technical details

The vulnerability stems from improper permission checking in the MTD subsystem. The MEMLOCK, MEMUNLOCK, and OTPLOCK operations modify protection bits, while MEMSETBADBLOCK modifies the bad block table, but these operations were not properly requiring write permissions. This is particularly critical for hardware implementations where MEMLOCK might be write-once, such as in SPI-NOR flashes with their WP# tied to GND, and OTPLOCK is always write-once. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability could allow an attacker with local access and limited privileges to modify protection bits and bad block tables without proper authorization. This could potentially lead to permanent changes in flash memory devices, especially in cases where operations like MEMLOCK are write-once or where OTPLOCK (One-Time Programmable) operations are involved (Red Hat).

Exploitability

The vulnerability requires local access with low privileges to exploit. The attack complexity is low, and no user interaction is required. However, the impact is primarily limited to availability, with no direct impact on confidentiality or integrity (NVD).

Mitigation and workarounds

The vulnerability has been fixed by requiring write permissions for locking and badblock ioctls. The fix involves moving MEMLOCK, MEMUNLOCK, MEMSETBADBLOCK, and OTPLOCK operations to the 'dangerous' commands category, which requires proper write permissions (FMODE_WRITE) to execute. Multiple patches have been released for different kernel versions to address this issue (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-93189HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-aws-7.0
NoYesSep 17, 2026
CVE-2026-93188MEDIUM6.5
  • Linux Kernel logoLinux Kernel
  • linux-aws-7.0
NoYesSep 17, 2026
CVE-2026-93182NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-hwe-6.17
NoYesSep 17, 2026
CVE-2026-93181NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-nvidia-6.14
NoNoSep 17, 2026
CVE-2026-93174NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-7.0
NoYesSep 17, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management