5.5medium
firewire: test: Fix potential null dereference in firewire kunit test
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.28% (higher than 13% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 1c8506d62624fbc57db75414a387f365da8422e9 before c6896bf4c611c3dd126f3e03685f2360a18b3d6f, from 1c8506d62624fbc57db75414a387f365da8422e9 before 70fcb25472d90dd3b87cbee74b9eb68670b0c7b8, from 1c8506d62624fbc57db75414a387f365da8422e9 before 352fafe97784e81a10a7c74bd508f71a19b53c2a, 6.8 Not affected: before 6.8, from 6.12.13 up to 6.12.*, from 6.13.2 up to 6.13.*, from 6.14 up to * | CVE List |
| linux linux_kernel | from 6.8 before 6.12.13, from 6.13 before 6.13.2 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: firewire: test: Se corrige una posible desreferencia nula en la prueba kunit de firewire kunit_kzalloc() puede devolver un puntero NULL, desreferenciarlo sin la comprobación NULL puede provocar una desreferencia NULL. Se añade una comprobación NULL para test_state.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-21798 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-21798 changed 2026-06-17 | Public domain |