====================================== | [ 33.709037][ T438] ================================================================== | [ 33.709387][ T438] 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) | [ 33.709666][ T438] Write of size 8 at addr 0000000000000000 by task ip/438 | [ 33.709898][ T438] [ 33.709999][ T438] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 33.710003][ T438] Call Trace: [ 33.710005][ T438] [ 33.710007][ T438] dump_stack_lvl (lib/dump_stack.c:123) [ 33.710015][ T438] ? try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 33.710019][ T438] kasan_report (mm/kasan/report.c:597) [ 33.710024][ T438] ? try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 33.710029][ T438] kasan_check_range (mm/kasan/generic.c:194 mm/kasan/generic.c:200) [ 33.710033][ T438] try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 33.710038][ T438] __cancel_work (kernel/workqueue.c:2161 kernel/workqueue.c:4364) [ 33.710041][ T438] ? enable_delayed_work (kernel/workqueue.c:4359) [ 33.710045][ T438] ? queue_delayed_work_on (kernel/workqueue.c:2590) [ 33.710048][ T438] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 33.710054][ T438] __cancel_work_sync (kernel/workqueue.c:4383) [ 33.710058][ T438] __dev_close_many (net/core/dev.c:1879 (discriminator 2) net/core/dev.c:1932 (discriminator 2)) [ 33.710064][ T438] ? netdev_notify_peers (net/core/dev.c:1891) [ 33.710069][ T438] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 33.710073][ T438] __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) [ 33.710076][ T438] ? __free_zapped_classes (kernel/locking/lockdep.c:5343) [ 33.710082][ T438] ? netif_set_allmulti (net/core/dev.c:9890) [ 33.710084][ T438] ? __lock_release (kernel/locking/lockdep.c:5536) [ 33.710090][ T438] netif_change_flags (net/core/dev.c:9989) [ 33.710094][ T438] do_setlink.constprop.0 (net/core/rtnetlink.c:3158) [ 33.710100][ T438] ? rtnl_newlink_create (net/core/rtnetlink.c:3036) [ 33.710106][ T438] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 33.710111][ T438] ? validate_chain (kernel/locking/lockdep.c:3801 kernel/locking/lockdep.c:3821 kernel/locking/lockdep.c:3876) [ 33.710116][ T438] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 33.710121][ T438] ? __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) [ 33.710125][ T438] ? __mutex_handoff (kernel/locking/mutex.c:88) [ 33.710128][ T438] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 33.710133][ T438] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 33.710136][ T438] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 33.710140][ T438] ? __mutex_lock (./arch/x86/include/asm/preempt.h:104 kernel/locking/mutex.c:739 kernel/locking/mutex.c:760) [ 33.710144][ T438] ? __create_object (mm/kmemleak.c:786) [ 33.710148][ T438] ? __lock_release (kernel/locking/lockdep.c:5536) [ 33.710151][ T438] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4071) [ 33.710155][ T438] ? ww_mutex_lock (kernel/locking/mutex.c:759) [ 33.710158][ T438] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 33.710163][ T438] ? __rtnl_newlink (net/core/rtnetlink.c:3922) [ 33.710168][ T438] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4073) [ 33.710173][ T438] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 33.710176][ T438] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 33.710182][ T438] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 33.710185][ T438] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/core/rtnetlink.c:6956) [ 33.710188][ T438] ? __lock_release (kernel/locking/lockdep.c:5536) [ 33.710192][ T438] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 33.710195][ T438] rtnetlink_rcv_msg (net/core/rtnetlink.c:6958) [ 33.710199][ T438] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 33.710202][ T438] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 33.710209][ T438] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 33.710213][ T438] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 33.710217][ T438] ? netlink_ack (net/netlink/af_netlink.c:2527) [ 33.710224][ T438] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/netlink/af_netlink.c:340) [ 33.710226][ T438] ? 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) [ 33.710230][ T438] netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) [ 33.710235][ T438] ? netlink_attachskb (net/netlink/af_netlink.c:1329) [ 33.710238][ T438] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 33.710244][ T438] netlink_sendmsg (net/netlink/af_netlink.c:1894) [ 33.710248][ T438] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 33.710252][ T438] ? __import_iovec (lib/iov_iter.c:1346 lib/iov_iter.c:1361) [ 33.710258][ T438] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 33.710262][ T438] ____sys_sendmsg (net/socket.c:727 net/socket.c:742 net/socket.c:2630) [ 33.710267][ T438] ? get_timestamp.constprop.0 (net/socket.c:2576) [ 33.710270][ T438] ? __copy_msghdr (net/socket.c:2556) [ 33.710278][ T438] ___sys_sendmsg (net/socket.c:2686) [ 33.710281][ T438] ? kasan_record_aux_stack (mm/kasan/generic.c:559) [ 33.710284][ T438] ? __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) [ 33.710289][ T438] ? copy_msghdr_from_user (net/socket.c:2673) [ 33.710294][ T438] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 33.710298][ T438] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 33.710304][ T438] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 33.710308][ T438] ? __virt_addr_valid (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:979 ./include/linux/mmzone.h:2197 arch/x86/mm/physaddr.c:65) [ 33.710312][ T438] ? __lock_release (kernel/locking/lockdep.c:5536) [ 33.710318][ T438] __sys_sendmsg (net/socket.c:2716) [ 33.710321][ T438] ? __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3148) [ 33.710325][ T438] ? __sys_sendmsg_sock (net/socket.c:2701) [ 33.710333][ T438] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 33.710337][ T438] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 33.710342][ T438] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 33.710346][ T438] RIP: 0033:0x7f084eab31d7 [ 33.710356][ T438] 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) [ 33.710358][ T438] RSP: 002b:00007ffc2caef3a8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 33.710362][ T438] RAX: ffffffffffffffda RBX: 00007ffc2caefad0 RCX: 00007f084eab31d7 [ 33.710364][ T438] RDX: 0000000000000000 RSI: 00007ffc2caef410 RDI: 0000000000000005 [ 33.710366][ T438] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 33.710368][ T438] R10: 00007f084e9aff60 R11: 0000000000000246 R12: 0000000000000003 [ 33.710369][ T438] R13: 00000000691ccd13 R14: 0000000000499600 R15: 0000000000000000 | [ 33.728416][ T438] #PF: error_code(0x0002) - not-present page | [ 33.728624][ T438] PGD c419067 P4D c419067 PUD 9483067 PMD 0 | [ 33.728852][ T438] Oops: Oops: 0002 [#1] SMP KASAN | [ 33.729368][ T438] Tainted: [B]=BAD_PAGE [ 33.729499][ T438] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 33.729710][ T438] 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) [ 33.729936][ T438] 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 [ 33.730541][ T438] RSP: 0018:ffffc90000c96f40 EFLAGS: 00010046 [ 33.730756][ T438] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffffaae4090a [ 33.731014][ T438] RDX: fffffbfff5e0f2cd RSI: 0000000000000008 RDI: ffffffffaf079660 [ 33.731270][ T438] RBP: ffffc90000c96fa8 R08: 0000000000000001 R09: fffffbfff5e0f2cc [ 33.731526][ T438] R10: ffffffffaf079667 R11: ffffc90000c96a00 R12: 0000000000000000 [ 33.731780][ T438] R13: 0000000000000282 R14: ffff8880051cc000 R15: dffffc0000000000 [ 33.732060][ T438] FS: 00007f084e8e5800(0000) GS:ffff8880815f2000(0000) knlGS:0000000000000000 [ 33.732366][ T438] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 33.732582][ T438] CR2: 0000000000000000 CR3: 000000000913c003 CR4: 0000000000772ef0 [ 33.732847][ T438] PKRU: 55555554 [ 33.732982][ T438] Call Trace: [ 33.733118][ T438] [ 33.733217][ T438] __cancel_work (kernel/workqueue.c:2161 kernel/workqueue.c:4364) [ 33.733396][ T438] ? enable_delayed_work (kernel/workqueue.c:4359) [ 33.733580][ T438] ? queue_delayed_work_on (kernel/workqueue.c:2590) [ 33.733766][ T438] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 33.733947][ T438] __cancel_work_sync (kernel/workqueue.c:4383) [ 33.734122][ T438] __dev_close_many (net/core/dev.c:1879 (discriminator 2) net/core/dev.c:1932 (discriminator 2)) [ 33.734296][ T438] ? netdev_notify_peers (net/core/dev.c:1891) [ 33.734479][ T438] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 33.734665][ T438] __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) [ 33.734840][ T438] ? __free_zapped_classes (kernel/locking/lockdep.c:5343) [ 33.735017][ T438] ? netif_set_allmulti (net/core/dev.c:9890) [ 33.735190][ T438] ? __lock_release (kernel/locking/lockdep.c:5536) [ 33.735369][ T438] netif_change_flags (net/core/dev.c:9989) [ 33.735548][ T438] do_setlink.constprop.0 (net/core/rtnetlink.c:3158) [ 33.735723][ T438] ? rtnl_newlink_create (net/core/rtnetlink.c:3036) [ 33.735911][ T438] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 33.736082][ T438] ? validate_chain (kernel/locking/lockdep.c:3801 kernel/locking/lockdep.c:3821 kernel/locking/lockdep.c:3876) [ 33.736252][ T438] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 33.736421][ T438] ? __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) [ 33.736592][ T438] ? __mutex_handoff (kernel/locking/mutex.c:88) [ 33.736761][ T438] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 33.736932][ T438] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 33.737100][ T438] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 33.737272][ T438] ? __mutex_lock (./arch/x86/include/asm/preempt.h:104 kernel/locking/mutex.c:739 kernel/locking/mutex.c:760) [ 33.737440][ T438] ? __create_object (mm/kmemleak.c:786) [ 33.737610][ T438] ? __lock_release (kernel/locking/lockdep.c:5536) [ 33.737778][ T438] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4071) [ 33.737946][ T438] ? ww_mutex_lock (kernel/locking/mutex.c:759) [ 33.738114][ T438] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 33.738283][ T438] ? __rtnl_newlink (net/core/rtnetlink.c:3922) [ 33.738453][ T438] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4073) [ 33.738624][ T438] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 33.738790][ T438] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 33.738960][ T438] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 33.739128][ T438] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/core/rtnetlink.c:6956) [ 33.739296][ T438] ? __lock_release (kernel/locking/lockdep.c:5536) [ 33.739463][ T438] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 33.739634][ T438] rtnetlink_rcv_msg (net/core/rtnetlink.c:6958) [ 33.739803][ T438] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 33.739970][ T438] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 33.740140][ T438] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 33.740308][ T438] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 33.740474][ T438] ? netlink_ack (net/netlink/af_netlink.c:2527) [ 33.740646][ T438] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/netlink/af_netlink.c:340) [ 33.740853][ T438] ? 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) [ 33.741050][ T438] netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) [ 33.741225][ T438] ? netlink_attachskb (net/netlink/af_netlink.c:1329) [ 33.741418][ T438] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 33.741588][ T438] netlink_sendmsg (net/netlink/af_netlink.c:1894) [ 33.741761][ T438] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 33.741946][ T438] ? __import_iovec (lib/iov_iter.c:1346 lib/iov_iter.c:1361) [ 33.742117][ T438] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 33.742287][ T438] ____sys_sendmsg (net/socket.c:727 net/socket.c:742 net/socket.c:2630) [ 33.742460][ T438] ? get_timestamp.constprop.0 (net/socket.c:2576) [ 33.742676][ T438] ? __copy_msghdr (net/socket.c:2556) [ 33.742879][ T438] ___sys_sendmsg (net/socket.c:2686) [ 33.743181][ T438] ? kasan_record_aux_stack (mm/kasan/generic.c:559) [ 33.743368][ T438] ? __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) [ 33.743601][ T438] ? copy_msghdr_from_user (net/socket.c:2673) [ 33.743773][ T438] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 33.744051][ T438] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 33.744225][ T438] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 33.744394][ T438] ? __virt_addr_valid (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:979 ./include/linux/mmzone.h:2197 arch/x86/mm/physaddr.c:65) [ 33.744562][ T438] ? __lock_release (kernel/locking/lockdep.c:5536) [ 33.744841][ T438] __sys_sendmsg (net/socket.c:2716) [ 33.745034][ T438] ? __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3148) [ 33.745245][ T438] ? __sys_sendmsg_sock (net/socket.c:2701) [ 33.745422][ T438] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 33.745705][ T438] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 33.745898][ T438] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 33.746114][ T438] RIP: 0033:0x7f084eab31d7 [ 33.746403][ T438] 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) [ 33.747669][ T438] RSP: 002b:00007ffc2caef3a8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 33.748113][ T438] RAX: ffffffffffffffda RBX: 00007ffc2caefad0 RCX: 00007f084eab31d7 [ 33.748396][ T438] RDX: 0000000000000000 RSI: 00007ffc2caef410 RDI: 0000000000000005 [ 33.748812][ T438] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 33.749105][ T438] R10: 00007f084e9aff60 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