CVE-2021-47055
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•MEDIUM•Score: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- v3.1•HIGH•Score: 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
EPSS Trends
Current EPSS score: 0.20%• Percentile: 10%
Techniques & Countermeasures
- CWE-667•Improper Locking
The product does not properly acquire or release a lock on a resource, leading to unexpected resource state changes and behaviors.
Affected Systems
- debian•linux
< 5.10.38-1 | < 5.10.38-1 | < 5.10.38-1 | < 5.10.38-1
- ubuntu•linux
< 4.4.0-261.295 | < 4.15.0-151.157 | < 5.4.0-77.86
- ubuntu•linux-allwinner-5.19
all
- ubuntu•linux-aws
< 4.4.0-1138.144 | < 4.4.0-1176.191 | < 4.15.0-1109.116 | < 5.4.0-1051.53
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
all
- ubuntu•linux-aws-5.19
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1051.53~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-6.2
all
- ubuntu•linux-aws-fips
< 4.15.0-2051.53
- ubuntu•linux-aws-hwe
< 4.15.0-1109.116~16.04.1
- ubuntu•linux-azure
< 4.15.0-1121.134~14.04.1 | < 4.15.0-1121.134~16.04.1 | all | < 5.4.0-1051.53
- ubuntu•linux-azure-4.15
< 4.15.0-1121.134
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.19
all
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1051.53~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-6.2
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all
- ubuntu•linux-azure-fde-5.19
all
- ubuntu•linux-azure-fde-6.2
all
- ubuntu•linux-azure-fips
< 4.15.0-2033.37
- ubuntu•linux-bluefield
all | < 5.4.0-1013.16
- ubuntu•linux-fips
< 4.4.0-1107.114 | < 4.15.0-1066.75 | < 5.4.0-1028.32 | all
- ubuntu•linux-gcp
< 4.15.0-1106.120~16.04.1 | all | < 5.4.0-1046.49
- ubuntu•linux-gcp-4.15
< 4.15.0-1106.120
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
all
- ubuntu•linux-gcp-5.19
all
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1046.49~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-6.2
all
- ubuntu•linux-gcp-fips
< 4.15.0-2016.18
- ubuntu•linux-gke
all
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.15
all
- ubuntu•linux-gke-5.4
all
- ubuntu•linux-gkeop
< 5.4.0-1018.19
- ubuntu•linux-gkeop-5.4
all
- ubuntu•linux-hwe
< 4.15.0-151.157~16.04.1 | all
- ubuntu•linux-hwe-5.11
all
- ubuntu•linux-hwe-5.13
all
- ubuntu•linux-hwe-5.19
all
Showing first 50 affected entries in server-rendered view.
References (14)
- 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
- https://ubuntu.com/security/CVE-2021-47055
- https://git.kernel.org/linus/1e97743fd180981bef5f01402342bb54bf1c6366
- https://www.cve.org/CVERecord?id=CVE-2021-47055
- https://ubuntu.com/security/notices/USN-7148-1
- https://security-tracker.debian.org/tracker/CVE-2021-47055