[Kernel-packages] [Bug 1783550] Re: kernel BUG at /build/linux-60XibS/linux-4.15.0/mm/usercopy.c:72

2018-07-25 Thread Igor M
this bug was not present in:

~$ uname -a
Linux labyrinth 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 
x86_64 x86_64 x86_64 GNU/Linux

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1783550

Title:
  kernel BUG at /build/linux-60XibS/linux-4.15.0/mm/usercopy.c:72

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  perhaps related to intermittent failure to boot altogether:-


  [   15.597051] usercopy: kernel memory exposure attempt detected from 
6d2e138b (kmalloc-8) (54 bytes)
  [   15.597467] [ cut here ]
  [   15.597467] kernel BUG at 
/build/linux-60XibS/linux-4.15.0/mm/usercopy.c:72!
  [   15.597838] invalid opcode:  [#1] SMP PTI
  [   15.598196] Modules linked in: joydev hpilo input_leds gpio_ich shpchp 
intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp lpc_ich ie31200_edac 
kvm_intel ipmi_ssif kvm irqbypass serio_raw acpi_power_meter ipmi_si 
ipmi_devintf intel_cstate mac_hid ipmi_msghandler intel_rapl_perf sch_fq_codel 
ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi 
scsi_transport_iscsi ip_tables x_tables autofs4 xfs btrfs zstd_compress raid10 
raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq 
libcrc32c raid1 raid0 multipath linear mgag200 crct10dif_pclmul crc32_pclmul 
ttm ghash_clmulni_intel pcbc hid_generic drm_kms_helper syscopyarea igb 
aesni_intel sysfillrect aes_x86_64 tg3 dca sysimgblt mpt3sas crypto_simd 
i2c_algo_bit fb_sys_fops usbhid glue_helper cryptd hid ptp psmouse
  [   15.601193]  drm raid_class pps_core scsi_transport_sas
  [   15.601640] CPU: 0 PID: 696 Comm: irqbalance Not tainted 4.15.0-29-generic 
#31-Ubuntu
  [   15.602095] Hardware name: HP ProLiant ML310e Gen8, BIOS J04 05/21/2018
  [   15.602559] RIP: 0010:__check_object_size+0x123/0x1b0
  [   15.603017] RSP: 0018:aeac02397db8 EFLAGS: 00010286
  [   15.603471] RAX: 005e RBX: 0036 RCX: 

  [   15.603933] RDX:  RSI: 97697a216498 RDI: 
97697a216498
  [   15.604418] RBP: aeac02397dd8 R08:  R09: 
035c
  [   15.604887] R10: 0008 R11:  R12: 
0001
  [   15.605354] R13: 97697789f07e R14: 97697789f048 R15: 
97697789f048
  [   15.605827] FS:  7f87e91a6f00() GS:97697a20() 
knlGS:
  [   15.606306] CS:  0010 DS:  ES:  CR0: 80050033
  [   15.606788] CR2: 5572d8a92158 CR3: 0003f2988002 CR4: 
001606f0
  [   15.607277] Call Trace:
  [   15.607766]  filldir+0xb0/0x140
  [   15.608272]  kernfs_fop_readdir+0x1a1/0x250
  [   15.608755]  iterate_dir+0x9e/0x1a0
  [   15.609235]  SyS_getdents+0xa0/0x130
  [   15.609713]  ? fillonedir+0x100/0x100
  [   15.610191]  do_syscall_64+0x73/0x130
  [   15.610661]  ? do_syscall_64+0x73/0x130
  [   15.611133]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
  [   15.611607] RIP: 0033:0x7f87e7f340a8
  [   15.612103] RSP: 002b:7fff6c1a4f70 EFLAGS: 0202 ORIG_RAX: 
004e
  [   15.612590] RAX: ffda RBX: 5572d8a8a610 RCX: 
7f87e7f340a8
  [   15.613084] RDX: 8000 RSI: 5572d8a8a610 RDI: 
0004
  [   15.613579] RBP: 5572d8a8a610 R08: 0078 R09: 

  [   15.614074] R10: 5572d8a79010 R11: 0202 R12: 
fec0
  [   15.614565] R13: 0002 R14: 5572d8a81040 R15: 
7fff6c1a68d0
  [   15.615056] Code: 48 0f 45 d1 48 c7 c6 03 d6 0d 88 48 c7 c1 9f e3 0e 88 48 
0f 45 f1 49 89 d9 49 89 c0 4c 89 f1 48 c7 c7 a8 e3 0e 88 e8 2d f9 e7 ff <0f> 0b 
f3 c3 48 8b 3d a2 3f 1a 01 48 8b 0d b3 c1 1d 01 be 00 00 
  [   15.616120] RIP: __check_object_size+0x123/0x1b0 RSP: aeac02397db8
  [   15.616658] ---[ end trace 534113c931f35fd7 ]---

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: linux-generic 4.15.0.29.31
  ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18
  Uname: Linux 4.15.0-29-generic x86_64
  AlsaDevices:
   total 0
   crw-rw+ 1 root audio 116,  1 Jul 25 12:47 seq
   crw-rw+ 1 root audio 116, 33 Jul 25 12:47 timer
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 
'arecord'
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
  Date: Wed Jul 25 13:03:27 2018
  InstallationDate: Installed on 2018-07-25 (0 days ago)
  InstallationMedia: Ubuntu-Server 18.04 LTS "Bionic Beaver" - Release amd64 
(20180426)
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
  MachineType: HP ProLiant ML310e Gen8
  PciMultimedia:
   
  ProcEnviron:
   LANG=en_GB.UTF-8
   TERM=xterm-256color
   

[Kernel-packages] [Bug 1783550] [NEW] kernel BUG at /build/linux-60XibS/linux-4.15.0/mm/usercopy.c:72

2018-07-25 Thread Igor M
Public bug reported:

perhaps related to intermittent failure to boot altogether:-


[   15.597051] usercopy: kernel memory exposure attempt detected from 
6d2e138b (kmalloc-8) (54 bytes)
[   15.597467] [ cut here ]
[   15.597467] kernel BUG at /build/linux-60XibS/linux-4.15.0/mm/usercopy.c:72!
[   15.597838] invalid opcode:  [#1] SMP PTI
[   15.598196] Modules linked in: joydev hpilo input_leds gpio_ich shpchp 
intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp lpc_ich ie31200_edac 
kvm_intel ipmi_ssif kvm irqbypass serio_raw acpi_power_meter ipmi_si 
ipmi_devintf intel_cstate mac_hid ipmi_msghandler intel_rapl_perf sch_fq_codel 
ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi 
scsi_transport_iscsi ip_tables x_tables autofs4 xfs btrfs zstd_compress raid10 
raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq 
libcrc32c raid1 raid0 multipath linear mgag200 crct10dif_pclmul crc32_pclmul 
ttm ghash_clmulni_intel pcbc hid_generic drm_kms_helper syscopyarea igb 
aesni_intel sysfillrect aes_x86_64 tg3 dca sysimgblt mpt3sas crypto_simd 
i2c_algo_bit fb_sys_fops usbhid glue_helper cryptd hid ptp psmouse
[   15.601193]  drm raid_class pps_core scsi_transport_sas
[   15.601640] CPU: 0 PID: 696 Comm: irqbalance Not tainted 4.15.0-29-generic 
#31-Ubuntu
[   15.602095] Hardware name: HP ProLiant ML310e Gen8, BIOS J04 05/21/2018
[   15.602559] RIP: 0010:__check_object_size+0x123/0x1b0
[   15.603017] RSP: 0018:aeac02397db8 EFLAGS: 00010286
[   15.603471] RAX: 005e RBX: 0036 RCX: 
[   15.603933] RDX:  RSI: 97697a216498 RDI: 97697a216498
[   15.604418] RBP: aeac02397dd8 R08:  R09: 035c
[   15.604887] R10: 0008 R11:  R12: 0001
[   15.605354] R13: 97697789f07e R14: 97697789f048 R15: 97697789f048
[   15.605827] FS:  7f87e91a6f00() GS:97697a20() 
knlGS:
[   15.606306] CS:  0010 DS:  ES:  CR0: 80050033
[   15.606788] CR2: 5572d8a92158 CR3: 0003f2988002 CR4: 001606f0
[   15.607277] Call Trace:
[   15.607766]  filldir+0xb0/0x140
[   15.608272]  kernfs_fop_readdir+0x1a1/0x250
[   15.608755]  iterate_dir+0x9e/0x1a0
[   15.609235]  SyS_getdents+0xa0/0x130
[   15.609713]  ? fillonedir+0x100/0x100
[   15.610191]  do_syscall_64+0x73/0x130
[   15.610661]  ? do_syscall_64+0x73/0x130
[   15.611133]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
[   15.611607] RIP: 0033:0x7f87e7f340a8
[   15.612103] RSP: 002b:7fff6c1a4f70 EFLAGS: 0202 ORIG_RAX: 
004e
[   15.612590] RAX: ffda RBX: 5572d8a8a610 RCX: 7f87e7f340a8
[   15.613084] RDX: 8000 RSI: 5572d8a8a610 RDI: 0004
[   15.613579] RBP: 5572d8a8a610 R08: 0078 R09: 
[   15.614074] R10: 5572d8a79010 R11: 0202 R12: fec0
[   15.614565] R13: 0002 R14: 5572d8a81040 R15: 7fff6c1a68d0
[   15.615056] Code: 48 0f 45 d1 48 c7 c6 03 d6 0d 88 48 c7 c1 9f e3 0e 88 48 
0f 45 f1 49 89 d9 49 89 c0 4c 89 f1 48 c7 c7 a8 e3 0e 88 e8 2d f9 e7 ff <0f> 0b 
f3 c3 48 8b 3d a2 3f 1a 01 48 8b 0d b3 c1 1d 01 be 00 00 
[   15.616120] RIP: __check_object_size+0x123/0x1b0 RSP: aeac02397db8
[   15.616658] ---[ end trace 534113c931f35fd7 ]---

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-generic 4.15.0.29.31
ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18
Uname: Linux 4.15.0-29-generic x86_64
AlsaDevices:
 total 0
 crw-rw+ 1 root audio 116,  1 Jul 25 12:47 seq
 crw-rw+ 1 root audio 116, 33 Jul 25 12:47 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
Date: Wed Jul 25 13:03:27 2018
InstallationDate: Installed on 2018-07-25 (0 days ago)
InstallationMedia: Ubuntu-Server 18.04 LTS "Bionic Beaver" - Release amd64 
(20180426)
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
MachineType: HP ProLiant ML310e Gen8
PciMultimedia:
 
ProcEnviron:
 LANG=en_GB.UTF-8
 TERM=xterm-256color
 SHELL=/bin/bash
 XDG_RUNTIME_DIR=
 PATH=(custom, no user)
ProcFB: 0 mgadrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-29-generic 
root=UUID=2184c6d2-2609-458d-b223-0115f6cee51b ro
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-29-generic N/A
 linux-backports-modules-4.15.0-29-generic  N/A
 linux-firmware 1.173.1
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/21/2018
dmi.bios.vendor: HP
dmi.bios.version: J04