You are not logged in.

#1 2014-04-25 20:32:10

azzka
Member
Registered: 2012-09-17
Posts: 5

kernel NULL pointer dereference when plugging USB UMTS modem

Hello guys.
Sometimes, when I plug in my usb modem it isn't recognized.
The output of dmesg (only the relevant part) is:

[13622.718813] sr1: scsi-1 drive
[13622.719853] sr 10:0:0:0: Attached scsi CD-ROM sr1
[13622.728090] sd 11:0:0:0: [sdb] Attached SCSI removable disk
[13625.617815] BUG: unable to handle kernel NULL pointer dereference at 0000000000000068
[13625.618024] IP: [<ffffffffa0ace62f>] usb_wwan_write+0x12f/0x2e0 [usb_wwan]
[13625.618187] PGD 37f3e067 PUD d309c067 PMD 0 
[13625.618299] Oops: 0000 [#1] PREEMPT SMP 
[13625.618401] Modules linked in: fuse bnep bluetooth 6lowpan_iphc qmi_wwan cdc_wdm option usb_wwan usbnet usbserial mii mousedev radeon uvcvideo videobuf2_vmalloc videobuf2_memops arc4 ath9k videobuf2_core videodev ath9k_common ums_realtek ath9k_hw media ttm joydev drm_kms_helper ath mac80211 snd_hda_codec_conexant snd_hda_codec_generic snd_hda_intel kvm_amd acer_wmi kvm cfg80211 snd_hda_codec sparse_keymap snd_hwdep drm snd_pcm led_class rfkill snd_timer snd i2c_algo_bit atl1c microcode evdev psmouse mac_hid soundcore serio_raw shpchp k10temp hwmon wmi sp5100_tco battery i2c_piix4 video i2c_core ac button acpi_cpufreq processor ext4 crc16 mbcache jbd2 usb_storage sd_mod crc_t10dif crct10dif_common sr_mod cdrom atkbd libps2 ahci libahci libata ehci_pci ohci_pci ohci_hcd ehci_hcd scsi_mod usbcore usb_common
[13625.620391]  i8042 serio
[13625.620436] CPU: 0 PID: 269 Comm: ModemManager Not tainted 3.14.1-1-ARCH #1
[13625.620583] Hardware name: Acer Aspire 5250/HMA51-BZ, BIOS V1.03 06/10/2011
[13625.620728] task: ffff8800da2c75c0 ti: ffff8800d30b6000 task.ti: ffff8800d30b6000
[13625.620881] RIP: 0010:[<ffffffffa0ace62f>]  [<ffffffffa0ace62f>] usb_wwan_write+0x12f/0x2e0 [usb_wwan]
[13625.621083] RSP: 0018:ffff8800d30b7d58  EFLAGS: 00010283
[13625.621195] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000001
[13625.621341] RDX: 0000000000000000 RSI: 0000000000000202 RDI: 0000000000000202
[13625.621486] RBP: ffff8800d30b7dd0 R08: 0000000000000000 R09: 0000000000000000
[13625.626538] R10: ffffffff813336d1 R11: 0000000000000293 R12: 0000000000001000
[13625.631596] R13: 0000000000000000 R14: 0000000000000000 R15: ffff88008c33d200
[13625.636677] FS:  00007ff5dd594740(0000) GS:ffff88010ec00000(0000) knlGS:0000000000000000
[13625.641865] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[13625.647092] CR2: 0000000000000068 CR3: 00000000defff000 CR4: 00000000000007f0
[13625.652409] Stack:
[13625.657702]  ffff88009d7e2af0 ffff88008c33d200 00000001d30b7dd8 ffff88008c33d290
[13625.663180]  00007fff8ac7c040 ffff88009d7e2800 ffff8800c5804e28 ffff88009d596400
[13625.668684]  ffff88008c33d280 ffff880108a4d740 ffff8800c5806c00 ffff88009d7e2800
[13625.674218] Call Trace:
[13625.679647]  [<ffffffffa0aa296d>] serial_write+0x4d/0xb0 [usbserial]
[13625.685126]  [<ffffffff813369d6>] n_tty_write+0x166/0x4e0
[13625.690615]  [<ffffffff81097e40>] ? wake_up_process+0x40/0x40
[13625.696120]  [<ffffffff81333619>] tty_write+0x149/0x2a0
[13625.701622]  [<ffffffff81336870>] ? process_echoes+0x70/0x70
[13625.707137]  [<ffffffff811a461a>] vfs_write+0xba/0x1e0
[13625.712708]  [<ffffffff811a5026>] SyS_write+0x46/0xc0
[13625.718191]  [<ffffffff811b8515>] ? SyS_poll+0x65/0x100
[13625.723611]  [<ffffffff814e30a9>] system_call_fastpath+0x16/0x1b
[13625.729060] Code: 04 0f 85 28 01 00 00 48 8b 45 b0 48 8b 00 48 8b 78 10 e8 55 df 5a ff 85 c0 0f 88 bd 00 00 00 81 fb 00 10 00 00 41 bc 00 10 00 00 <49> 8b 7d 68 44 0f 4e e3 48 8b 75 c0 49 63 c4 48 89 c2 48 89 45 
[13625.741057] RIP  [<ffffffffa0ace62f>] usb_wwan_write+0x12f/0x2e0 [usb_wwan]
[13625.746986]  RSP <ffff8800d30b7d58>
[13625.752936] CR2: 0000000000000068
[13625.786119] ---[ end trace c82b56c3b666d075 ]---

I'm really unfamiliar with this very low level stuff, so I don't know what to do now.
This has been happening for months, but I just waited for it being fixed "by itself".

If you have any advice it would be very appreciated...
also, if I have to report this bug somewhere else (where?), I will do.

Offline

#2 2014-04-25 22:19:20

anatolik
Developer
Registered: 2012-09-27
Posts: 458

Re: kernel NULL pointer dereference when plugging USB UMTS modem

Sounds like a kernel bug. Contact kernel USB maillist  http://vger.kernel.org/vger-lists.html#linux-usb


Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster

Offline

Board footer

Powered by FluxBB