9.8

CVE-2025-68794

iomap: adjust read range correctly for non-block-aligned positions

In the Linux kernel, the following vulnerability has been resolved:

iomap: adjust read range correctly for non-block-aligned positions

iomap_adjust_read_range() assumes that the position and length passed in
are block-aligned. This is not always the case however, as shown in the
syzbot generated case for erofs. This causes too many bytes to be
skipped for uptodate blocks, which results in returning the incorrect
position and length to read in. If all the blocks are uptodate, this
underflows length and returns a position beyond the folio.

Fix the calculation to also take into account the block offset when
calculating how many bytes can be skipped for uptodate blocks.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 9dc55f1389f9569acf9659e58dd836a9c70df217
Version < ce20f49ac9194cf81a77f01d1c316d7c17ae753c
Status affected
Version 9dc55f1389f9569acf9659e58dd836a9c70df217
Version < 275b37a1e5c2c8abd313e8075f6aec9a349f291b
Status affected
Version 9dc55f1389f9569acf9659e58dd836a9c70df217
Version < b8c9f25fd84328c5fcc4f70c6d1e8f1d4787eaac
Status affected
Version 9dc55f1389f9569acf9659e58dd836a9c70df217
Version < 82b60ffbb532d919959702768dca04c3c0500ae5
Status affected
Version 9dc55f1389f9569acf9659e58dd836a9c70df217
Version < 12053695c8ef5410e8cc6c9ed4c0db9cd9c82b3e
Status affected
Version 9dc55f1389f9569acf9659e58dd836a9c70df217
Version < 142194fb21afe964d2d194cab1fc357cbf87e899
Status affected
Version 9dc55f1389f9569acf9659e58dd836a9c70df217
Version < 7aa6bc3e8766990824f66ca76c19596ce10daf3e
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 4.19
Status affected
Version 0
Version < 4.19
Status unaffected
Version <= 5.10.*
Version 5.10.267
Status unaffected
Version <= 5.15.*
Version 5.15.218
Status unaffected
Version <= 6.1.*
Version 6.1.185
Status unaffected
Version <= 6.6.*
Version 6.6.120
Status unaffected
Version <= 6.12.*
Version 6.12.64
Status unaffected
Version <= 6.18.*
Version 6.18.3
Status unaffected
Version <= *
Version 6.19
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.48% 0.388
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
416baaa9-dc9f-4396-8d5f-8c081fb06d67 9.8 3.9 5.9
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/82b60ffbb532d919959702768dca04c3c0500ae5
https://git.kernel.org/stable/c/12053695c8ef5410e8cc6c9ed4c0db9cd9c82b3e
https://git.kernel.org/stable/c/142194fb21afe964d2d194cab1fc357cbf87e899
https://git.kernel.org/stable/c/7aa6bc3e8766990824f66ca76c19596ce10daf3e
https://git.kernel.org/stable/c/275b37a1e5c2c8abd313e8075f6aec9a349f291b
https://git.kernel.org/stable/c/b8c9f25fd84328c5fcc4f70c6d1e8f1d4787eaac
https://git.kernel.org/stable/c/ce20f49ac9194cf81a77f01d1c316d7c17ae753c