Skip to content

Instantly share code, notes, and snippets.

@kerneltoast
Created January 15, 2021 01:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kerneltoast/69ea902e5fc69be5cd9e03831806ea5b to your computer and use it in GitHub Desktop.
Save kerneltoast/69ea902e5fc69be5cd9e03831806ea5b to your computer and use it in GitHub Desktop.
orxray_libc_usleep_XX_1852: loading out-of-tree module taints kernel.
sysfs: cannot create duplicate filename '/kernel/slab/:0000144'
CPU: 4 PID: 6402 Comm: stapio Tainted: G O 5.7.12-1.el7.elrepo.x86_64 #1
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
Call Trace:
dump_stack+0x6d/0x9a
sysfs_warn_dup.cold+0x17/0x35
sysfs_create_dir_ns+0xb8/0xd0
kobject_add_internal+0xcf/0x2c0
kobject_init_and_add+0x71/0xa0
? sysfs_slab_add+0x146/0x280
sysfs_slab_add+0xc2/0x280
__kmem_cache_create+0x4f6/0x540
? __switch_to+0x110/0x3a0
? _cond_resched+0x19/0x30
? kmem_cache_alloc+0x1ec/0x210
create_cache+0x11c/0x210
kmem_cache_create_usercopy+0x13f/0x230
kmem_cache_create+0x16/0x20
utrace_init+0xf3/0x368 [orxray_resty_mem_XX_6402]
stap_start_task_finder+0x2c/0x309 [orxray_resty_mem_XX_6402]
? stap_register_task_finder_target+0x1d3/0x24c [orxray_resty_mem_XX_6402]
systemtap_module_init+0x46e/0x54b [orxray_resty_mem_XX_6402]
_stp_handle_start+0x6f/0xf0 [orxray_resty_mem_XX_6402]
_stp_ctl_write_cmd+0x15e/0x2ac [orxray_resty_mem_XX_6402]
proc_reg_write+0x66/0x90
__vfs_write+0x1b/0x40
vfs_write+0xb9/0x1b0
ksys_write+0x67/0xe0
__x64_sys_write+0x1a/0x20
do_syscall_64+0x60/0x1e0
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f924b1326fd
Code: cd 20 00 00 75 10 b8 01 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 4e fd ff ff 48 89 04 24 b8 01 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 97 fd ff ff 48 89 d0 48 83 c4 08 48 3d 01
RSP: 002b:00007ffd77a76980 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f924b1326fd
RDX: 000000000000000c RSI: 00007ffd77a76990 RDI: 0000000000000004
RBP: 00007ffd77a76990 R08: 00007f9246d4d700 R09: 00007f924aea45a0
R10: 00007f9246d4d9d0 R11: 0000000000000293 R12: 000000000000000c
R13: 00007ffd77a76eb4 R14: 0000000000000000 R15: 00007ffd77a76e08
bkobject_add_internal failed for :0000144 with -EEXIST, don't try to register things with the same name in the same directory.
kmem_cache_create(utrace_ffffffffa072f618) failed with error -17*
CPU: 4 PID: 6402 Comm: stapio Tainted: G O 5.7.12-1.el7.elrepo.x86_64 #1
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
Call Trace:
dump_stack+0x6d/0x9a
kmem_cache_create_usercopy.cold+0x17/0x39
kmem_cache_create+0x16/0x20
utrace_init+0xf3/0x368 [orxray_resty_mem_XX_6402]
stap_start_task_finder+0x2c/0x309 [orxray_resty_mem_XX_6402]
? stap_register_task_finder_target+0x1d3/0x24c [orxray_resty_mem_XX_6402]
systemtap_module_init+0x46e/0x54b [orxray_resty_mem_XX_6402]
_stp_handle_start+0x6f/0xf0 [orxray_resty_mem_XX_6402]
_stp_ctl_write_cmd+0x15e/0x2ac [orxray_resty_mem_XX_6402]
proc_reg_write+0x66/0x90
__vfs_write+0x1b/0x40
vfs_write+0xb9/0x1b0
ksys_write+0x67/0xe0
__x64_sys_write+0x1a/0x20
do_syscall_64+0x60/0x1e0
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f924b1326fdj
Code: cd 20 00 00 75 10 b8 01 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 4e fd ff ff 48 89 04 24 b8 01 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 97 fd ff ff 48 89 d0 48 83 c4 08 48 3d 01
RSP: 002b:00007ffd77a76980 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f924b1326fd
RDX: 000000000000000c RSI: 00007ffd77a76990 RDI: 0000000000000004
RBP: 00007ffd77a76990 R08: 00007f9246d4d700 R09: 00007f924aea45a0
R10: 00007f9246d4d9d0 R11: 0000000000000293 R12: 000000000000000c
R13: 00007ffd77a76eb4 R14: 0000000000000000 R15: 00007ffd77a76e08
general protection fault, probably for non-canonical address 0x755f6d6574737973: 0000 [#1] SMP NOPTI!
CPU: 4 PID: 196 Comm: kworker/4:2 Tainted: G O 5.7.12-1.el7.elrepo.x86_64 #1
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
Workqueue: events drm_fb_helper_dirty_work [drm_kms_helper]
RIP: 0010:qxl_release_list_add+0x2d/0xa0 [qxl]
Code: 00 00 55 48 89 e5 41 56 41 55 49 89 fd 41 54 4c 8d 67 70 53 48 8b 47 70 48 89 f3 49 39 c4 75 0a eb 19 48 8b 00 4c 39 e0 74 11 <48> 39 58 10 75 f2 31 c0 5b 41 5c 41 5d 41 5e 5d c3 48 8b 3d d3 c6
RSP: 0018:ffffc900003cfca8 EFLAGS: 00010207
RAX: 755f6d6574737973 RBX: ffff88836f4e4400 RCX: ffffc900003cfce0
RDX: ffffc900003cfce0 RSI: ffff88836f4e4400 RDI: ffff8883581c1000
RBP: ffffc900003cfcc8 R08: ffff888370312868 R09: ffff888370312868
R10: ffff888357f49e40 R11: 0000000000003ff1 R12: ffff8883581c1070
R13: ffff8883581c1000 R14: ffff8883581c1000 R15: ffffc900003cfe20
FS: 0000000000000000(0000) GS:ffff888373d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9246d4cfb8 CR3: 0000000356076000 CR4: 0000000000340ee0
Call Trace:
qxl_alloc_bo_reserved+0x53/0xb0 [qxl]
qxl_draw_dirty_fb+0xff/0x460 [qxl]
? drm_modeset_lock_all_ctx+0xa8/0xe0 [drm]
qxl_framebuffer_surface_dirty+0xb9/0x120 [qxl]
drm_fb_helper_dirty_work+0x16a/0x190 [drm_kms_helper]
process_one_work+0x1b4/0x380
worker_thread+0x50/0x3d0
kthread+0x106/0x140
? process_one_work+0x380/0x380
? kthread_park+0x90/0x90
ret_from_fork+0x1f/0x40
Modules linked in: orxray_resty_mem_XX_6402(O) orxray_libc_usleep_XX_6220(O) ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 ipt_REJECT nf_reject_ipv4 xt_conntrack ebtable_nat ebtable_broute ip6table_nat ip6table_mangle ip6table_security ip6table_raw iptable_nat nf_nat iptable_mangle iptable_security iptable_raw nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set nfnetlink ebtable_filter ebtables rfkill ip6table_filter ip6_tables iptable_filter snd_hda_codec_generic ledtrig_audio snd_hda_intel snd_intel_dspcfg snd_hda_codec iTCO_wdt crct10dif_pclmul crc32_pclmul snd_hda_core iTCO_vendor_support ghash_clmulni_intel snd_hwdep snd_seq snd_seq_device snd_pcm aesni_intel crypto_simd cryptd glue_helper joydev snd_timer pcspkr input_leds snd lpc_ich soundcore mfd_core virtio_rng i2c_i801 virtio_balloon qemu_fw_cfg ip_tables xfs libcrc32c virtio_net net_failover virtio_blk virtio_console failover crc32c_intel serio_raw ahci libahci qxl drm_ttm_helper libata ttm drm_kms_helper syscopyarea
sysfillrect sysimgblt fb_sys_fops virtio_pci virtio_ring drm virtio dm_mirror dm_region_hash dm_log dm_mod [last unloaded: orxray_resty_mem_XX_5300]
---[ end trace fe6883a51dab75b2 ]---
RIP: 0010:qxl_release_list_add+0x2d/0xa0 [qxl]
Code: 00 00 55 48 89 e5 41 56 41 55 49 89 fd 41 54 4c 8d 67 70 53 48 8b 47 70 48 89 f3 49 39 c4 75 0a eb 19 48 8b 00 4c 39 e0 74 11 <48> 39 58 10 75 f2 31 c0 5b 41 5c 41 5d 41 5e 5d c3 48 8b 3d d3 c6
RSP: 0018:ffffc900003cfca8 EFLAGS: 00010207
RAX: 755f6d6574737973 RBX: ffff88836f4e4400 RCX: ffffc900003cfce0
RDX: ffffc900003cfce0 RSI: ffff88836f4e4400 RDI: ffff8883581c1000
RBP: ffffc900003cfcc8 R08: ffff888370312868 R09: ffff888370312868
R10: ffff888357f49e40 R11: 0000000000003ff1 R12: ffff8883581c1070
R13: ffff8883581c1000 R14: ffff8883581c1000 R15: ffffc900003cfe20
FS: 0000000000000000(0000) GS:ffff888373d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9246d4cfb8 CR3: 0000000356076000 CR4: 0000000000340ee0
Kernel panic - not syncing: Fatal exception
orxray_libc_usleep_XX_6220 trace buffer for processor 0 sub-buffer 0:
usleep(1000)
orxray_libc_usleep_XX_6220 trace buffer for processor 2 sub-buffer 0:
usleep(1000)
orxray_libc_usleep_XX_6220 trace buffer for processor 4 sub-buffer 0:
usleep(1000)n
orxray_libc_usleep_XX_6220 trace buffer for processor 6 sub-buffer 0:
usleep(1000)
orxray_libc_usleep_XX_6220 trace buffer for processor 7 sub-buffer 0:
usleep(1000)r
Kernel Offset: disabled
---[ end Kernel panic - not syncing: Fatal exception ]---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment