CVE-2023-53337
nilfs2: do not write dirty data after degenerating to read-only
Mitigation
- Upgrade Linux to 28a65b49eb53e172d23567005465019658bfdb4d or later.
Who should check
- Anyone running Linux >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < bd89073fc7a5d03b1d06b372addbe405e5a925f4; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < e9c5412c5972124776c1b873533eb39e287a4dfa; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 4569a292a84e340e97d178898ad1cfe1a3080a61; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 7c3e662048053802f6b0db3a78e97f4e1f7edc4f; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 13f73ef77baa4764dc1ca4fcbae9cade05b83866; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < a73201c607d8e506358d60aafddda4246bdd9350; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 4005cec6847c06ee191583270b7cdd7e696543cc; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 55f7810632f993cff622a0ddbc7c865892294b61; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 28a65b49eb53e172d23567005465019658bfdb4d
- Anyone running Linux 3.10
Vulnerability facts
- Affected
- Linux >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < bd89073fc7a5d03b1d06b372addbe405e5a925f4; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < e9c5412c5972124776c1b873533eb39e287a4dfa; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 4569a292a84e340e97d178898ad1cfe1a3080a61; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 7c3e662048053802f6b0db3a78e97f4e1f7edc4f; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 13f73ef77baa4764dc1ca4fcbae9cade05b83866; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < a73201c607d8e506358d60aafddda4246bdd9350; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 4005cec6847c06ee191583270b7cdd7e696543cc; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 55f7810632f993cff622a0ddbc7c865892294b61; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 28a65b49eb53e172d23567005465019658bfdb4d; Linux 3.10
- Fixed in
- Linux 4569a292a84e340e97d178898ad1cfe1a3080a61, Linux 7c3e662048053802f6b0db3a78e97f4e1f7edc4f, Linux 13f73ef77baa4764dc1ca4fcbae9cade05b83866, Linux 4005cec6847c06ee191583270b7cdd7e696543cc, Linux 55f7810632f993cff622a0ddbc7c865892294b61, Linux 28a65b49eb53e172d23567005465019658bfdb4d
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: nilfs2: do not write dirty data after degenerating to read-only According to syzbot's report, mark_buffer_dirty() called from nilfs_segctor_do_construct() outputs a warning with some patterns after nilfs2 detects metadata corruption and degrades to read-only mode. After such read-only degeneration, page cache data may be cleared through nilfs_clear_dirty_page() which may also clear the uptodate flag for their buffer heads. However, even after the degeneration, log writes are still performed by unmount processing etc., which causes mark_buffer_dirty() to be called for buffer heads without the "uptodate" flag and causes the warning. Since any writes should not be done to a read-only file system in the first place, this fixes the warning in mark_buffer_dirty() by letting nilfs_segctor_do_construct() abort early if in read-only mode. This also changes the retry check of nilfs_segctor_write_out() to avoid unnecessary log write retries if it detects -EROFS that nilfs_segctor_do_construct() returned.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < bd89073fc7a5d03b1d06b372addbe405e5a925f4; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < e9c5412c5972124776c1b873533eb39e287a4dfa; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 4569a292a84e340e97d178898ad1cfe1a3080a61; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 7c3e662048053802f6b0db3a78e97f4e1f7edc4f; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 13f73ef77baa4764dc1ca4fcbae9cade05b83866; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < a73201c607d8e506358d60aafddda4246bdd9350; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 4005cec6847c06ee191583270b7cdd7e696543cc; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 55f7810632f993cff622a0ddbc7c865892294b61; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 28a65b49eb53e172d23567005465019658bfdb4d | — | cvelist |
| Linux | 3.10 | — | 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-53337. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-53337.md Affected: Linux >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < bd89073fc7a5d03b1d06b372addbe405e5a925f4; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < e9c5412c5972124776c1b873533eb39e287a4dfa; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 4569a292a84e340e97d178898ad1cfe1a3080a61; >= 8c26c4e2694a163d525976e… Fixed in: Linux 4569a292a84e340e97d178898ad1cfe1a3080a61, Linux 7c3e662048053802f6b0db3a78e97f4e1f7edc4f, Linux 13f73ef77baa4764dc1ca4fcbae9cade05b83866, Linux 4005cec6847c06ee191583270b7cdd7e696543cc, Linux 55f7810632f993cff622a0ddbc7c865892294b61, Linux 28a65b49eb53e172d23567005465019658bfdb4d 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
Patches
- https://git.kernel.org/stable/c/bd89073fc7a5d03b1d06b372addbe405e5a925f4
- https://git.kernel.org/stable/c/e9c5412c5972124776c1b873533eb39e287a4dfa
- https://git.kernel.org/stable/c/4569a292a84e340e97d178898ad1cfe1a3080a61
- https://git.kernel.org/stable/c/7c3e662048053802f6b0db3a78e97f4e1f7edc4f
- https://git.kernel.org/stable/c/13f73ef77baa4764dc1ca4fcbae9cade05b83866
- https://git.kernel.org/stable/c/a73201c607d8e506358d60aafddda4246bdd9350
- https://git.kernel.org/stable/c/4005cec6847c06ee191583270b7cdd7e696543cc
- https://git.kernel.org/stable/c/55f7810632f993cff622a0ddbc7c865892294b61
- https://git.kernel.org/stable/c/28a65b49eb53e172d23567005465019658bfdb4d
FAQ
Is CVE-2023-53337 being exploited?
There is no confirmed exploitation: CVE-2023-53337 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-53337?
Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-53337?
Linux >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < bd89073fc7a5d03b1d06b372addbe405e5a925f4; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < e9c5412c5972124776c1b873533eb39e287a4dfa; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 4569a292a84e340e97d178898ad1cfe1a3080a61; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 7c3e662048053802f6b0db3a78e97f4e1f7edc4f; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 13f73ef77baa4764dc1ca4fcbae9cade05b83866; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < a73201c607d8e506358d60aafddda4246bdd9350; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 4005cec6847c06ee191583270b7cdd7e696543cc; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 55f7810632f993cff622a0ddbc7c865892294b61; >= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 28a65b49eb53e172d23567005465019658bfdb4d; Linux 3.10.
Is there a fix for CVE-2023-53337?
Yes. Fixed in Linux 4569a292a84e340e97d178898ad1cfe1a3080a61, Linux 7c3e662048053802f6b0db3a78e97f4e1f7edc4f, Linux 13f73ef77baa4764dc1ca4fcbae9cade05b83866, Linux 4005cec6847c06ee191583270b7cdd7e696543cc, Linux 55f7810632f993cff622a0ddbc7c865892294b61, Linux 28a65b49eb53e172d23567005465019658bfdb4d. Upgrade Linux to 28a65b49eb53e172d23567005465019658bfdb4d or later.
How do I check if I'm affected by CVE-2023-53337?
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.