CVE-2025-21798

published 27 Feb 2025 · updated 11 May 2026

firewire: test: Fix potential null dereference in firewire kunit test

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 352fafe97784e81a10a7c74bd508f71a19b53c2a, Kernel 70fcb25472d90dd3b87cbee74b9eb68670b0c7b8 and Kernel c6896bf4c611c3dd126f3e03685f2360a18b3d6f.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.8, >=1c8506d62624fbc57db75414a387f365da8422e9 <352fafe97784e81a10a7c74bd508f71a19b53c2a, >=1c8506d62624fbc57db75414a387f365da8422e9 <70fcb25472d90dd3b87cbee74b9eb68670b0c7b8, >=1c8506d62624fbc57db75414a387f365da8422e9 <c6896bf4c611c3dd126f3e03685f2360a18b3d6f352fafe97784e81a10a7c74bd508f71a19b53c2a, 70fcb25472d90dd3b87cbee74b9eb68670b0c7b8, c6896bf4c611c3dd126f3e03685f2360a18b3d6f

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21798 severity on Zeptric[![CVE-2025-21798](https://zeptric.io/badge/cve/CVE-2025-21798.svg)](https://zeptric.io/cve/CVE-2025-21798)