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

High 7.1 Published Updated

An integer overflow in the Linux kernel's iomap subsystem can lead to memory corruption or denial of service on 32-bit systems.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-54285?

CVE-2023-54285 is a high-severity vulnerability in Linux kernel, published on 30 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-787

Which versions are affected by CVE-2023-54285?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-54285?

Apply the vendor's patch.

Is CVE-2023-54285 being exploited?

There is no known exploitation of CVE-2023-54285 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-54285, DEBIAN-CVE-2023-54285, GHSA-wfvh-f2f6-f56w, ROOT-OS-UBUNTU-2204-CVE-2023-54285, UBUNTU-CVE-2023-54285.

Is CVE-2023-54285 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free