In the Linux kernel, the following vulnerability has been resolved:
drm/xe: Fix potential integer overflow in page size calculation
Explicitly cast tbo->pagealignment to u64 before bit-shifting to prevent overflow when assigning to minpage_size.
[
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/xe/xe_ttm_vram_mgr.c",
"function": "xe_ttm_vram_mgr_new"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@79d54ddf0e292b810887994bb04709c5ac0e1531",
"digest": {
"length": 3276.0,
"function_hash": "108045502206039014874293875907973976024"
},
"id": "CVE-2024-42066-0b094e98"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/xe/xe_ttm_vram_mgr.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@79d54ddf0e292b810887994bb04709c5ac0e1531",
"digest": {
"line_hashes": [
"78258678871244564925275157461302268667",
"277633724301960851108095773069287768766",
"7742904369405931298972207360030647389",
"287480041246193709461904169532615778134"
],
"threshold": 0.9
},
"id": "CVE-2024-42066-79eff636"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/xe/xe_ttm_vram_mgr.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4f4fcafde343a54465f85a2909fc684918507a4b",
"digest": {
"line_hashes": [
"78258678871244564925275157461302268667",
"277633724301960851108095773069287768766",
"7742904369405931298972207360030647389",
"287480041246193709461904169532615778134"
],
"threshold": 0.9
},
"id": "CVE-2024-42066-958c7a42"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/xe/xe_ttm_vram_mgr.c",
"function": "xe_ttm_vram_mgr_new"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4f4fcafde343a54465f85a2909fc684918507a4b",
"digest": {
"length": 3276.0,
"function_hash": "108045502206039014874293875907973976024"
},
"id": "CVE-2024-42066-bb8bcd1e"
}
]