drm/amdgpu/vcn4: avoid rereading IB param length
0Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Track
exploitation probability
—
observed exploitation
nono source reports it
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)
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/3b4082fabc67c9780b06eb959e59dd92fa79c0f0https://git.kernel.org/stable/c/bbbe6a2a8d8dc87243438d3ffea2083b52d882d9https://git.kernel.org/stable/c/bd868c077f67589ed2a714307ceaade5f246e302https://git.kernel.org/stable/c/c309626bf91fa0a0b583575654e6e14e81f818a3https://git.kernel.org/stable/c/ff6aa542d91d76a185f69bd1997b94a560ff5f6b