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.
[
{
"digest": {
"line_hashes": [
"220965213646988286904104940615821251574",
"86931178018878610054040897496604273366",
"262076993444784120984625419241519880358",
"174194574503152822467000485707297038908"
],
"threshold": 0.9
},
"id": "CVE-2024-36025-10f1e21e",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ea8ac95c22c93acecb710209a7fd10b851afe817",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/scsi/qla2xxx/qla_edif.c"
},
"signature_type": "Line"
},
{
"digest": {
"line_hashes": [
"220965213646988286904104940615821251574",
"86931178018878610054040897496604273366",
"262076993444784120984625419241519880358",
"174194574503152822467000485707297038908"
],
"threshold": 0.9
},
"id": "CVE-2024-36025-4b42a4e6",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@60b87b5ecbe07d70897d35947b0bb3e76ccd1b3a",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/scsi/qla2xxx/qla_edif.c"
},
"signature_type": "Line"
},
{
"digest": {
"line_hashes": [
"220965213646988286904104940615821251574",
"86931178018878610054040897496604273366",
"262076993444784120984625419241519880358",
"174194574503152822467000485707297038908"
],
"threshold": 0.9
},
"id": "CVE-2024-36025-56636d91",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4406e4176f47177f5e51b4cc7e6a7a2ff3dbfbbd",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/scsi/qla2xxx/qla_edif.c"
},
"signature_type": "Line"
},
{
"digest": {
"function_hash": "153796520853666274857622881709103719150",
"length": 1420.0
},
"id": "CVE-2024-36025-74f86335",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ea8ac95c22c93acecb710209a7fd10b851afe817",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "qla_edif_app_getstats",
"file": "drivers/scsi/qla2xxx/qla_edif.c"
},
"signature_type": "Function"
},
{
"digest": {
"function_hash": "153796520853666274857622881709103719150",
"length": 1420.0
},
"id": "CVE-2024-36025-91e76dd5",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4406e4176f47177f5e51b4cc7e6a7a2ff3dbfbbd",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "qla_edif_app_getstats",
"file": "drivers/scsi/qla2xxx/qla_edif.c"
},
"signature_type": "Function"
},
{
"digest": {
"line_hashes": [
"220965213646988286904104940615821251574",
"86931178018878610054040897496604273366",
"262076993444784120984625419241519880358",
"174194574503152822467000485707297038908"
],
"threshold": 0.9
},
"id": "CVE-2024-36025-97d47637",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9fc74e367be4247a5ac39bb8ec41eaa73fade510",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/scsi/qla2xxx/qla_edif.c"
},
"signature_type": "Line"
},
{
"digest": {
"function_hash": "153796520853666274857622881709103719150",
"length": 1420.0
},
"id": "CVE-2024-36025-a9232f66",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@60b87b5ecbe07d70897d35947b0bb3e76ccd1b3a",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "qla_edif_app_getstats",
"file": "drivers/scsi/qla2xxx/qla_edif.c"
},
"signature_type": "Function"
},
{
"digest": {
"function_hash": "274179783447321021817073035361490887359",
"length": 1387.0
},
"id": "CVE-2024-36025-c4a06fa2",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8c820f7c8e9b46238d277c575392fe9930207aab",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "qla_edif_app_getstats",
"file": "drivers/scsi/qla2xxx/qla_edif.c"
},
"signature_type": "Function"
},
{
"digest": {
"line_hashes": [
"264920627437346983166612426948621869383",
"86931178018878610054040897496604273366",
"262076993444784120984625419241519880358",
"174194574503152822467000485707297038908"
],
"threshold": 0.9
},
"id": "CVE-2024-36025-c60c7897",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8c820f7c8e9b46238d277c575392fe9930207aab",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/scsi/qla2xxx/qla_edif.c"
},
"signature_type": "Line"
},
{
"digest": {
"function_hash": "153796520853666274857622881709103719150",
"length": 1420.0
},
"id": "CVE-2024-36025-c6c5ef4c",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9fc74e367be4247a5ac39bb8ec41eaa73fade510",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "qla_edif_app_getstats",
"file": "drivers/scsi/qla2xxx/qla_edif.c"
},
"signature_type": "Function"
}
]