Page 1 of 1

PAX: size overflow detected in function cfg80211_wext_giwrts

PostPosted: Sat Oct 17, 2015 11:40 am
by gus
hi, after applying yesterday Grsecurity test patch[1], I cannot use/access my wifi board:

Code: Select all
 
[   26.029334] PAX: size overflow detected in function cfg80211_wext_giwrts /home/user/linux-stable/net/wireless/wext-compat.c:314 cicus.185_14 max, count: 1, decl: value; num: 0; context: iw_param;
[   26.029339] CPU: 0 PID: 3029 Comm: iwconfig Not tainted 4.2.3-grsec+ #1


Code: Select all
[  240.276669] INFO: task ifconfig:3030 blocked for more than 120 seconds.
[  240.276671]       Not tainted 4.2.3-grsec+ #1
[  240.276673] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  240.276675] ifconfig        D ffff88031e251480     0  3030   2007 0x00000000
[  240.276679]  ffff88030df31440 0000000000000086 ffffffffffff4111 ffff88030df316a0
[  240.276683]  ffffffff898d9244 ffff88030df31440 00000000ffffffff ffffffff898d9248
[  240.276686]  ffff88030f44d540 ffffffff88f92acb ffffffff898d9240 ffffffff88f92d69
[  240.276690] Call Trace:
[  240.276695]  [<ffffffff88f92acb>] ? schedule+0x2b/0x70
[  240.276699]  [<ffffffff88f92d69>] ? schedule_preempt_disabled+0x9/0x10
[  240.276703]  [<ffffffff88f94868>] ? __mutex_lock_slowpath+0xa8/0x120
[  240.276708]  [<ffffffff88f948f6>] ? mutex_lock+0x16/0x30
[  240.276713]  [<ffffffff88efc591>] ? devinet_ioctl+0x1a1/0x810
[  240.276719]  [<ffffffff88e58304>] ? sock_do_ioctl+0x24/0x60
[  240.276724]  [<ffffffff88e58500>] ? sock_ioctl+0x1c0/0x270
[  240.276728]  [<ffffffff88ba2169>] ? do_vfs_ioctl+0x469/0x770
[  240.276733]  [<ffffffff88ba24e4>] ? SyS_ioctl+0x74/0x80
[  240.276739]  [<ffffffff88f9696f>] ? entry_SYSCALL_64_fastpath+0x16/0x89
[  240.276744]  [<ffffffff88f969a1>] ? entry_SYSCALL_64_fastpath+0x48/0x89



[1] grsecurity-3.1-4.2.3-201510171105.patch 10/17/15 11:06

Re: PAX: size overflow detected in function cfg80211_wext_gi

PostPosted: Sat Oct 17, 2015 2:09 pm
by ephox
Thanks for the report, it will be fixed in the next grsec patch.

Re: PAX: size overflow detected in function cfg80211_wext_gi

PostPosted: Sun Oct 18, 2015 7:10 pm
by gus
Solved in grsecurity-3.1-4.2.3-201510171833.patch! :D