In the Linux kernel, the following vulnerability has been resolved:
drm/xe: Don't overmap identity VRAM mapping
Overmapping the identity VRAM mapping is triggering hardware bugs on certain platforms. Use 2M pages for the last unaligned (to 1G) VRAM chunk.
v2: - Always use 2M pages for last chunk (Fei Yang) - break loop when 2M pages are used - Add assert for usable_size being 2M aligned v3: - Fix checkpatch
{ "vanir_signatures": [ { "id": "CVE-2024-46718-abb0e46c", "signature_type": "Line", "target": { "file": "drivers/gpu/drm/xe/xe_migrate.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "137225400861833209700456971436572749987", "216240910647479024406256706182116245760", "27893533911923378507654627327355683716", "50210344823447752132637410276879791177", "304550931458770405754289557088275657855", "12763110767815535542978719317164249471", "130425452770651439544247814510434051594", "111010265742761188616761400879576708745", "128439811432421068194120911793353930195", "242617314919001302906758652851473153300", "260212350641326816221601669375743766867", "19738306658194469778393211332091563801", "171866892862101027016838492382564717589", "293488823771371511130717406384871731815", "304903721751483471770769250039892290062", "17497747884958761524155122707183196719", "184932790765863840561994017573714196098", "1420753691694819674430579131631659200", "303722914807457119422012241338111894677", "301070689596202804665893598876122889142", "88093951333494149105698609699948114153", "332271944111433646813571519145049222168", "83491245798222870637333536040028136633", "196335146380779169179813422278092044877", "230968169893323126892904069058527620620", "298784727315008451019061921369466524917", "128215233302646697047261639732893503281", "261355074507848958852095645735922261995", "192448995634296242575561423971317431389", "261628025580792751666222580827920338130", "9692214514288085065531202683941265052", "318594996668782917494375673571974983348", "66744682653923941310332308606917110293" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6d3581edffea0b3a64b0d3094d3f09222e0024f7" }, { "id": "CVE-2024-46718-d9e2eb27", "signature_type": "Function", "target": { "file": "drivers/gpu/drm/xe/xe_migrate.c", "function": "xe_migrate_prepare_vm" }, "signature_version": "v1", "digest": { "length": 3649.0, "function_hash": "47893751672486253141083085551699977584" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6d3581edffea0b3a64b0d3094d3f09222e0024f7" } ] }