On Wed, Apr 15, 2009 at 10:17 AM, Alan Jenkins
<[email protected]> wrote:
>>> Um, also the new "ath" module taints the kernel

Christian Lamparter posted a patch for that yesterday.

> [    4.176459] ath: Country alpha2 being used: 00
> [    4.176556] ath: Regpair detected: 0x60
> [    4.176679] BUG: unable to handle kernel NULL pointer dereference at
> 00000004
> [    4.176874] IP: [<dffede2e>] freq_reg_info_regd+0x2a/0xf2 [cfg80211]
> [    4.177053] *pdpt = 0000000017451001 *pde = 0000000000000000
> [    4.177245] Oops: 0000 [#2]
> [    4.177376] last sysfs file: /sys/class/input/input5/modalias
> [    4.177477] Modules linked in: ath5k(+) snd_hwdep snd_pcm_oss
> snd_mixer_oss uhci_hcd ehci_hcd mac80211 i2c_i801 led_class ath(P)
> psmouse serio_raw snd_pcm i2c_core pcspkr cfg80211 atl2 intel_agp
> snd_timer snd_page_alloc usbcore agpgart eeepc_laptop video backlight
> output battery rfkill ac processor button evdev thermal fan ata_generic
> [    4.179388]
> [    4.179475] Pid: 1641, comm: modprobe Tainted: P      D
> (2.6.30-rc1-wleeepc #11) 701
> [    4.179615] EIP: 0060:[<dffede2e>] EFLAGS: 00010286 CPU: 0
> [    4.179732] EIP is at freq_reg_info_regd+0x2a/0xf2 [cfg80211]
> [    4.179834] EAX: 00000000 EBX: df200060 ECX: 00004e20 EDX: e0099524
> [    4.179938] ESI: 00000060 EDI: 0024cde0 EBP: de551d70 ESP: de551d50
> [    4.180003]  DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
> [    4.180003] Process modprobe (pid: 1641, ti=de550000 task=de833000
> task.ti=de550000)

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 ?

-- 
Bob Copeland %% www.bobcopeland.com
_______________________________________________
ath5k-devel mailing list
[email protected]
https://lists.ath5k.org/mailman/listinfo/ath5k-devel

Reply via email to