CVE-2025-21798

medium

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.

References

https://git.kernel.org/stable/c/c6896bf4c611c3dd126f3e03685f2360a18b3d6f

https://git.kernel.org/stable/c/70fcb25472d90dd3b87cbee74b9eb68670b0c7b8

https://git.kernel.org/stable/c/352fafe97784e81a10a7c74bd508f71a19b53c2a

Details

Source: Mitre, NVD

Published: 2025-02-27

Updated: 2025-03-05

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium