Service interruption via unchecked KUnit allocation
Published Jul 10, 2025 · Updated May 11, 2026
NULL pointer dereference in Linux kernel 6.6 and later affected branches allows local users to interrupt FPGA KUnit testing. The fpga_mgr_test_img_load_sgt() helper fails to check whether kunit_kzalloc() returned NULL before passing the pointer through sg_alloc_table() to __sg_alloc_table(), where memset() dereferences it. Reachability requires low-privileged local access, the FPGA KUnit test path, and a failed allocation; the documented consequence is an availability-only interruption.
Summary
What happened
NULL pointer dereference in Linux kernel 6.6 and later affected branches allows local users to interrupt FPGA KUnit testing. The fpga_mgr_test_img_load_sgt() helper fails to check whether kunit_kzalloc() returned NULL before passing the pointer through sg_alloc_table() to __sg_alloc_table(), where memset() dereferences it. Reachability requires low-privileged local access, the FPGA KUnit test path, and a failed allocation; the documented consequence is an availability-only interruption.
The record
- CVE
- CVE-2025-38274
- Published
- Jul 10, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 10, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.6
- Affected versionversion=ccbc1c302115d8125d6a96296ba52702c6de0ade <6ebf1982038af12f3588417e4fd0417d2551da28
- Affected versionversion=ccbc1c302115d8125d6a96296ba52702c6de0ade <8b2230ac7ff0aeb2441132df638a82ab124f8624
- Affected versionversion=ccbc1c302115d8125d6a96296ba52702c6de0ade <e69e2cfd8b38d9463a250e153ef4963a604d61e9
- Affected versionversion=ccbc1c302115d8125d6a96296ba52702c6de0ade <eb4c74eaa6e2d15f3bbd32941c9d2a25b29a718d
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo