kernel 4.2.3
grsecurity-3.1-4.2.3-201510202025
[ 356.184628] iwlwifi 0000:04:00.0: Invalid HT rate index 2825
[ 356.184630] PAX: size overflow detected in function rs_get_adjacent_rate drivers/net/wireless/iwlwifi/mvm/rs.c:904 cicus.271_125 min, count: 16, decl: rs_get_adjacent_rate; num: 0; context: fndecl;
[ 356.184633] CPU: 1 PID: 225 Comm: irq/32-iwlwifi Tainted: G W 4.2.3-grsec #2
[ 356.184634] Hardware name: ASUSTeK COMPUTER INC. G551JM/G551JM, BIOS G551JM.204 10/13/2014
[ 356.184635] 0000000000000001 868bedae7786324f 0000000000000000 ffffffff94c3c22a
[ 356.184638] 00000000ffff8700 ffffffff9487a5e9 ffff88041b89f308 ffffc90000abbba8
[ 356.184640] ffff88041b89f308 ffff88041b89f308 0000000000000003 ffffffff9487a913
[ 356.184642] Call Trace:
[ 356.184649] [<ffffffff94c3c22a>] ? dump_stack+0x40/0x56
[ 356.184653] [<ffffffff9487a5e9>] ? rs_get_adjacent_rate+0xe0/0xf0
[ 356.184656] [<ffffffff9487a913>] ? rs_get_lower_rate_in_column+0x34/0x50
[ 356.184658] [<ffffffff9487af0e>] ? rs_fill_lq_cmd+0x130/0x35d
[ 356.184660] [<ffffffff9487c324>] ? iwl_mvm_rs_tx_status+0x9a7/0x1360
[ 356.184663] [<ffffffff94beae84>] ? ieee80211_tx_status+0x8de/0xa7a
[ 356.184665] [<ffffffff94873f58>] ? iwl_mvm_rx_ba_notif+0x3ba/0x422
[ 356.184667] [<ffffffff948739ba>] ? iwl_mvm_rx_tx_cmd+0x303/0x4e7
[ 356.184670] [<ffffffff9484d8b1>] ? iwl_pcie_irq_handler+0x93c/0xae7
[ 356.184673] [<ffffffff9413c221>] ? irq_finalize_oneshot+0xe1/0xe1
[ 356.184675] [<ffffffff9413c244>] ? irq_thread_fn+0x23/0x43
[ 356.184676] [<ffffffff9413c221>] ? irq_finalize_oneshot+0xe1/0xe1
[ 356.184677] [<ffffffff9413c551>] ? irq_thread+0x13c/0x169
[ 356.184679] [<ffffffff9413c37f>] ? wake_threads_waitq+0x39/0x39
[ 356.184680] [<ffffffff9413c415>] ? irq_thread_dtor+0x96/0x96
[ 356.184682] [<ffffffff9411c5e6>] ? kthread+0xe1/0xe9
[ 356.184684] [<ffffffff9411c505>] ? __kthread_parkme+0x68/0x68
[ 356.184686] [<ffffffff94c4707e>] ? ret_from_fork+0x3e/0x70
[ 356.184687] [<ffffffff9411c505>] ? __kthread_parkme+0x68/0x68
[ 356.287895] iwlwifi 0000:04:00.0: Invalid HT rate index 2825
[ 356.287898] iwlwifi 0000:04:00.0: Invalid HT rate index 2825
[ 356.287899] iwlwifi 0000:04:00.0: Invalid HT rate index 2568
[ 356.287900] iwlwifi 0000:04:00.0: Invalid HT rate index 2568
[ 356.307100] iwlwifi 0000:04:00.0: Invalid HT rate index 2568
Is this something I should report upstream to kernel developers?
This popped up when I moved from 4.1.7 to 4.2.3, everything still seems to be working correctly just the extra messages in dmesg on my laptop.
Thanks for all the awesome work on grsecurity/PAX.
More than happy to debug however I can be helpful. I took a look at the code pointed to in the message but I am unable to identify the overflow myself. I suspect the 2 for loops with bitwise shifts in that function but don't feel brave enough to tinker with it atm.