Race condition in Linux kernel ocfs2



| Updated: 2025-05-13
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-47493
CWE-ID CWE-362
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) Race condition

EUVDB-ID: #VU91465

Risk: Low

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

CVE-ID: CVE-2021-47493

CWE-ID: CWE-362 - Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Exploit availability: No

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a race condition within the ocfs2_test_bg_bit_allocatable() function in fs/ocfs2/suballoc.c. A local user can escalate privileges on the system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Linux kernel: 5.10 - 5.15 rc7

CPE2.3 External links

https://git.kernel.org/stable/c/5043fbd294f5909a080ade0f04b70a4da9e122b7
https://git.kernel.org/stable/c/2e382600e8856ea654677b5134ee66e03ea72bc2
https://git.kernel.org/stable/c/6f1b228529ae49b0f85ab89bcdb6c365df401558
https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.10.77
https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.14.16
https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15


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###