Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1554010 > unrolled thread

Re: BUG: 4.10 rtlwifi regression - NULL pointer dereference

Started byLarry Finger <Larry.Finger@lwfinger.net>
First post2017-01-09 03:10 +0100
Last post2017-01-09 03:30 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: BUG: 4.10 rtlwifi regression - NULL pointer dereference Larry Finger <Larry.Finger@lwfinger.net> - 2017-01-09 03:10 +0100
    Re: BUG: 4.10 rtlwifi regression - NULL pointer dereference lkml@pengaru.com - 2017-01-09 03:30 +0100

#1554010 — Re: BUG: 4.10 rtlwifi regression - NULL pointer dereference

FromLarry Finger <Larry.Finger@lwfinger.net>
Date2017-01-09 03:10 +0100
SubjectRe: BUG: 4.10 rtlwifi regression - NULL pointer dereference
Message-ID<sXxzj-6jh-3@gated-at.bofh.it>
On 01/08/2017 07:41 PM, lkml@pengaru.com wrote:
> Hello list,
>
> Gave 4.10-rc2 a shot today using the attached config.  The kernel panics
> with a NULL pointer dereference upon starting dhclient after
> wpa_supplicant.
>
> The network device is a USB dongle:
> Bus 002 Device 002: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
>
> Reverting 'ba9f93f rtlwifi: Fix enter/exit power_save' prevents the
> crash.
>
> Sorry I don't have a verbatim capture of the panic, but I was able to
> catch the relevant parts and rtl_lps_leave() is dereferencing a NULL hw,
> below setup_arp_tx() and rtl_is_special_data().  That's what led me to
> reverting ba9f93f since it clearly plays with that stuff.
>
> FWIW machine is a plain X61s thinkpad, 1.8Ghz.
>

You need the patch from 
http://marc.info/?l=linux-wireless&m=148234081512703&w=2. It was pushed with the 
notation that it needed to be included in 4.10; however, it has not yet 
percolated through the system.

Larry

[toc] | [next] | [standalone]


#1554016

Fromlkml@pengaru.com
Date2017-01-09 03:30 +0100
Message-ID<sXxSF-6pX-7@gated-at.bofh.it>
In reply to#1554010
On Sun, Jan 08, 2017 at 08:03:18PM -0600, Larry Finger wrote:
> On 01/08/2017 07:41 PM, lkml@pengaru.com wrote:
> > Hello list,
> > 
> > Gave 4.10-rc2 a shot today using the attached config.  The kernel panics
> > with a NULL pointer dereference upon starting dhclient after
> > wpa_supplicant.
> > 
> > The network device is a USB dongle:
> > Bus 002 Device 002: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
> > 
> > Reverting 'ba9f93f rtlwifi: Fix enter/exit power_save' prevents the
> > crash.
> > 
> > Sorry I don't have a verbatim capture of the panic, but I was able to
> > catch the relevant parts and rtl_lps_leave() is dereferencing a NULL hw,
> > below setup_arp_tx() and rtl_is_special_data().  That's what led me to
> > reverting ba9f93f since it clearly plays with that stuff.
> > 
> > FWIW machine is a plain X61s thinkpad, 1.8Ghz.
> > 
> 
> You need the patch from
> http://marc.info/?l=linux-wireless&m=148234081512703&w=2. It was pushed with
> the notation that it needed to be included in 4.10; however, it has not yet
> percolated through the system.
> 

Thanks for the quick response Larry, on a Sunday even!

Cheers,
Vito Caputo

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web