{"id":"AZL-117370","summary":"CVE-2026-99874 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: Validate the control stack of a restored queue\n\nkfd_criu_restore_queue() takes the control stack size from the\ncheckpoint image without the topology check create-queue does in\nkfd_queue_acquire_buffers(), which restore stopped calling in\ncommit 1cafa8b29e02 (\"drm/amdkfd: Don't acquire buffers\nduring CRIU queue restore.\"). An image size of 0x300000 is accepted and\nsizes the MQD allocation, and 0xFFFFFFFF trips a page allocator warning\nin kmalloc().\n\nrestore_mqd() also keeps the image's cp_hqd_cntl_stack_size,\ncp_hqd_cntl_stack_offset and cp_hqd_wg_state_offset. With offset \u003e size\nor wave state offset \u003c size, get_wave_state() returns wrapped sizes.\n\nTake the per-XCC size from topology, 0 for queues without a control\nstack, and reject larger images. In restore_mqd(), set the size to it\nand bound both offsets as init_mqd() does.\n\n(cherry picked from commit 92249023caee17bfc6f29c71d6aaa5f2298cf507)","modified":"2026-12-01T14:17:41.840950601Z","published":"2026-11-30T14:20:21Z","upstream":["CVE-2026-99874"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99874"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-117370.json"}}],"schema_version":"1.9.2"}