[Bug 1628686] Re: kernel BUG at linux-4.8.0/mm/usercopy.c:75!
Closing this bug with Won't fix as this kernel / release is no longer supported. Please feel free to open a new bug report if you're still experiencing this on a newer release (Bionic 18.04.3 / Disco 19.04) Thanks! ** Changed in: linux (Ubuntu) Status: Triaged => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1628686 Title: kernel BUG at linux-4.8.0/mm/usercopy.c:75! To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1628686/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1628686] Re: kernel BUG at linux-4.8.0/mm/usercopy.c:75!
@Joseph Salisbury: I've upgraded to the latest kernel and the problem still persists. I'm starting to think it's a problem with the Blackmagic drivers? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1628686 Title: kernel BUG at linux-4.8.0/mm/usercopy.c:75! To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1628686/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1628686] Re: kernel BUG at linux-4.8.0/mm/usercopy.c:75!
@David Lee, that indicates that HARDENED_USERCOPY_PAGESPAN is not set. @Vinson Lee, do you still see this bug with the latest -proposed kernel as well? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1628686 Title: kernel BUG at linux-4.8.0/mm/usercopy.c:75! To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1628686/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1628686] Re: kernel BUG at linux-4.8.0/mm/usercopy.c:75!
I ran the command as requested, and got nothing root@helen:~# grep HARDENED_USERCOPY_PAGESPAN= /boot/config-`uname -r` root@helen:~# There appears to be another kernel update today. However that update did not help with the issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1628686 Title: kernel BUG at linux-4.8.0/mm/usercopy.c:75! To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1628686/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1628686] Re: kernel BUG at linux-4.8.0/mm/usercopy.c:75!
Hi David, Can you run the following command with that running -proposed kernel: grep HARDENED_USERCOPY_PAGESPAN= /boot/config-`uname -r` -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1628686 Title: kernel BUG at linux-4.8.0/mm/usercopy.c:75! To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1628686/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1628686] Re: kernel BUG at linux-4.8.0/mm/usercopy.c:75!
Upgraded to proposed kernel. Linux helen 4.8.0-25-generic #27-Ubuntu SMP Thu Oct 13 03:34:50 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Issue still occurs: [ 75.257763] usercopy: kernel memory overwrite attempt detected to 9dfb48493d38 () (16 bytes) [ 75.257791] [ cut here ] [ 75.257793] kernel BUG at /build/linux-rb6V7L/linux-4.8.0/mm/usercopy.c:75! [ 75.257795] invalid opcode: [#3] SMP [ 75.257797] Modules linked in: xfrm_user xfrm4_tunnel tunnel4 ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo snd_hrtimer binfmt_misc nls_iso8859_1 ir_lirc_codec lirc_dev rc_rc6_mce mceusb snd_hda_codec_via snd_hda_codec_generic kvm_amd kvm nvidia_uvm(POE) irqbypass input_leds serio_raw blackmagic(POE) k8temp snd_usb_audio snd_hda_codec_hdmi snd_usbmidi_lib gspca_sonixj gspca_main v4l2_common videodev media rc_imon_pad imon rc_core snd_hda_intel snd_ctxfi snd_hda_codec snd_hda_core snd_seq_midi snd_seq_midi_event shpchp snd_hwdep snd_rawmidi snd_seq snd_pcm snd_seq_device snd_timer snd soundcore asus_atk0110 i2c_nforce2 wmi mac_hid nfsd auth_rpcgss nfs_acl lockd grace sunrpc parport_pc ppdev lp parport ip_tables x_tables autofs4 dm_mirror dm_region_hash dm_log btrfs raid10 raid1 raid0 dm_raid raid456 [ 75.257835] async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c pata_acpi nvidia(POE) psmouse drm video firewire_ohci firewire_core floppy ahci fjes forcedeth libahci crc_itu_t pata_amd [ 75.257848] CPU: 1 PID: 2837 Comm: BlackmagicFirmw Tainted: P DOE 4.8.0-25-generic #27-Ubuntu [ 75.257850] Hardware name: System manufacturer System Product Name/M4N78 PRO, BIOS 130304/13/2011 [ 75.257852] task: 9dfb487e0d00 task.stack: 9dfb4849 [ 75.257854] RIP: 0010:[] [] __check_object_size+0x77/0x1dc [ 75.257860] RSP: 0018:9dfb48493ca0 EFLAGS: 00010286 [ 75.257862] RAX: 0063 RBX: 9dfb48493d38 RCX: [ 75.257863] RDX: RSI: 9dfbf7c4dc68 RDI: 9dfbf7c4dc68 [ 75.257865] RBP: 9dfb48493cc0 R08: 0003eee3 R09: 0005 [ 75.257867] R10: 9dfb5fc43238 R11: 040a R12: 0010 [ 75.257868] R13: R14: 9dfb48493d48 R15: 7ffdccd9da50 [ 75.257870] FS: 7fbd30601780() GS:9dfbf7c4() knlGS: [ 75.257872] CS: 0010 DS: ES: CR0: 80050033 [ 75.257874] CR2: 7fbd2f3e4150 CR3: a024a000 CR4: 06e0 [ 75.257875] Stack: [ 75.257877] 9dfb48493d38 0010 7ffdccd9da50 9dfbed7436c8 [ 75.257880] 9dfb48493ce8 c11c11eb 9dfb48493d38 0001 [ 75.257883] 7ffdccd9da50 c11a377a 9dfb57e7d000 [ 75.257885] Call Trace: [ 75.257946] [] __dl_copy_from_user+0x1b/0x40 [blackmagic] [ 75.257974] [] _ZN18IoctlMessageKernel6unpackEv+0x4a/0x160 [blackmagic] [ 75.257997] [] ? blackmagic_ioctl_private+0x35db/0x4080 [blackmagic] [ 75.258001] [] ? filemap_map_pages+0x202/0x410 [ 75.258004] [] ? do_filp_open+0xa5/0x100 [ 75.258008] [] ? trace_buffer_lock_reserve+0x1c/0x50 [ 75.258011] [] ? trace_event_buffer_lock_reserve+0x72/0xf0 [ 75.258036] [] ? blackmagic_ioctl+0x49/0x60 [blackmagic] [ 75.258039] [] ? do_vfs_ioctl+0xa3/0x610 [ 75.258042] [] ? putname+0x54/0x60 [ 75.258045] [] ? do_sys_open+0x1bc/0x280 [ 75.258047] [] ? SyS_ioctl+0x79/0x90 [ 75.258051] [] ? entry_SYSCALL_64_fastpath+0x1e/0xa8 [ 75.258052] Code: 48 0f 44 d1 48 c7 c6 78 4d 2a 9e 48 c7 c1 5c a5 29 9e 48 0f 44 f1 4d 89 e1 49 89 c0 48 89 d9 48 c7 c7 f8 19 2a 9e e8 bd 03 f7 ff <0f> 0b e8 12 d6 fb ff 85 c0 75 78 48 89 df e8 96 2c e4 ff 84 c0 [ 75.258079] RIP [] __check_object_size+0x77/0x1dc [ 75.258082] RSP [ 75.258085] ---[ end trace 476b12ac04efcae0 ]--- -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1628686 Title: kernel BUG at linux-4.8.0/mm/usercopy.c:75! To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1628686/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1628686] Re: kernel BUG at linux-4.8.0/mm/usercopy.c:75!
Getting the same error with the Blackmagic Intensity module. [ 73.553893] [ cut here ] [ 73.553896] kernel BUG at /build/linux-NNryke/linux-4.8.0/mm/usercopy.c:75! [ 73.553899] invalid opcode: [#3] SMP [ 73.553901] Modules linked in: xfrm_user xfrm4_tunnel tunnel4 ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo snd_hrtimer binfmt_misc nls_iso8859_1 snd_hda_codec_via snd_hda_codec_generic ir_lirc_codec lirc_dev rc_rc6_mce mceusb kvm_amd kvm irqbypass nvidia_uvm(POE) snd_hda_codec_hdmi input_leds serio_raw blackmagic(POE) k8temp snd_usb_audio snd_usbmidi_lib gspca_sonixj gspca_main v4l2_common videodev media snd_hda_intel snd_ctxfi snd_hda_codec rc_imon_pad imon rc_core snd_hda_core snd_hwdep snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd shpchp soundcore asus_atk0110 wmi i2c_nforce2 mac_hid nfsd auth_rpcgss nfs_acl lockd grace sunrpc parport_pc ppdev lp parport ip_tables x_tables autofs4 dm_mirror dm_region_hash dm_log btrfs raid10 raid1 raid0 dm_raid raid456 [ 73.553946] async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c pata_acpi nvidia(POE) psmouse firewire_ohci drm forcedeth firewire_core crc_itu_t ahci libahci pata_amd video floppy fjes [ 73.553961] CPU: 0 PID: 2886 Comm: BlackmagicFirmw Tainted: P DOE 4.8.0-22-generic #24-Ubuntu [ 73.553963] Hardware name: System manufacturer System Product Name/M4N78 PRO, BIOS 130304/13/2011 [ 73.553965] task: 939669f39a00 task.stack: 9395e0e24000 [ 73.553967] RIP: 0010:[] [] __check_object_size+0x77/0x1dc [ 73.553974] RSP: 0018:9395e0e27ca0 EFLAGS: 00010286 [ 73.553976] RAX: 0063 RBX: 9395e0e27d38 RCX: [ 73.553978] RDX: RSI: 939677c0dc68 RDI: 939677c0dc68 [ 73.553980] RBP: 9395e0e27cc0 R08: 00087388 R09: 0005 [ 73.553982] R10: 9395e0d6d738 R11: 046c R12: 0010 [ 73.553984] R13: R14: 9395e0e27d48 R15: 7ffc763f0eb0 [ 73.553986] FS: 7efe82091780() GS:939677c0() knlGS: [ 73.553988] CS: 0010 DS: ES: CR0: 80050033 [ 73.553990] CR2: 7efe80e75150 CR3: a0f16000 CR4: 06f0 [ 73.553992] Stack: [ 73.553994] 9395e0e27d38 0010 7ffc763f0eb0 93966715e108 [ 73.553998] 9395e0e27ce8 c10841eb 9395e0e27d38 0001 [ 73.554001] 7ffc763f0eb0 c106677a 9395d75d7000 [ 73.554004] Call Trace: [ 73.554067] [] __dl_copy_from_user+0x1b/0x40 [blackmagic] [ 73.554101] [] _ZN18IoctlMessageKernel6unpackEv+0x4a/0x160 [blackmagic] [ 73.554130] [] ? blackmagic_ioctl_private+0x35db/0x4080 [blackmagic] [ 73.554133] [] ? do_filp_open+0xa5/0x100 [ 73.554164] [] ? blackmagic_ioctl+0x49/0x60 [blackmagic] [ 73.554167] [] ? do_vfs_ioctl+0xa3/0x610 [ 73.554171] [] ? putname+0x54/0x60 [ 73.554174] [] ? do_sys_open+0x1bc/0x280 [ 73.554177] [] ? SyS_ioctl+0x79/0x90 [ 73.554182] [] ? entry_SYSCALL_64_fastpath+0x1e/0xa8 [ 73.554184] Code: 48 0f 44 d1 48 c7 c6 68 4d 8a ae 48 c7 c1 4c a5 89 ae 48 0f 44 f1 4d 89 e1 49 89 c0 48 89 d9 48 c7 c7 e8 19 8a ae e8 bd 03 f7 ff <0f> 0b e8 12 d6 fb ff 85 c0 75 78 48 89 df e8 96 2c e4 ff 84 c0 [ 73.554216] RIP [] __check_object_size+0x77/0x1dc [ 73.554219] RSP [ 73.554222] ---[ end trace c80a6ccc31c55190 ]--- [ 79.352997] retire_capture_urb: 5 callbacks suppressed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1628686 Title: kernel BUG at linux-4.8.0/mm/usercopy.c:75! To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1628686/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1628686] Re: kernel BUG at linux-4.8.0/mm/usercopy.c:75!
The Yakkety kernel in -proposed now has CONFIG_HARDENED_USERCOPY_PAGESPAN disabled. ** Changed in: linux (Ubuntu) Importance: Undecided => Medium ** Changed in: linux (Ubuntu) Status: Incomplete => Triaged ** Tags added: kernel-da-key yakkety -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1628686 Title: kernel BUG at linux-4.8.0/mm/usercopy.c:75! To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1628686/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1628686] Re: kernel BUG at linux-4.8.0/mm/usercopy.c:75!
$ apport-collect 1628686 The authorization page: [...] should be opening in your browser. Use your browser to authorize this program to access Launchpad on your behalf. Waiting to hear from Launchpad about your decision... ERROR: connecting to Launchpad failed: local variable 'browser_obj' referenced before assignment -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1628686 Title: kernel BUG at linux-4.8.0/mm/usercopy.c:75! To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1628686/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs