PT-2025-28994
CVE-2025-38274
·
Published
2025-04-22
·
Updated
2026-11-06
Description by
CVSS 3.1
5.5
MediumMetricsAV: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:
A potential null pointer dereference issue was identified in the
fpga mgr test img load sgt() function. The function allocates memory for sgt using kunit kzalloc(), but fails to verify if the allocation was successful. Subsequently, sgt is passed to sg alloc table(), which then passes it to sg alloc table(). This function attempts to zero out the memory using memset(). If the allocation fails, sgt will be null, leading to a null pointer dereference when memset() is called.Recommendations:
Check the allocation with
KUNIT ASSERT NOT ERR OR NULL().Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾