{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-48747","id":"CVE-2022-48747","title":"block: Fix wrong offset in bio_truncate()","description":"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.","descriptionLong":"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.","published":"2024-06-20T11:13:29.951Z","updated":"2026-11-17T07:00:19.760518802Z","reserved":"2024-06-20T11:09:39.055Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"943cd69efac437d82a7aea0659fccbcc071730de","lessThan":"6cbf4c731d7812518cd857c2cfc3da9fd120f6ae","status":"affected","versionType":"git"},{"version":"85a8ce62c2eabe28b9d76ca4eecf37922402df93","lessThan":"b63e120189fd92aff00096d11e2fc5253f60248b","status":"affected","versionType":"git"},{"version":"85a8ce62c2eabe28b9d76ca4eecf37922402df93","lessThan":"4633a79ff8bc82770486a063a08b55e5162521d8","status":"affected","versionType":"git"},{"version":"85a8ce62c2eabe28b9d76ca4eecf37922402df93","lessThan":"941d5180c430ce5b0f7a3622ef9b76077bfa3d82","status":"affected","versionType":"git"},{"version":"85a8ce62c2eabe28b9d76ca4eecf37922402df93","lessThan":"3ee859e384d453d6ac68bfd5971f630d9fa46ad3","status":"affected","versionType":"git"},{"version":"5.4.9","lessThan":"5.4.176","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.5","status":"affected"},{"version":"0","lessThan":"5.5","status":"unaffected","versionType":"semver"},{"version":"5.4.176","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.96","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.19","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.16.5","lessThanOrEqual":"5.16.*","status":"unaffected","versionType":"semver"},{"version":"5.17","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-908"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/6cbf4c731d7812518cd857c2cfc3da9fd120f6ae","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/b63e120189fd92aff00096d11e2fc5253f60248b","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/4633a79ff8bc82770486a063a08b55e5162521d8","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/941d5180c430ce5b0f7a3622ef9b76077bfa3d82","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/3ee859e384d453d6ac68bfd5971f630d9fa46ad3","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48747.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48747","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00915,"epssPercentile":0.60844,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-48747","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48747","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-48747","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-48747","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}