In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/vcn4: avoid rereading IB param length Reuse the parameter length returned by vcn_v4_0_enc_find_ib_param() instead of rereading it from the IB. This avoids a potential TOCTOU issue if the IB contents change between reads. (cherry picked from commit dbb02b4755f8c1f3773263f2d779872c1c0c073a)
https://git.kernel.org/stable/c/ff6aa542d91d76a185f69bd1997b94a560ff5f6b
https://git.kernel.org/stable/c/c309626bf91fa0a0b583575654e6e14e81f818a3
https://git.kernel.org/stable/c/bd868c077f67589ed2a714307ceaade5f246e302
https://git.kernel.org/stable/c/bbbe6a2a8d8dc87243438d3ffea2083b52d882d9
https://git.kernel.org/stable/c/3b4082fabc67c9780b06eb959e59dd92fa79c0f0