7.1high
iomap: Fix possible overflow condition in iomap_write_delalloc_scan
- Severity
- 7.1high CVSS:3.1 by Linux
- Exploit likelihood
- 0.23% (higher than 8% of CVEs)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | from 6.1.92 before 6.1.162, from 6.2 before 6.5.5 | NVD |
All scores
| Linux | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: iomap: Corrige una posible condición de desbordamiento en iomap_write_delalloc_scan folio_next_index() devuelve un valor unsigned long que, desplazado a la izquierda por PAGE_SHIFT, podría causar un desbordamiento en sistemas de 32 bits. En su lugar, usa folio_pos(folio) + folio_size(folio), lo cual lo hace correctamente.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-54285 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2023-54285 changed 2026-10-15 | Public domain |