Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 2485c12c980a36bb9e23ababb07d73c4ac6a45af before 41460d2dd0246f0ab7e80b103d34c8649e022999; affected 2485c12c980a36bb9e23ababb07d73c4ac6a45af before 25e1b29ecc8da3609ba0072ca54a3b1fdd1578f3; affected 2485c12c980a36bb9e23ababb07d73c4ac6a45af before 42f2bd50236b61ad0aeb2c233c990ee0d615fdad; affected 2485c12c980a36bb9e23ababb07d73c4ac6a45af before dd2870ca036e1d51baa59f942007b36a595b5890; affected 2485c12c980a36bb9e23ababb07d73c4ac6a45af before bfe9a7545b2a7be1c543f1741e16f2d5ec4116ae |
| Linux / Linux | affected 5.18; unaffected 0 before 5.18; unaffected 6.1.189 through 6.1.*; unaffected 6.6.158 through 6.6.*; unaffected 6.12.111 through 6.12.*; unaffected 6.18.53 through 6.18.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
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