====================================== | [ 45.501293][ T459] ================================================================== | [ 45.501634][ T459] BUG: KASAN: null-ptr-deref in try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) | [ 45.501930][ T459] Write of size 8 at addr 0000000000000000 by task ip/459 | [ 45.502168][ T459] [ 45.502295][ T459] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 45.502303][ T459] Call Trace: [ 45.502306][ T459] [ 45.502308][ T459] dump_stack_lvl (lib/dump_stack.c:123) [ 45.502318][ T459] ? try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 45.502321][ T459] kasan_report (mm/kasan/report.c:597) [ 45.502327][ T459] ? try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 45.502332][ T459] kasan_check_range (mm/kasan/generic.c:194 mm/kasan/generic.c:200) [ 45.502336][ T459] try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 45.502341][ T459] __cancel_work (kernel/workqueue.c:2161 kernel/workqueue.c:4364) [ 45.502344][ T459] ? enable_delayed_work (kernel/workqueue.c:4359) [ 45.502348][ T459] ? queue_delayed_work_on (kernel/workqueue.c:2590) [ 45.502352][ T459] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 45.502358][ T459] __cancel_work_sync (kernel/workqueue.c:4383) [ 45.502362][ T459] __dev_close_many (net/core/dev.c:1879 (discriminator 2) net/core/dev.c:1932 (discriminator 2)) [ 45.502368][ T459] ? netdev_notify_peers (net/core/dev.c:1891) [ 45.502373][ T459] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 45.502378][ T459] __dev_change_flags (./include/linux/list.h:119 ./include/linux/list.h:223 ./include/linux/list.h:237 net/core/dev.c:1945 net/core/dev.c:9924) [ 45.502382][ T459] ? __free_zapped_classes (kernel/locking/lockdep.c:5343) [ 45.502390][ T459] ? netif_set_allmulti (net/core/dev.c:9890) [ 45.502393][ T459] ? __lock_release (kernel/locking/lockdep.c:5536) [ 45.502401][ T459] netif_change_flags (net/core/dev.c:9989) [ 45.502407][ T459] do_setlink.constprop.0 (net/core/rtnetlink.c:3158) [ 45.502415][ T459] ? rtnl_newlink_create (net/core/rtnetlink.c:3036) [ 45.502421][ T459] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 45.502427][ T459] ? validate_chain (kernel/locking/lockdep.c:3801 kernel/locking/lockdep.c:3821 kernel/locking/lockdep.c:3876) [ 45.502432][ T459] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 45.502438][ T459] ? __mutex_trylock_common (./arch/x86/include/asm/atomic64_64.h:101 ./include/linux/atomic/atomic-arch-fallback.h:4296 ./include/linux/atomic/atomic-long.h:1482 ./include/linux/atomic/atomic-instrumented.h:4458 kernel/locking/mutex.c:113) [ 45.502441][ T459] ? __mutex_handoff (kernel/locking/mutex.c:88) [ 45.502445][ T459] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 45.502449][ T459] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 45.502452][ T459] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 45.502456][ T459] ? __mutex_lock (./arch/x86/include/asm/preempt.h:104 kernel/locking/mutex.c:739 kernel/locking/mutex.c:760) [ 45.502461][ T459] ? __create_object (mm/kmemleak.c:786) [ 45.502464][ T459] ? __lock_release (kernel/locking/lockdep.c:5536) [ 45.502468][ T459] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4071) [ 45.502471][ T459] ? ww_mutex_lock (kernel/locking/mutex.c:759) [ 45.502474][ T459] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 45.502479][ T459] ? __rtnl_newlink (net/core/rtnetlink.c:3922) [ 45.502484][ T459] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4073) [ 45.502489][ T459] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 45.502492][ T459] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 45.502497][ T459] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 45.502501][ T459] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/core/rtnetlink.c:6956) [ 45.502503][ T459] ? __lock_release (kernel/locking/lockdep.c:5536) [ 45.502508][ T459] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 45.502511][ T459] rtnetlink_rcv_msg (net/core/rtnetlink.c:6958) [ 45.502515][ T459] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 45.502517][ T459] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 45.502524][ T459] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 45.502528][ T459] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 45.502532][ T459] ? netlink_ack (net/netlink/af_netlink.c:2527) [ 45.502539][ T459] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/netlink/af_netlink.c:340) [ 45.502541][ T459] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 ./include/net/netns/generic.h:48 net/netlink/af_netlink.c:333) [ 45.502545][ T459] netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) [ 45.502549][ T459] ? netlink_attachskb (net/netlink/af_netlink.c:1329) [ 45.502553][ T459] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 45.502559][ T459] netlink_sendmsg (net/netlink/af_netlink.c:1894) [ 45.502563][ T459] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 45.502567][ T459] ? __import_iovec (lib/iov_iter.c:1346 lib/iov_iter.c:1361) [ 45.502572][ T459] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 45.502575][ T459] ____sys_sendmsg (net/socket.c:727 net/socket.c:742 net/socket.c:2630) [ 45.502580][ T459] ? get_timestamp.constprop.0 (net/socket.c:2576) [ 45.502583][ T459] ? __copy_msghdr (net/socket.c:2556) [ 45.502591][ T459] ___sys_sendmsg (net/socket.c:2686) [ 45.502594][ T459] ? kasan_record_aux_stack (mm/kasan/generic.c:559) [ 45.502597][ T459] ? __call_rcu_common.constprop.0 (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:127 kernel/rcu/tree.c:3125) [ 45.502602][ T459] ? copy_msghdr_from_user (net/socket.c:2673) [ 45.502607][ T459] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 45.502612][ T459] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 45.502617][ T459] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 45.502621][ T459] ? __virt_addr_valid (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:979 ./include/linux/mmzone.h:2197 arch/x86/mm/physaddr.c:65) [ 45.502625][ T459] ? __lock_release (kernel/locking/lockdep.c:5536) [ 45.502632][ T459] __sys_sendmsg (net/socket.c:2716) [ 45.502635][ T459] ? __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3148) [ 45.502638][ T459] ? __sys_sendmsg_sock (net/socket.c:2701) [ 45.502646][ T459] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 45.502650][ T459] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 45.502655][ T459] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 45.502659][ T459] RIP: 0033:0x7f4614ac21d7 [ 45.502670][ T459] Code: 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b9 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 89 54 24 1c 48 89 74 24 10 All code ======== 0: 0e (bad) 1: 00 f7 add %dh,%bh 3: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 7: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax e: eb b9 jmp 0xffffffffffffffc9 10: 0f 1f 00 nopl (%rax) 13: f3 0f 1e fa endbr64 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 10 jne 0x33 23: b8 2e 00 00 00 mov $0x2e,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 51 ja 0x83 32: c3 ret 33: 48 83 ec 28 sub $0x28,%rsp 37: 89 54 24 1c mov %edx,0x1c(%rsp) 3b: 48 89 74 24 10 mov %rsi,0x10(%rsp) Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 51 ja 0x59 8: c3 ret 9: 48 83 ec 28 sub $0x28,%rsp d: 89 54 24 1c mov %edx,0x1c(%rsp) 11: 48 89 74 24 10 mov %rsi,0x10(%rsp) [ 45.502673][ T459] RSP: 002b:00007ffe9dee0f28 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 45.502676][ T459] RAX: ffffffffffffffda RBX: 00007ffe9dee1650 RCX: 00007f4614ac21d7 [ 45.502679][ T459] RDX: 0000000000000000 RSI: 00007ffe9dee0f90 RDI: 0000000000000005 [ 45.502680][ T459] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 45.502682][ T459] R10: 00007f46149bef60 R11: 0000000000000246 R12: 0000000000000003 [ 45.502684][ T459] R13: 00000000691cc99f R14: 0000000000499600 R15: 0000000000000000 | [ 45.521712][ T459] #PF: error_code(0x0002) - not-present page | [ 45.521933][ T459] PGD f928067 P4D f928067 PUD 8b72067 PMD 0 | [ 45.522281][ T459] Oops: Oops: 0002 [#1] SMP KASAN | [ 45.522827][ T459] Tainted: [B]=BAD_PAGE [ 45.522968][ T459] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 45.523317][ T459] RIP: 0010:try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 45.523557][ T459] Code: 00 41 89 c0 b8 01 00 00 00 45 85 c0 74 0f 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f c3 be 08 00 00 00 48 89 df e8 7f 7f 81 00 48 0f ba 2b 00 72 11 48 83 c4 10 31 c0 5b 5d 41 5c 41 5d 41 5e All code ======== 0: 00 41 89 add %al,-0x77(%rcx) 3: c0 b8 01 00 00 00 45 sarb $0x45,0x1(%rax) a: 85 c0 test %eax,%eax c: 74 0f je 0x1d e: 48 83 c4 10 add $0x10,%rsp 12: 5b pop %rbx 13: 5d pop %rbp 14: 41 5c pop %r12 16: 41 5d pop %r13 18: 41 5e pop %r14 1a: 41 5f pop %r15 1c: c3 ret 1d: be 08 00 00 00 mov $0x8,%esi 22: 48 89 df mov %rbx,%rdi 25: e8 7f 7f 81 00 call 0x817fa9 2a:* f0 48 0f ba 2b 00 lock btsq $0x0,(%rbx) <-- trapping instruction 30: 72 11 jb 0x43 32: 48 83 c4 10 add $0x10,%rsp 36: 31 c0 xor %eax,%eax 38: 5b pop %rbx 39: 5d pop %rbp 3a: 41 5c pop %r12 3c: 41 5d pop %r13 3e: 41 5e pop %r14 Code starting with the faulting instruction =========================================== 0: f0 48 0f ba 2b 00 lock btsq $0x0,(%rbx) 6: 72 11 jb 0x19 8: 48 83 c4 10 add $0x10,%rsp c: 31 c0 xor %eax,%eax e: 5b pop %rbx f: 5d pop %rbp 10: 41 5c pop %r12 12: 41 5d pop %r13 14: 41 5e pop %r14 [ 45.524315][ T459] RSP: 0018:ffffc90000c36f40 EFLAGS: 00010046 [ 45.524544][ T459] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffffb7c4090a [ 45.524928][ T459] RDX: fffffbfff77cf2cd RSI: 0000000000000008 RDI: ffffffffbbe79660 [ 45.525195][ T459] RBP: ffffc90000c36fa8 R08: 0000000000000001 R09: fffffbfff77cf2cc [ 45.525474][ T459] R10: ffffffffbbe79667 R11: ffffc90000c36a00 R12: 0000000000000000 [ 45.525846][ T459] R13: 0000000000000282 R14: ffff8880088a9000 R15: dffffc0000000000 [ 45.526130][ T459] FS: 00007f46148f4800(0000) GS:ffff88807a3f2000(0000) knlGS:0000000000000000 [ 45.526556][ T459] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 45.526774][ T459] CR2: 0000000000000000 CR3: 000000000bf6d006 CR4: 0000000000772ef0 [ 45.527041][ T459] PKRU: 55555554 [ 45.527180][ T459] Call Trace: [ 45.527321][ T459] [ 45.527421][ T459] __cancel_work (kernel/workqueue.c:2161 kernel/workqueue.c:4364) [ 45.527612][ T459] ? enable_delayed_work (kernel/workqueue.c:4359) [ 45.527787][ T459] ? queue_delayed_work_on (kernel/workqueue.c:2590) [ 45.528079][ T459] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 45.528273][ T459] __cancel_work_sync (kernel/workqueue.c:4383) [ 45.528454][ T459] __dev_close_many (net/core/dev.c:1879 (discriminator 2) net/core/dev.c:1932 (discriminator 2)) [ 45.528629][ T459] ? netdev_notify_peers (net/core/dev.c:1891) [ 45.528919][ T459] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 45.529109][ T459] __dev_change_flags (./include/linux/list.h:119 ./include/linux/list.h:223 ./include/linux/list.h:237 net/core/dev.c:1945 net/core/dev.c:9924) [ 45.529294][ T459] ? __free_zapped_classes (kernel/locking/lockdep.c:5343) [ 45.529480][ T459] ? netif_set_allmulti (net/core/dev.c:9890) [ 45.529760][ T459] ? __lock_release (kernel/locking/lockdep.c:5536) [ 45.529943][ T459] netif_change_flags (net/core/dev.c:9989) [ 45.530127][ T459] do_setlink.constprop.0 (net/core/rtnetlink.c:3158) [ 45.530316][ T459] ? rtnl_newlink_create (net/core/rtnetlink.c:3036) [ 45.530612][ T459] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 45.530787][ T459] ? validate_chain (kernel/locking/lockdep.c:3801 kernel/locking/lockdep.c:3821 kernel/locking/lockdep.c:3876) [ 45.530972][ T459] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 45.531151][ T459] ? __mutex_trylock_common (./arch/x86/include/asm/atomic64_64.h:101 ./include/linux/atomic/atomic-arch-fallback.h:4296 ./include/linux/atomic/atomic-long.h:1482 ./include/linux/atomic/atomic-instrumented.h:4458 kernel/locking/mutex.c:113) [ 45.531454][ T459] ? __mutex_handoff (kernel/locking/mutex.c:88) [ 45.531633][ T459] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 45.531809][ T459] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 45.532002][ T459] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 45.532300][ T459] ? __mutex_lock (./arch/x86/include/asm/preempt.h:104 kernel/locking/mutex.c:739 kernel/locking/mutex.c:760) [ 45.532499][ T459] ? __create_object (mm/kmemleak.c:786) [ 45.532672][ T459] ? __lock_release (kernel/locking/lockdep.c:5536) [ 45.532846][ T459] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4071) [ 45.533146][ T459] ? ww_mutex_lock (kernel/locking/mutex.c:759) [ 45.533330][ T459] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 45.533512][ T459] ? __rtnl_newlink (net/core/rtnetlink.c:3922) [ 45.533693][ T459] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4073) [ 45.533989][ T459] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 45.534173][ T459] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 45.534368][ T459] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 45.534552][ T459] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/core/rtnetlink.c:6956) [ 45.534828][ T459] ? __lock_release (kernel/locking/lockdep.c:5536) [ 45.535026][ T459] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 45.535218][ T459] rtnetlink_rcv_msg (net/core/rtnetlink.c:6958) [ 45.535412][ T459] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 45.535687][ T459] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 45.535865][ T459] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 45.536079][ T459] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 45.536282][ T459] ? netlink_ack (net/netlink/af_netlink.c:2527) [ 45.536573][ T459] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/netlink/af_netlink.c:340) [ 45.536764][ T459] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 ./include/net/netns/generic.h:48 net/netlink/af_netlink.c:333) [ 45.536951][ T459] netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) [ 45.537134][ T459] ? netlink_attachskb (net/netlink/af_netlink.c:1329) [ 45.537438][ T459] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 45.537615][ T459] netlink_sendmsg (net/netlink/af_netlink.c:1894) [ 45.537787][ T459] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 45.537980][ T459] ? __import_iovec (lib/iov_iter.c:1346 lib/iov_iter.c:1361) [ 45.538276][ T459] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 45.538460][ T459] ____sys_sendmsg (net/socket.c:727 net/socket.c:742 net/socket.c:2630) [ 45.538642][ T459] ? get_timestamp.constprop.0 (net/socket.c:2576) [ 45.538856][ T459] ? __copy_msghdr (net/socket.c:2556) [ 45.539157][ T459] ___sys_sendmsg (net/socket.c:2686) [ 45.539341][ T459] ? kasan_record_aux_stack (mm/kasan/generic.c:559) [ 45.539524][ T459] ? __call_rcu_common.constprop.0 (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:127 kernel/rcu/tree.c:3125) [ 45.539741][ T459] ? copy_msghdr_from_user (net/socket.c:2673) [ 45.540028][ T459] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 45.540219][ T459] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 45.540408][ T459] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 45.540581][ T459] ? __virt_addr_valid (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:979 ./include/linux/mmzone.h:2197 arch/x86/mm/physaddr.c:65) [ 45.540865][ T459] ? __lock_release (kernel/locking/lockdep.c:5536) [ 45.541049][ T459] __sys_sendmsg (net/socket.c:2716) [ 45.541230][ T459] ? __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3148) [ 45.541469][ T459] ? __sys_sendmsg_sock (net/socket.c:2701) [ 45.541753][ T459] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 45.541937][ T459] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 45.542128][ T459] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 45.542474][ T459] RIP: 0033:0x7f4614ac21d7 [ 45.542661][ T459] Code: 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b9 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 89 54 24 1c 48 89 74 24 10 All code ======== 0: 0e (bad) 1: 00 f7 add %dh,%bh 3: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 7: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax e: eb b9 jmp 0xffffffffffffffc9 10: 0f 1f 00 nopl (%rax) 13: f3 0f 1e fa endbr64 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 10 jne 0x33 23: b8 2e 00 00 00 mov $0x2e,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 51 ja 0x83 32: c3 ret 33: 48 83 ec 28 sub $0x28,%rsp 37: 89 54 24 1c mov %edx,0x1c(%rsp) 3b: 48 89 74 24 10 mov %rsi,0x10(%rsp) Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 51 ja 0x59 8: c3 ret 9: 48 83 ec 28 sub $0x28,%rsp d: 89 54 24 1c mov %edx,0x1c(%rsp) 11: 48 89 74 24 10 mov %rsi,0x10(%rsp) [ 45.543429][ T459] RSP: 002b:00007ffe9dee0f28 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 45.543717][ T459] RAX: ffffffffffffffda RBX: 00007ffe9dee1650 RCX: 00007f4614ac21d7 [ 45.544002][ T459] RDX: 0000000000000000 RSI: 00007ffe9dee0f90 RDI: 0000000000000005 [ 45.544392][ T459] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 45.544657][ T459] R10: 00007f46149bef60 R11: 0000000000000246 R12: 0000000000000003 Finger prints: try_to_grab_pending:__cancel_work:__cancel_work_sync:__dev_close_many:__dev_change_flags kasan_report:kasan_check_range:try_to_grab_pending:__cancel_work:__cancel_work_sync