CVE-2021-47055
mtd: require write permissions for locking and badblock ioctls
Reported by linux · Published February 29, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-headers | Amazon Linux | 4.14.238-182.421.amzn2 |
| kernel-livepatch-4.14.238-182.421 | Amazon Linux | 1.0-0.amzn2 |
| kernel-devel | Amazon Linux | 4.14.238-182.421.amzn2 |
| linux_kernel | linux | 5.12.4, 5.11.21, 5.10.37, 5.4.119, 4.19.191, 4.14.233, 4.9.269, 4.4.269 |
| Linux | Linux | f73b29819c6314c0ba8b7d5892dfb03487424bee, f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf, a08799d3e8c8088640956237c183f83463c39668, 9625b00cac6630479c0ff4b9fafa88bee636e1f0, 7b6552719c0ccbbea29dde4be141da54fdb5877e, 75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37, 5880afefe0cb9b2d5e801816acd58bfe91a96981, 5.9, 5.8, 5.4.119, 4.19.191, 4.14.233, 4.9.269, 4.4.269, 1e97743fd180981bef5f01402342bb54bf1c6366, 077259f5e777c3c8821f6b41dee709fcda27306b |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1c9f9125892a43901438bf704ada6b7019e2a884, 583d42400532fbd6228b0254d7c732b771e4750d, 389c74c218d3b182e9cd767e98cee0e0fd0dabaa |
| Linux | Linux | 5.9, 0, 4.4.269 |
| amazon:2 | kernel-headers | 0 |
| amazon:2 | kernel-livepatch-4.14.238-182.421 | 0 |
| amazon:2 | kernel-devel | 0 |
| Linux | Linux | 5.8.1, 5.13, * |
| amazon:2 | kernel-tools-devel | 0 |
| amazon:2 | kernel-tools | 0 |
| amazon:2 | python-perf | 0 |
| amazon:2 | perf | 0 |
| linux | linux_kernel | 4.4.233, 4.9.233, 4.14.194 |
| amazon:2 | kernel | 0 |
Timeline
- Feb 29, 2024 CVE Published
- Mar 1, 2024 EPSS Score (30 in total, the first dated here)
- May 28, 2026 Distribution Patch (96 in total, the first dated here)
- May 28, 2026 Security Advisory (134 in total, the first dated here)
- Jul 13, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-47055
vulnetix vdb fixes CVE-2021-47055
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-47055/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart