mbox series

[5.10,0/1] rtlwifi: rtl8192de: fix ofdm power compensation

Message ID 20240920161618.21780-1-n.zhandarovich@fintech.ru (mailing list archive)
Headers show
Series rtlwifi: rtl8192de: fix ofdm power compensation | expand

Message

Nikita Zhandarovich Sept. 20, 2024, 4:16 p.m. UTC
This patch aims to prevent reliably encountered buffer overflow in
rtl92d_dm_txpower_tracking_callback_thermalmeter() caused by
accessing 'ofdm_index[]' array of size 2 with index 'i' equal to 2,
which in turn is possible if value of 'is2t' is 'true'.

The issue in question has been fixed by the following upstream
patch that can be cleanly applied to 5.10 stable branch.