VYPR
Unrated severityNVD Advisory· Published Feb 29, 2024· Updated May 4, 2025

mtd: require write permissions for locking and badblock ioctls

CVE-2021-47055

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

128

Patches

Vulnerability mechanics

References

9

News mentions

0

No linked articles in our index yet.