In the Linux kernel, the following vulnerability has been resolved:
scsi: qedf: Fix a possible memory leak in qedfallocandinitsb()
Hook "qedops->common->sbinit = qedsbinit" does not release the DMA memory sbvirt when it fails. Add dmafreecoherent() to free it. This is the same way as qedrallocmemsb() and qedeallocmem_sb().
[
{
"id": "CVE-2024-56748-0d9fa479",
"target": {
"file": "drivers/scsi/qedf/qedf_main.c",
"function": "qedf_alloc_and_init_sb"
},
"digest": {
"length": 575.0,
"function_hash": "303690780316340483851892657128167864806"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a56777a3ef5b35e24a20c4418bcf88bad033807a",
"signature_version": "v1"
},
{
"id": "CVE-2024-56748-587228ac",
"target": {
"file": "drivers/scsi/qedf/qedf_main.c",
"function": "qedf_alloc_and_init_sb"
},
"digest": {
"length": 575.0,
"function_hash": "303690780316340483851892657128167864806"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@78a169dc69fbdaf114c40e2d56955bf6bd4fc3c0",
"signature_version": "v1"
},
{
"id": "CVE-2024-56748-6b008ac6",
"target": {
"file": "drivers/scsi/qedf/qedf_main.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"49665447933100925990907101802007208504",
"42570158939895764523620822855983293663",
"249011100624985572479284142031056108928",
"181229934915591843736609590737306341814"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b514f45e0fe18d763a1afc34401b1585333cb329",
"signature_version": "v1"
},
{
"id": "CVE-2024-56748-70d6b029",
"target": {
"file": "drivers/scsi/qedf/qedf_main.c",
"function": "qedf_alloc_and_init_sb"
},
"digest": {
"length": 575.0,
"function_hash": "303690780316340483851892657128167864806"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7c1832287b21ff68c4e3625e63cc7619edf5908b",
"signature_version": "v1"
},
{
"id": "CVE-2024-56748-7e171f1e",
"target": {
"file": "drivers/scsi/qedf/qedf_main.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"49665447933100925990907101802007208504",
"42570158939895764523620822855983293663",
"249011100624985572479284142031056108928",
"181229934915591843736609590737306341814"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a56777a3ef5b35e24a20c4418bcf88bad033807a",
"signature_version": "v1"
},
{
"id": "CVE-2024-56748-84c227ff",
"target": {
"file": "drivers/scsi/qedf/qedf_main.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"49665447933100925990907101802007208504",
"42570158939895764523620822855983293663",
"249011100624985572479284142031056108928",
"181229934915591843736609590737306341814"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@78a169dc69fbdaf114c40e2d56955bf6bd4fc3c0",
"signature_version": "v1"
},
{
"id": "CVE-2024-56748-893c3469",
"target": {
"file": "drivers/scsi/qedf/qedf_main.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"49665447933100925990907101802007208504",
"42570158939895764523620822855983293663",
"249011100624985572479284142031056108928",
"181229934915591843736609590737306341814"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7c1832287b21ff68c4e3625e63cc7619edf5908b",
"signature_version": "v1"
},
{
"id": "CVE-2024-56748-89a5bbde",
"target": {
"file": "drivers/scsi/qedf/qedf_main.c",
"function": "qedf_alloc_and_init_sb"
},
"digest": {
"length": 575.0,
"function_hash": "303690780316340483851892657128167864806"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b514f45e0fe18d763a1afc34401b1585333cb329",
"signature_version": "v1"
},
{
"id": "CVE-2024-56748-8f734b3e",
"target": {
"file": "drivers/scsi/qedf/qedf_main.c",
"function": "qedf_alloc_and_init_sb"
},
"digest": {
"length": 575.0,
"function_hash": "303690780316340483851892657128167864806"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@64654bf5efb3f748e6fc41227adda689618ce9c4",
"signature_version": "v1"
},
{
"id": "CVE-2024-56748-9cbb1148",
"target": {
"file": "drivers/scsi/qedf/qedf_main.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"49665447933100925990907101802007208504",
"42570158939895764523620822855983293663",
"249011100624985572479284142031056108928",
"181229934915591843736609590737306341814"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@64654bf5efb3f748e6fc41227adda689618ce9c4",
"signature_version": "v1"
},
{
"id": "CVE-2024-56748-bb5fee37",
"target": {
"file": "drivers/scsi/qedf/qedf_main.c",
"function": "qedf_alloc_and_init_sb"
},
"digest": {
"length": 575.0,
"function_hash": "303690780316340483851892657128167864806"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c62c30429db3eb4ced35c7fcf6f04a61ce3a01bb",
"signature_version": "v1"
},
{
"id": "CVE-2024-56748-cb685c1b",
"target": {
"file": "drivers/scsi/qedf/qedf_main.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"49665447933100925990907101802007208504",
"42570158939895764523620822855983293663",
"249011100624985572479284142031056108928",
"181229934915591843736609590737306341814"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c62c30429db3eb4ced35c7fcf6f04a61ce3a01bb",
"signature_version": "v1"
}
]