CVEvulnerability

CVE-2021-47055

5.5 MEDIUM Published 2024-02-29 Modified 2026-08-04 Official page ↗
Status
Modified
Published
2024-02-29
Last modified
2026-08-04
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-667

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.

Affected configurations

• linux linux kernel (>= 4.4.233 < 4.4.269) • linux linux kernel (>= 4.9.233 < 4.9.269) • linux linux kernel (>= 4.14.194 < 4.14.233) • linux linux kernel (>= 4.19.139 < 4.19.191) • linux linux kernel (>= 5.4.58 < 5.4.119) • linux linux kernel (>= 5.9 < 5.10.37) • linux linux kernel (>= 5.11 < 5.11.21) • linux linux kernel (>= 5.12 < 5.12.4)

Related

Weakness · CWE (1)

  • CWE-667 Improper Locking weakness

References