{"id":"CVE-2026-43398","state":"PUBLISHED","title":"drm/amdgpu: add upper bound check on user inputs in wait ioctl","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: add upper bound check on user inputs in wait ioctl\n\nHuge input values in amdgpu_userq_wait_ioctl can lead to a OOM and\ncould be exploited.\n\nSo check these input value against AMDGPU_USERQ_MAX_HANDLES\nwhich is big enough value for genuine use cases and could\npotentially avoid OOM.\n\nv2: squash in Srini's fix\n\n(cherry picked from commit fcec012c664247531aed3e662f4280ff804d1476)","publishedAt":"2026-05-08T14:21:40.895Z","updatedAt":"2026-05-11T22:23:48.775Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a292fdecd72834b3bec380baa5db1e69e7f70679","status":"affected","lessThan":"b1d10508da559da2e0ca9cca6505094a7df948e1","versionType":"git"},{"version":"a292fdecd72834b3bec380baa5db1e69e7f70679","status":"affected","lessThan":"3cd93bc695b3456f26f5ed52753d9071da26202a","versionType":"git"},{"version":"a292fdecd72834b3bec380baa5db1e69e7f70679","status":"affected","lessThan":"64ac7c09fc44985ec9bb6a9db740899fa40ca613","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"6.18.19","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.9","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c"]}],"references":["https://git.kernel.org/stable/c/b1d10508da559da2e0ca9cca6505094a7df948e1","https://git.kernel.org/stable/c/3cd93bc695b3456f26f5ed52753d9071da26202a","https://git.kernel.org/stable/c/64ac7c09fc44985ec9bb6a9db740899fa40ca613"],"weaknesses":[],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/43xxx/CVE-2026-43398.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-43398","state":"PUBLISHED","datePublished":"2026-05-08T14:21:40.895Z","dateUpdated":"2026-05-11T22:23:48.775Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-05-01T14:12:56.007Z"},"containers":{"cna":{"title":"drm/amdgpu: add upper bound check on user inputs in wait ioctl","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: add upper bound check on user inputs in wait ioctl\n\nHuge input values in amdgpu_userq_wait_ioctl can lead to a OOM and\ncould be exploited.\n\nSo check these input value against AMDGPU_USERQ_MAX_HANDLES\nwhich is big enough value for genuine use cases and could\npotentially avoid OOM.\n\nv2: squash in Srini's fix\n\n(cherry picked from commit fcec012c664247531aed3e662f4280ff804d1476)"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a292fdecd72834b3bec380baa5db1e69e7f70679","status":"affected","lessThan":"b1d10508da559da2e0ca9cca6505094a7df948e1","versionType":"git"},{"version":"a292fdecd72834b3bec380baa5db1e69e7f70679","status":"affected","lessThan":"3cd93bc695b3456f26f5ed52753d9071da26202a","versionType":"git"},{"version":"a292fdecd72834b3bec380baa5db1e69e7f70679","status":"affected","lessThan":"64ac7c09fc44985ec9bb6a9db740899fa40ca613","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"6.18.19","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.9","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/b1d10508da559da2e0ca9cca6505094a7df948e1"},{"url":"https://git.kernel.org/stable/c/3cd93bc695b3456f26f5ed52753d9071da26202a"},{"url":"https://git.kernel.org/stable/c/64ac7c09fc44985ec9bb6a9db740899fa40ca613"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T22:23:48.775Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.18.19"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.19.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}