Live threats

All CVEs / Linux

CVE-2025-38274Linux Kernel

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
—
Auth required
Yes
Published
Jul 10, 2025
Updated
Jun 17, 2026
Category
Operating system · Linux
Weakness (CWE)
CWE-476
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What happens

In the Linux kernel, the following vulnerability has been resolved: fpga: fix potential null pointer deref in fpga_mgr_test_img_load_sgt() fpga_mgr_test_img_load_sgt() allocates memory for sgt using kunit_kzalloc() however it does not check if the allocation failed. It then passes sgt to sg_alloc_table(), which passes it to __sg_alloc_table(). This function calls memset() on sgt in an attempt to zero it out. If the allocation fails then sgt will be NULL and the memset will trigger a NULL pointer dereference. Fix this by checking the allocation with KUNIT_ASSERT_NOT_ERR_OR_NULL().

Original NVD text.

What to do

  1. Apply the vendor's security update for Linux Kernel.

Affected products (CPE)

VendorProductVersions
linuxlinux_kernel≥ 6.6 < 6.6.94
linuxlinux_kernel≥ 6.7 < 6.12.34
linuxlinux_kernel≥ 6.13 < 6.15.3

Official sources

References

Links published by the sources. Open them with care.