CVE-2021-47055 (GCVE-0-2021-47055)
Vulnerability from cvelistv5 – Published: 2024-02-29 22:37 – Updated: 2026-08-05 08:45
VLAI
EPSS
VEX
Title
mtd: require write permissions for locking and badblock ioctls
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.
Severity
7.1 (High)
SSVC
Exploitation: none
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2024-03-01 15:53 UTC
Assigner
References
9 references
Impacted products
2 products
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Linux | Linux |
Affected:
1c9f9125892a43901438bf704ada6b7019e2a884 , < f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf
(git)
Affected: 583d42400532fbd6228b0254d7c732b771e4750d , < 9625b00cac6630479c0ff4b9fafa88bee636e1f0 (git) Affected: 389c74c218d3b182e9cd767e98cee0e0fd0dabaa , < f73b29819c6314c0ba8b7d5892dfb03487424bee (git) Affected: ab1a602a9cea98aa37b2e6851b168d2a2633a58d , < 75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37 (git) Affected: 9a53e8bd59d9f070505e51d3fd19606a270e6b93 , < 5880afefe0cb9b2d5e801816acd58bfe91a96981 (git) Affected: f7e6b19bc76471ba03725fe58e0c218a3d6266c3 , < 7b6552719c0ccbbea29dde4be141da54fdb5877e (git) Affected: f7e6b19bc76471ba03725fe58e0c218a3d6266c3 , < 077259f5e777c3c8821f6b41dee709fcda27306b (git) Affected: f7e6b19bc76471ba03725fe58e0c218a3d6266c3 , < a08799d3e8c8088640956237c183f83463c39668 (git) Affected: f7e6b19bc76471ba03725fe58e0c218a3d6266c3 , < 1e97743fd180981bef5f01402342bb54bf1c6366 (git) Affected: 36a8b2f49235e63ab3f901fe12e1b6732f075c2e (git) Affected: eb3d82abc335624a5e8ecfb75aba0b684e2dc4db (git) Affected: 4.4.233 , < 4.4.269 (semver) Affected: 4.9.233 , < 4.9.269 (semver) Affected: 4.14.194 , < 4.14.233 (semver) Affected: 4.19.139 , < 4.19.191 (semver) Affected: 5.4.58 , < 5.4.119 (semver) Affected: 5.7.15 , < 5.8 (semver) Affected: 5.8.1 , < 5.9 (semver) |
guessed | |
| Linux | Linux |
Affected:
5.9
Unaffected: 0 , < 5.9 (semver) Unaffected: 4.4.269 , ≤ 4.4.* (semver) Unaffected: 4.9.269 , ≤ 4.9.* (semver) Unaffected: 4.14.233 , ≤ 4.14.* (semver) Unaffected: 4.19.191 , ≤ 4.19.* (semver) Unaffected: 5.4.119 , ≤ 5.4.* (semver) Unaffected: 5.10.37 , ≤ 5.10.* (semver) Unaffected: 5.11.21 , ≤ 5.11.* (semver) Unaffected: 5.12.4 , ≤ 5.12.* (semver) Unaffected: 5.13 , ≤ * (original_commit_for_fix) |
guessed |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2021-47055",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-03-01T15:53:21.546664Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-06-04T17:13:55.596Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"providerMetadata": {
"dateUpdated": "2024-08-04T05:24:39.642Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/9625b00cac6630479c0ff4b9fafa88bee636e1f0"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/f73b29819c6314c0ba8b7d5892dfb03487424bee"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/5880afefe0cb9b2d5e801816acd58bfe91a96981"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/7b6552719c0ccbbea29dde4be141da54fdb5877e"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/077259f5e777c3c8821f6b41dee709fcda27306b"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/a08799d3e8c8088640956237c183f83463c39668"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/1e97743fd180981bef5f01402342bb54bf1c6366"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/mtd/mtdchar.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf",
"status": "affected",
"version": "1c9f9125892a43901438bf704ada6b7019e2a884",
"versionType": "git"
},
{
"lessThan": "9625b00cac6630479c0ff4b9fafa88bee636e1f0",
"status": "affected",
"version": "583d42400532fbd6228b0254d7c732b771e4750d",
"versionType": "git"
},
{
"lessThan": "f73b29819c6314c0ba8b7d5892dfb03487424bee",
"status": "affected",
"version": "389c74c218d3b182e9cd767e98cee0e0fd0dabaa",
"versionType": "git"
},
{
"lessThan": "75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37",
"status": "affected",
"version": "ab1a602a9cea98aa37b2e6851b168d2a2633a58d",
"versionType": "git"
},
{
"lessThan": "5880afefe0cb9b2d5e801816acd58bfe91a96981",
"status": "affected",
"version": "9a53e8bd59d9f070505e51d3fd19606a270e6b93",
"versionType": "git"
},
{
"lessThan": "7b6552719c0ccbbea29dde4be141da54fdb5877e",
"status": "affected",
"version": "f7e6b19bc76471ba03725fe58e0c218a3d6266c3",
"versionType": "git"
},
{
"lessThan": "077259f5e777c3c8821f6b41dee709fcda27306b",
"status": "affected",
"version": "f7e6b19bc76471ba03725fe58e0c218a3d6266c3",
"versionType": "git"
},
{
"lessThan": "a08799d3e8c8088640956237c183f83463c39668",
"status": "affected",
"version": "f7e6b19bc76471ba03725fe58e0c218a3d6266c3",
"versionType": "git"
},
{
"lessThan": "1e97743fd180981bef5f01402342bb54bf1c6366",
"status": "affected",
"version": "f7e6b19bc76471ba03725fe58e0c218a3d6266c3",
"versionType": "git"
},
{
"status": "affected",
"version": "36a8b2f49235e63ab3f901fe12e1b6732f075c2e",
"versionType": "git"
},
{
"status": "affected",
"version": "eb3d82abc335624a5e8ecfb75aba0b684e2dc4db",
"versionType": "git"
},
{
"lessThan": "4.4.269",
"status": "affected",
"version": "4.4.233",
"versionType": "semver"
},
{
"lessThan": "4.9.269",
"status": "affected",
"version": "4.9.233",
"versionType": "semver"
},
{
"lessThan": "4.14.233",
"status": "affected",
"version": "4.14.194",
"versionType": "semver"
},
{
"lessThan": "4.19.191",
"status": "affected",
"version": "4.19.139",
"versionType": "semver"
},
{
"lessThan": "5.4.119",
"status": "affected",
"version": "5.4.58",
"versionType": "semver"
},
{
"lessThan": "5.8",
"status": "affected",
"version": "5.7.15",
"versionType": "semver"
},
{
"lessThan": "5.9",
"status": "affected",
"version": "5.8.1",
"versionType": "semver"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/mtd/mtdchar.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.9"
},
{
"lessThan": "5.9",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.4.*",
"status": "unaffected",
"version": "4.4.269",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.9.*",
"status": "unaffected",
"version": "4.9.269",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.14.*",
"status": "unaffected",
"version": "4.14.233",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"version": "4.19.191",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"version": "5.4.119",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.37",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.11.*",
"status": "unaffected",
"version": "5.11.21",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.12.*",
"status": "unaffected",
"version": "5.12.4",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "5.13",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.4.269",
"versionStartIncluding": "4.4.233",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.9.269",
"versionStartIncluding": "4.9.233",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.14.233",
"versionStartIncluding": "4.14.194",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.19.191",
"versionStartIncluding": "4.19.139",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.4.119",
"versionStartIncluding": "5.4.58",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.37",
"versionStartIncluding": "5.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.11.21",
"versionStartIncluding": "5.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.12.4",
"versionStartIncluding": "5.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.13",
"versionStartIncluding": "5.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.7.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.8.1",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: require write permissions for locking and badblock ioctls\n\nMEMLOCK, MEMUNLOCK and OTPLOCK modify protection bits. Thus require\nwrite permission. Depending on the hardware MEMLOCK might even be\nwrite-once, e.g. for SPI-NOR flashes with their WP# tied to GND. OTPLOCK\nis always write-once.\n\nMEMSETBADBLOCK modifies the bad block table."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 7.1,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "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.\nAC: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.\nPR: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.\nUI:N - The attacker opens the device and issues the ioctl themselves; no separate victim action such as mounting or confirming a prompt is required.\nS: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.\nC:N - These ioctls change lock/OTP/BBT state and do not provide an out-of-bounds read, UAF reclaim, or other information-disclosure primitive.\nI:H - MEMLOCK/OTPLOCK can permanently (write-once) alter protection bits, MEMUNLOCK removes write protection, and MEMSETBADBLOCK corrupts the bad-block table\u2014constituting a serious, attacker-controlled integrity compromise of flash metadata and protection.\nA: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."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-05T08:45:45.258Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf"
},
{
"url": "https://git.kernel.org/stable/c/9625b00cac6630479c0ff4b9fafa88bee636e1f0"
},
{
"url": "https://git.kernel.org/stable/c/f73b29819c6314c0ba8b7d5892dfb03487424bee"
},
{
"url": "https://git.kernel.org/stable/c/75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37"
},
{
"url": "https://git.kernel.org/stable/c/5880afefe0cb9b2d5e801816acd58bfe91a96981"
},
{
"url": "https://git.kernel.org/stable/c/7b6552719c0ccbbea29dde4be141da54fdb5877e"
},
{
"url": "https://git.kernel.org/stable/c/077259f5e777c3c8821f6b41dee709fcda27306b"
},
{
"url": "https://git.kernel.org/stable/c/a08799d3e8c8088640956237c183f83463c39668"
},
{
"url": "https://git.kernel.org/stable/c/1e97743fd180981bef5f01402342bb54bf1c6366"
}
],
"title": "mtd: require write permissions for locking and badblock ioctls",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2021-47055",
"datePublished": "2024-02-29T22:37:30.071Z",
"dateReserved": "2024-02-29T22:33:44.293Z",
"dateUpdated": "2026-08-05T08:45:45.258Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2021-47055",
"date": "2026-09-16",
"epss": "0.00197",
"percentile": "0.09623"
},
"fkie_nvd": {
"configurations": "[{\"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"4.4.233\", \"versionEndExcluding\": \"4.4.269\", \"matchCriteriaId\": \"63C8F509-A0B6-46B2-A2D6-50734673A291\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"4.9.233\", \"versionEndExcluding\": \"4.9.269\", \"matchCriteriaId\": \"1CB50146-C09E-4A70-8BFE-96570CF2A644\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"4.14.194\", \"versionEndExcluding\": \"4.14.233\", \"matchCriteriaId\": \"0BE45F77-85DC-498D-9B85-3B7F8790BB21\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"4.19.139\", \"versionEndExcluding\": \"4.19.191\", \"matchCriteriaId\": \"2CC9608F-4897-4324-9242-25D80E1E4240\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"5.4.58\", \"versionEndExcluding\": \"5.4.119\", \"matchCriteriaId\": \"5693285C-D52F-4C04-9AC6-CDA998BEDE85\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"5.9\", \"versionEndExcluding\": \"5.10.37\", \"matchCriteriaId\": \"BFD29FB7-96E7-40B2-A1A7-AFA8D43EC498\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"5.11\", \"versionEndExcluding\": \"5.11.21\", \"matchCriteriaId\": \"8CBB94EC-EC33-4464-99C5-03E5542715F0\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"5.12\", \"versionEndExcluding\": \"5.12.4\", \"matchCriteriaId\": \"D8C7052F-1B7B-4327-9C2B-84EBF3243838\"}]}]}]",
"descriptions": "[{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmtd: require write permissions for locking and badblock ioctls\\n\\nMEMLOCK, MEMUNLOCK and OTPLOCK modify protection bits. Thus require\\nwrite permission. Depending on the hardware MEMLOCK might even be\\nwrite-once, e.g. for SPI-NOR flashes with their WP# tied to GND. OTPLOCK\\nis always write-once.\\n\\nMEMSETBADBLOCK modifies the bad block table.\"}, {\"lang\": \"es\", \"value\": \"En el kernel de Linux se ha solucionado la siguiente vulnerabilidad: mtd: requiere permisos de escritura para bloqueo y badblock ioctls MEMLOCK, MEMUNLOCK y OTPLOCK modifican los bits de protecci\\u00f3n. Por lo tanto, requiere permiso de escritura. Dependiendo del hardware, MEMLOCK podr\\u00eda incluso ser de escritura \\u00fanica, por ejemplo, para flashes SPI-NOR con su WP# vinculado a GND. OTPLOCK siempre se escribe una vez. MEMSETBADBLOCK modifica la tabla de bloques defectuosos.\"}]",
"id": "CVE-2021-47055",
"lastModified": "2025-01-09T15:34:43.780",
"metrics": "{\"cvssMetricV31\": [{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"cvssData\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\", \"baseScore\": 5.5, \"baseSeverity\": \"MEDIUM\", \"attackVector\": \"LOCAL\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"LOW\", \"userInteraction\": \"NONE\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"NONE\", \"integrityImpact\": \"NONE\", \"availabilityImpact\": \"HIGH\"}, \"exploitabilityScore\": 1.8, \"impactScore\": 3.6}]}",
"published": "2024-02-29T23:15:07.473",
"references": "[{\"url\": \"https://git.kernel.org/stable/c/077259f5e777c3c8821f6b41dee709fcda27306b\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/1e97743fd180981bef5f01402342bb54bf1c6366\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/5880afefe0cb9b2d5e801816acd58bfe91a96981\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/7b6552719c0ccbbea29dde4be141da54fdb5877e\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/9625b00cac6630479c0ff4b9fafa88bee636e1f0\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/a08799d3e8c8088640956237c183f83463c39668\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/f73b29819c6314c0ba8b7d5892dfb03487424bee\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/077259f5e777c3c8821f6b41dee709fcda27306b\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/1e97743fd180981bef5f01402342bb54bf1c6366\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/5880afefe0cb9b2d5e801816acd58bfe91a96981\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/7b6552719c0ccbbea29dde4be141da54fdb5877e\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/9625b00cac6630479c0ff4b9fafa88bee636e1f0\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/a08799d3e8c8088640956237c183f83463c39668\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/f73b29819c6314c0ba8b7d5892dfb03487424bee\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Patch\"]}]",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Analyzed",
"weaknesses": "[{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-667\"}]}]"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2021-47055\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-02-29T23:15:07.473\",\"lastModified\":\"2026-08-04T10:16:43.150\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmtd: require write permissions for locking and badblock ioctls\\n\\nMEMLOCK, MEMUNLOCK and OTPLOCK modify protection bits. Thus require\\nwrite permission. Depending on the hardware MEMLOCK might even be\\nwrite-once, e.g. for SPI-NOR flashes with their WP# tied to GND. OTPLOCK\\nis always write-once.\\n\\nMEMSETBADBLOCK modifies the bad block table.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux se ha solucionado la siguiente vulnerabilidad: mtd: requiere permisos de escritura para bloqueo y badblock ioctls MEMLOCK, MEMUNLOCK y OTPLOCK modifican los bits de protecci\u00f3n. Por lo tanto, requiere permiso de escritura. Dependiendo del hardware, MEMLOCK podr\u00eda incluso ser de escritura \u00fanica, por ejemplo, para flashes SPI-NOR con su WP# vinculado a GND. OTPLOCK siempre se escribe una vez. MEMSETBADBLOCK modifica la tabla de bloques defectuosos.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/mtd/mtdchar.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"1c9f9125892a43901438bf704ada6b7019e2a884\",\"lessThan\":\"f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"583d42400532fbd6228b0254d7c732b771e4750d\",\"lessThan\":\"9625b00cac6630479c0ff4b9fafa88bee636e1f0\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"389c74c218d3b182e9cd767e98cee0e0fd0dabaa\",\"lessThan\":\"f73b29819c6314c0ba8b7d5892dfb03487424bee\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ab1a602a9cea98aa37b2e6851b168d2a2633a58d\",\"lessThan\":\"75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"9a53e8bd59d9f070505e51d3fd19606a270e6b93\",\"lessThan\":\"5880afefe0cb9b2d5e801816acd58bfe91a96981\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f7e6b19bc76471ba03725fe58e0c218a3d6266c3\",\"lessThan\":\"7b6552719c0ccbbea29dde4be141da54fdb5877e\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f7e6b19bc76471ba03725fe58e0c218a3d6266c3\",\"lessThan\":\"077259f5e777c3c8821f6b41dee709fcda27306b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f7e6b19bc76471ba03725fe58e0c218a3d6266c3\",\"lessThan\":\"a08799d3e8c8088640956237c183f83463c39668\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f7e6b19bc76471ba03725fe58e0c218a3d6266c3\",\"lessThan\":\"1e97743fd180981bef5f01402342bb54bf1c6366\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"36a8b2f49235e63ab3f901fe12e1b6732f075c2e\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"eb3d82abc335624a5e8ecfb75aba0b684e2dc4db\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4.4.233\",\"lessThan\":\"4.4.269\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"4.9.233\",\"lessThan\":\"4.9.269\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"4.14.194\",\"lessThan\":\"4.14.233\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"4.19.139\",\"lessThan\":\"4.19.191\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"5.4.58\",\"lessThan\":\"5.4.119\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"5.7.15\",\"lessThan\":\"5.8\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"5.8.1\",\"lessThan\":\"5.9\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/mtd/mtdchar.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.9\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.9\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.4.269\",\"lessThanOrEqual\":\"4.4.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.9.269\",\"lessThanOrEqual\":\"4.9.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.14.233\",\"lessThanOrEqual\":\"4.14.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.19.191\",\"lessThanOrEqual\":\"4.19.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.4.119\",\"lessThanOrEqual\":\"5.4.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.37\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.11.21\",\"lessThanOrEqual\":\"5.11.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.12.4\",\"lessThanOrEqual\":\"5.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.13\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H\",\"baseScore\":7.1,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.2},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2024-03-01T15:53:21.546664Z\",\"id\":\"CVE-2021-47055\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-667\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.4.233\",\"versionEndExcluding\":\"4.4.269\",\"matchCriteriaId\":\"63C8F509-A0B6-46B2-A2D6-50734673A291\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.9.233\",\"versionEndExcluding\":\"4.9.269\",\"matchCriteriaId\":\"1CB50146-C09E-4A70-8BFE-96570CF2A644\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.14.194\",\"versionEndExcluding\":\"4.14.233\",\"matchCriteriaId\":\"0BE45F77-85DC-498D-9B85-3B7F8790BB21\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.19.139\",\"versionEndExcluding\":\"4.19.191\",\"matchCriteriaId\":\"2CC9608F-4897-4324-9242-25D80E1E4240\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.4.58\",\"versionEndExcluding\":\"5.4.119\",\"matchCriteriaId\":\"5693285C-D52F-4C04-9AC6-CDA998BEDE85\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.9\",\"versionEndExcluding\":\"5.10.37\",\"matchCriteriaId\":\"BFD29FB7-96E7-40B2-A1A7-AFA8D43EC498\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.11.21\",\"matchCriteriaId\":\"8CBB94EC-EC33-4464-99C5-03E5542715F0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.12\",\"versionEndExcluding\":\"5.12.4\",\"matchCriteriaId\":\"D8C7052F-1B7B-4327-9C2B-84EBF3243838\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/077259f5e777c3c8821f6b41dee709fcda27306b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/1e97743fd180981bef5f01402342bb54bf1c6366\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5880afefe0cb9b2d5e801816acd58bfe91a96981\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/7b6552719c0ccbbea29dde4be141da54fdb5877e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/9625b00cac6630479c0ff4b9fafa88bee636e1f0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/a08799d3e8c8088640956237c183f83463c39668\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/f73b29819c6314c0ba8b7d5892dfb03487424bee\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/077259f5e777c3c8821f6b41dee709fcda27306b\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/1e97743fd180981bef5f01402342bb54bf1c6366\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5880afefe0cb9b2d5e801816acd58bfe91a96981\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/7b6552719c0ccbbea29dde4be141da54fdb5877e\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/9625b00cac6630479c0ff4b9fafa88bee636e1f0\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/a08799d3e8c8088640956237c183f83463c39668\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/f73b29819c6314c0ba8b7d5892dfb03487424bee\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]}]}}",
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-08-18T12:54:29+00:00",
"cve": "CVE-2021-47055",
"id": "CVE-2021-47055",
"initial_release_date": "2021-01-01T00:00:00+00:00",
"product_status:fixed": "150",
"product_status:known_affected": "42",
"product_status:known_not_affected": "108",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: mtd: require write permissions for locking and badblock ioctls",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-47055.json",
"version": "3"
},
"suse_vex": {
"aggregate_severity": "moderate",
"current_release_date": "2026-08-31T01:58:27Z",
"cve": "CVE-2021-47055",
"id": "CVE-2021-47055",
"initial_release_date": "2024-03-02T05:48:52Z",
"product_status:known_affected": "388",
"product_status:known_not_affected": "270",
"product_status:recommended": "227",
"source": "SUSE CSAF VEX",
"status": "interim",
"title": "SUSE CVE CVE-2021-47055",
"url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2021-47055.json",
"version": "53"
},
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/9625b00cac6630479c0ff4b9fafa88bee636e1f0\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/f73b29819c6314c0ba8b7d5892dfb03487424bee\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/5880afefe0cb9b2d5e801816acd58bfe91a96981\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/7b6552719c0ccbbea29dde4be141da54fdb5877e\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/077259f5e777c3c8821f6b41dee709fcda27306b\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/a08799d3e8c8088640956237c183f83463c39668\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/1e97743fd180981bef5f01402342bb54bf1c6366\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-04T05:24:39.642Z\"}}, {\"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2021-47055\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-03-01T15:53:21.546664Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-05-23T19:01:14.440Z\"}, \"title\": \"CISA ADP Vulnrichment\"}], \"cna\": {\"title\": \"mtd: require write permissions for locking and badblock ioctls\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.1, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"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.\\nAC: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.\\nPR: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.\\nUI:N - The attacker opens the device and issues the ioctl themselves; no separate victim action such as mounting or confirming a prompt is required.\\nS: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.\\nC:N - These ioctls change lock/OTP/BBT state and do not provide an out-of-bounds read, UAF reclaim, or other information-disclosure primitive.\\nI:H - MEMLOCK/OTPLOCK can permanently (write-once) alter protection bits, MEMUNLOCK removes write protection, and MEMSETBADBLOCK corrupts the bad-block table\\u2014constituting a serious, attacker-controlled integrity compromise of flash metadata and protection.\\nA: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.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"1c9f9125892a43901438bf704ada6b7019e2a884\", \"lessThan\": \"f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"583d42400532fbd6228b0254d7c732b771e4750d\", \"lessThan\": \"9625b00cac6630479c0ff4b9fafa88bee636e1f0\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"389c74c218d3b182e9cd767e98cee0e0fd0dabaa\", \"lessThan\": \"f73b29819c6314c0ba8b7d5892dfb03487424bee\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"ab1a602a9cea98aa37b2e6851b168d2a2633a58d\", \"lessThan\": \"75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"9a53e8bd59d9f070505e51d3fd19606a270e6b93\", \"lessThan\": \"5880afefe0cb9b2d5e801816acd58bfe91a96981\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f7e6b19bc76471ba03725fe58e0c218a3d6266c3\", \"lessThan\": \"7b6552719c0ccbbea29dde4be141da54fdb5877e\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f7e6b19bc76471ba03725fe58e0c218a3d6266c3\", \"lessThan\": \"077259f5e777c3c8821f6b41dee709fcda27306b\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f7e6b19bc76471ba03725fe58e0c218a3d6266c3\", \"lessThan\": \"a08799d3e8c8088640956237c183f83463c39668\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f7e6b19bc76471ba03725fe58e0c218a3d6266c3\", \"lessThan\": \"1e97743fd180981bef5f01402342bb54bf1c6366\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"36a8b2f49235e63ab3f901fe12e1b6732f075c2e\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"eb3d82abc335624a5e8ecfb75aba0b684e2dc4db\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"4.4.233\", \"lessThan\": \"4.4.269\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"4.9.233\", \"lessThan\": \"4.9.269\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"4.14.194\", \"lessThan\": \"4.14.233\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"4.19.139\", \"lessThan\": \"4.19.191\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"5.4.58\", \"lessThan\": \"5.4.119\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"5.7.15\", \"lessThan\": \"5.8\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"5.8.1\", \"lessThan\": \"5.9\", \"versionType\": \"semver\"}], \"programFiles\": [\"drivers/mtd/mtdchar.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.9\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.9\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"4.4.269\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.4.*\"}, {\"status\": \"unaffected\", \"version\": \"4.9.269\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.9.*\"}, {\"status\": \"unaffected\", \"version\": \"4.14.233\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.14.*\"}, {\"status\": \"unaffected\", \"version\": \"4.19.191\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.119\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.37\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.11.21\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.11.*\"}, {\"status\": \"unaffected\", \"version\": \"5.12.4\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.12.*\"}, {\"status\": \"unaffected\", \"version\": \"5.13\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/mtd/mtdchar.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf\"}, {\"url\": \"https://git.kernel.org/stable/c/9625b00cac6630479c0ff4b9fafa88bee636e1f0\"}, {\"url\": \"https://git.kernel.org/stable/c/f73b29819c6314c0ba8b7d5892dfb03487424bee\"}, {\"url\": \"https://git.kernel.org/stable/c/75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37\"}, {\"url\": \"https://git.kernel.org/stable/c/5880afefe0cb9b2d5e801816acd58bfe91a96981\"}, {\"url\": \"https://git.kernel.org/stable/c/7b6552719c0ccbbea29dde4be141da54fdb5877e\"}, {\"url\": \"https://git.kernel.org/stable/c/077259f5e777c3c8821f6b41dee709fcda27306b\"}, {\"url\": \"https://git.kernel.org/stable/c/a08799d3e8c8088640956237c183f83463c39668\"}, {\"url\": \"https://git.kernel.org/stable/c/1e97743fd180981bef5f01402342bb54bf1c6366\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmtd: require write permissions for locking and badblock ioctls\\n\\nMEMLOCK, MEMUNLOCK and OTPLOCK modify protection bits. Thus require\\nwrite permission. Depending on the hardware MEMLOCK might even be\\nwrite-once, e.g. for SPI-NOR flashes with their WP# tied to GND. OTPLOCK\\nis always write-once.\\n\\nMEMSETBADBLOCK modifies the bad block table.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.4.269\", \"versionStartIncluding\": \"4.4.233\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.9.269\", \"versionStartIncluding\": \"4.9.233\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.14.233\", \"versionStartIncluding\": \"4.14.194\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.19.191\", \"versionStartIncluding\": \"4.19.139\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.119\", \"versionStartIncluding\": \"5.4.58\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.37\", \"versionStartIncluding\": \"5.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.11.21\", \"versionStartIncluding\": \"5.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.12.4\", \"versionStartIncluding\": \"5.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.13\", \"versionStartIncluding\": \"5.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionStartIncluding\": \"5.7.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionStartIncluding\": \"5.8.1\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T08:45:45.258Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2021-47055\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-05T08:45:45.258Z\", \"dateReserved\": \"2024-02-29T22:33:44.293Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-02-29T22:37:30.071Z\", \"assignerShortName\": \"Linux\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…