CVE-2023-54099: Linux Kernel - Race Condition
- Cve: CVE-2023-54099
- Name: Linux Kernel - Race Condition
- Description: In the Linux kernel, the following vulnerability has been resolved: fs: Protect reconfiguration of sb read-write from racing writes The reconfigure / remount code takes a lot of effort to protect filesystem's reconfiguration code from racing writes on remounting read-only. However during remounting read-only filesystem to read-write mode userspace writes can start immediately once we clear SB_RDONLY flag. This is inconvenient for example for ext4 because we need to do some writes to the filesystem (such as preparation of quota files) before we can take userspace writes so we are clearing SB_RDONLY flag before we are fully ready to accept userpace writes and syzbot has found a way to exploit this [1]. Also as far as I'm reading the code the filesystem remount code was protected from racing writes in the legacy mount path by the mount's MNT_READONLY flag so this is relatively new problem. It is actually fairly easy to protect remount read-write from racing writes using sb->s_readonly_remount flag so let's just do that instead of having to workaround these races in the filesystem code. [1] https://lore.kernel.org/all/[email protected]/T/
- Impact: Attackers can cause inconsistent filesystem state or data corruption during remounting from read-only to read-write.
- Remediation: Update to the latest Linux kernel version with the fix for sb read-write remount race condition.
- Vulnerability type: race_condition
- Vulnerability impact: data_tampering, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Cvss vector: N/A
- Epss score: 0.00214
- Epss percentile: 0.11757
- Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Published at: 2025-12-24T13:16:11Z
- Age in days: 335
- Modified at: 2026-06-17T06:46:48Z
- Patch available: yes
- References total: 6
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-54099
- Nvd status: deferred
- Checked, none or zero: cwe, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, severity, cvss score, hackerone
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| linux:linux_kernel | >= 5.1, < 6.5; >= 5.1, < 6.4.10; >= 5.1, < 6.1.45; >= 5.1, < 5.15.126; >= 5.1, < 5.10.190; >= 5.1, < 5.4.253 | no | cna | /v1/products/linux/linux_kernel |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| torvalds/linux | cna_commit, commit | yes | /v1/repositories/torvalds/linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exposed hosts: 10038339
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports