Bug 870562 - [abrt]: BUG: unable to handle kernel NULL pointer dereference at 0000000000000130: TAINTED G C
Summary: [abrt]: BUG: unable to handle kernel NULL pointer dereference at 000000000000...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:08c9c971ac54bc70d9c76edb7ea...
: 870474 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-26 20:57 UTC by Levi M. Anderson
Modified: 2012-12-01 08:27 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-22 03:51:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Levi M. Anderson 2012-10-26 20:57:59 UTC
Additional info:
libreport version: 2.0.14
abrt_version:   2.0.13
cmdline:        BOOT_IMAGE=/vmlinuz-3.6.2-4.fc17.x86_64 root=/dev/mapper/vg-lv_root ro rd.md=0 rd.dm=0 KEYTABLE=us SYSFONT=True rd.lvm.lv=vg/lv_root rd.luks=0 rd.lvm.lv=vg/lv_swap LANG=en_US.UTF-8 rhgb quiet
kernel:         3.6.2-4.fc17.x86_64 #1 Hewlett-Packard Pavilion ZV6100 (PN494AV

kernel_tainted_long:
:Proprietary module has not been loaded.
:Modules from drivers/staging are loaded.

backtrace:
:BUG: unable to handle kernel NULL pointer dereference at 0000000000000130
:IP: [<ffffffffa0581e90>] keyspan_disconnect+0x90/0x230 [keyspan]
:PGD 0 
:Oops: 0000 [#1] SMP 
:Modules linked in: keyspan lockd sunrpc rfcomm bnep ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack snd_atiixp_modem snd_atiixp arc4 snd_ac97_codec b43 btusb ac97_bus bluetooth snd_seq snd_seq_device bcma mac80211 cfg80211 hp_wmi sparse_keymap rfkill snd_pcm snd_page_alloc snd_timer snd ssb soundcore 8139too 8139cp i2c_piix4 tifm_7xx1 shpchp tifm_core mii k8temp edac_core edac_mce_amd vboxnetadp(O) vboxnetflt(O) vboxdrv(O) binfmt_misc uinput sdhci_pci sdhci firewire_ohci ata_generic pata_acpi mmc_core yenta_socket firewire_core crc_itu_t pata_atiixp wmi video radeon i2c_algo_bit drm_kms_helper ttm drm i2c_core
:CPU 0 
:Pid: 18, comm: khubd Tainted: G         C O 3.6.2-4.fc17.x86_64 #1 Hewlett-Packard Pavilion ZV6100 (PN494AV)         /3085
:RIP: 0010:[<ffffffffa0581e90>]  [<ffffffffa0581e90>] keyspan_disconnect+0x90/0x230 [keyspan]
:RSP: 0018:ffff88007c179b90  EFLAGS: 00010286
:RAX: 0000000000000000 RBX: ffff880079f79800 RCX: dead000000200200
:RDX: ffff8800361d2418 RSI: ffff88005c856b48 RDI: ffff880079f79a10
:RBP: ffff88007c179bd0 R08: ffff880079f79a28 R09: 0000000000000001
:R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
:R13: ffff88007b213d80 R14: ffff88007b213d80 R15: ffff88006c3ed800
:FS:  00007f66174b2840(0000) GS:ffff88007fc00000(0000) knlGS:0000000000000000
:CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
:CR2: 0000000000000130 CR3: 0000000064a55000 CR4: 00000000000007f0
:DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
:DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
:Process khubd (pid: 18, threadinfo ffff88007c178000, task ffff88007c0cae20)
:Stack:
: ffff88007c179ba0 ffff88004f069000 ffff88007c179bd0 ffff880079f79800
: 0000000000000001 ffff88007b213d88 ffff88007b213d80 ffff88006c3ed800
: ffff88007c179c20 ffffffff8146f2ad ffff88004adc1ec8 ffff88005c810030
:Call Trace:
: [<ffffffff8146f2ad>] usb_serial_disconnect+0xdd/0x130
: [<ffffffff8143befd>] usb_unbind_interface+0x5d/0x1a0
: [<ffffffff813be87c>] __device_release_driver+0x7c/0xe0
: [<ffffffff813bebbc>] device_release_driver+0x2c/0x40
: [<ffffffff813be31e>] bus_remove_device+0xee/0x160
: [<ffffffff813bb73a>] device_del+0x12a/0x1c0
: [<ffffffff81439940>] usb_disable_device+0xb0/0x270
: [<ffffffff814305e6>] usb_disconnect+0xa6/0x150
: [<ffffffff81432d24>] hub_thread+0x744/0x1740
: [<ffffffff8109614e>] ? dequeue_entity+0xae/0x200
: [<ffffffff8107f620>] ? wake_up_bit+0x40/0x40
: [<ffffffff814325e0>] ? usb_remote_wakeup+0x70/0x70
: [<ffffffff8107ec13>] kthread+0x93/0xa0
: [<ffffffff81623884>] kernel_thread_helper+0x4/0x10
: [<ffffffff8107eb80>] ? kthread_freezable_should_stop+0x70/0x70
: [<ffffffff81623880>] ? gs_change+0x13/0x13
:Code: 01 00 00 45 31 e4 41 80 7e 1a 00 4d 89 f5 0f 84 93 00 00 00 0f 1f 80 00 00 00 00 49 8b 7d 20 48 81 c7 10 02 00 00 e8 a0 c8 e3 e0 <48> 8b b8 30 01 00 00 49 89 c7 48 85 ff 74 0a 83 7f 60 8d 0f 84 
:RIP  [<ffffffffa0581e90>] keyspan_disconnect+0x90/0x230 [keyspan]
: RSP <ffff88007c179b90>
:CR2: 0000000000000130

Comment 1 Levi M. Anderson 2012-10-26 21:05:17 UTC
when unplugging a Tripp-lite keyspan usa-19hs usb to serial port adapter.  

Package: kernel
OS Release: Fedora release 17 (Beefy Miracle)

Comment 2 Michael L 2012-11-05 21:27:13 UTC
Removed Keyspan USB to Serial adapter.

Package: kernel
OS Release: Fedora release 17 (Beefy Miracle)

Comment 3 gene smith 2012-11-10 06:55:17 UTC
See very similar with F16 kernels:

3.6.5-2.fc16.x86_64: Currently newest kernel on my system. It fails to boot with the keyspan device plugged. Total lockup with this kernel. If plugged after boot also crashes with total lockup with General Protection Fault.

3.6.2-1.fc16.x86_64: Boots OK when plugged with this one. However on pull, X switches to console and see oops. Can switch back to KDE and keep going. Didn't try another keyspan plug.

3.4.11-1-fc16_x86_64: Oldest kernal. Don't see a problem with this kernal on keyspan pull or plug or booting with it plugged.

There is a newer kernal in yum that I haven't updated to so don't know how it might affect this. However, release notes don't mention this problem as being fixed.

Note: This is the same as bug 870474

Comment 4 Michael L 2012-11-10 13:26:40 UTC
*** Bug 870474 has been marked as a duplicate of this bug. ***

Comment 5 Michael L 2012-11-10 14:06:49 UTC
Last kernel version that worked for me was 3.5.6-1.fc17.x86_64.  I have 3.62-4 and 3.6.3-1 installed and neither will work when unplugging the keyspan adapter.

Comment 6 gene smith 2012-11-14 05:25:41 UTC
https://lkml.org/lkml/2012/11/9/359

This thread reports the same problem and a simple and tested patch is provided. Problem apparently caused by a typo in a recent commit.

Comment 7 Josh Boyer 2012-11-14 16:42:53 UTC
(In reply to comment #6)
> https://lkml.org/lkml/2012/11/9/359
> 
> This thread reports the same problem and a simple and tested patch is
> provided. Problem apparently caused by a typo in a recent commit.

That's a patch fixing an oops when the device is opened.  It could, in theory, fix this too, but the oops we have is from a disconnect event, not an open.

Comment 8 Josh Boyer 2012-11-14 16:55:19 UTC
Here's a test kernel build with that patch applied.  When it completes, please test and let us know how it works:

http://koji.fedoraproject.org/koji/taskinfo?taskID=4688288

Comment 9 gene smith 2012-11-15 03:33:54 UTC
This rc kernel fixes the problem. With the last few released f16 kernels I was unable to boot with the keyspan usb device plugged in. With the test kernel above, I can now boot with the keyspan plugged in and also pull and plug the keyspan while running with no crashes or lockups. ooks good to me. No problems logged in messages file either.

The f17 test kernel fixed the problem on two systems running f16. (I am not running so have not tested this on f17.)

Comment 10 Michael L 2012-11-15 13:19:58 UTC
I have tested the 3.6.6-2.3 x86_64 kernel on FC17.  This does solve my problem when pulling the keyspan device.  I had not tried booting with the Keyspan device connected under previous kernels, so did not notice that problem.

Comment 11 Josh Boyer 2012-11-16 13:45:40 UTC
Thank you for testing.  The patch has been added to the Fedora kernel and will be included in the next build/update.

Comment 12 Fedora Update System 2012-11-16 18:17:14 UTC
kernel-3.6.6-9.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/kernel-3.6.6-9.fc18

Comment 13 Fedora Update System 2012-11-17 02:27:47 UTC
Package kernel-3.6.6-9.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kernel-3.6.6-9.fc18'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-18361/kernel-3.6.6-9.fc18
then log in and leave karma (feedback).

Comment 14 Fedora Update System 2012-11-19 12:56:28 UTC
kernel-3.6.7-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/kernel-3.6.7-1.fc18

Comment 15 Fedora Update System 2012-11-19 22:17:54 UTC
kernel-3.6.7-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/kernel-3.6.7-2.fc16

Comment 16 Fedora Update System 2012-11-19 22:19:09 UTC
kernel-3.6.7-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/kernel-3.6.7-2.fc17

Comment 17 Fedora Update System 2012-11-20 21:31:41 UTC
kernel-3.6.7-5.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/kernel-3.6.7-5.fc18

Comment 18 Fedora Update System 2012-11-20 21:38:02 UTC
kernel-3.6.7-4.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/kernel-3.6.7-4.fc17

Comment 19 Fedora Update System 2012-11-22 03:51:29 UTC
kernel-3.6.7-4.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 20 Fedora Update System 2012-11-27 04:41:33 UTC
kernel-3.6.7-5.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 21 Fedora Update System 2012-11-28 11:31:18 UTC
kernel-3.6.7-4.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 22 Fedora Update System 2012-11-28 13:29:35 UTC
kernel-3.6.8-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/kernel-3.6.8-2.fc17

Comment 23 Fedora Update System 2012-12-01 08:27:52 UTC
kernel-3.6.8-2.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.