CVE-2023-54285

iomap: Fix possible overflow condition in iomap_write_delalloc_scan

State
Published
Severity
7.1 High
Published
Dec 30, 2025
Updated
Oct 15, 2026
Reserved
Dec 30, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 38be53c3fd7f4f4bd5de319a323d72f9f6beb16d to before 0c6cf409093f307ee05114f834516730c0da5b21Affected
  • f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78 to before 5c281b0c5d18c8eeb1cfd5023f4adb153e6d1240Affected
  • f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78 to before eee2d2e6ea5550118170dbd5bb1316ceb38455fbAffected
  • 6.1.92 to before 6.1.162Affected
LinuxLinux
  • 6.2Affected
  • before 6.2Not affected
  • 6.1.162 through 6.1.*Not affected
  • 6.5.5 through 6.5.*Not affected
  • 6.6 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.