CVE-2023-54099
fs: Protect reconfiguration of sb read-write from racing writes
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < 0336b42456e485fda1006b5b411e7372e20fbf03; >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < 7e4e87ec56aa6d008c64eab31b340a7c452b26cc; >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < 0ccfe21949bc9f706a86ee7351b74375c0745757; >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < 295ef44a2abaf97d7a594b1d4c60d4be3738191f; >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < 4abda85197ba5d695e6040d580b4b409ce0d3733; >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < c541dce86c537714b6761a79a969c1623dfa222b
- Anyone running Linux 5.1
Vulnerability facts
- Affected
- Linux >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < 0336b42456e485fda1006b5b411e7372e20fbf03; >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < 7e4e87ec56aa6d008c64eab31b340a7c452b26cc; >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < 0ccfe21949bc9f706a86ee7351b74375c0745757; >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < 295ef44a2abaf97d7a594b1d4c60d4be3738191f; >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < 4abda85197ba5d695e6040d580b4b409ce0d3733; >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < c541dce86c537714b6761a79a969c1623dfa222b; Linux 5.1
- Fixed in
- Linux 0336b42456e485fda1006b5b411e7372e20fbf03, Linux 7e4e87ec56aa6d008c64eab31b340a7c452b26cc, Linux 0ccfe21949bc9f706a86ee7351b74375c0745757, Linux 295ef44a2abaf97d7a594b1d4c60d4be3738191f, Linux 4abda85197ba5d695e6040d580b4b409ce0d3733
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- Modified
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/00000000000006a0df05f6667499@google.com/T/
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < 0336b42456e485fda1006b5b411e7372e20fbf03; >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < 7e4e87ec56aa6d008c64eab31b340a7c452b26cc; >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < 0ccfe21949bc9f706a86ee7351b74375c0745757; >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < 295ef44a2abaf97d7a594b1d4c60d4be3738191f; >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < 4abda85197ba5d695e6040d580b4b409ce0d3733; >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < c541dce86c537714b6761a79a969c1623dfa222b | — | cvelist |
| Linux | 5.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-54099. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-54099.md Affected: Linux >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < 0336b42456e485fda1006b5b411e7372e20fbf03; >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < 7e4e87ec56aa6d008c64eab31b340a7c452b26cc; >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < 0ccfe21949bc9f706a86ee7351b74375c0745757; >= 8d0347f6c3a9d4953ddd636… Fixed in: Linux 0336b42456e485fda1006b5b411e7372e20fbf03, Linux 7e4e87ec56aa6d008c64eab31b340a7c452b26cc, Linux 0ccfe21949bc9f706a86ee7351b74375c0745757, Linux 295ef44a2abaf97d7a594b1d4c60d4be3738191f, Linux 4abda85197ba5d695e6040d580b4b409ce0d3733 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/0336b42456e485fda1006b5b411e7372e20fbf03
- https://git.kernel.org/stable/c/7e4e87ec56aa6d008c64eab31b340a7c452b26cc
- https://git.kernel.org/stable/c/0ccfe21949bc9f706a86ee7351b74375c0745757
- https://git.kernel.org/stable/c/295ef44a2abaf97d7a594b1d4c60d4be3738191f
- https://git.kernel.org/stable/c/4abda85197ba5d695e6040d580b4b409ce0d3733
- https://git.kernel.org/stable/c/c541dce86c537714b6761a79a969c1623dfa222b
FAQ
Is CVE-2023-54099 being exploited?
There is no confirmed exploitation: CVE-2023-54099 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-54099?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2023-54099?
Linux >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < 0336b42456e485fda1006b5b411e7372e20fbf03; >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < 7e4e87ec56aa6d008c64eab31b340a7c452b26cc; >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < 0ccfe21949bc9f706a86ee7351b74375c0745757; >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < 295ef44a2abaf97d7a594b1d4c60d4be3738191f; >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < 4abda85197ba5d695e6040d580b4b409ce0d3733; >= 8d0347f6c3a9d4953ddd636a31c6584da082e084, < c541dce86c537714b6761a79a969c1623dfa222b; Linux 5.1.
Is there a fix for CVE-2023-54099?
Yes. Fixed in Linux 0336b42456e485fda1006b5b411e7372e20fbf03, Linux 7e4e87ec56aa6d008c64eab31b340a7c452b26cc, Linux 0ccfe21949bc9f706a86ee7351b74375c0745757, Linux 295ef44a2abaf97d7a594b1d4c60d4be3738191f, Linux 4abda85197ba5d695e6040d580b4b409ce0d3733. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2023-54099?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.