{"id":"CVE-2022-48747","summary":"block: Fix wrong offset in bio_truncate()","details":"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.","modified":"2026-04-02T08:26:57.151077Z","published":"2024-06-20T11:13:29.951Z","related":["SUSE-SU-2024:2362-1","SUSE-SU-2024:2372-1","SUSE-SU-2024:2384-1","SUSE-SU-2024:2394-1","SUSE-SU-2024:2902-1","SUSE-SU-2024:2929-1","SUSE-SU-2024:2939-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48747.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3ee859e384d453d6ac68bfd5971f630d9fa46ad3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4633a79ff8bc82770486a063a08b55e5162521d8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6cbf4c731d7812518cd857c2cfc3da9fd120f6ae"},{"type":"WEB","url":"https://git.kernel.org/stable/c/941d5180c430ce5b0f7a3622ef9b76077bfa3d82"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b63e120189fd92aff00096d11e2fc5253f60248b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48747.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48747"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"943cd69efac437d82a7aea0659fccbcc071730de"},{"fixed":"6cbf4c731d7812518cd857c2cfc3da9fd120f6ae"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"85a8ce62c2eabe28b9d76ca4eecf37922402df93"},{"fixed":"b63e120189fd92aff00096d11e2fc5253f60248b"},{"fixed":"4633a79ff8bc82770486a063a08b55e5162521d8"},{"fixed":"941d5180c430ce5b0f7a3622ef9b76077bfa3d82"},{"fixed":"3ee859e384d453d6ac68bfd5971f630d9fa46ad3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48747.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}