Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2024-40982
HistoryJul 12, 2024 - 12:32 p.m.

CVE-2024-40982 ssb: Fix potential NULL pointer dereference in ssb_device_uevent()

2024-07-1212:32:16
Linux
github.com
1
vulnerability
linux kernel
null pointer.

AI Score

6.6

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

In the Linux kernel, the following vulnerability has been resolved:

ssb: Fix potential NULL pointer dereference in ssb_device_uevent()

The ssb_device_uevent() function first attempts to convert the ‘dev’ pointer
to ‘struct ssb_device *’. However, it mistakenly dereferences ‘dev’ before
performing the NULL check, potentially leading to a NULL pointer
dereference if ‘dev’ is NULL.

To fix this issue, move the NULL check before dereferencing the ‘dev’ pointer,
ensuring that the pointer is valid before attempting to use it.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

AI Score

6.6

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial