[Bug 1827452] Re: null pointer dereference in uvcvideo
For what it's worth, as a dev who's spent plenty of time hacking the kernel in a prior job, I really appreciate the effort. Hopefully it won't be completely in vain. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827452 Title: null pointer dereference in uvcvideo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1827452/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1181666] Re: gnome-shell randomly blocks mouse clicks from working in app windows
I believe that I managed to fix this on my machine. I'd suggest to anyone having this issue to check for and uninstall any workspace- related extensions in gnome-tweaks. Read on for more detail. This problem appeared for me after updating to 19.04 from 18.10. Like everyone else, I could click on items in the top bar (date/time, dock icons) and they would respond as expected, but applications weren't responding to keyboard or mouse input. It seemed that pressing the super key was triggering this, as things would work more or less fine until the application switcher overlay thing was shown. After reading through this thread and seeing a lot of mentions of workspace extensions I remembered that I'd enabled the Workspace Grid extension via gnome-tweaks. Loading gnome-tweaks showed a warning indicator next to this extension, with a mouseover tooltip that read something to the effect of "problem loading extension." After removing this extension, things seem to work fine. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1181666 Title: gnome-shell randomly blocks mouse clicks from working in app windows To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1181666/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1181666] Re: gnome-shell randomly blocks mouse clicks from working in app windows
Also worth mentioning that the issue was present when running under both Wayland and XOrg. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1181666 Title: gnome-shell randomly blocks mouse clicks from working in app windows To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1181666/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1827452] [NEW] null pointer dereference in uvcvideo
Public bug reported: I have a logitech c920 webcam. When using this camera in obs-studio v23.x, all of my USB devices stop working and I see the following in my kernel log: [ 590.282211] usb 3-3: new high-speed USB device number 5 using xhci_hcd [ 592.660916] usb 3-3: New USB device found, idVendor=046d, idProduct=082d, bcdDevice= 0.11 [ 592.660922] usb 3-3: New USB device strings: Mfr=0, Product=2, SerialNumber=1 [ 592.660925] usb 3-3: Product: HD Pro Webcam C920 [ 592.660928] usb 3-3: SerialNumber: 2EAD866F [ 592.664600] uvcvideo: Found UVC 1.00 device HD Pro Webcam C920 (046d:082d) [ 592.666416] uvcvideo 3-3:1.0: Entity type for entity Processing 3 was not initialized! [ 592.666421] uvcvideo 3-3:1.0: Entity type for entity Extension 6 was not initialized! [ 592.666425] uvcvideo 3-3:1.0: Entity type for entity Extension 12 was not initialized! [ 592.666428] uvcvideo 3-3:1.0: Entity type for entity Camera 1 was not initialized! [ 592.666430] uvcvideo 3-3:1.0: Entity type for entity Extension 8 was not initialized! [ 592.666433] uvcvideo 3-3:1.0: Entity type for entity Extension 9 was not initialized! [ 592.666436] uvcvideo 3-3:1.0: Entity type for entity Extension 10 was not initialized! [ 592.666439] uvcvideo 3-3:1.0: Entity type for entity Extension 11 was not initialized! [ 592.22] input: HD Pro Webcam C920 as /devices/pci:00/:00:14.0/usb3/3-3/3-3:1.0/input/input23 [ 748.490453] usb 3-3: reset high-speed USB device number 5 using xhci_hcd [ 938.125745] usb 3-3: USB disconnect, device number 5 [ 943.298530] BUG: unable to handle kernel NULL pointer dereference at [ 943.298533] #PF error: [normal kernel read fault] [ 943.298534] PGD 8007ca5f3067 P4D 8007ca5f3067 PUD 0 [ 943.298536] Oops: [#1] SMP PTI [ 943.298538] CPU: 0 PID: 9442 Comm: libobs: graphic Tainted: P OE 5.0.0-13-generic #14-Ubuntu [ 943.298539] Hardware name: Gigabyte Technology Co., Ltd. Z87-HD3/Z87-HD3, BIOS F7 01/20/2014 [ 943.298543] RIP: 0010:usb_ifnum_to_if+0x24/0x60 [ 943.298544] Code: ff c3 0f 1f 40 00 0f 1f 44 00 00 55 48 8b 87 c0 03 00 00 48 89 e5 48 85 c0 74 43 0f b6 48 04 84 c9 74 39 48 8b 90 98 00 00 00 <48> 8b 3a 0f b6 7f 02 39 fe 74 2b 48 8d 90 a0 00 00 00 8d 41 ff 48 [ 943.298545] RSP: 0018:bdae493dbab0 EFLAGS: 00010202 [ 943.298547] RAX: a106ae527000 RBX: a1070ad0a800 RCX: 0004 [ 943.298547] RDX: RSI: 0001 RDI: a1070ad0a800 [ 943.298548] RBP: bdae493dbab0 R08: 00027040 R09: b57825b8 [ 943.298549] R10: fba45fce4bc0 R11: 0001 R12: [ 943.298550] R13: a10644187b98 R14: ff92 R15: a1075131a000 [ 943.298551] FS: 7f93c40d7700() GS:a1075ea0() knlGS: [ 943.298552] CS: 0010 DS: ES: CR0: 80050033 [ 943.298553] CR2: CR3: 0006f8a94004 CR4: 001606f0 [ 943.298553] Call Trace: [ 943.298557] usb_hcd_alloc_bandwidth+0x241/0x370 [ 943.298559] usb_set_interface+0xfc/0x380 [ 943.298565] uvc_video_start_transfer+0x155/0x4b0 [uvcvideo] [ 943.298568] uvc_video_start_streaming+0x7f/0xd0 [uvcvideo] [ 943.298570] uvc_start_streaming+0x28/0x70 [uvcvideo] [ 943.298573] vb2_start_streaming+0x6d/0x110 [videobuf2_common] [ 943.298575] vb2_core_streamon+0x59/0xc0 [videobuf2_common] [ 943.298578] vb2_streamon+0x18/0x30 [videobuf2_v4l2] [ 943.298580] uvc_queue_streamon+0x2e/0x50 [uvcvideo] [ 943.298582] uvc_ioctl_streamon+0x3f/0x60 [uvcvideo] [ 943.298588] v4l_streamon+0x20/0x30 [videodev] [ 943.298592] __video_do_ioctl+0x19a/0x3f0 [videodev] [ 943.298596] video_usercopy+0x1a6/0x660 [videodev] [ 943.298599] ? v4l_s_fmt+0x630/0x630 [videodev] [ 943.298603] video_ioctl2+0x15/0x20 [videodev] [ 943.298606] v4l2_ioctl+0x49/0x50 [videodev] [ 943.298608] do_vfs_ioctl+0xa9/0x640 [ 943.298610] ? __switch_to_asm+0x34/0x70 [ 943.298611] ? __switch_to_asm+0x40/0x70 [ 943.298612] ? __switch_to_asm+0x34/0x70 [ 943.298612] ? __switch_to_asm+0x40/0x70 [ 943.298613] ? __switch_to_asm+0x34/0x70 [ 943.298614] ? __switch_to_asm+0x40/0x70 [ 943.298615] ? __switch_to_asm+0x34/0x70 [ 943.298616] ? __switch_to_asm+0x40/0x70 [ 943.298617] ksys_ioctl+0x67/0x90 [ 943.298619] __x64_sys_ioctl+0x1a/0x20 [ 943.298621] do_syscall_64+0x5a/0x110 [ 943.298622] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 943.298623] RIP: 0033:0x7f9430e082e9 [ 943.298624] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 77 cb 0c 00 f7 d8 64 89 01 48 [ 943.298625] RSP: 002b:7f93c40d6428 EFLAGS: 0246 ORIG_RAX: 0010 [ 943.298626] RAX: ffda RBX: 7f94000da020 RCX: 7f9430e082e9 [ 943.298627] RDX: 7f93c40d6444 RSI: 40045612 RDI: 003b [ 943.298628] RBP: 00
[Bug 1827452] Re: null pointer dereference in uvcvideo
To be clear, the line below (taken from the longer log output above) was not due to me physically disconnecting the camera. I disconnected it after capturing the kernel log. [ 938.125745] usb 3-3: USB disconnect, device number 5 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827452 Title: null pointer dereference in uvcvideo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1827452/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1193714] Re: bamfdaemon crashed with signal 5 in _XReply()
Hi Christopher, In the mean time, do you know of anything special about the fix which makes it difficult/impossible to get running on a 13.10 box? That is, if the more dev-savvy of us were to pull/rebuild the BAMF daemon on our own 13.10 machines, should it work? Cheers, Ben -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1193714 Title: bamfdaemon crashed with signal 5 in _XReply() To manage notifications about this bug go to: https://bugs.launchpad.net/bamf/+bug/1193714/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1435571] Re: docker: docker run --cpuset is not having any effect
This issue has either regressed, or it has not made it to 4.2.0-25-generic on Ubuntu 15.10. user@host:~$ uname -a Linux bburns-workstation 4.2.0-25-generic #30-Ubuntu SMP Mon Jan 18 12:31:50 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux user@host:~$ cat /etc/issue Ubuntu 15.10 \n \l user@host:~$ docker run -it --cpuset-cpus=0 centos:centos7 grep processor /proc/cpuinfo processor : 0 processor : 1 processor : 2 processor : 3 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1435571 Title: docker: docker run --cpuset is not having any effect To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1435571/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1827452] Re: null pointer dereference in uvcvideo
I wasn't aware that I could change the status of this bug. It's clear to me from the comments above that others have observed it, so I've gone ahead and switched it from "Expired" to "Confirmed." ** Changed in: linux (Ubuntu) Status: Expired => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827452 Title: null pointer dereference in uvcvideo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1827452/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1827452] Re: null pointer dereference in uvcvideo
Unfortunately at the moment I no longer have access to a box that's running Ubuntu (or any linux) on bare metal. I suppose I can give it a try with USB passthrough in a VM over the weekend, perhaps? Also it's been ages since I've built and booted a custom kernel. Does Ubuntu have an easy method for building a patched kernel w/ official config, or is it just like it always was - clone source tree, etc? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827452 Title: null pointer dereference in uvcvideo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1827452/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1827452] Re: null pointer dereference in uvcvideo
Ah, I suppose I could try booting off of a Live USB. It'd be a fair amount of effort, but if you're looking for a more reliable test jig, you might try using a Teensy 2.0++ or similar. They've been used in the past for similar purposes (e.g. https://fail0verflow.com/blog/2014/hubcap-chromecast-root-pt1/), as they allow very low-level access to their USB interface. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827452 Title: null pointer dereference in uvcvideo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1827452/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1827452] Re: null pointer dereference in uvcvideo
And one more tool that might help you get a more reliable repro: https://github.com/HexHive/USBFuzz - likely would need modification to target this specific problem, however. More details here: https://www.usenix.org/conference/usenixsecurity20/presentation/peng -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827452 Title: null pointer dereference in uvcvideo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1827452/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs