CVE-2023-54285
iomap: Fix possible overflow condition in iomap_write_delalloc_scan
Mitigation
- Upgrade Linux to 6.1.162 or later.
Who should check
- Anyone running Linux >= 38be53c3fd7f4f4bd5de319a323d72f9f6beb16d, < 0c6cf409093f307ee05114f834516730c0da5b21; >= f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78, < 5c281b0c5d18c8eeb1cfd5023f4adb153e6d1240; >= f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78, < eee2d2e6ea5550118170dbd5bb1316ceb38455fb; >= 6.1.92, < 6.1.162
- Anyone running Linux 6.2
Vulnerability facts
- Affected
- Linux >= 38be53c3fd7f4f4bd5de319a323d72f9f6beb16d, < 0c6cf409093f307ee05114f834516730c0da5b21; >= f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78, < 5c281b0c5d18c8eeb1cfd5023f4adb153e6d1240; >= f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78, < eee2d2e6ea5550118170dbd5bb1316ceb38455fb; >= 6.1.92, < 6.1.162; Linux 6.2
- Fixed in
- Linux 0c6cf409093f307ee05114f834516730c0da5b21, Linux 5c281b0c5d18c8eeb1cfd5023f4adb153e6d1240, Linux 6.1.162
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.1 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/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: High
- Availability impact: High
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- CWE
- CWE-787
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: iomap: Fix possible overflow condition in iomap_write_delalloc_scan folio_next_index() returns an unsigned long value which left shifted by PAGE_SHIFT could possibly cause an overflow on 32-bit system. Instead use folio_pos(folio) + folio_size(folio), which does this correctly.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 38be53c3fd7f4f4bd5de319a323d72f9f6beb16d, < 0c6cf409093f307ee05114f834516730c0da5b21; >= f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78, < 5c281b0c5d18c8eeb1cfd5023f4adb153e6d1240; >= f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78, < eee2d2e6ea5550118170dbd5bb1316ceb38455fb; >= 6.1.92, < 6.1.162 | — | cvelist |
| Linux | 6.2 | — | 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-54285. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-54285.md Affected: Linux >= 38be53c3fd7f4f4bd5de319a323d72f9f6beb16d, < 0c6cf409093f307ee05114f834516730c0da5b21; >= f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78, < 5c281b0c5d18c8eeb1cfd5023f4adb153e6d1240; >= f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78, < eee2d2e6ea5550118170dbd5bb1316ceb38455fb; >= 6.1.92, < 6.1.162; Linu… Fixed in: Linux 0c6cf409093f307ee05114f834516730c0da5b21, Linux 5c281b0c5d18c8eeb1cfd5023f4adb153e6d1240, Linux 6.1.162 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
FAQ
Is CVE-2023-54285 being exploited?
There is no confirmed exploitation: CVE-2023-54285 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-54285?
High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-54285?
Linux >= 38be53c3fd7f4f4bd5de319a323d72f9f6beb16d, < 0c6cf409093f307ee05114f834516730c0da5b21; >= f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78, < 5c281b0c5d18c8eeb1cfd5023f4adb153e6d1240; >= f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78, < eee2d2e6ea5550118170dbd5bb1316ceb38455fb; >= 6.1.92, < 6.1.162; Linux 6.2.
Is there a fix for CVE-2023-54285?
Yes. Fixed in Linux 0c6cf409093f307ee05114f834516730c0da5b21, Linux 5c281b0c5d18c8eeb1cfd5023f4adb153e6d1240, Linux 6.1.162. Upgrade Linux to 6.1.162 or later.
How do I check if I'm affected by CVE-2023-54285?
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.