====================================== | [ 63.244549][ T736] ================================================================== | [ 63.244875][ T736] 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) | [ 63.245191][ T736] Write of size 8 at addr 0000000000000000 by task ip/736 | [ 63.245428][ T736] [ 63.245544][ T736] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 63.245551][ T736] Call Trace: [ 63.245557][ T736] [ 63.245559][ T736] dump_stack_lvl (lib/dump_stack.c:123) [ 63.245586][ T736] ? try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 63.245590][ T736] kasan_report (mm/kasan/report.c:597) [ 63.245600][ T736] ? try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 63.245606][ T736] kasan_check_range (mm/kasan/generic.c:194 mm/kasan/generic.c:200) [ 63.245609][ T736] try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 63.245615][ T736] __cancel_work (kernel/workqueue.c:2161 kernel/workqueue.c:4364) [ 63.245618][ T736] ? enable_delayed_work (kernel/workqueue.c:4359) [ 63.245621][ T736] ? queue_delayed_work_on (kernel/workqueue.c:2590) [ 63.245625][ T736] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 63.245632][ T736] __cancel_work_sync (kernel/workqueue.c:4383) [ 63.245636][ T736] __dev_close_many (net/core/dev.c:1879 (discriminator 2) net/core/dev.c:1932 (discriminator 2)) [ 63.245650][ T736] ? netdev_notify_peers (net/core/dev.c:1891) [ 63.245655][ T736] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 63.245661][ T736] __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) [ 63.245664][ T736] ? __free_zapped_classes (kernel/locking/lockdep.c:5343) [ 63.245672][ T736] ? netif_set_allmulti (net/core/dev.c:9890) [ 63.245674][ T736] ? __lock_release (kernel/locking/lockdep.c:5536) [ 63.245683][ T736] netif_change_flags (net/core/dev.c:9989) [ 63.245687][ T736] do_setlink.constprop.0 (net/core/rtnetlink.c:3158) [ 63.245696][ T736] ? rtnl_newlink_create (net/core/rtnetlink.c:3036) [ 63.245701][ T736] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 63.245712][ T736] ? validate_chain (kernel/locking/lockdep.c:3801 kernel/locking/lockdep.c:3821 kernel/locking/lockdep.c:3876) [ 63.245719][ T736] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 63.245726][ T736] ? __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) [ 63.245730][ T736] ? __mutex_handoff (kernel/locking/mutex.c:88) [ 63.245734][ T736] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 63.245742][ T736] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 63.245745][ T736] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 63.245749][ T736] ? __mutex_lock (./arch/x86/include/asm/preempt.h:104 kernel/locking/mutex.c:739 kernel/locking/mutex.c:760) [ 63.245764][ T736] ? __create_object (mm/kmemleak.c:786) [ 63.245769][ T736] ? __lock_release (kernel/locking/lockdep.c:5536) [ 63.245772][ T736] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4071) [ 63.245775][ T736] ? ww_mutex_lock (kernel/locking/mutex.c:759) [ 63.245779][ T736] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 63.245791][ T736] ? __rtnl_newlink (net/core/rtnetlink.c:3922) [ 63.245796][ T736] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4073) [ 63.245801][ T736] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 63.245804][ T736] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 63.245810][ T736] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 63.245814][ T736] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/core/rtnetlink.c:6956) [ 63.245816][ T736] ? __lock_release (kernel/locking/lockdep.c:5536) [ 63.245821][ T736] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 63.245824][ T736] rtnetlink_rcv_msg (net/core/rtnetlink.c:6958) [ 63.245827][ T736] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 63.245830][ T736] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 63.245837][ T736] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 63.245846][ T736] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 63.245850][ T736] ? netlink_ack (net/netlink/af_netlink.c:2527) [ 63.245857][ T736] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/netlink/af_netlink.c:340) [ 63.245860][ T736] ? 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) [ 63.245864][ T736] netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) [ 63.245868][ T736] ? netlink_attachskb (net/netlink/af_netlink.c:1329) [ 63.245872][ T736] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 63.245877][ T736] netlink_sendmsg (net/netlink/af_netlink.c:1894) [ 63.245882][ T736] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 63.245885][ T736] ? __import_iovec (lib/iov_iter.c:1346 lib/iov_iter.c:1361) [ 63.245897][ T736] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 63.245900][ T736] ____sys_sendmsg (net/socket.c:727 net/socket.c:742 net/socket.c:2630) [ 63.245910][ T736] ? get_timestamp.constprop.0 (net/socket.c:2576) [ 63.245913][ T736] ? __copy_msghdr (net/socket.c:2556) [ 63.245920][ T736] ___sys_sendmsg (net/socket.c:2686) [ 63.245924][ T736] ? kasan_record_aux_stack (mm/kasan/generic.c:559) [ 63.245926][ T736] ? __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) [ 63.245934][ T736] ? copy_msghdr_from_user (net/socket.c:2673) [ 63.245939][ T736] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 63.245945][ T736] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 63.245951][ T736] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 63.245955][ T736] ? __virt_addr_valid (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:979 ./include/linux/mmzone.h:2197 arch/x86/mm/physaddr.c:65) [ 63.245967][ T736] ? __lock_release (kernel/locking/lockdep.c:5536) [ 63.245973][ T736] __sys_sendmsg (net/socket.c:2716) [ 63.245976][ T736] ? __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3148) [ 63.245980][ T736] ? __sys_sendmsg_sock (net/socket.c:2701) [ 63.245988][ T736] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 63.245992][ T736] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 63.245997][ T736] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 63.246005][ T736] RIP: 0033:0x7fca8031c1d7 [ 63.246010][ T736] 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) [ 63.246013][ T736] RSP: 002b:00007ffe1ca2a858 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 63.246020][ T736] RAX: ffffffffffffffda RBX: 00007ffe1ca2af80 RCX: 00007fca8031c1d7 [ 63.246022][ T736] RDX: 0000000000000000 RSI: 00007ffe1ca2a8c0 RDI: 0000000000000005 [ 63.246024][ T736] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 63.246026][ T736] R10: 00007fca80218f60 R11: 0000000000000246 R12: 0000000000000003 [ 63.246027][ T736] R13: 00000000691cda6d R14: 0000000000499600 R15: 0000000000000000 | [ 63.266041][ T736] #PF: error_code(0x0002) - not-present page | [ 63.266283][ T736] PGD 4ea7067 P4D 4ea7067 PUD b572067 PMD 0 | [ 63.266645][ T736] Oops: Oops: 0002 [#1] SMP KASAN | [ 63.267242][ T736] Tainted: [B]=BAD_PAGE [ 63.267506][ T736] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 63.267763][ T736] 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) [ 63.268011][ T736] 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 [ 63.268818][ T736] RSP: 0018:ffffc900013f6f40 EFLAGS: 00010046 [ 63.269061][ T736] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffffab04090a [ 63.269471][ T736] RDX: fffffbfff5e4f2cd RSI: 0000000000000008 RDI: ffffffffaf279660 [ 63.269768][ T736] RBP: ffffc900013f6fa8 R08: 0000000000000001 R09: fffffbfff5e4f2cc [ 63.270167][ T736] R10: ffffffffaf279667 R11: ffffc900013f6a00 R12: 0000000000000000 [ 63.270473][ T736] R13: 0000000000000282 R14: ffff888009581000 R15: dffffc0000000000 [ 63.270768][ T736] FS: 00007fca8014e800(0000) GS:ffff888086ff2000(0000) knlGS:0000000000000000 [ 63.271216][ T736] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 63.271480][ T736] CR2: 0000000000000000 CR3: 0000000008bd6005 CR4: 0000000000772ef0 [ 63.271785][ T736] PKRU: 55555554 [ 63.272038][ T736] Call Trace: [ 63.272189][ T736] [ 63.272292][ T736] __cancel_work (kernel/workqueue.c:2161 kernel/workqueue.c:4364) [ 63.272493][ T736] ? enable_delayed_work (kernel/workqueue.c:4359) [ 63.272691][ T736] ? queue_delayed_work_on (kernel/workqueue.c:2590) [ 63.272990][ T736] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 63.273194][ T736] __cancel_work_sync (kernel/workqueue.c:4383) [ 63.273385][ T736] __dev_close_many (net/core/dev.c:1879 (discriminator 2) net/core/dev.c:1932 (discriminator 2)) [ 63.273600][ T736] ? netdev_notify_peers (net/core/dev.c:1891) [ 63.273908][ T736] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 63.274112][ T736] __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) [ 63.274309][ T736] ? __free_zapped_classes (kernel/locking/lockdep.c:5343) [ 63.274510][ T736] ? netif_set_allmulti (net/core/dev.c:9890) [ 63.274865][ T736] ? __lock_release (kernel/locking/lockdep.c:5536) [ 63.275055][ T736] netif_change_flags (net/core/dev.c:9989) [ 63.275270][ T736] do_setlink.constprop.0 (net/core/rtnetlink.c:3158) [ 63.275473][ T736] ? rtnl_newlink_create (net/core/rtnetlink.c:3036) [ 63.275780][ T736] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 63.275970][ T736] ? validate_chain (kernel/locking/lockdep.c:3801 kernel/locking/lockdep.c:3821 kernel/locking/lockdep.c:3876) [ 63.276165][ T736] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 63.276357][ T736] ? __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) [ 63.276669][ T736] ? __mutex_handoff (kernel/locking/mutex.c:88) [ 63.276867][ T736] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 63.277055][ T736] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 63.277253][ T736] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 63.277561][ T736] ? __mutex_lock (./arch/x86/include/asm/preempt.h:104 kernel/locking/mutex.c:739 kernel/locking/mutex.c:760) [ 63.277763][ T736] ? __create_object (mm/kmemleak.c:786) [ 63.277946][ T736] ? __lock_release (kernel/locking/lockdep.c:5536) [ 63.278133][ T736] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4071) [ 63.278436][ T736] ? ww_mutex_lock (kernel/locking/mutex.c:759) [ 63.278648][ T736] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 63.278848][ T736] ? __rtnl_newlink (net/core/rtnetlink.c:3922) [ 63.279039][ T736] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4073) [ 63.279343][ T736] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 63.279536][ T736] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 63.279737][ T736] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 63.279928][ T736] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/core/rtnetlink.c:6956) [ 63.280239][ T736] ? __lock_release (kernel/locking/lockdep.c:5536) [ 63.280436][ T736] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 63.280630][ T736] rtnetlink_rcv_msg (net/core/rtnetlink.c:6958) [ 63.280827][ T736] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 63.281117][ T736] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 63.281314][ T736] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 63.281508][ T736] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 63.281706][ T736] ? netlink_ack (net/netlink/af_netlink.c:2527) [ 63.282006][ T736] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/netlink/af_netlink.c:340) [ 63.282208][ T736] ? 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) [ 63.282420][ T736] netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) [ 63.282625][ T736] ? netlink_attachskb (net/netlink/af_netlink.c:1329) [ 63.282924][ T736] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 63.283115][ T736] netlink_sendmsg (net/netlink/af_netlink.c:1894) [ 63.283308][ T736] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 63.283513][ T736] ? __import_iovec (lib/iov_iter.c:1346 lib/iov_iter.c:1361) [ 63.283832][ T736] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 63.284018][ T736] ____sys_sendmsg (net/socket.c:727 net/socket.c:742 net/socket.c:2630) [ 63.284212][ T736] ? get_timestamp.constprop.0 (net/socket.c:2576) [ 63.284451][ T736] ? __copy_msghdr (net/socket.c:2556) [ 63.284767][ T736] ___sys_sendmsg (net/socket.c:2686) [ 63.284967][ T736] ? kasan_record_aux_stack (mm/kasan/generic.c:559) [ 63.285205][ T736] ? __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) [ 63.285542][ T736] ? copy_msghdr_from_user (net/socket.c:2673) [ 63.285733][ T736] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 63.285911][ T736] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 63.286086][ T736] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 63.286392][ T736] ? __virt_addr_valid (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:979 ./include/linux/mmzone.h:2197 arch/x86/mm/physaddr.c:65) [ 63.286576][ T736] ? __lock_release (kernel/locking/lockdep.c:5536) [ 63.286759][ T736] __sys_sendmsg (net/socket.c:2716) [ 63.286933][ T736] ? __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3148) [ 63.287294][ T736] ? __sys_sendmsg_sock (net/socket.c:2701) [ 63.287481][ T736] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 63.287659][ T736] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 63.287841][ T736] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 63.288169][ T736] RIP: 0033:0x7fca8031c1d7 [ 63.288350][ T736] 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) [ 63.289112][ T736] RSP: 002b:00007ffe1ca2a858 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 63.289400][ T736] RAX: ffffffffffffffda RBX: 00007ffe1ca2af80 RCX: 00007fca8031c1d7 [ 63.289789][ T736] RDX: 0000000000000000 RSI: 00007ffe1ca2a8c0 RDI: 0000000000000005 [ 63.290055][ T736] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 63.290341][ T736] R10: 00007fca80218f60 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