CVE-2021-47055
mtd: require write permissions for locking and badblock ioctls
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 4.4.269, 4.9.269, 4.14.233, 4.19.191, 5.4.119, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 4.4.233 · fixed in 4.4.269; From 4.9.233 · fixed in 4.9.269; From 4.14.194 · fixed in 4.14.233; From 4.19.139 · fixed in 4.19.191; From 5.4.58 · fixed in 5.4.119; From 5.7.15 · fixed in 5.8; From 5.8.1 · fixed in 5.9
- Linux Linux
5.9
References 9
git.kernel.org
- stable/c/f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf
- stable/c/9625b00cac6630479c0ff4b9fafa88bee636e1f0
- stable/c/f73b29819c6314c0ba8b7d5892dfb03487424bee
- stable/c/75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37
- stable/c/5880afefe0cb9b2d5e801816acd58bfe91a96981
- stable/c/7b6552719c0ccbbea29dde4be141da54fdb5877e
- stable/c/077259f5e777c3c8821f6b41dee709fcda27306b
- stable/c/a08799d3e8c8088640956237c183f83463c39668
- stable/c/1e97743fd180981bef5f01402342bb54bf1c6366