bkero / hdjmod

Hercules DJ Console kernel module forward porting
GNU General Public License v2.0
1 stars 0 forks source link

null pointer deference in kernel #1

Open bkero opened 12 years ago

bkero commented 12 years ago

[ 6160.411110] hdj_probe() unsupported device, idVendor147e, idProduct:2016 [ 6160.411124] hdj_probe() unsupported device, idVendora5c, idProduct:217f [ 6160.922542] BUG: unable to handle kernel NULL pointer dereference at (null) [ 6160.922658] IP: [] down_common+0x41/0xf5 [ 6160.922736] PGD 17a394067 PUD 17870c067 PMD 0 [ 6160.922804] Oops: 0002 [#1] SMP [ 6160.922853] CPU 0 [ 6160.922879] Modules linked in: hdj_mod(O+) usbhid hid snd_usb_audio snd_usbmidi_lib snd_seq_dummy btrfs zlib_deflate libcrc32c ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs reiserfs ext2 nls_iso8859_1 nls_cp437 vfat fat ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables x_tables bridge stp kvm_intel kvm parport_pc ppdev rfcomm bnep binfmt_misc snd_hda_codec_hdmi snd_hda_codec_conexant joydev btusb bluetooth uvcvideo videodev v4l2_compat_ioctl32 arc4 snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq tpm_tis dm_multipath psmouse serio_raw thinkpad_acpi nvram snd_timer snd_seq_device wmi mac_hid i915 snd iwlwifi mac80211 drm_kms_helper drm cfg80211 i2c_algo_bit video mei(C) soundcore snd_page_alloc lp parport mmc_block sdhci_pci sdhci e1000e [ 6160.924049] [ 6160.924073] Pid: 15447, comm: insmod Tainted: G C O 3.2.0-23-generic #36-Ubuntu LENOVO 4286CTO/4286CTO [ 6160.924193] RIP: 0010:[] [] down_common+0x41/0xf5 [ 6160.924288] RSP: 0018:ffff88018fac1888 EFLAGS: 00010046 [ 6160.924348] RAX: 0000000000000000 RBX: 7fffffffffffffff RCX: ffff88018fb07a10 [ 6160.924425] RDX: ffff88018fac1898 RSI: 0000000000000002 RDI: ffff88018fb07a08 [ 6160.924502] RBP: ffff88018fac18e8 R08: ffff88019e216660 R09: 0000000180200020 [ 6160.924579] R10: ffff88015fbf8600 R11: 00000000dbdbface R12: ffff88015fbf8600 [ 6160.924655] R13: ffff88018fb07a08 R14: 0000000000000002 R15: 0000000000000000 [ 6160.924733] FS: 00007fa565547700(0000) GS:ffff88019e200000(0000) knlGS:0000000000000000 [ 6160.924821] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 6160.924883] CR2: 0000000000000000 CR3: 00000001641af000 CR4: 00000000000406f0 [ 6160.924960] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 6160.925038] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 6160.925115] Process insmod (pid: 15447, threadinfo ffff88018fac0000, task ffff88018f5e44d0) [ 6160.925204] Stack: [ 6160.925230] ffff880197802a00 0000000000000000 ffff88018fb07a10 0000000000000000 [ 6160.925328] ffff88018fac1908 ffffffff81162d5d ffff88019e20e360 ffff88018fb07a08 [ 6160.925424] ffff88015fbf8600 ffff88018fb07800 ffff88018fb079f8 ffff88018fb07a08 [ 6160.925521] Call Trace: [ 6160.925560] [] ? kmalloc+0x13d/0x190 [ 6160.925623] [] down+0x1d/0x1f [ 6160.925683] [] down+0x41/0x50 [ 6160.925751] [] send_control_change_over_netlink+0x150/0x24c [hdj_mod] [ 6160.925844] [] ? add_wait_queue+0x60/0x60 [ 6160.925922] [] set_talkover_enable+0x15d/0x268 [hdj_mod] [ 6160.926009] [] hdjbulk_init_dj_rmx+0x12b/0x266 [hdj_mod] [ 6160.926094] [] hdj_create_bulk_interface+0x2ed/0x615 [hdj_mod] [ 6160.926185] [] hdj_probe+0x368/0x4c7 [hdj_mod] [ 6160.926259] [] usb_probe_interface+0xd3/0x1e0 [ 6160.926329] [] really_probe+0x68/0x190 [ 6160.926392] [] driver_probe_device+0x45/0x70 [ 6160.929465] [] __driver_attach+0xab/0xb0 [ 6160.932519] [] ? driver_probe_device+0x70/0x70 [ 6160.935562] [] ? driver_probe_device+0x70/0x70 [ 6160.938583] [] bus_for_each_dev+0x5c/0x90 [ 6160.941566] [] driver_attach+0x1e/0x20 [ 6160.944537] [] bus_add_driver+0x1a0/0x270 [ 6160.947531] [] driver_register+0x76/0x140 [ 6160.950453] [] usb_register_driver+0xa1/0x190 [ 6160.953378] [] ? 0xffffffffa0806fff [ 6160.956297] [] usb_hdj_init+0x25/0x1000 [hdj_mod] [ 6160.959241] [] do_one_initcall+0x40/0x180 [ 6160.962088] [] sys_init_module+0xbe/0x230 [ 6160.964825] [] system_call_fastpath+0x16/0x1b [ 6160.967459] Code: 48 8b 47 10 48 89 d3 48 8d 4f 08 48 8d 55 b0 49 89 f7 49 89 fd 49 89 f6 48 89 45 b8 48 89 57 10 41 81 e7 81 00 00 00 48 89 4d b0 <48> 89 10 89 f0 83 e0 01 c7 45 c8 00 00 00 00 65 4c 8b 24 25 00 [ 6160.973262] RIP [] __down_common+0x41/0xf5 [ 6160.975937] RSP [ 6160.978852] CR2: 0000000000000000 [ 6161.046245] ---[ end trace 02afd995ba87cc31 ]--- [ 6284.505601] usb 2-1.2: USB disconnect, device number 3

bkero commented 12 years ago

this doesn't happen on the suse branch, unsure why yet