[Bug 979728] New: kernel: unplug of USB stick makes systemd-udev trigger an Oops
http://bugzilla.suse.com/show_bug.cgi?id=979728 Bug ID: 979728 Summary: kernel: unplug of USB stick makes systemd-udev trigger an Oops Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-maintainers@forge.provo.novell.com Reporter: pwieczorkiewicz@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- May 12 16:00:35 linux-3kv5 kernel: usb-storage 3-7.1:1.0: USB Mass Storage device detected May 12 16:00:35 linux-3kv5 kernel: scsi host8: usb-storage 3-7.1:1.0 May 12 16:00:35 linux-3kv5 kernel: usbcore: registered new interface driver usb-storage May 12 16:00:35 linux-3kv5 kernel: usbcore: registered new interface driver uas May 12 16:00:36 linux-3kv5 kernel: scsi 8:0:0:0: Direct-Access Kingston DataTraveler 3.0 PMAP PQ: 0 ANSI: 6 May 12 16:00:36 linux-3kv5 kernel: sd 8:0:0:0: Attached scsi generic sg3 type 0 May 12 16:00:36 linux-3kv5 kernel: SFW2-INext-DROP-DEFLT IN=brsuse OUT= PHYSIN=eth0.301 MAC=33:33:00:00:00:fb:90:b1:1 May 12 16:00:37 linux-3kv5 kernel: sd 8:0:0:0: [sdc] 61457664 512-byte logical blocks: (31.5 GB/29.3 GiB) May 12 16:00:37 linux-3kv5 kernel: sd 8:0:0:0: [sdc] Write Protect is off May 12 16:00:37 linux-3kv5 kernel: sd 8:0:0:0: [sdc] Mode Sense: 23 00 00 00 May 12 16:00:37 linux-3kv5 kernel: sd 8:0:0:0: [sdc] No Caching mode page found May 12 16:00:37 linux-3kv5 kernel: sd 8:0:0:0: [sdc] Assuming drive cache: write through May 12 16:00:37 linux-3kv5 kernel: sdc: sdc1 May 12 16:00:37 linux-3kv5 kernel: sd 8:0:0:0: [sdc] Attached SCSI removable disk May 12 16:00:41 linux-3kv5 kernel: usb 3-7.1: USB disconnect, device number 48 May 12 16:00:41 linux-3kv5 systemd-udevd[13416]: inotify_add_watch(7, /dev/sdc, 10) failed: No such file or directory May 12 16:00:42 linux-3kv5 kernel: BUG: unable to handle kernel paging request at ffffebe004004000 May 12 16:00:42 linux-3kv5 kernel: IP: [<ffffffff811c2aed>] kfree+0x6d/0x2b0 May 12 16:00:42 linux-3kv5 kernel: PGD 0 May 12 16:00:42 linux-3kv5 kernel: Oops: 0000 [#1] PREEMPT SMP May 12 16:00:42 linux-3kv5 kernel: Modules linked in: uas usb_storage dm_mod binfmt_misc qat_1_6_mux(O) qat_mux(O) fu May 12 16:00:42 linux-3kv5 kernel: coretemp snd_hda_codec snd_hda_core snd_hwdep kvm_intel snd_pcm kvm btrfs crct10d May 12 16:00:42 linux-3kv5 kernel: CPU: 0 PID: 13416 Comm: systemd-udevd Tainted: G O 4.1.20-11-default May 12 16:00:42 linux-3kv5 kernel: Hardware name: Dell Inc. Precision Tower 5810/0K240Y, BIOS A09 09/26/2015 May 12 16:00:42 linux-3kv5 kernel: task: ffff880140d1e2d0 ti: ffff880004420000 task.ti: ffff880004420000 May 12 16:00:42 linux-3kv5 kernel: RIP: 0010:[<ffffffff811c2aed>] [<ffffffff811c2aed>] kfree+0x6d/0x2b0 May 12 16:00:42 linux-3kv5 kernel: RSP: 0018:ffff880004423c28 EFLAGS: 00010086 May 12 16:00:42 linux-3kv5 kernel: RAX: ffffebe004004000 RBX: 0000000000000202 RCX: ffffea0000000000 May 12 16:00:42 linux-3kv5 kernel: RDX: 0000000180100123 RSI: 0000000000000286 RDI: 0000000100100123 May 12 16:00:42 linux-3kv5 kernel: RBP: 0000000100100123 R08: ffff880004420000 R09: 00000000000001de May 12 16:00:42 linux-3kv5 kernel: R10: 0000000000000008 R11: 0000000000000010 R12: ffffffffa0073fad May 12 16:00:42 linux-3kv5 kernel: R13: ffff88014101a000 R14: ffff8802a8c91b58 R15: 000000000002005d May 12 16:00:42 linux-3kv5 kernel: FS: 00007fe6745d3880(0000) GS:ffff8804bfc00000(0000) knlGS:0000000000000000 May 12 16:00:42 linux-3kv5 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 May 12 16:00:42 linux-3kv5 kernel: CR2: ffffebe004004000 CR3: 00000000157ff000 CR4: 00000000001406f0 May 12 16:00:42 linux-3kv5 kernel: Stack: May 12 16:00:42 linux-3kv5 kernel: ffff880131b01680 ffff8802e196dc00 000000000002005d 0000000000000001 May 12 16:00:42 linux-3kv5 kernel: ffff8802e196dda0 ffff88049e3b8800 0000000000000001 ffff88049e3b8800 May 12 16:00:42 linux-3kv5 kernel: ffff88049e3b8800 ffff8804aa4b7400 ffff88014101a000 ffff8802a8c91b58 May 12 16:00:42 linux-3kv5 kernel: Call Trace: May 12 16:00:42 linux-3kv5 kernel: [<ffffffffa0073fad>] usb_release_bos_descriptor+0x1d/0x40 [usbcore] May 12 16:00:42 linux-3kv5 kernel: [<ffffffffa0060347>] usb_release_dev+0x27/0x60 [usbcore] May 12 16:00:42 linux-3kv5 kernel: [<ffffffff81482ecd>] device_release+0x2d/0xa0 May 12 16:00:42 linux-3kv5 kernel: [<ffffffff8135d5c2>] kobject_cleanup+0x72/0x1a0 May 12 16:00:42 linux-3kv5 kernel: [<ffffffffa006f14c>] usb_release_interface+0x2c/0x50 [usbcore] May 12 16:00:42 linux-3kv5 kernel: [<ffffffff81482ecd>] device_release+0x2d/0xa0 May 12 16:00:42 linux-3kv5 kernel: [<ffffffff8135d5c2>] kobject_cleanup+0x72/0x1a0 May 12 16:00:42 linux-3kv5 kernel: [<ffffffff814ae1ab>] scsi_host_dev_release+0xcb/0x100 May 12 16:00:42 linux-3kv5 kernel: [<ffffffff81482ecd>] device_release+0x2d/0xa0 May 12 16:00:42 linux-3kv5 kernel: [<ffffffff8135d5c2>] kobject_cleanup+0x72/0x1a0 May 12 16:00:42 linux-3kv5 kernel: [<ffffffff81482ecd>] device_release+0x2d/0xa0 May 12 16:00:42 linux-3kv5 kernel: [<ffffffff8135d5c2>] kobject_cleanup+0x72/0x1a0 May 12 16:00:42 linux-3kv5 kernel: [<ffffffff8108099f>] execute_in_process_context+0x5f/0x70 May 12 16:00:42 linux-3kv5 kernel: [<ffffffff81482ecd>] device_release+0x2d/0xa0 May 12 16:00:42 linux-3kv5 kernel: [<ffffffff8135d5c2>] kobject_cleanup+0x72/0x1a0 May 12 16:00:42 linux-3kv5 kernel: [<ffffffff814c119f>] scsi_disk_put+0x2f/0x50 May 12 16:00:42 linux-3kv5 kernel: [<ffffffff81217524>] __blkdev_put+0x194/0x200 May 12 16:00:42 linux-3kv5 kernel: [<ffffffff81217fb5>] blkdev_close+0x25/0x30 May 12 16:00:42 linux-3kv5 kernel: [<ffffffff811e0b99>] __fput+0xb9/0x1c0 May 12 16:00:42 linux-3kv5 kernel: [<ffffffff81085077>] task_work_run+0xa7/0xe0 May 12 16:00:42 linux-3kv5 kernel: [<ffffffff81002f59>] do_notify_resume+0x69/0x90 May 12 16:00:42 linux-3kv5 kernel: [<ffffffff81665104>] int_signal+0x12/0x17 May 12 16:00:42 linux-3kv5 kernel: [<00007fe673747ac0>] 0x7fe673747ac0 May 12 16:00:42 linux-3kv5 kernel: Code: 00 00 00 80 ff 77 00 00 48 b9 00 00 00 00 00 ea ff ff 48 01 ea 48 0f 42 05 3 May 12 16:00:42 linux-3kv5 kernel: RIP [<ffffffff811c2aed>] kfree+0x6d/0x2b0 May 12 16:00:43 linux-3kv5 kernel: RSP <ffff880004423c28> May 12 16:00:43 linux-3kv5 kernel: CR2: ffffebe004004000 May 12 16:00:43 linux-3kv5 kernel: ---[ end trace 5da93a5d2c6c621a ]--- May 12 16:00:42 linux-3kv5 systemd-udevd[479]: worker [13416] terminated by signal 9 (Killed) May 12 16:00:42 linux-3kv5 systemd-udevd[479]: worker [13416] failed while handling '/devices/pci0000:00/0000:00:14.0 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=979728
Pawel Wieczorkiewicz
http://bugzilla.suse.com/show_bug.cgi?id=979728
http://bugzilla.suse.com/show_bug.cgi?id=979728#c1
Takashi Iwai
http://bugzilla.suse.com/show_bug.cgi?id=979728
http://bugzilla.suse.com/show_bug.cgi?id=979728#c2
Takashi Iwai
http://bugzilla.suse.com/show_bug.cgi?id=979728
http://bugzilla.suse.com/show_bug.cgi?id=979728#c3
Pawel Wieczorkiewicz
The backport fix was merged. Could you try KOTD later?
Yes, sure, I can give it a try. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=979728
http://bugzilla.suse.com/show_bug.cgi?id=979728#c5
Pawel Wieczorkiewicz
Let me know whether the fix really works for you. Once after confirmation, I'm going to do MR. Thanks.
I am unable to reproduce the issue. So it seems this fixed the problem. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=979728
http://bugzilla.suse.com/show_bug.cgi?id=979728#c6
Takashi Iwai
participants (1)
-
bugzilla_noreply@novell.com