Acknowledged
Created: Jun 18, 2025
Updated: Sep 4, 2026
Resolved Date: Jun 19, 2025
Found In Version: 10.25.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 25
Component/s: Kernel
In the Linux kernel, the following vulnerability has been resolved:EOL][EOL]drm/radeon: fix potential buffer overflow in ni_set_mc_special_registers()[EOL][EOL]The last case label can write two buffers 'mc_reg_address[j]' and[EOL]'mc_data[j]' with 'j' offset equal to SMC_NISLANDS_MC_REGISTER_ARRAY_SIZE[EOL]since there are no checks for this value in both case labels after the[EOL]last 'j++'.[EOL][EOL]Instead of changing '>' to '>=' there, add the bounds check at the start[EOL]of the second 'case' (the first one already has it).[EOL][EOL]Also, remove redundant last checks for 'j' index bigger than array size.[EOL]The expression is always false. Moreover, before or after the patch[EOL]'table->last' can be equal to SMC_NISLANDS_MC_REGISTER_ARRAY_SIZE and it[EOL]seems it can be a valid value.[EOL][EOL]Detected using the static analysis tool - Svace.
CREATE(Triage):(User=lchen-cn) [CVE-2022-50185 (https://nvd.nist.gov/vuln/detail/CVE-2022-50185)