In the Linux kernel, the following vulnerability has been resolved:
block: Fix wrong offset in bio_truncate()
biotruncate() clears the buffer outside of last block of bdev, however current biotruncate() is using the wrong offset of page. So it can return the uninitialized data.
This happened when both of truncated/corrupted FS and userspace (via bdev) are trying to read the last of bdev.
{ "vanir_signatures": [ { "deprecated": false, "signature_type": "Function", "target": { "file": "block/bio.c", "function": "bio_truncate" }, "signature_version": "v1", "digest": { "length": 529.0, "function_hash": "27447440083736779396782263450960436851" }, "id": "CVE-2022-48747-239a2a2f", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ee859e384d453d6ac68bfd5971f630d9fa46ad3" }, { "deprecated": false, "signature_type": "Function", "target": { "file": "block/bio.c", "function": "bio_truncate" }, "signature_version": "v1", "digest": { "length": 522.0, "function_hash": "241695932101945669243589188315611332085" }, "id": "CVE-2022-48747-270826b6", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b63e120189fd92aff00096d11e2fc5253f60248b" }, { "deprecated": false, "signature_type": "Line", "target": { "file": "block/bio.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "99861609424793468542241780714649815568", "328770999157353096571907019270330413561", "16197537537743074658522694763379360050", "146390951701175446788367115974317911755" ], "threshold": 0.9 }, "id": "CVE-2022-48747-34cf5e70", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4633a79ff8bc82770486a063a08b55e5162521d8" }, { "deprecated": false, "signature_type": "Function", "target": { "file": "block/bio.c", "function": "bio_truncate" }, "signature_version": "v1", "digest": { "length": 529.0, "function_hash": "27447440083736779396782263450960436851" }, "id": "CVE-2022-48747-59ad105b", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@941d5180c430ce5b0f7a3622ef9b76077bfa3d82" }, { "deprecated": false, "signature_type": "Function", "target": { "file": "block/bio.c", "function": "bio_truncate" }, "signature_version": "v1", "digest": { "length": 522.0, "function_hash": "241695932101945669243589188315611332085" }, "id": "CVE-2022-48747-952fee9a", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6cbf4c731d7812518cd857c2cfc3da9fd120f6ae" }, { "deprecated": false, "signature_type": "Line", "target": { "file": "block/bio.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "99861609424793468542241780714649815568", "328770999157353096571907019270330413561", "16197537537743074658522694763379360050", "146390951701175446788367115974317911755" ], "threshold": 0.9 }, "id": "CVE-2022-48747-af9457c8", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6cbf4c731d7812518cd857c2cfc3da9fd120f6ae" }, { "deprecated": false, "signature_type": "Line", "target": { "file": "block/bio.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "99861609424793468542241780714649815568", "328770999157353096571907019270330413561", "16197537537743074658522694763379360050", "146390951701175446788367115974317911755" ], "threshold": 0.9 }, "id": "CVE-2022-48747-d273a6b4", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@941d5180c430ce5b0f7a3622ef9b76077bfa3d82" }, { "deprecated": false, "signature_type": "Function", "target": { "file": "block/bio.c", "function": "bio_truncate" }, "signature_version": "v1", "digest": { "length": 522.0, "function_hash": "241695932101945669243589188315611332085" }, "id": "CVE-2022-48747-d66fd59a", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4633a79ff8bc82770486a063a08b55e5162521d8" }, { "deprecated": false, "signature_type": "Line", "target": { "file": "block/bio.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "99861609424793468542241780714649815568", "328770999157353096571907019270330413561", "16197537537743074658522694763379360050", "146390951701175446788367115974317911755" ], "threshold": 0.9 }, "id": "CVE-2022-48747-e1153915", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ee859e384d453d6ac68bfd5971f630d9fa46ad3" }, { "deprecated": false, "signature_type": "Line", "target": { "file": "block/bio.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "99861609424793468542241780714649815568", "328770999157353096571907019270330413561", "16197537537743074658522694763379360050", "146390951701175446788367115974317911755" ], "threshold": 0.9 }, "id": "CVE-2022-48747-e74073ce", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b63e120189fd92aff00096d11e2fc5253f60248b" } ] }