CVE-2024-42081

drm/xe/xe_devcoredump: Check NULL before assignments

State
Published
Severity
Not scored
Published
Jul 29, 2024
Updated
May 11, 2026
Reserved
Jul 29, 2024

Read the record on cve.org

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)

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • dd08ebf6c3525a7ea2186e636df064ea47281987 to before 76ec0e33707282d5321555698d902f4e067aff37Affected
  • dd08ebf6c3525a7ea2186e636df064ea47281987 to before b15e65349553b1689d15fbdebea874ca5ae2274aAffected
LinuxLinux
  • 6.8Affected
  • before 6.8Not affected
  • 6.9.8 through 6.9.*Not affected
  • 6.10 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.