What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.162, 6.5.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-54285 or the next vulnerability affects your stack