Improper locking in Linux kernel mtd driver



| Updated: 2025-05-13
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-47055
CWE-ID CWE-667
Exploitation vector Local
Public exploit N/A
Vulnerable software
Linux kernel
Operating systems & Components / Operating system

Vendor Linux Foundation

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Improper locking

EUVDB-ID: #VU91543

Risk: Low

CVSSv4.0: 4.3 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2021-47055

CWE-ID: CWE-667 - Improper Locking

Exploit availability: No

Description

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to improper locking within the mtdchar_ioctl() function in drivers/mtd/mtdchar.c. A local user can perform a denial of service (DoS) attack.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Linux kernel: 4.4 - 5.13 rc5

CPE2.3 External links

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://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.233
https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.191
https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.269
https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.269
https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.10.37
https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.11.21
https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.12.4
https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.13
https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.4.119


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###