CVE-2024-42286

In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: validate nvme_local_port correctly The driver load failed with error message, qla2xxx [0000:04:00.0]-ffff:0: register_localport failed: ret=ffffffef and with a kernel crash, BUG: unable to handle kernel NULL pointer dereference at 0000000000000070 Workqueue: events_unbound qla_register_fcport_fn [qla2xxx] RIP: 0010:nvme_fc_register_remoteport+0x16/0x430 [nvme_fc] RSP: 0018:ffffaaa040eb3d98 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff9dfb46b78c00 RCX: 0000000000000000 RDX: ffff9dfb46b78da8 RSI: ffffaaa040eb3e08 RDI: 0000000000000000 RBP: ffff9dfb612a0a58 R08: ffffffffaf1d6270 R09: 3a34303a30303030 R10: 34303a303030305b R11: 2078787832616c71 R12: ffff9dfb46b78dd4 R13: ffff9dfb46b78c24 R14: ffff9dfb41525300 R15: ffff9dfb46b78da8 FS: 0000000000000000(0000) GS:ffff9dfc67c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000070 CR3: 000000018da10004 CR4: 00000000000206f0 Call Trace: qla_nvme_register_remote+0xeb/0x1f0 [qla2xxx] ? qla2x00_dfs_create_rport+0x231/0x270 [qla2xxx] qla2x00_update_fcport+0x2a1/0x3c0 [qla2xxx] qla_register_fcport_fn+0x54/0xc0 [qla2xxx] Exit the qla_nvme_register_remote() function when qla_nvme_register_hba() fails and correctly validate nvme_local_port.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

10 Sep 2024, 19:02

Type Values Removed Values Added
First Time Linux linux Kernel
Linux
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CWE CWE-476
References () https://git.kernel.org/stable/c/3eac973eb5cb2b874b3918f924798afc5affd46b - () https://git.kernel.org/stable/c/3eac973eb5cb2b874b3918f924798afc5affd46b - Patch
References () https://git.kernel.org/stable/c/549aac9655320c9b245a24271b204668c5d40430 - () https://git.kernel.org/stable/c/549aac9655320c9b245a24271b204668c5d40430 - Patch
References () https://git.kernel.org/stable/c/7cec2c3bfe84539c415f5e16f989228eba1d2f1e - () https://git.kernel.org/stable/c/7cec2c3bfe84539c415f5e16f989228eba1d2f1e - Patch
References () https://git.kernel.org/stable/c/a3ab508a4853a9f5ae25a7816a4889f09938f63c - () https://git.kernel.org/stable/c/a3ab508a4853a9f5ae25a7816a4889f09938f63c - Patch
References () https://git.kernel.org/stable/c/cde43031df533751b4ead37d173922feee2f550f - () https://git.kernel.org/stable/c/cde43031df533751b4ead37d173922feee2f550f - Patch
References () https://git.kernel.org/stable/c/e1f010844443c389bc552884ac5cfa47de34d54c - () https://git.kernel.org/stable/c/e1f010844443c389bc552884ac5cfa47de34d54c - Patch
References () https://git.kernel.org/stable/c/eb1d4ce2609584eeb7694866f34d4b213caa3af9 - () https://git.kernel.org/stable/c/eb1d4ce2609584eeb7694866f34d4b213caa3af9 - Patch
References () https://git.kernel.org/stable/c/f6be298cc1042f24d521197af29c7c4eb95af4d5 - () https://git.kernel.org/stable/c/f6be298cc1042f24d521197af29c7c4eb95af4d5 - Patch

19 Aug 2024, 12:59

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux se ha resuelto la siguiente vulnerabilidad: scsi: qla2xxx: validar nvme_local_port correctamente La carga del controlador falló con mensaje de error, qla2xxx [0000:04:00.0]-ffff:0: Register_localport falló: ret=ffffffef y con un kernel bloqueo, ERROR: no se puede manejar la desreferencia del puntero NULL del kernel en 0000000000000070 Cola de trabajo: events_unbound qla_register_fcport_fn [qla2xxx] RIP: 0010:nvme_fc_register_remoteport+0x16/0x430 [nvme_fc] RSP: ffffaaa040eb3d98 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff9dfb46b78c00 RCX: 00000000000000000 RDX : ffff9dfb46b78da8 RSI: ffffaaa040eb3e08 RDI: 0000000000000000 RBP: ffff9dfb612a0a58 R08: ffffffffaf1d6270 R09: 3a34303a30303030 R10: 305b R11: 2078787832616c71 R12: ffff9dfb46b78dd4 R13: ffff9dfb46b78c24 R14: ffff9dfb41525300 R15: ffff9dfb46b78da8 FS: 0000000000000000(0000 ) GS:ffff9dfc67c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000070 CR3: 000000018da10004 CR4: 00000000000206f0 Seguimiento de llamadas: qla_nvme_register_remote+0xeb/0x1 f0 [qla2xxx] ? qla2x00_dfs_create_rport+0x231/0x270 [qla2xxx] qla2x00_update_fcport+0x2a1/0x3c0 [qla2xxx] qla_register_fcport_fn+0x54/0xc0 [qla2xxx] Salga de la función qla_nvme_register_remote() cuando qla_nvme_register_hba () falla y valida correctamente nvme_local_port.

19 Aug 2024, 05:15

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/549aac9655320c9b245a24271b204668c5d40430 -
  • () https://git.kernel.org/stable/c/a3ab508a4853a9f5ae25a7816a4889f09938f63c -
  • () https://git.kernel.org/stable/c/cde43031df533751b4ead37d173922feee2f550f -
  • () https://git.kernel.org/stable/c/e1f010844443c389bc552884ac5cfa47de34d54c -

17 Aug 2024, 09:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-08-17 09:15

Updated : 2024-09-10 19:02


NVD link : CVE-2024-42286

Mitre link : CVE-2024-42286

CVE.ORG link : CVE-2024-42286


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference