PT-2024-8481

CVE-2024-35883

·

Published

2024-04-03

·

Updated

2025-03-28

Description by

CVSS 3.1
5.5
Medium
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to a potential null pointer dereference in the pci1xxx spi probe function, which may be caused by a failed memory allocation by the devm kzalloc function. To fix this issue, a null pointer check needs to be added to prevent null pointer dereferencing later in the code. The memory allocated by devm kzalloc will be automatically released.
Recommendations To resolve the issue, check spi bus->spi int[iter] and directly return -ENOMEM without worrying about memory leaks. As a temporary workaround, consider adding a null pointer check in the pci1xxx spi probe function to prevent null pointer dereferencing.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
SUSE-SU-2024:2135-1
SUSE-SU-2024:2203-1
SUSE-SU-2024:2973-1
SUSE-SU-2025:20008-1
SUSE-SU-2025:20028-1
SUSE-SU-2025:20166-1
SUSE-SU-2025:20249-1
USN-6893-1
USN-6893-2
USN-6893-3
USN-6918-1
Found an issue in the description? Have something to add? Feel free to write us 👾