{"id":"CVE-2025-68794","aliases":["CVE-2025-68794"],"related":[],"kind":"vulnerability","state":"published","title":"iomap: adjust read range correctly for non-block-aligned positions","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niomap: adjust read range correctly for non-block-aligned positions\n\niomap_adjust_read_range() assumes that the position and length passed in\nare block-aligned. This is not always the case however, as shown in the\nsyzbot generated case for erofs. This causes too many bytes to be\nskipped for uptodate blocks, which results in returning the incorrect\nposition and length to read in. If all the blocks are uptodate, this\nunderflows length and returns a position beyond the folio.\n\nFix the calculation to also take into account the block offset when\ncalculating how many bytes can be skipped for uptodate blocks.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\niomap: adjust read range correctly for non-block-aligned positions\n\niomap_adjust_read_range() assumes that the position and length passed in\nare block-aligned. This is not always the case however, as shown in the\nsyzbot generated case for erofs. This causes too many bytes to be\nskipped for uptodate blocks, which results in returning the incorrect\nposition and length to read in. If all the blocks are uptodate, this\nunderflows length and returns a position beyond the folio.\n\nFix the calculation to also take into account the block offset when\ncalculating how many bytes can be skipped for uptodate blocks.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\niomap: ajustar el rango de lectura correctamente para posiciones no alineadas a bloques\n\niomap_adjust_read_range() asume que la posición y la longitud pasadas están alineadas a bloques. Sin embargo, este no siempre es el caso, como se muestra en el caso generado por syzbot para erofs. Esto causa que se salten demasiados bytes para bloques actualizados, lo que resulta en la devolución de una posición y longitud incorrectas para leer. Si todos los bloques están actualizados, esto provoca un desbordamiento negativo de la longitud y devuelve una posición más allá del folio.\n\nCorregir el cálculo para también tener en cuenta el desplazamiento del bloque al calcular cuántos bytes pueden ser saltados para bloques actualizados.","source":"nvd"}],"published":"2026-01-13T15:29:05.553Z","modified":"2026-10-19T19:17:05.397Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"type":"git","introduced":"9dc55f1389f9569acf9659e58dd836a9c70df217","fixed":"ce20f49ac9194cf81a77f01d1c316d7c17ae753c","status":"affected"},{"type":"git","introduced":"9dc55f1389f9569acf9659e58dd836a9c70df217","fixed":"275b37a1e5c2c8abd313e8075f6aec9a349f291b","status":"affected"},{"type":"git","introduced":"9dc55f1389f9569acf9659e58dd836a9c70df217","fixed":"b8c9f25fd84328c5fcc4f70c6d1e8f1d4787eaac","status":"affected"},{"type":"git","introduced":"9dc55f1389f9569acf9659e58dd836a9c70df217","fixed":"82b60ffbb532d919959702768dca04c3c0500ae5","status":"affected"},{"type":"git","introduced":"9dc55f1389f9569acf9659e58dd836a9c70df217","fixed":"12053695c8ef5410e8cc6c9ed4c0db9cd9c82b3e","status":"affected"},{"type":"git","introduced":"9dc55f1389f9569acf9659e58dd836a9c70df217","fixed":"142194fb21afe964d2d194cab1fc357cbf87e899","status":"affected"},{"type":"git","introduced":"9dc55f1389f9569acf9659e58dd836a9c70df217","fixed":"7aa6bc3e8766990824f66ca76c19596ce10daf3e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.19","status":"unaffected"},{"type":"semver","introduced":"5.10.267","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.218","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.185","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.120","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.64","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.3","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ce20f49ac9194cf81a77f01d1c316d7c17ae753c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/275b37a1e5c2c8abd313e8075f6aec9a349f291b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b8c9f25fd84328c5fcc4f70c6d1e8f1d4787eaac","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/82b60ffbb532d919959702768dca04c3c0500ae5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/12053695c8ef5410e8cc6c9ed4c0db9cd9c82b3e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/142194fb21afe964d2d194cab1fc357cbf87e899","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7aa6bc3e8766990824f66ca76c19596ce10daf3e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-16T15:05:19.306Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68794","url":"https://www.cve.org/CVERecord?id=CVE-2025-68794","licence":"CVE Terms of Use","modified":"2026-10-19T18:05:07.542Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68794","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68794","licence":"Public domain","modified":"2026-10-19T19:17:05.397Z"}],"updatedAt":"2026-11-25T22:59:10.534Z","epss":{"score":0.00686,"percentile":0.53931,"date":"2026-12-01T12:00:22.000Z"}}