Skip to contentSkip to conversation

New: iwl3945 regression - NULL deref in ieee80211_associate

Bugme-new Andrew Morton 2 participants 2 messages May 19, 2008 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw
Quoted 17 lines · On Mon, 19 May 2008 15:56:01 -0700 (PDT) [email protected] wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=10755

           Summary: iwl3945 regression - NULL deref in ieee80211_associate
           Product: Drivers
           Version: 2.5
     KernelVersion: 2.6.26-rc3
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: network-wireless
        AssignedTo: [email protected]
        ReportedBy: [email protected]
Quoted 9 lines

Latest working kernel version: 2.6.26-rc2
Earliest failing kernel version: 2.6.26-rc3
Distribution: Debian
Hardware Environment: Lenovo Thinkpad R61 (8943-DLG)
Software Environment:
Problem Description: iwl3945 trying to associate to an AP leads to a kernel oops. The current (2008/05/19) linuxwireless.org compat-wireless driver is affected, too.

A post-2.6.25 regression.

EIP is at ieee80211_associate+0x253/0x640 [mac80211]

and it might not be iwl3945-specific.

#2 lore raw
Quoted 30 lines · Andrew Morton
Quoted 17 lines · On Mon, 19 May 2008 15:56:01 -0700 (PDT) [email protected] wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=10755

           Summary: iwl3945 regression - NULL deref in ieee80211_associate
           Product: Drivers
           Version: 2.5
     KernelVersion: 2.6.26-rc3
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: network-wireless
        AssignedTo: [email protected]
        ReportedBy: [email protected]
Quoted 9 lines

Latest working kernel version: 2.6.26-rc2
Earliest failing kernel version: 2.6.26-rc3
Distribution: Debian
Hardware Environment: Lenovo Thinkpad R61 (8943-DLG)
Software Environment:
Problem Description: iwl3945 trying to associate to an AP leads to a kernel oops. The current (2008/05/19) linuxwireless.org compat-wireless driver is affected, too.

Quoted 5 lines

A post-2.6.25 regression.

EIP is at ieee80211_associate+0x253/0x640 [mac80211]

and it might not be iwl3945-specific.

This bug looks like the one I found and reported in http://marc.info/?l=linux-wireless&m=121097330013277&w=2. I found it for b43 - it is clearly not iwl3945 specific.

The patch is in version 4 and probably not the final one, but it fixes the oops. You will find the patch at http://marc.info/?l=linux-wireless&m=121120929012836&w=2.

We know that bss is NULL when mac80211 tries to associate; however, I had only one of these that happened after my interface had been connected to my AP for ~18 hours, then got disassociated, followed by the oops. It sounds as if [email protected] might be getting this systematically and there is hope to find the root cause so as to prevent the problem rather than covering over the symptoms as is done with the patch. In any case, there is a fix in the works.

I have added Johannes and Helmut to the CC list.

Larry