← CVE Intelligence

CVE-2025-21798

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

Description (CNA)

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

Vendor / productVersions
Linux / Linuxaffected 1c8506d62624fbc57db75414a387f365da8422e9 before c6896bf4c611c3dd126f3e03685f2360a18b3d6f; affected 1c8506d62624fbc57db75414a387f365da8422e9 before 70fcb25472d90dd3b87cbee74b9eb68670b0c7b8; affected 1c8506d62624fbc57db75414a387f365da8422e9 before 352fafe97784e81a10a7c74bd508f71a19b53c2a
Linux / Linuxaffected 6.8; unaffected 0 before 6.8; unaffected 6.12.13 through 6.12.*; unaffected 6.13.2 through 6.13.*; unaffected 6.14 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.