================================================================== BUG: KASAN: use-after-free in hlist_move_list include/linux/list.h:1014 [inline] BUG: KASAN: use-after-free in collect_expired_timers kernel/time/timer.c:1576 [inline] BUG: KASAN: use-after-free in __run_timers+0x34a/0xa10 kernel/time/timer.c:1812 Write of size 8 at addr ffff88811bdb0a00 by task syz.4.274/1409 CPU: 1 PID: 1409 Comm: syz.4.274 Not tainted 6.1.118-syzkaller-00074-g3e3f2b9e9fca #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 Call Trace: <IRQ> __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x151/0x1b7 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:316 [inline] print_report+0x158/0x4e0 mm/kasan/report.c:427 kasan_report+0x13c/0x170 mm/kasan/report.c:531 __asan_report_store8_noabort+0x17/0x20 mm/kasan/report_generic.c:356 hlist_move_list include/linux/list.h:1014 [inline] collect_expired_timers kernel/time/timer.c:1576 [inline] __run_timers+0x34a/0xa10 kernel/time/timer.c:1812 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1839 handle_softirqs+0x1db/0x650 kernel/softirq.c:617 __do_softirq kernel/softirq.c:655 [inline] invoke_softirq kernel/softirq.c:472 [inline] __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:704 irq_exit_rcu+0x9/0x10 kernel/softirq.c:716 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1118 </IRQ> <TASK> asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:finish_task_switch+0x16f/0x7b0 kernel/sched/core.c:5294 Code: 74 08 4c 89 ff e8 01 78 6c 00 49 8b 1f 48 85 db 4c 8b 6d c0 0f 85 ce 00 00 00 4c 89 e7 e8 79 6c d1 03 fb 49 8d 9d 48 0b 00 00 <48> 89 d8 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df 42 0f b6 04 30 RSP: 0018:ffffc90011bcec20 EFLAGS: 00000282 RAX: 0000000080000001 RBX: ffff88810a678b48 RCX: 0000000000000002 RDX: 0000000000000001 RSI: ffffffff85ea1180 RDI: 0000000000000001 RBP: ffffc90011bcec70 R08: dffffc0000000000 R09: ffffed102203b511 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f6f37c80 R13: ffff88810a678000 R14: 1ffff1103ede70fc R15: ffff8881f6f387e0 context_switch kernel/sched/core.c:5420 [inline] __schedule+0xcbd/0x1560 kernel/sched/core.c:6747 preempt_schedule_irq+0xc7/0x140 kernel/sched/core.c:7059 raw_irqentry_exit_cond_resched+0x2a/0x30 kernel/entry/common.c:396 irqentry_exit+0x30/0x40 kernel/entry/common.c:439 sysvec_reschedule_ipi+0x8f/0x170 arch/x86/kernel/smp.c:244 asm_sysvec_reschedule_ipi+0x1b/0x20 arch/x86/include/asm/idtentry.h:696 RIP: 0010:should_fail_alloc_page+0x0/0x90 mm/page_alloc.c:4090 Code: 06 48 89 df 44 89 f9 45 89 f0 41 b9 03 00 00 00 e8 75 a6 ff ff 5b 41 5e 41 5f 5d c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 <55> 48 89 e5 41 56 53 31 c0 f7 c7 00 80 00 00 75 57 41 89 f6 39 35 RSP: 0018:ffffc90011bcef38 EFLAGS: 00000246 RAX: ffffc90011bcf0a8 RBX: ffff88810a6789e8 RCX: 1ffff92002379e15 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000140cca RBP: ffffc90011bcf030 R08: ffffc90011bcf090 R09: ffffc90011bcf080 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90011bcf0b8 R13: 0000000000000000 R14: ffffc90011bcf0a0 R15: 0000000000140cca __alloc_pages+0x162/0x610 mm/page_alloc.c:5748 __folio_alloc+0x15/0x40 mm/page_alloc.c:5791 __folio_alloc_node include/linux/gfp.h:245 [inline] folio_alloc include/linux/gfp.h:274 [inline] shmem_alloc_folio mm/shmem.c:1599 [inline] shmem_alloc_and_acct_folio+0x78c/0xa50 mm/shmem.c:1624 shmem_get_folio_gfp+0x12d4/0x24b0 mm/shmem.c:1953 shmem_fault+0x1f7/0x840 mm/shmem.c:2168 __do_fault mm/memory.c:4359 [inline] do_read_fault mm/memory.c:4725 [inline] do_fault+0xbc5/0x1f10 mm/memory.c:4861 handle_pte_fault mm/memory.c:5157 [inline] __handle_mm_fault mm/memory.c:5299 [inline] handle_mm_fault+0x189f/0x30e0 mm/memory.c:5439 faultin_page mm/gup.c:1009 [inline] __get_user_pages+0x377/0xf20 mm/gup.c:1233 populate_vma_page_range mm/gup.c:1590 [inline] __mm_populate+0x375/0x570 mm/gup.c:1704 mm_populate include/linux/mm.h:3061 [inline] vm_mmap_pgoff+0x290/0x430 mm/util.c:530 ksys_mmap_pgoff+0xed/0x1e0 mm/mmap.c:1521 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:93 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline] __x64_sys_mmap+0x103/0x120 arch/x86/kernel/sys_x86_64.c:86 x64_sys_call+0x67/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:10 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f3af7d85d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3af8c8d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f3af7f75fa0 RCX: 00007f3af7d85d29 RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007f3af7e01aa8 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3af7f75fa0 R15: 00007ffec922d078 </TASK> Allocated by task 1328: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 kasan_save_alloc_info+0x1f/0x30 mm/kasan/generic.c:505 ____kasan_kmalloc mm/kasan/common.c:379 [inline] __kasan_kmalloc+0x9c/0xb0 mm/kasan/common.c:388 kasan_kmalloc include/linux/kasan.h:212 [inline] __do_kmalloc_node mm/slab_common.c:938 [inline] __kmalloc+0xb4/0x1e0 mm/slab_common.c:951 kmalloc include/linux/slab.h:562 [inline] kzalloc include/linux/slab.h:693 [inline] hci_alloc_dev_priv+0x27/0x1c00 net/bluetooth/hci_core.c:2435 hci_alloc_dev include/net/bluetooth/hci_core.h:1484 [inline] hci_uart_register_dev drivers/bluetooth/hci_ldisc.c:636 [inline] hci_uart_set_proto drivers/bluetooth/hci_ldisc.c:712 [inline] hci_uart_tty_ioctl+0x401/0xa70 drivers/bluetooth/hci_ldisc.c:765 tty_ioctl+0x903/0xc50 drivers/tty/tty_io.c:2785 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0x114/0x190 fs/ioctl.c:856 __x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:856 x64_sys_call+0x98/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Freed by task 1342: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:516 ____kasan_slab_free+0x131/0x180 mm/kasan/common.c:241 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:249 kasan_slab_free include/linux/kasan.h:178 [inline] slab_free_hook mm/slub.c:1745 [inline] slab_free_freelist_hook mm/slub.c:1771 [inline] slab_free mm/slub.c:3686 [inline] __kmem_cache_free+0x21d/0x410 mm/slub.c:3702 kfree+0x7a/0xf0 mm/slab_common.c:990 hci_release_dev+0x14d3/0x1640 net/bluetooth/hci_core.c:2763 bt_host_release+0x83/0xa0 net/bluetooth/hci_sysfs.c:92 device_release+0x95/0x1c0 kobject_cleanup lib/kobject.c:681 [inline] kobject_release lib/kobject.c:712 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x178/0x260 lib/kobject.c:729 put_device+0x1f/0x30 drivers/base/core.c:3805 hci_dev_put include/net/bluetooth/hci_core.h:1444 [inline] hci_dev_cmd+0x2be/0x9b0 net/bluetooth/hci_core.c:795 hci_sock_ioctl+0x415/0x7f0 net/bluetooth/hci_sock.c:1096 sock_do_ioctl+0x152/0x450 net/socket.c:1194 sock_ioctl+0x455/0x740 net/socket.c:1311 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0x114/0x190 fs/ioctl.c:856 __x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:856 x64_sys_call+0x98/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Last potentially related work creation: kasan_save_stack+0x3b/0x60 mm/kasan/common.c:45 __kasan_record_aux_stack+0xb4/0xc0 mm/kasan/generic.c:486 kasan_record_aux_stack_noalloc+0xb/0x10 mm/kasan/generic.c:496 insert_work+0x56/0x310 kernel/workqueue.c:1368 __queue_work+0x9b6/0xd70 kernel/workqueue.c:1527 queue_work_on+0x105/0x170 kernel/workqueue.c:1555 queue_work include/linux/workqueue.h:510 [inline] hci_cmd_sync_run net/bluetooth/hci_sync.c:140 [inline] __hci_cmd_sync_sk+0xc2a/0xf70 net/bluetooth/hci_sync.c:162 __hci_cmd_sync_status_sk net/bluetooth/hci_sync.c:253 [inline] __hci_cmd_sync_status net/bluetooth/hci_sync.c:277 [inline] hci_cmd_sync_status+0x52/0x130 net/bluetooth/hci_sync.c:288 hci_dev_cmd+0x39e/0x9b0 net/bluetooth/hci_core.c:749 hci_sock_ioctl+0x415/0x7f0 net/bluetooth/hci_sock.c:1096 sock_do_ioctl+0x152/0x450 net/socket.c:1194 sock_ioctl+0x455/0x740 net/socket.c:1311 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0x114/0x190 fs/ioctl.c:856 __x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:856 x64_sys_call+0x98/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Second to last potentially related work creation: kasan_save_stack+0x3b/0x60 mm/kasan/common.c:45 __kasan_record_aux_stack+0xb4/0xc0 mm/kasan/generic.c:486 kasan_record_aux_stack_noalloc+0xb/0x10 mm/kasan/generic.c:496 insert_work+0x56/0x310 kernel/workqueue.c:1368 __queue_work+0x9b6/0xd70 kernel/workqueue.c:1527 queue_work_on+0x105/0x170 kernel/workqueue.c:1555 queue_work include/linux/workqueue.h:510 [inline] hci_cmd_timeout+0x199/0x200 net/bluetooth/hci_core.c:1468 process_one_work+0x73d/0xcb0 kernel/workqueue.c:2299 worker_thread+0xa60/0x1260 kernel/workqueue.c:2446 kthread+0x26d/0x300 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 The buggy address belongs to the object at ffff88811bdb0000 which belongs to the cache kmalloc-8k of size 8192 The buggy address is located 2560 bytes inside of 8192-byte region [ffff88811bdb0000, ffff88811bdb2000) The buggy address belongs to the physical page: page:ffffea00046f6c00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11bdb0 head:ffffea00046f6c00 order:3 compound_mapcount:0 compound_pincount:0 flags: 0x4000000000010200(slab|head|zone=1) raw: 4000000000010200 0000000000000000 dead000000000001 ffff888100043500 raw: 0000000000000000 0000000000020002 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0x52a20(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP), pid 124, tgid 124 (dbus-daemon), ts 5260016871, free_ts 0 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x213/0x220 mm/page_alloc.c:2590 prep_new_page+0x1b/0x110 mm/page_alloc.c:2597 get_page_from_freelist+0x2f41/0x2fc0 mm/page_alloc.c:4462 __alloc_pages+0x234/0x610 mm/page_alloc.c:5759 alloc_slab_page+0x6c/0xf0 allocate_slab mm/slub.c:1962 [inline] new_slab+0x90/0x3e0 mm/slub.c:2015 ___slab_alloc+0x6f9/0xb80 mm/slub.c:3203 __slab_alloc+0x5d/0xa0 mm/slub.c:3302 slab_alloc_node mm/slub.c:3387 [inline] __kmem_cache_alloc_node+0x207/0x2a0 mm/slub.c:3462 kmalloc_trace+0x2a/0xa0 mm/slab_common.c:1028 kmalloc include/linux/slab.h:557 [inline] audit_log_d_path+0xb9/0x170 kernel/audit.c:2151 dump_common_audit_data security/lsm_audit.c:236 [inline] common_lsm_audit+0x3bf/0x1940 security/lsm_audit.c:457 slow_avc_audit+0x26c/0x3c0 security/selinux/avc.c:804 avc_audit security/selinux/include/avc.h:136 [inline] avc_has_perm+0x1f5/0x260 security/selinux/avc.c:1201 file_has_perm+0x1ca/0x6c0 security/selinux/hooks.c:1706 match_file+0xde/0x140 security/selinux/hooks.c:2395 page_owner free stack trace missing Memory state around the buggy address: ffff88811bdb0900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88811bdb0980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff88811bdb0a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88811bdb0a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88811bdb0b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 1409 Comm: syz.4.274 Tainted: G B 6.1.118-syzkaller-00074-g3e3f2b9e9fca #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 RIP: 0010:__queue_work+0x4f1/0xd70 Code: 39 03 0f 84 40 01 00 00 e8 fc 6b 2a 00 4c 89 e7 e8 e4 d3 d6 03 49 bd 00 00 00 00 00 fc ff df 4c 8b 65 d0 4c 89 f0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 f7 e8 30 df 71 00 49 8b 3e e8 98 cc d6 RSP: 0018:ffffc900001b0c78 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 000000007fffffff RCX: ffff88810a678000 RDX: 0000000000000100 RSI: 000000007fffffff RDI: 000000007fffffff RBP: ffffc900001b0d00 R08: ffffffff814b186b R09: 0000000000000007 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff88811bdb09c8 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88811bdb09e0 FS: 00007f3af8c8d6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c27e7a4 CR3: 0000000134a63000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <IRQ> delayed_work_timer_fn+0x61/0x80 kernel/workqueue.c:1653 call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1510 expire_timers kernel/time/timer.c:1550 [inline] __run_timers+0x756/0xa10 kernel/time/timer.c:1826 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1839 handle_softirqs+0x1db/0x650 kernel/softirq.c:617 __do_softirq kernel/softirq.c:655 [inline] invoke_softirq kernel/softirq.c:472 [inline] __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:704 irq_exit_rcu+0x9/0x10 kernel/softirq.c:716 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1118 </IRQ> <TASK> asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:finish_task_switch+0x16f/0x7b0 kernel/sched/core.c:5294 Code: 74 08 4c 89 ff e8 01 78 6c 00 49 8b 1f 48 85 db 4c 8b 6d c0 0f 85 ce 00 00 00 4c 89 e7 e8 79 6c d1 03 fb 49 8d 9d 48 0b 00 00 <48> 89 d8 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df 42 0f b6 04 30 RSP: 0018:ffffc90011bcec20 EFLAGS: 00000282 RAX: 0000000080000001 RBX: ffff88810a678b48 RCX: 0000000000000002 RDX: 0000000000000001 RSI: ffffffff85ea1180 RDI: 0000000000000001 RBP: ffffc90011bcec70 R08: dffffc0000000000 R09: ffffed102203b511 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f6f37c80 R13: ffff88810a678000 R14: 1ffff1103ede70fc R15: ffff8881f6f387e0 context_switch kernel/sched/core.c:5420 [inline] __schedule+0xcbd/0x1560 kernel/sched/core.c:6747 preempt_schedule_irq+0xc7/0x140 kernel/sched/core.c:7059 raw_irqentry_exit_cond_resched+0x2a/0x30 kernel/entry/common.c:396 irqentry_exit+0x30/0x40 kernel/entry/common.c:439 sysvec_reschedule_ipi+0x8f/0x170 arch/x86/kernel/smp.c:244 asm_sysvec_reschedule_ipi+0x1b/0x20 arch/x86/include/asm/idtentry.h:696 RIP: 0010:should_fail_alloc_page+0x0/0x90 mm/page_alloc.c:4090 Code: 06 48 89 df 44 89 f9 45 89 f0 41 b9 03 00 00 00 e8 75 a6 ff ff 5b 41 5e 41 5f 5d c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 <55> 48 89 e5 41 56 53 31 c0 f7 c7 00 80 00 00 75 57 41 89 f6 39 35 RSP: 0018:ffffc90011bcef38 EFLAGS: 00000246 RAX: ffffc90011bcf0a8 RBX: ffff88810a6789e8 RCX: 1ffff92002379e15 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000140cca RBP: ffffc90011bcf030 R08: ffffc90011bcf090 R09: ffffc90011bcf080 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90011bcf0b8 R13: 0000000000000000 R14: ffffc90011bcf0a0 R15: 0000000000140cca __alloc_pages+0x162/0x610 mm/page_alloc.c:5748 __folio_alloc+0x15/0x40 mm/page_alloc.c:5791 __folio_alloc_node include/linux/gfp.h:245 [inline] folio_alloc include/linux/gfp.h:274 [inline] shmem_alloc_folio mm/shmem.c:1599 [inline] shmem_alloc_and_acct_folio+0x78c/0xa50 mm/shmem.c:1624 shmem_get_folio_gfp+0x12d4/0x24b0 mm/shmem.c:1953 shmem_fault+0x1f7/0x840 mm/shmem.c:2168 __do_fault mm/memory.c:4359 [inline] do_read_fault mm/memory.c:4725 [inline] do_fault+0xbc5/0x1f10 mm/memory.c:4861 handle_pte_fault mm/memory.c:5157 [inline] __handle_mm_fault mm/memory.c:5299 [inline] handle_mm_fault+0x189f/0x30e0 mm/memory.c:5439 faultin_page mm/gup.c:1009 [inline] __get_user_pages+0x377/0xf20 mm/gup.c:1233 populate_vma_page_range mm/gup.c:1590 [inline] __mm_populate+0x375/0x570 mm/gup.c:1704 mm_populate include/linux/mm.h:3061 [inline] vm_mmap_pgoff+0x290/0x430 mm/util.c:530 ksys_mmap_pgoff+0xed/0x1e0 mm/mmap.c:1521 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:93 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline] __x64_sys_mmap+0x103/0x120 arch/x86/kernel/sys_x86_64.c:86 x64_sys_call+0x67/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:10 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f3af7d85d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3af8c8d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f3af7f75fa0 RCX: 00007f3af7d85d29 RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007f3af7e01aa8 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3af7f75fa0 R15: 00007ffec922d078 </TASK> Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__queue_work+0x4f1/0xd70 Code: 39 03 0f 84 40 01 00 00 e8 fc 6b 2a 00 4c 89 e7 e8 e4 d3 d6 03 49 bd 00 00 00 00 00 fc ff df 4c 8b 65 d0 4c 89 f0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 f7 e8 30 df 71 00 49 8b 3e e8 98 cc d6 RSP: 0018:ffffc900001b0c78 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 000000007fffffff RCX: ffff88810a678000 RDX: 0000000000000100 RSI: 000000007fffffff RDI: 000000007fffffff RBP: ffffc900001b0d00 R08: ffffffff814b186b R09: 0000000000000007 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff88811bdb09c8 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88811bdb09e0 FS: 00007f3af8c8d6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c27e7a4 CR3: 0000000134a63000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 74 08 je 0xa 2: 4c 89 ff mov %r15,%rdi 5: e8 01 78 6c 00 call 0x6c780b a: 49 8b 1f mov (%r15),%rbx d: 48 85 db test %rbx,%rbx 10: 4c 8b 6d c0 mov -0x40(%rbp),%r13 14: 0f 85 ce 00 00 00 jne 0xe8 1a: 4c 89 e7 mov %r12,%rdi 1d: e8 79 6c d1 03 call 0x3d16c9b 22: fb sti 23: 49 8d 9d 48 0b 00 00 lea 0xb48(%r13),%rbx * 2a: 48 89 d8 mov %rbx,%rax <-- trapping instruction 2d: 48 c1 e8 03 shr $0x3,%rax 31: 49 be 00 00 00 00 00 movabs $0xdffffc0000000000,%r14 38: fc ff df 3b: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax