In the Linux kernel, the following vulnerability has been resolved:
scsi: qla2xxx: Fix off by one in qlaedifapp_getstats()
The appreply->elem[] array is allocated earlier in this function and it has appreq.num_ports elements. Thus this > comparison needs to be >= to prevent memory corruption.
[
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/scsi/qla2xxx/qla_edif.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4406e4176f47177f5e51b4cc7e6a7a2ff3dbfbbd",
"digest": {
"line_hashes": [
"220965213646988286904104940615821251574",
"86931178018878610054040897496604273366",
"262076993444784120984625419241519880358",
"174194574503152822467000485707297038908"
],
"threshold": 0.9
},
"id": "CVE-2024-36025-56636d91"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/qla2xxx/qla_edif.c",
"function": "qla_edif_app_getstats"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4406e4176f47177f5e51b4cc7e6a7a2ff3dbfbbd",
"digest": {
"length": 1420.0,
"function_hash": "153796520853666274857622881709103719150"
},
"id": "CVE-2024-36025-91e76dd5"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/scsi/qla2xxx/qla_edif.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9fc74e367be4247a5ac39bb8ec41eaa73fade510",
"digest": {
"line_hashes": [
"220965213646988286904104940615821251574",
"86931178018878610054040897496604273366",
"262076993444784120984625419241519880358",
"174194574503152822467000485707297038908"
],
"threshold": 0.9
},
"id": "CVE-2024-36025-97d47637"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/qla2xxx/qla_edif.c",
"function": "qla_edif_app_getstats"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8c820f7c8e9b46238d277c575392fe9930207aab",
"digest": {
"length": 1387.0,
"function_hash": "274179783447321021817073035361490887359"
},
"id": "CVE-2024-36025-c4a06fa2"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/scsi/qla2xxx/qla_edif.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8c820f7c8e9b46238d277c575392fe9930207aab",
"digest": {
"line_hashes": [
"264920627437346983166612426948621869383",
"86931178018878610054040897496604273366",
"262076993444784120984625419241519880358",
"174194574503152822467000485707297038908"
],
"threshold": 0.9
},
"id": "CVE-2024-36025-c60c7897"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/scsi/qla2xxx/qla_edif.c",
"function": "qla_edif_app_getstats"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9fc74e367be4247a5ac39bb8ec41eaa73fade510",
"digest": {
"length": 1420.0,
"function_hash": "153796520853666274857622881709103719150"
},
"id": "CVE-2024-36025-c6c5ef4c"
}
]