{"id":"CVE-2026-142821","summary":"drm/amdkfd: validate SRAT subtables before parsing","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: validate SRAT subtables before parsing\n\nThe KFD SRAT walker reads the first subtable length without checking\nthat a header is present and trusts subsequent lengths when accessing\nCPU and generic affinity records. Invalid firmware lengths can therefore\ncause out-of-bounds reads.\n\nValidate the table header, every generic subtable range, and each\nsupported typed record before reading its fields.\n\n(cherry picked from commit d76b655c98e8cc9e791b31502ad274f47dee2aae)","modified":"2026-12-03T05:00:39.393826747Z","published":"2026-12-03T03:20:40.001Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142821.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/218d17d8331036311ffca004933f0e0b023e0705"},{"type":"WEB","url":"https://git.kernel.org/stable/c/437fa225f646ee74eef462f592160e608b231d74"},{"type":"WEB","url":"https://git.kernel.org/stable/c/52c175823a937a4a7c1fd1ba45439d8bb1d5ebe3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7f1ed723c19846fd176243acb68ecdccb22bfa72"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7f51881b0bb6ae781071e11cf327d851c8f3cc8a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8f654fea546a16d794c46afd81cdca2ccb4e6cf9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9866cb13ba4d39aa8fed34b765d4aecabe04f02e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142821.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142821"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ddec8d3be0f8334bf44b0be86f354c835519e458"},{"fixed":"218d17d8331036311ffca004933f0e0b023e0705"},{"fixed":"52c175823a937a4a7c1fd1ba45439d8bb1d5ebe3"},{"fixed":"7f51881b0bb6ae781071e11cf327d851c8f3cc8a"},{"fixed":"8f654fea546a16d794c46afd81cdca2ccb4e6cf9"},{"fixed":"7f1ed723c19846fd176243acb68ecdccb22bfa72"},{"fixed":"437fa225f646ee74eef462f592160e608b231d74"},{"fixed":"9866cb13ba4d39aa8fed34b765d4aecabe04f02e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142821.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.14.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142821.json"}}],"schema_version":"1.9.2"}