lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMVG2suiMXojoptfNNJEZWhiBfgVcU99BTvG6jqdKAFGBf65MA@mail.gmail.com>
Date:	Sun, 22 Jul 2012 18:10:21 +0800
From:	Daniel J Blueman <daniel@...ra.org>
To:	Intel Linux Wireless <ilw@...ux.intel.com>,
	Johannes Berg <johannes.berg@...el.com>
Cc:	Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: 3.5.0 iwlagn AP crash...

On 22 July 2012 17:15, Daniel J Blueman <daniel@...ra.org> wrote:
> Hi Johannes et al,
>
> When running my Centrino Wireless-N 130 BGN (rev 0xb0) card in nl80211
> AP mode with hostapd on linux 3.5.0, I immediately hit this fatal
> pagefault [1].
>
> I can cook a debug kernel, reproduce, disassemble the code and do some
> quick analysis, if that helps get the ball rolling?
>
> Thanks!
>   Daniel
>
> --- [1]
>
> BUG: unable to handle kernel NULL pointer dereference at      (null)
> IP: [<ffffffffa02e869d>] ieee80211_ave_rssi+0xd/0x50 [mac80211]

>From my debug kernel, sdata is clearly NULL:

(gdb) list *0xffffffff815b74f8
0xffffffff815b74f8 is in ieee80211_ave_rssi (net/mac80211/util.c:1801).
1796	int ieee80211_ave_rssi(struct ieee80211_vif *vif)
1797	{
1798		struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif);
1799		struct ieee80211_if_managed *ifmgd = &sdata->u.mgd;
1800	
1801		if (WARN_ON_ONCE(sdata->vif.type != NL80211_IFTYPE_STATION)) {
1802			/* non-managed type inferfaces */
1803			return 0;
1804		}
1805		return ifmgd->ave_beacon_signal;
-- 
Daniel J Blueman
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ