oss not working with kernel 4.8 [SOLVED]
Posted: Mon Oct 31, 2016 12:18 am
As the subject says, oss is not working for me with the latest kernel versions - specifically 4.8.4 on Arch Linux.
It seems to compile and install OK (using any of the various AUR packages: oss, oss-git, oss-nonfree) but osstest gives a segmentation fault:
Looks like some kind of change to what the kernel considers as user memory space?
Is anyone else having this issue with kernel 4.8(.4) and oss?
It seems to compile and install OK (using any of the various AUR packages: oss, oss-git, oss-nonfree) but osstest gives a segmentation fault:
Code: Select all
Oct 31 00:07:03 Alex-Arch01 kernel: usercopy: kernel memory exposure attempt detected from ffff8800d0adbd40 (<process stack>) (4 bytes)
Oct 31 00:07:03 Alex-Arch01 kernel: ------------[ cut here ]------------
Oct 31 00:07:03 Alex-Arch01 kernel: kernel BUG at mm/usercopy.c:75!
Oct 31 00:07:03 Alex-Arch01 kernel: invalid opcode: 0000 [#5] PREEMPT SMP
Oct 31 00:07:03 Alex-Arch01 kernel: Modules linked in: fuse ax25 oss_usb(O) oss_hdaudio(O) osscore(O) uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev media joydev mousedev arc4 b43 bcma mac80211 cfg80211 rng_core coretemp kvm_intel iTCO_wdt dell_wmi iTCO_vendor_support gpio_ich sparse_keymap kvm irqbypass dell_laptop dell_smbios rfkill dcdbas dell_smm_hwmon pcspkr evdev input_leds psmouse i2c_i801 i2c_smbus mac_hid r592 memstick ssb i915 drm_kms_helper sky2 lpc_ich pcmcia pcmcia_core drm fjes syscopyarea sysfillrect sysimgblt fb_sys_fops i2c_algo_bit wmi shpchp thermal intel_agp intel_gtt button battery video ac acpi_cpufreq tpm_tis tpm_tis_core tpm sch_fq_codel vboxnetflt(O) vboxnetadp(O) pci_stub vboxpci(O) vboxdrv(O) ip_tables x_tables ext4 crc16 jbd2 fscrypto mbcache hid_logitech_hidpp
Oct 31 00:07:03 Alex-Arch01 kernel: hid_logitech_dj usbhid hid uas usb_storage sr_mod cdrom sd_mod ata_generic pata_acpi serio_raw atkbd libps2 ahci libahci ata_piix uhci_hcd firewire_ohci libata sdhci_pci scsi_mod sdhci led_class mmc_core firewire_core crc_itu_t i8042 serio ehci_pci ehci_hcd usbcore usb_common
Oct 31 00:07:03 Alex-Arch01 kernel: CPU: 1 PID: 4978 Comm: osstest Tainted: G D W O 4.8.4-1-ARCH #1
Oct 31 00:07:03 Alex-Arch01 kernel: Hardware name: Dell Inc. Inspiron 1525 /0U990C, BIOS A16 10/16/2008
Oct 31 00:07:03 Alex-Arch01 kernel: task: ffff880104cfdb00 task.stack: ffff8800d0ad8000
Oct 31 00:07:03 Alex-Arch01 kernel: RIP: 0010:[<ffffffff81205eaf>] [<ffffffff81205eaf>] __check_object_size+0x13f/0x1d6
Oct 31 00:07:03 Alex-Arch01 kernel: RSP: 0018:ffff8800d0adbcc8 EFLAGS: 00010282
Oct 31 00:07:03 Alex-Arch01 kernel: RAX: 0000000000000063 RBX: ffff8800d0adbd40 RCX: 0000000000000000
Oct 31 00:07:03 Alex-Arch01 kernel: RDX: 0000000000000000 RSI: ffff88011fd0dba8 RDI: ffff88011fd0dba8
Oct 31 00:07:03 Alex-Arch01 kernel: RBP: ffff8800d0adbce8 R08: 0000000000032a79 R09: 0000000000000005
Oct 31 00:07:03 Alex-Arch01 kernel: R10: ffffc90000870010 R11: 0000000000000764 R12: 0000000000000004
Oct 31 00:07:03 Alex-Arch01 kernel: R13: 0000000000000001 R14: ffff8800d0adbd44 R15: ffff8800d0adbd40
Oct 31 00:07:03 Alex-Arch01 kernel: FS: 00007f6520d35380(0000) GS:ffff88011fd00000(0000) knlGS:0000000000000000
Oct 31 00:07:03 Alex-Arch01 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 31 00:07:03 Alex-Arch01 kernel: CR2: 00000000025fd1d8 CR3: 00000000d0b14000 CR4: 00000000000006e0
Oct 31 00:07:03 Alex-Arch01 kernel: Stack:
Oct 31 00:07:03 Alex-Arch01 kernel: ffff8800d0adbd40 0000000000000004 00007ffde21c989c 0000000000000000
Oct 31 00:07:03 Alex-Arch01 kernel: ffff8800d0adbd10 ffffffffa08f9bd7 ffffc90000878010 00007ffde21c989c
Oct 31 00:07:03 Alex-Arch01 kernel: 0000000000000004 000000008004500f ffffffffa08fb71e ffffffff815f7706
Oct 31 00:07:03 Alex-Arch01 kernel: Call Trace:
Oct 31 00:07:03 Alex-Arch01 kernel: [<ffffffffa08f9bd7>] oss_copy_to_user+0x27/0x40 [osscore]
Oct 31 00:07:03 Alex-Arch01 kernel: [<ffffffffa08fb71e>] oss_cdev_ioctl+0x20e/0x260 [osscore]
Oct 31 00:07:03 Alex-Arch01 kernel: [<ffffffff815f7706>] ? _raw_spin_unlock_irqrestore+0x26/0x30
Oct 31 00:07:03 Alex-Arch01 kernel: [<ffffffff810bfdb4>] ? __wake_up+0x44/0x50
Oct 31 00:07:03 Alex-Arch01 kernel: [<ffffffff81219d45>] ? do_filp_open+0xa5/0x100
Oct 31 00:07:03 Alex-Arch01 kernel: [<ffffffffa08fb7a3>] ? oss_cdev_unlocked_ioctl+0x13/0x20 [osscore]
Oct 31 00:07:03 Alex-Arch01 kernel: [<ffffffff81227c59>] ? __alloc_fd+0xc9/0x180
Oct 31 00:07:03 Alex-Arch01 kernel: [<ffffffff8121c383>] ? do_vfs_ioctl+0xa3/0x5f0
Oct 31 00:07:03 Alex-Arch01 kernel: [<ffffffff81218cd4>] ? putname+0x54/0x60
Oct 31 00:07:03 Alex-Arch01 kernel: [<ffffffff8121c949>] ? SyS_ioctl+0x79/0x90
Oct 31 00:07:03 Alex-Arch01 kernel: [<ffffffff815f7cf2>] ? entry_SYSCALL_64_fastpath+0x1a/0xa4
Oct 31 00:07:03 Alex-Arch01 kernel: Code: 87 71 81 48 0f 45 d0 48 c7 c6 58 a5 72 81 48 c7 c0 d3 43 73 81 48 0f 45 f0 4d 89 e1 48 89 d9 48 c7 c7 10 0d 73 81 e8 f7 01 f7 ff <0f> 0b 48 89 df e8 07 76 e6 ff 84 c0 0f 84 f8 fe ff ff b8 00 00
Oct 31 00:07:03 Alex-Arch01 kernel: RIP [<ffffffff81205eaf>] __check_object_size+0x13f/0x1d6
Oct 31 00:07:03 Alex-Arch01 kernel: RSP <ffff8800d0adbcc8>
Oct 31 00:07:03 Alex-Arch01 kernel: ---[ end trace 6e25915ae2a189b2 ]---Looks like some kind of change to what the kernel considers as user memory space?
Is anyone else having this issue with kernel 4.8(.4) and oss?