CVE-2025-21798Published Feb 27, 2025 · Feb 27Updated Oct 28
firewire: test: Fix potential null dereference in firewire kunit test
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.12.136.13.26.14In 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.
From the CVE record · Linux
The Linux kernel FireWire KUnit test may dereference a null pointer if kunit_kzalloc() fails to allocate test_state. The input does not describe an attacker path, authentication requirement, or user interaction.
Engineers running Linux kernel builds that include the FireWire KUnit test should check; affected versions are not specified.