{"id":"CVE-2021-47055","published":"2024-02-29T22:37:30Z","modified":"2026-08-05T08:45:45Z","title":"mtd: require write permissions for locking and badblock ioctls","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00198,"percentile":0.05528,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf","tags":[]},{"url":"https://git.kernel.org/stable/c/9625b00cac6630479c0ff4b9fafa88bee636e1f0","tags":[]},{"url":"https://git.kernel.org/stable/c/f73b29819c6314c0ba8b7d5892dfb03487424bee","tags":[]},{"url":"https://git.kernel.org/stable/c/75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37","tags":[]},{"url":"https://git.kernel.org/stable/c/5880afefe0cb9b2d5e801816acd58bfe91a96981","tags":[]},{"url":"https://git.kernel.org/stable/c/7b6552719c0ccbbea29dde4be141da54fdb5877e","tags":[]},{"url":"https://git.kernel.org/stable/c/077259f5e777c3c8821f6b41dee709fcda27306b","tags":[]},{"url":"https://git.kernel.org/stable/c/a08799d3e8c8088640956237c183f83463c39668","tags":[]},{"url":"https://git.kernel.org/stable/c/1e97743fd180981bef5f01402342bb54bf1c6366","tags":[]}],"priority":{"score":6.1,"factors":[{"name":"EPSS percentile","points":1.11},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1c9f9125892a43901438bf704ada6b7019e2a884, < f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf",">= 583d42400532fbd6228b0254d7c732b771e4750d, < 9625b00cac6630479c0ff4b9fafa88bee636e1f0",">= 389c74c218d3b182e9cd767e98cee0e0fd0dabaa, < f73b29819c6314c0ba8b7d5892dfb03487424bee",">= ab1a602a9cea98aa37b2e6851b168d2a2633a58d, < 75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37",">= 9a53e8bd59d9f070505e51d3fd19606a270e6b93, < 5880afefe0cb9b2d5e801816acd58bfe91a96981",">= f7e6b19bc76471ba03725fe58e0c218a3d6266c3, < 7b6552719c0ccbbea29dde4be141da54fdb5877e",">= f7e6b19bc76471ba03725fe58e0c218a3d6266c3, < 077259f5e777c3c8821f6b41dee709fcda27306b",">= f7e6b19bc76471ba03725fe58e0c218a3d6266c3, < a08799d3e8c8088640956237c183f83463c39668",">= f7e6b19bc76471ba03725fe58e0c218a3d6266c3, < 1e97743fd180981bef5f01402342bb54bf1c6366","36a8b2f49235e63ab3f901fe12e1b6732f075c2e"]},{"vendor":"Linux","product":"Linux","versions":["5.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-03-01T15:53:21.546664Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-33703","exploited":false,"provenance":"source"}}