Write Permissions for Locking and Badblock Ioctls
CVE-2021-47055

5.5MEDIUM

Key Information:

Vendor
WordPress
Status
Vendor
CVE Published:
29 February 2024

Summary

A vulnerability in the Linux kernel relates to improper access control for memory management functionality. Specifically, functions like MEMLOCK, MEMUNLOCK, and OTPLOCK, which adjust protection bits, require write permissions to function correctly. In certain hardware implementations, such as SPI-NOR flash memory, MEMLOCK may exhibit a write-once characteristic due to the write-protect (WP#) line being tied to ground. Additionally, the MEMSETBADBLOCK function that modifies the bad block table does not adequately enforce permission checks. These oversights can lead to unauthorized access or modification of critical memory operations, compromising system stability and security.

Affected Version(s)

Linux 1c9f9125892a43901438bf704ada6b7019e2a884

Linux 583d42400532fbd6228b0254d7c732b771e4750d < 9625b00cac6630479c0ff4b9fafa88bee636e1f0

Linux 389c74c218d3b182e9cd767e98cee0e0fd0dabaa

References

CVSS V3.1

Score:
5.5
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.