In the Linux kernel, the following vulnerability has been...
Moderate severity
Unreviewed
Published
Jul 12, 2024
to the GitHub Advisory Database
•
Updated Sep 9, 2024
Description
Published by the National Vulnerability Database
Jul 12, 2024
Published to the GitHub Advisory Database
Jul 12, 2024
Last updated
Sep 9, 2024
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.
References