In the Linux kernel, the following vulnerability has been resolved:
drm/xe: Fix oops in xegemfault when running core_hotunplug test.
I saw an oops in xegemfault when running the xe-fast-feedback testlist against the realtime kernel without debug options enabled.
The panic happens after corehotunplug unbind-rebind finishes. Presumably what happens is that a process mmaps, unlocks because of the FAULTFLAGRETRYNOWAIT logic, has no process memory left, causing ttmbovmdummypage() to return VMFAULTNOPAGE, since there was nothing left to populate, and then oopses in "memtypeisvram(tbo->resource->memtype)" because tbo->resource is NULL.
It's convoluted, but fits the data and explains the oops after the test exits.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40340.json"
}