{"id":"CVE-2025-21798","summary":"firewire: test: Fix potential null dereference in firewire kunit test","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfirewire: test: Fix potential null dereference in firewire kunit test\n\nkunit_kzalloc() may return a NULL pointer, dereferencing it without\nNULL check may lead to NULL dereference.\nAdd a NULL check for test_state.","modified":"2026-03-20T12:41:11.189727Z","published":"2025-02-27T20:00:53.557Z","related":["USN-7521-2"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21798.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/352fafe97784e81a10a7c74bd508f71a19b53c2a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/70fcb25472d90dd3b87cbee74b9eb68670b0c7b8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c6896bf4c611c3dd126f3e03685f2360a18b3d6f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21798.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21798"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1c8506d62624fbc57db75414a387f365da8422e9"},{"fixed":"c6896bf4c611c3dd126f3e03685f2360a18b3d6f"},{"fixed":"70fcb25472d90dd3b87cbee74b9eb68670b0c7b8"},{"fixed":"352fafe97784e81a10a7c74bd508f71a19b53c2a"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21798.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}