In the Linux kernel, the following vulnerability has been resolved:
drm/xe/tracing: Fix a potential TP_printk UAF
The commit afd2627f727b ("tracing: Check "%s" dereference via the field and not the TPprintk format") exposes potential UAFs in the xebo_move trace event.
Fix those by avoiding dereferencing the xememtypetoname[] array at TP_printk time.
Since some code refactoring has taken place, explicit backporting may be needed for kernels older than 6.10.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@62cd174616ae3bf8a6cf468718f1ae74e5a07727",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/xe/xe_trace_bo.h"
},
"id": "CVE-2024-49570-167d41e2",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"130079210264908414441082671455602501421",
"261541194959767162231995389294177579508",
"291816812092189726818456602118268810099",
"154296501891280894065129441769479820221",
"84477927612931136583824023368829140270",
"201565721787667855041727466480047596546",
"7147529502709356215685371876883195455",
"61924834433833848770072531342166002367",
"134344707110796994726307205252402937089",
"157295854679107519171145940626871355949",
"87563502222860120204089500778949069786",
"325976171973334877450236992068052680832",
"278671139856551034859383407391427735945",
"92129295567077444339465130588604577397",
"310204527879698199054008126019868889112",
"67121955069045119515225251282481166020",
"204123900226730443014646791252067451104"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@07089083a526ea19daa72a1edf9d6e209615b77c",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/xe/xe_trace_bo.h"
},
"id": "CVE-2024-49570-1c3245d4",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"130079210264908414441082671455602501421",
"261541194959767162231995389294177579508",
"291816812092189726818456602118268810099",
"154296501891280894065129441769479820221",
"84477927612931136583824023368829140270",
"201565721787667855041727466480047596546",
"7147529502709356215685371876883195455",
"61924834433833848770072531342166002367",
"134344707110796994726307205252402937089",
"157295854679107519171145940626871355949",
"87563502222860120204089500778949069786",
"325976171973334877450236992068052680832",
"278671139856551034859383407391427735945",
"92129295567077444339465130588604577397",
"310204527879698199054008126019868889112",
"67121955069045119515225251282481166020",
"204123900226730443014646791252067451104"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c9402da34611e1039ecccba3c1481c4866f7ca64",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/xe/xe_trace_bo.h"
},
"id": "CVE-2024-49570-7adf93f4",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"130079210264908414441082671455602501421",
"261541194959767162231995389294177579508",
"291816812092189726818456602118268810099",
"154296501891280894065129441769479820221",
"84477927612931136583824023368829140270",
"201565721787667855041727466480047596546",
"7147529502709356215685371876883195455",
"61924834433833848770072531342166002367",
"134344707110796994726307205252402937089",
"157295854679107519171145940626871355949",
"87563502222860120204089500778949069786",
"325976171973334877450236992068052680832",
"278671139856551034859383407391427735945",
"92129295567077444339465130588604577397",
"310204527879698199054008126019868889112",
"67121955069045119515225251282481166020",
"204123900226730443014646791252067451104"
]
}
}
]