{"id":"CVE-2025-21798","aliases":["CVE-2025-21798"],"related":[],"kind":"vulnerability","state":"published","title":"firewire: test: Fix potential null dereference in firewire kunit test","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-02-27T20:00:53.557Z","modified":"2026-06-17T08:44:18.457Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"1c8506d62624fbc57db75414a387f365da8422e9","fixed":"c6896bf4c611c3dd126f3e03685f2360a18b3d6f","status":"affected"},{"type":"git","introduced":"1c8506d62624fbc57db75414a387f365da8422e9","fixed":"70fcb25472d90dd3b87cbee74b9eb68670b0c7b8","status":"affected"},{"type":"git","introduced":"1c8506d62624fbc57db75414a387f365da8422e9","fixed":"352fafe97784e81a10a7c74bd508f71a19b53c2a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.8","status":"unaffected"},{"type":"semver","introduced":"6.12.13","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.2","lastAffected":"6.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.8","fixed":"6.12.13"},{"status":"affected","introduced":"6.13","fixed":"6.13.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c6896bf4c611c3dd126f3e03685f2360a18b3d6f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/70fcb25472d90dd3b87cbee74b9eb68670b0c7b8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/352fafe97784e81a10a7c74bd508f71a19b53c2a","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:28:45.431Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-21798","url":"https://www.cve.org/CVERecord?id=CVE-2025-21798","licence":"CVE Terms of Use","modified":"2026-05-11T21:06:42.344Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-21798","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21798","licence":"Public domain","modified":"2026-06-17T08:44:18.457Z"}],"updatedAt":"2026-11-25T22:58:54.601Z","epss":{"score":0.0028,"percentile":0.13052,"date":"2026-11-30T12:00:22.000Z"}}