{"id":"CVE-2026-99874","aliases":[],"cve":{"records":[{"id":"CVE-2026-99874","source":"Linux","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-09-25T10:25:14.440Z","published":"2026-11-30T13:17:51.900Z","modified":"2026-11-30T13:17:51.900Z"}],"publishers":[{"name":"Linux","role":"CNA","organizationId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","modified":"2026-11-30T13:17:51.900Z"}],"references":[{"url":"https://git.kernel.org/stable/c/a3e9af053b5e881025eb9358946a51ab4c61d22a","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/250e92ce55aa3c37ab0a7a6b8aad688e7bb8b25e","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/9cfce679d88f6f83d15e99fdba0d5769120f0faf","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/90d91a192751cd9a7d9d2286299bc72ec1c28179","tags":[],"source":"Linux"}],"weaknesses":[],"applicability":[{"source":"Linux","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"7.4-rc1"}]}]}]}],"prioritization":[]},"title":"drm/amdkfd: Validate the control stack of a restored queue","titleSource":"Linux","descriptionSource":"Linux","description":"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 > size\nor wave state offset < 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)","score":null,"severity":"unknown","published":"2026-11-30T13:17:51.900Z","modified":"2026-11-30T13:17:51.900Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"626f7b3190b4c07917f0262162cb7fef7272c34d","status":"affected","lessThan":"a3e9af053b5e881025eb9358946a51ab4c61d22a","versionType":"git"},{"version":"626f7b3190b4c07917f0262162cb7fef7272c34d","status":"affected","lessThan":"250e92ce55aa3c37ab0a7a6b8aad688e7bb8b25e","versionType":"git"},{"version":"626f7b3190b4c07917f0262162cb7fef7272c34d","status":"affected","lessThan":"9cfce679d88f6f83d15e99fdba0d5769120f0faf","versionType":"git"},{"version":"626f7b3190b4c07917f0262162cb7fef7272c34d","status":"affected","lessThan":"90d91a192751cd9a7d9d2286299bc72ec1c28179","versionType":"git"}],"defaultStatus":"unaffected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99874"},{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"5.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.18","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.4","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"defaultStatus":"affected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99874"}],"remediation":[],"references":["https://git.kernel.org/stable/c/a3e9af053b5e881025eb9358946a51ab4c61d22a","https://git.kernel.org/stable/c/250e92ce55aa3c37ab0a7a6b8aad688e7bb8b25e","https://git.kernel.org/stable/c/9cfce679d88f6f83d15e99fdba0d5769120f0faf","https://git.kernel.org/stable/c/90d91a192751cd9a7d9d2286299bc72ec1c28179"],"sources":[{"name":"CVE","id":"CVE-2026-99874","modified":"2026-11-30T13:17:51.900Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99874"}],"assessments":[],"sourceAffected":[],"observedAt":"2026-11-30T13:47:33.108Z","kev":{"status":"not-listed","checkedAt":"2026-11-30T22:55:31.926Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":null}