# CVE-2026-97497: drm/amdkfd: Check bounds for allocate_sdma_queue restore_sdma_id

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-09-24T16:04:44.515Z
- Modified: 2026-10-03T11:17:59.613Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/amdkfd: Check bounds for allocate_sdma_queue restore_sdma_id

allocate_sdma_queue has an option where the sdma queue id can be
specified (used by CRIU). We weren't bounds-checking that
value.

Confirm it's less than the maximum number of queues.

(As written by CVE List.)

## Affected

- Linux Linux: from 2485c12c980a36bb9e23ababb07d73c4ac6a45af before 41460d2dd0246f0ab7e80b103d34c8649e022999; from 2485c12c980a36bb9e23ababb07d73c4ac6a45af before 25e1b29ecc8da3609ba0072ca54a3b1fdd1578f3; from 2485c12c980a36bb9e23ababb07d73c4ac6a45af before 42f2bd50236b61ad0aeb2c233c990ee0d615fdad; from 2485c12c980a36bb9e23ababb07d73c4ac6a45af before dd2870ca036e1d51baa59f942007b36a595b5890; from 2485c12c980a36bb9e23ababb07d73c4ac6a45af before bfe9a7545b2a7be1c543f1741e16f2d5ec4116ae; 5.18 (not affected: before 5.18; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/41460d2dd0246f0ab7e80b103d34c8649e022999>
- <https://git.kernel.org/stable/c/25e1b29ecc8da3609ba0072ca54a3b1fdd1578f3>
- <https://git.kernel.org/stable/c/42f2bd50236b61ad0aeb2c233c990ee0d615fdad>
- <https://git.kernel.org/stable/c/dd2870ca036e1d51baa59f942007b36a595b5890>
- <https://git.kernel.org/stable/c/bfe9a7545b2a7be1c543f1741e16f2d5ec4116ae>

## Sources

- CVE List: [CVE-2026-97497](https://www.cve.org/CVERecord?id=CVE-2026-97497), CVE Terms of Use, modified 2026-10-03
- NVD: [CVE-2026-97497](https://nvd.nist.gov/vuln/detail/CVE-2026-97497), Public domain, modified 2026-10-03

---

Page: https://cve.day/CVE-2026-97497 · Whole record: https://cve.day/CVE-2026-97497.json · Rebuilt by cve.day 2026-11-25T22:59:40.869Z
