CVE-2024-42081
JSON

5.5medium

drm/xe/xe_devcoredump: Check NULL before assignments

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.20% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: drm/xe/xe_devcoredump: Check NULL before assignments Assign 'xe_devcoredump_snapshot *' and 'xe_device *' only if 'coredump' is not NULL. v2 - Fix commit messages. v3 - Define variables before code.(Ashutosh/Jose) v4 - Drop return check for coredump_to_xe. (Jose/Rodrigo) v5 - Modify misleading commit message. (Matt)

Affected

Product or packageVersionsReported by
Linux Linuxfrom dd08ebf6c3525a7ea2186e636df064ea47281987 before 76ec0e33707282d5321555698d902f4e067aff37, from dd08ebf6c3525a7ea2186e636df064ea47281987 before b15e65349553b1689d15fbdebea874ca5ae2274a, 6.8
Not affected: before 6.8, from 6.9.8 up to 6.9.*, from 6.10 up to *
CVE List
linux linux_kernelbefore 6.9.8NVD

Classification

CWE-476

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: drm/xe/xe_devcoredump: Check NULL before assignments Assign 'xe_devcoredump_snapshot *' and 'xe_device *' only if 'coredump' is not NULL. v2 - Fix commit messages. v3 - Define variables before code.(Ashutosh/Jose) v4 - Drop return check for coredump_to_xe. (Jose/Rodrigo) v5 - Modify misleading commit message. (Matt)

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/xe/xe_devcoredump: marque NULL antes de las asignaciones. Asigne 'xe_devcoredump_snapshot *' y 'xe_device *' solo si 'coredump' no es NULL. v2: corrige los mensajes de confirmación. v3: definir variables antes del código. (Ashutosh/Jose) v4: eliminar la verificación de retorno para coredump_to_xe. (José/Rodrigo) v5 - Modificar mensaje de confirmación engañoso. (Matt)

References

Sources

SourceRecordLicence
CVE ListCVE-2024-42081 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-42081 changed 2026-06-17Public domain