{"id":"CVE-2026-31514","aliases":["CVE-2026-31514"],"related":[],"kind":"vulnerability","state":"published","title":"erofs: set fileio bio failed in short read case","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: set fileio bio failed in short read case\n\nFor file-backed mount, IO requests are handled by vfs_iocb_iter_read().\nHowever, it can be interrupted by SIGKILL, returning the number of\nbytes actually copied. Unused folios in bio are unexpectedly marked\nas uptodate.\n\n  vfs_read\n    filemap_read\n      filemap_get_pages\n        filemap_readahead\n          erofs_fileio_readahead\n            erofs_fileio_rq_submit\n              vfs_iocb_iter_read\n                filemap_read\n                  filemap_get_pages  <= detect signal\n              erofs_fileio_ki_complete  <= set all folios uptodate\n\nThis patch addresses this by setting short read bio with an error\ndirectly.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: set fileio bio failed in short read case\n\nFor file-backed mount, IO requests are handled by vfs_iocb_iter_read().\nHowever, it can be interrupted by SIGKILL, returning the number of\nbytes actually copied. Unused folios in bio are unexpectedly marked\nas uptodate.\n\n  vfs_read\n    filemap_read\n      filemap_get_pages\n        filemap_readahead\n          erofs_fileio_readahead\n            erofs_fileio_rq_submit\n              vfs_iocb_iter_read\n                filemap_read\n                  filemap_get_pages  <= detect signal\n              erofs_fileio_ki_complete  <= set all folios uptodate\n\nThis patch addresses this by setting short read bio with an error\ndirectly.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nerofs: establecer que el bio de fileio falló en caso de lectura corta\n\nPara montajes respaldados por archivos, las solicitudes de E/S son manejadas por vfs_iocb_iter_read().\nSin embargo, puede ser interrumpido por SIGKILL, devolviendo el número de bytes realmente copiados. Folios no utilizados en el bio son marcados inesperadamente como actualizados.\n\n  vfs_read\n    filemap_read\n      filemap_get_pages\n        filemap_readahead\n          erofs_fileio_readahead\n            erofs_fileio_rq_submit\n              vfs_iocb_iter_read\n                filemap_read\n                  filemap_get_pages <= detectar señal\n              erofs_fileio_ki_complete <= establecer todos los folios como actualizados\n\nEste parche aborda esto al establecer el bio de lectura corta con un error directamente.","source":"nvd"}],"published":"2026-04-22T13:54:31.531Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ce63cb62d794c98c7631c2296fa845f2a8d0a4a1","fixed":"d1ba7d6b3cd1757b108d7b6856c92ae661d6c323","status":"affected"},{"type":"git","introduced":"ce63cb62d794c98c7631c2296fa845f2a8d0a4a1","fixed":"5cf3972c8221abdb1b464a14ccf8103d840b9085","status":"affected"},{"type":"git","introduced":"ce63cb62d794c98c7631c2296fa845f2a8d0a4a1","fixed":"5a5f23ef5431639db1ac3a0b274aef3a84cc413c","status":"affected"},{"type":"git","introduced":"ce63cb62d794c98c7631c2296fa845f2a8d0a4a1","fixed":"eade54040384f54b7fb330e4b0975c5734850b3c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.12","status":"unaffected"},{"type":"semver","introduced":"6.12.80","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.21","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.11","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.12.75","fixed":"6.12.80"},{"status":"affected","introduced":"6.18.14","fixed":"6.18.21"},{"status":"affected","introduced":"6.19.4","fixed":"6.19.11"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d1ba7d6b3cd1757b108d7b6856c92ae661d6c323","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5cf3972c8221abdb1b464a14ccf8103d840b9085","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5a5f23ef5431639db1ac3a0b274aef3a84cc413c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eade54040384f54b7fb330e4b0975c5734850b3c","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31514","url":"https://www.cve.org/CVERecord?id=CVE-2026-31514","licence":"CVE Terms of Use","modified":"2026-10-23T08:20:15.576Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31514","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31514","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:19.305Z","epss":{"score":0.00127,"percentile":0.02576,"date":"2026-12-01T12:00:22.000Z"}}