# CVE-2023-54285: iomap: Fix possible overflow condition in iomap_write_delalloc_scan

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 8% of CVEs (2026-11-30)
- Published: 2025-12-30T12:23:25.770Z
- Modified: 2026-10-15T22:17:57.430Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 38be53c3fd7f4f4bd5de319a323d72f9f6beb16d before 0c6cf409093f307ee05114f834516730c0da5b21; from f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78 before 5c281b0c5d18c8eeb1cfd5023f4adb153e6d1240; from f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78 before eee2d2e6ea5550118170dbd5bb1316ceb38455fb; from 6.1.92 before 6.1.162; 6.2 (not affected: before 6.2; from 6.1.162 up to 6.1.*; from 6.5.5 up to 6.5.*; from 6.6 up to *)
- linux linux_kernel: from 6.1.92 before 6.1.162; from 6.2 before 6.5.5

## Every score

- Linux: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/0c6cf409093f307ee05114f834516730c0da5b21> (patch)
- <https://git.kernel.org/stable/c/5c281b0c5d18c8eeb1cfd5023f4adb153e6d1240> (patch)
- <https://git.kernel.org/stable/c/eee2d2e6ea5550118170dbd5bb1316ceb38455fb> (patch)

## Sources

- CVE List: [CVE-2023-54285](https://www.cve.org/CVERecord?id=CVE-2023-54285), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2023-54285](https://nvd.nist.gov/vuln/detail/CVE-2023-54285), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2023-54285 · Whole record: https://cve.day/CVE-2023-54285.json · Rebuilt by cve.day 2026-11-25T22:58:35.259Z
