We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Zendesk (Helpdesk and Chat)
Bugpilot (Bug tracking)

Ok

THREATINT CVE Home CVE Diag Help
PUBLISHED

CVE-2021-47055

mtd: require write permissions for locking and badblock ioctls

Reserved:2024-02-29
Published:2024-02-29
Updated:2024-04-04

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.

Product status

Default status
unaffected

1c9f9125892a before f4d28d8b9b0e
affected

583d42400532 before 9625b00cac66
affected

389c74c218d3 before f73b29819c63
affected

ab1a602a9cea before 75ed985bd6c8
affected

9a53e8bd59d9 before 5880afefe0cb
affected

f7e6b19bc764 before 7b6552719c0c
affected

f7e6b19bc764 before 077259f5e777
affected

f7e6b19bc764 before a08799d3e8c8
affected

f7e6b19bc764 before 1e97743fd180
affected

Default status
affected

5.9
affected

Any version before 5.9
unaffected

4.4.269
unaffected

4.9.269
unaffected

4.14.233
unaffected

4.19.191
unaffected

5.4.119
unaffected

5.10.37
unaffected

5.11.21
unaffected

5.12.4
unaffected

5.13
unaffected

References

https://git.kernel.org/stable/c/f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf

https://git.kernel.org/stable/c/9625b00cac6630479c0ff4b9fafa88bee636e1f0

https://git.kernel.org/stable/c/f73b29819c6314c0ba8b7d5892dfb03487424bee

https://git.kernel.org/stable/c/75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37

https://git.kernel.org/stable/c/5880afefe0cb9b2d5e801816acd58bfe91a96981

https://git.kernel.org/stable/c/7b6552719c0ccbbea29dde4be141da54fdb5877e

https://git.kernel.org/stable/c/077259f5e777c3c8821f6b41dee709fcda27306b

https://git.kernel.org/stable/c/a08799d3e8c8088640956237c183f83463c39668

https://git.kernel.org/stable/c/1e97743fd180981bef5f01402342bb54bf1c6366

cve.org CVE-2021-47055

nvd.nist.gov CVE-2021-47055

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2021-47055