Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2021-47055

HIGH 7.1EPSS 6%

mtd: require write permissions for locking and badblock ioctls

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 1c9f9125892a43901438bf704ada6b7019e2a884, < f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf; >= 583d42400532fbd6228b0254d7c732b771e4750d, < 9625b00cac6630479c0ff4b9fafa88bee636e1f0; >= 389c74c218d3b182e9cd767e98cee0e0fd0dabaa, < f73b29819c6314c0ba8b7d5892dfb03487424bee; >= ab1a602a9cea98aa37b2e6851b168d2a2633a58d, < 75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37; >= 9a53e8bd59d9f070505e51d3fd19606a270e6b93, < 5880afefe0cb9b2d5e801816acd58bfe91a96981; >= f7e6b19bc76471ba03725fe58e0c218a3d6266c3, < 7b6552719c0ccbbea29dde4be141da54fdb5877e; >= f7e6b19bc76471ba03725fe58e0c218a3d6266c3, < 077259f5e777c3c8821f6b41dee709fcda27306b; >= f7e6b19bc76471ba03725fe58e0c218a3d6266c3, < a08799d3e8c8088640956237c183f83463c39668; >= f7e6b19bc76471ba03725fe58e0c218a3d6266c3, < 1e97743fd180981bef5f01402342bb54bf1c6366; 36a8b2f49235e63ab3f901fe12e1b6732f075c2e; …
  • Anyone running Linux 5.9

Vulnerability facts

Affected
Linux >= 1c9f9125892a43901438bf704ada6b7019e2a884, < f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf; >= 583d42400532fbd6228b0254d7c732b771e4750d, < 9625b00cac6630479c0ff4b9fafa88bee636e1f0; >= 389c74c218d3b182e9cd767e98cee0e0fd0dabaa, < f73b29819c6314c0ba8b7d5892dfb03487424bee; >= ab1a602a9cea98aa37b2e6851b168d2a2633a58d, < 75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37; >= 9a53e8bd59d9f070505e51d3fd19606a270e6b93, < 5880afefe0cb9b2d5e801816acd58bfe91a96981; >= f7e6b19bc76471ba03725fe58e0c218a3d6266c3, < 7b6552719c0ccbbea29dde4be141da54fdb5877e; >= f7e6b19bc76471ba03725fe58e0c218a3d6266c3, < 077259f5e777c3c8821f6b41dee709fcda27306b; >= f7e6b19bc76471ba03725fe58e0c218a3d6266c3, < a08799d3e8c8088640956237c183f83463c39668; >= f7e6b19bc76471ba03725fe58e0c218a3d6266c3, < 1e97743fd180981bef5f01402342bb54bf1c6366; 36a8b2f49235e63ab3f901fe12e1b6732f075c2e; …; Linux 5.9
Fixed in
Linux 9625b00cac6630479c0ff4b9fafa88bee636e1f0, Linux 75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37, Linux 5880afefe0cb9b2d5e801816acd58bfe91a96981, Linux 7b6552719c0ccbbea29dde4be141da54fdb5877e, Linux 077259f5e777c3c8821f6b41dee709fcda27306b, Linux 1e97743fd180981bef5f01402342bb54bf1c6366
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.1 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: High
  • Availability impact: High
EPSS
0.20% chance of exploitation in 30 days (percentile 6, 2026-11-26)
CWE
CWE-667
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: mtd: require write permissions for locking and badblock ioctls MEMLOCK, MEMUNLOCK and OTPLOCK modify protection bits. Thus require write permission. Depending on the hardware MEMLOCK might even be write-once, e.g. for SPI-NOR flashes with their WP# tied to GND. OTPLOCK is always write-once. MEMSETBADBLOCK modifies the bad block table.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 1c9f9125892a43901438bf704ada6b7019e2a884, < f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf; >= 583d42400532fbd6228b0254d7c732b771e4750d, < 9625b00cac6630479c0ff4b9fafa88bee636e1f0; >= 389c74c218d3b182e9cd767e98cee0e0fd0dabaa, < f73b29819c6314c0ba8b7d5892dfb03487424bee; >= ab1a602a9cea98aa37b2e6851b168d2a2633a58d, < 75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37; >= 9a53e8bd59d9f070505e51d3fd19606a270e6b93, < 5880afefe0cb9b2d5e801816acd58bfe91a96981; >= f7e6b19bc76471ba03725fe58e0c218a3d6266c3, < 7b6552719c0ccbbea29dde4be141da54fdb5877e; >= f7e6b19bc76471ba03725fe58e0c218a3d6266c3, < 077259f5e777c3c8821f6b41dee709fcda27306b; >= f7e6b19bc76471ba03725fe58e0c218a3d6266c3, < a08799d3e8c8088640956237c183f83463c39668; >= f7e6b19bc76471ba03725fe58e0c218a3d6266c3, < 1e97743fd180981bef5f01402342bb54bf1c6366; 36a8b2f49235e63ab3f901fe12e1b6732f075c2e; …—cvelist
Linux5.9—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2021-47055. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47055.md
Affected: Linux >= 1c9f9125892a43901438bf704ada6b7019e2a884, < f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf; >= 583d42400532fbd6228b0254d7c732b771e4750d, < 9625b00cac6630479c0ff4b9fafa88bee636e1f0; >= 389c74c218d3b182e9cd767e98cee0e0fd0dabaa, < f73b29819c6314c0ba8b7d5892dfb03487424bee; >= ab1a602a9cea98aa37b2e68…
Fixed in: Linux 9625b00cac6630479c0ff4b9fafa88bee636e1f0, Linux 75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37, Linux 5880afefe0cb9b2d5e801816acd58bfe91a96981, Linux 7b6552719c0ccbbea29dde4be141da54fdb5877e, Linux 077259f5e777c3c8821f6b41dee709fcda27306b, Linux 1e97743fd180981bef5f01402342bb54bf1c6366

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2021-47055 being exploited?

There is no confirmed exploitation: CVE-2021-47055 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2021-47055?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2021-47055?

Linux >= 1c9f9125892a43901438bf704ada6b7019e2a884, < f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf; >= 583d42400532fbd6228b0254d7c732b771e4750d, < 9625b00cac6630479c0ff4b9fafa88bee636e1f0; >= 389c74c218d3b182e9cd767e98cee0e0fd0dabaa, < f73b29819c6314c0ba8b7d5892dfb03487424bee; >= ab1a602a9cea98aa37b2e6851b168d2a2633a58d, < 75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37; >= 9a53e8bd59d9f070505e51d3fd19606a270e6b93, < 5880afefe0cb9b2d5e801816acd58bfe91a96981; >= f7e6b19bc76471ba03725fe58e0c218a3d6266c3, < 7b6552719c0ccbbea29dde4be141da54fdb5877e; >= f7e6b19bc76471ba03725fe58e0c218a3d6266c3, < 077259f5e777c3c8821f6b41dee709fcda27306b; >= f7e6b19bc76471ba03725fe58e0c218a3d6266c3, < a08799d3e8c8088640956237c183f83463c39668; >= f7e6b19bc76471ba03725fe58e0c218a3d6266c3, < 1e97743fd180981bef5f01402342bb54bf1c6366; 36a8b2f49235e63ab3f901fe12e1b6732f075c2e; …; Linux 5.9.

Is there a fix for CVE-2021-47055?

Yes. Fixed in Linux 9625b00cac6630479c0ff4b9fafa88bee636e1f0, Linux 75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37, Linux 5880afefe0cb9b2d5e801816acd58bfe91a96981, Linux 7b6552719c0ccbbea29dde4be141da54fdb5877e, Linux 077259f5e777c3c8821f6b41dee709fcda27306b, Linux 1e97743fd180981bef5f01402342bb54bf1c6366. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2021-47055?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors