HomeDefectsLIN1021-16313
Fixed

LIN1021-16313 : Security Advisory - linux - CVE-2022-50185

Created: Jun 18, 2025    Updated: Oct 14, 2025
Resolved Date: Oct 13, 2025
Found In Version: 10.21.20.1
Fix Version: 10.21.20.14
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: Kernel

Description

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.

CVEs