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.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48747.json"
}[
{
"digest": {
"function_hash": "27447440083736779396782263450960436851",
"length": 529.0
},
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "block/bio.c",
"function": "bio_truncate"
},
"id": "CVE-2022-48747-239a2a2f",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ee859e384d453d6ac68bfd5971f630d9fa46ad3"
},
{
"digest": {
"function_hash": "241695932101945669243589188315611332085",
"length": 522.0
},
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "block/bio.c",
"function": "bio_truncate"
},
"id": "CVE-2022-48747-270826b6",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b63e120189fd92aff00096d11e2fc5253f60248b"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"99861609424793468542241780714649815568",
"328770999157353096571907019270330413561",
"16197537537743074658522694763379360050",
"146390951701175446788367115974317911755"
]
},
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "block/bio.c"
},
"id": "CVE-2022-48747-34cf5e70",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4633a79ff8bc82770486a063a08b55e5162521d8"
},
{
"digest": {
"function_hash": "241695932101945669243589188315611332085",
"length": 522.0
},
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "block/bio.c",
"function": "bio_truncate"
},
"id": "CVE-2022-48747-952fee9a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6cbf4c731d7812518cd857c2cfc3da9fd120f6ae"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"99861609424793468542241780714649815568",
"328770999157353096571907019270330413561",
"16197537537743074658522694763379360050",
"146390951701175446788367115974317911755"
]
},
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "block/bio.c"
},
"id": "CVE-2022-48747-af9457c8",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6cbf4c731d7812518cd857c2cfc3da9fd120f6ae"
},
{
"digest": {
"function_hash": "241695932101945669243589188315611332085",
"length": 522.0
},
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "block/bio.c",
"function": "bio_truncate"
},
"id": "CVE-2022-48747-d66fd59a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4633a79ff8bc82770486a063a08b55e5162521d8"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"99861609424793468542241780714649815568",
"328770999157353096571907019270330413561",
"16197537537743074658522694763379360050",
"146390951701175446788367115974317911755"
]
},
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "block/bio.c"
},
"id": "CVE-2022-48747-e1153915",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ee859e384d453d6ac68bfd5971f630d9fa46ad3"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"99861609424793468542241780714649815568",
"328770999157353096571907019270330413561",
"16197537537743074658522694763379360050",
"146390951701175446788367115974317911755"
]
},
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "block/bio.c"
},
"id": "CVE-2022-48747-e74073ce",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b63e120189fd92aff00096d11e2fc5253f60248b"
}
]