What’s Vulnerable › Vulnerabilities
CVE-2025-21798: firewire: test: Fix potential null dereference in firewire kunit test
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-02-27 · updated 2026-06-17
- Weakness: CWE-476
Description
In the Linux kernel, the following vulnerability has been resolved: firewire: test: Fix potential null dereference in firewire kunit test kunit_kzalloc() may return a NULL pointer, dereferencing it without NULL check may lead to NULL dereference. Add a NULL check for test_state.
Affected products
- Linux kernel: from 6.8 before 6.12.13; from 6.13 before 6.13.2 — fixed in 6.12.13, 6.13.2
How to fix
Upgrade to a fixed version: Linux kernel 6.12.13, 6.13.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/352fafe97784e81a10a7c74bd508f71a19b53c2a
- https://git.kernel.org/stable/c/70fcb25472d90dd3b87cbee74b9eb68670b0c7b8
- https://git.kernel.org/stable/c/c6896bf4c611c3dd126f3e03685f2360a18b3d6f
Get alerted when CVE-2025-21798 or the next vulnerability affects your stack