Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-47055

published high CVSS 3.1 · 7.1

mtd: require write permissions for locking and badblock ioctls

Published
29 Feb 2024, 22:37:30 UTC
Updated
05 Aug 2026, 08:45:45 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1c9f9125892a43901438bf704ada6b7019e2a884 to < f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf · 583d42400532fbd6228b0254d7c732b771e4750d to < 9625b00cac6630479c0ff4b9fafa88bee636e1f0 · 389c74c218d3b182e9cd767e98cee0e0fd0dabaa to < f73b29819c6314c0ba8b7d5892dfb03487424bee · ab1a602a9cea98aa37b2e6851b168d2a2633a58d to < 75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37 · 9a53e8bd59d9f070505e51d3fd19606a270e6b93 to < 5880afefe0cb9b2d5e801816acd58bfe91a96981 · f7e6b19bc76471ba03725fe58e0c218a3d6266c3 to < 7b6552719c0ccbbea29dde4be141da54fdb5877e · f7e6b19bc76471ba03725fe58e0c218a3d6266c3 to < 077259f5e777c3c8821f6b41dee709fcda27306b · f7e6b19bc76471ba03725fe58e0c218a3d6266c3 to < a08799d3e8c8088640956237c183f83463c39668 · f7e6b19bc76471ba03725fe58e0c218a3d6266c3 to < 1e97743fd180981bef5f01402342bb54bf1c6366 · 36a8b2f49235e63ab3f901fe12e1b6732f075c2e · eb3d82abc335624a5e8ecfb75aba0b684e2dc4db · 4.4.233 to < 4.4.269 · 4.9.233 to < 4.9.269 · 4.14.194 to < 4.14.233 · 4.19.139 to < 4.19.191 · 5.4.58 to < 5.4.119 · 5.7.15 to < 5.8 · 5.8.1 to < 5.9 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.9 (affected) · 0 to < 5.9 (unaffected · semver) · 4.4.269 through 4.4.* (unaffected · semver) · 4.9.269 through 4.9.* (unaffected · semver) · 4.14.233 through 4.14.* (unaffected · semver) · 4.19.191 through 4.19.* (unaffected · semver) · 5.4.119 through 5.4.* (unaffected · semver) · 5.10.37 through 5.10.* (unaffected · semver) · 5.11.21 through 5.11.* (unaffected · semver) · 5.12.4 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2-2021-1685 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2022-002 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2022-004 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
Oracle Linux 8 bpftoolaarch64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
AlmaLinux 8 kernel Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.5.1.rt7.346.el8_10 ALSA-2024:3627
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.5.1.rt7.346.el8_10 ALSA-2024:3627
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.5.1.rt7.346.el8_10 ALSA-2024:3627
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.5.1.rt7.346.el8_10 ALSA-2024:3627
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.5.1.rt7.346.el8_10 ALSA-2024:3627
AlmaLinux 8 kernel-rt-debug-kvm Advisory build 4.18.0-553.5.1.rt7.346.el8_10 ALSA-2024:3627
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.5.1.rt7.346.el8_10 ALSA-2024:3627
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.5.1.rt7.346.el8_10 ALSA-2024:3627
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.5.1.rt7.346.el8_10 ALSA-2024:3627
AlmaLinux 8 kernel-rt-kvm Advisory build 4.18.0-553.5.1.rt7.346.el8_10 ALSA-2024:3627
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.5.1.rt7.346.el8_10 ALSA-2024:3627
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.5.1.rt7.346.el8_10 ALSA-2024:3627
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 perf Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
Oracle Linux 8 bpftoolx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernelx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-abi-stablelistsx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-corex86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-cross-headersaarch64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-cross-headersx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-debugx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-debug-corex86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-debug-develx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-debug-modulesx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-debug-modules-extrax86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-develx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-docx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-headersaarch64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-headersx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-modulesx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-modules-extrax86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-toolsaarch64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-toolsx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-tools-libsaarch64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-tools-libsx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-tools-libs-develaarch64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-tools-libs-develx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 perfaarch64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 perfx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 python3-perfaarch64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 python3-perfx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernelx86_64 Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernel-abi-stablelistsnoarch Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernel-coreaarch64 Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernel-coreppc64le Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernel-cores390x Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernel-corex86_64 Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernel-debugaarch64 Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernel-debugppc64le Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernel-debugs390x Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernel-debugx86_64 Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreaarch64 Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreppc64le Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernel-debug-cores390x Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernel-debug-corex86_64 Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoaarch64 Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoppc64le Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfos390x Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfox86_64 Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernel-debug-develaarch64 Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernel-debug-develppc64le Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernel-debug-devels390x Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernel-debug-develx86_64 Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesaarch64 Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

20

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.1 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Scenarios
en: AV:L - Exploitation requires opening a local MTD char device (/dev/mtdX or /dev/mtdXro) and issuing ioctls; there is no network or adjacent-protocol path to mtdchar_ioctl. AC:L - A single successful open(O_RDONLY) plus ioctl reliably triggers the operations; no race, special memory layout, or other condition outside attacker control is required. PR:L - The bug is specifically reachable with only a read-only fd (including /dev/mtdXro). In the worst reasonable embedded/historical deployments those RO nodes are readable by unprivileged local users, so basic local user access suffices rather than real root with write open. UI:N - The attacker opens the device and issues the ioctl themselves; no separate victim action such as mounting or confirming a prompt is required. S:U - Impact is confined to flash protection/BBT state under the same host kernel authority; there is no VM escape, IOMMU bypass, or other cross-boundary effect. C:N - These ioctls change lock/OTP/BBT state and do not provide an out-of-bounds read, UAF reclaim, or other information-disclosure primitive. I:H - MEMLOCK/OTPLOCK can permanently (write-once) alter protection bits, MEMUNLOCK removes write protection, and MEMSETBADBLOCK corrupts the bad-block table—constituting a serious, attacker-controlled integrity compromise of flash metadata and protection. A:H - Permanently locking firmware/OTP regions or marking blocks bad can render partitions or the whole device unusable/unbootable, which is a high availability impact.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1c9f9125892a43901438bf704ada6b7019e2a884 to < f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf (affected · git)583d42400532fbd6228b0254d7c732b771e4750d to < 9625b00cac6630479c0ff4b9fafa88bee636e1f0 (affected · git)389c74c218d3b182e9cd767e98cee0e0fd0dabaa to < f73b29819c6314c0ba8b7d5892dfb03487424bee (affected · git)ab1a602a9cea98aa37b2e6851b168d2a2633a58d to < 75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37 (affected · git)9a53e8bd59d9f070505e51d3fd19606a270e6b93 to < 5880afefe0cb9b2d5e801816acd58bfe91a96981 (affected · git)f7e6b19bc76471ba03725fe58e0c218a3d6266c3 to < 7b6552719c0ccbbea29dde4be141da54fdb5877e (affected · git)f7e6b19bc76471ba03725fe58e0c218a3d6266c3 to < 077259f5e777c3c8821f6b41dee709fcda27306b (affected · git)f7e6b19bc76471ba03725fe58e0c218a3d6266c3 to < a08799d3e8c8088640956237c183f83463c39668 (affected · git)f7e6b19bc76471ba03725fe58e0c218a3d6266c3 to < 1e97743fd180981bef5f01402342bb54bf1c6366 (affected · git)36a8b2f49235e63ab3f901fe12e1b6732f075c2e (affected · git)eb3d82abc335624a5e8ecfb75aba0b684e2dc4db (affected · git)4.4.233 to < 4.4.269 (affected · semver)4.9.233 to < 4.9.269 (affected · semver)4.14.194 to < 4.14.233 (affected · semver)4.19.139 to < 4.19.191 (affected · semver)5.4.58 to < 5.4.119 (affected · semver)5.7.15 to < 5.8 (affected · semver)5.8.1 to < 5.9 (affected · semver)Default: unaffected Linux · cna
Linux Linux 5.9 (affected)0 to < 5.9 (unaffected · semver)4.4.269 through 4.4.* (unaffected · semver)4.9.269 through 4.9.* (unaffected · semver)4.14.233 through 4.14.* (unaffected · semver)4.19.191 through 4.19.* (unaffected · semver)5.4.119 through 5.4.* (unaffected · semver)5.10.37 through 5.10.* (unaffected · semver)5.11.21 through 5.11.* (unaffected · semver)5.12.4 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

9

Provider assertions

3

Linux · cna

mtd: require write permissions for locking and badblock ioctls

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
d81bce4bbb99b30cad46bfb8d8cce2d12216c0ac215c27c1df87844c8f5e4cd7
Ingested
23 Sep 2026, 07:57:04 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected