5.5
MEDIUM
CVE-2024-42286
Emulex QLA2XXX Nulled Pointer Dereference Vulnerability
Description

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.

INFO

Published Date :

Aug. 17, 2024, 9:15 a.m.

Last Modified :

Sept. 10, 2024, 7:02 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2024-42286 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-42286 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-42286 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Sep. 10, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://git.kernel.org/stable/c/3eac973eb5cb2b874b3918f924798afc5affd46b No Types Assigned https://git.kernel.org/stable/c/3eac973eb5cb2b874b3918f924798afc5affd46b Patch
    Changed Reference Type https://git.kernel.org/stable/c/549aac9655320c9b245a24271b204668c5d40430 No Types Assigned https://git.kernel.org/stable/c/549aac9655320c9b245a24271b204668c5d40430 Patch
    Changed Reference Type https://git.kernel.org/stable/c/7cec2c3bfe84539c415f5e16f989228eba1d2f1e No Types Assigned https://git.kernel.org/stable/c/7cec2c3bfe84539c415f5e16f989228eba1d2f1e Patch
    Changed Reference Type https://git.kernel.org/stable/c/a3ab508a4853a9f5ae25a7816a4889f09938f63c No Types Assigned https://git.kernel.org/stable/c/a3ab508a4853a9f5ae25a7816a4889f09938f63c Patch
    Changed Reference Type https://git.kernel.org/stable/c/cde43031df533751b4ead37d173922feee2f550f No Types Assigned https://git.kernel.org/stable/c/cde43031df533751b4ead37d173922feee2f550f Patch
    Changed Reference Type https://git.kernel.org/stable/c/e1f010844443c389bc552884ac5cfa47de34d54c No Types Assigned https://git.kernel.org/stable/c/e1f010844443c389bc552884ac5cfa47de34d54c Patch
    Changed Reference Type https://git.kernel.org/stable/c/eb1d4ce2609584eeb7694866f34d4b213caa3af9 No Types Assigned https://git.kernel.org/stable/c/eb1d4ce2609584eeb7694866f34d4b213caa3af9 Patch
    Changed Reference Type https://git.kernel.org/stable/c/f6be298cc1042f24d521197af29c7c4eb95af4d5 No Types Assigned https://git.kernel.org/stable/c/f6be298cc1042f24d521197af29c7c4eb95af4d5 Patch
    Added CWE NIST CWE-476
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 4.19.320 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.282 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.224 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.165 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.103 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.44 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.10.3
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 19, 2024

    Action Type Old Value New Value
    Added Reference kernel.org https://git.kernel.org/stable/c/549aac9655320c9b245a24271b204668c5d40430 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/e1f010844443c389bc552884ac5cfa47de34d54c [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/a3ab508a4853a9f5ae25a7816a4889f09938f63c [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/cde43031df533751b4ead37d173922feee2f550f [No types assigned]
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 17, 2024

    Action Type Old Value New Value
    Added Description 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.
    Added Reference kernel.org https://git.kernel.org/stable/c/7cec2c3bfe84539c415f5e16f989228eba1d2f1e [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/f6be298cc1042f24d521197af29c7c4eb95af4d5 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/3eac973eb5cb2b874b3918f924798afc5affd46b [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/eb1d4ce2609584eeb7694866f34d4b213caa3af9 [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-42286 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-42286 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability