AUGUST 4, 2026
Live Feed
Back to database
Case File

CVE-2025-38274

MEDIUM · CVSS 5.5 EPSS 0.16%

Source: NVD + CISA KEV + EPSS (historical backfill) · Published 2025-07-10 · Last synced 2026-08-04

CyberRota Analysis

This is a medium severity vulnerability with a CVSS score of 5.5. It affects Linux.

CVE
CVE-2025-38274
Severity
MEDIUM
CVSS
5.5
EPSS
0.16%
Linux

Original NVD Description

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().

Related CVEs

Other vulnerabilities affecting the same vendor(s)