Search Linux Wireless

Re: [ath5k-devel] BUG in freq_reg_info_regd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> Hmm, null pointer is probably custom_regd since reg_rule comes from
>> the stack and wiphy should've been validated a lot earlier.
>>
>> Mind posting the objdump -S net/wireless/reg.o ?
>>
>
> Sure.  It's 120k so I trimmed the CC list.

Darn, no debug info..  In hindsight I should've just asked for
the scripts/markup_oops.pl treatment :)

Ok, I was wrong: it's last_request.  This looks very similar to the bug you
had a few days ago to which Pavel Roskin responded.  I don't think anything
changed wrt last_request initialization, so maybe some kind of module
loading race again?

> 00000184 <freq_reg_info_regd>:
[...]
>     1a6:       0f 45 d0                cmovne %eax,%edx
>     1a9:       a1 04 00 00 00          mov    0x4,%eax
>     1ae:       8b 40 04                mov    0x4(%eax),%eax

here's where it crashes, loading last_request->initiator into eax

>     1b1:       83 f8 03                cmp    $0x3,%eax

== NL80211_REGDOM_SET_BY_COUNTRY_IE

>     1b4:       74 26                   je     1dc <freq_reg_info_regd+0x58>
>     1b6:       48                      dec    %eax
>     1b7:       74 23                   je     1dc <freq_reg_info_regd+0x58>
>     1b9:       8b 73 30                mov    0x30(%ebx),%esi

-- 
Bob Copeland %% www.bobcopeland.com
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux