{"id":"CVE-2022-48747","aliases":["CVE-2022-48747"],"related":[],"kind":"vulnerability","state":"published","title":"block: Fix wrong offset in bio_truncate()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: Fix wrong offset in bio_truncate()\n\nbio_truncate() clears the buffer outside of last block of bdev, however\ncurrent bio_truncate() is using the wrong offset of page. So it can\nreturn the uninitialized data.\n\nThis happened when both of truncated/corrupted FS and userspace (via\nbdev) are trying to read the last of bdev.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: Fix wrong offset in bio_truncate()\n\nbio_truncate() clears the buffer outside of last block of bdev, however\ncurrent bio_truncate() is using the wrong offset of page. So it can\nreturn the uninitialized data.\n\nThis happened when both of truncated/corrupted FS and userspace (via\nbdev) are trying to read the last of bdev.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: bloque: corrige el desplazamiento incorrecto en bio_truncate() bio_truncate() borra el búfer fuera del último bloque de bdev, sin embargo, el bio_truncate() actual está usando el desplazamiento de página incorrecto. Entonces puede devolver los datos no inicializados. Esto sucedió cuando tanto el FS truncado/corrupto como el espacio de usuario (a través de bdev) intentaban leer lo último de bdev.","source":"nvd"}],"published":"2024-06-20T11:13:29.951Z","modified":"2026-06-17T05:16:05.003Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-908"],"affected":[{"ranges":[{"type":"git","introduced":"943cd69efac437d82a7aea0659fccbcc071730de","fixed":"6cbf4c731d7812518cd857c2cfc3da9fd120f6ae","status":"affected"},{"type":"git","introduced":"85a8ce62c2eabe28b9d76ca4eecf37922402df93","fixed":"b63e120189fd92aff00096d11e2fc5253f60248b","status":"affected"},{"type":"git","introduced":"85a8ce62c2eabe28b9d76ca4eecf37922402df93","fixed":"4633a79ff8bc82770486a063a08b55e5162521d8","status":"affected"},{"type":"git","introduced":"85a8ce62c2eabe28b9d76ca4eecf37922402df93","fixed":"941d5180c430ce5b0f7a3622ef9b76077bfa3d82","status":"affected"},{"type":"git","introduced":"85a8ce62c2eabe28b9d76ca4eecf37922402df93","fixed":"3ee859e384d453d6ac68bfd5971f630d9fa46ad3","status":"affected"},{"type":"semver","introduced":"5.4.9","fixed":"5.4.176","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.5","status":"unaffected"},{"type":"semver","introduced":"5.4.176","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.96","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.19","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.5","lastAffected":"5.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"1da177e4c3f4","fixed":"6cbf4c731d78","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"1da177e4c3f4","fixed":"b63e120189fd","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"1da177e4c3f4","fixed":"4633a79ff8bc","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"1da177e4c3f4","fixed":"941d5180c430","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"1da177e4c3f4","fixed":"3ee859e384d4","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"5.4.176","lastAffected":"5.5","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"5.10.96","lastAffected":"5.11","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"5.15.19","lastAffected":"5.16","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"5.16.5","lastAffected":"5.17","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"5.17","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.4.176"},{"status":"affected","introduced":"5.5","fixed":"5.10.96"},{"status":"affected","introduced":"5.11","fixed":"5.15.19"},{"status":"affected","introduced":"5.16","fixed":"5.16.5"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/6cbf4c731d7812518cd857c2cfc3da9fd120f6ae","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b63e120189fd92aff00096d11e2fc5253f60248b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4633a79ff8bc82770486a063a08b55e5162521d8","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/941d5180c430ce5b0f7a3622ef9b76077bfa3d82","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3ee859e384d453d6ac68bfd5971f630d9fa46ad3","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-06-26T14:56:40.641Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-48747","url":"https://www.cve.org/CVERecord?id=CVE-2022-48747","licence":"CVE Terms of Use","modified":"2026-05-23T15:20:36.508Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-48747","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48747","licence":"Public domain","modified":"2026-06-17T05:16:05.003Z"}],"updatedAt":"2026-11-25T22:58:19.848Z","epss":{"score":0.00915,"percentile":0.61204,"date":"2026-12-01T12:00:22.000Z"}}