====================================== | [ 92.824048][ T619] ================================================================== | [ 92.824407][ T619] 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) | [ 92.824733][ T619] Write of size 8 at addr 0000000000000000 by task ip/619 | [ 92.824960][ T619] [ 92.825070][ T619] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 92.825075][ T619] Call Trace: [ 92.825081][ T619] [ 92.825084][ T619] dump_stack_lvl (lib/dump_stack.c:123) [ 92.825109][ T619] ? try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 92.825113][ T619] kasan_report (mm/kasan/report.c:597) [ 92.825126][ T619] ? try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 92.825135][ T619] kasan_check_range (mm/kasan/generic.c:194 mm/kasan/generic.c:200) [ 92.825140][ T619] try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 92.825145][ T619] __cancel_work (kernel/workqueue.c:2161 kernel/workqueue.c:4364) [ 92.825148][ T619] ? enable_delayed_work (kernel/workqueue.c:4359) [ 92.825152][ T619] ? queue_delayed_work_on (kernel/workqueue.c:2590) [ 92.825155][ T619] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 92.825162][ T619] __cancel_work_sync (kernel/workqueue.c:4383) [ 92.825166][ T619] __dev_close_many (net/core/dev.c:1879 (discriminator 2) net/core/dev.c:1932 (discriminator 2)) [ 92.825180][ T619] ? netdev_notify_peers (net/core/dev.c:1891) [ 92.825185][ T619] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 92.825191][ T619] __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) [ 92.825195][ T619] ? __free_zapped_classes (kernel/locking/lockdep.c:5343) [ 92.825203][ T619] ? netif_set_allmulti (net/core/dev.c:9890) [ 92.825206][ T619] ? __lock_release (kernel/locking/lockdep.c:5536) [ 92.825212][ T619] netif_change_flags (net/core/dev.c:9989) [ 92.825216][ T619] do_setlink.constprop.0 (net/core/rtnetlink.c:3158) [ 92.825223][ T619] ? rtnl_newlink_create (net/core/rtnetlink.c:3036) [ 92.825231][ T619] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 92.825241][ T619] ? validate_chain (kernel/locking/lockdep.c:3801 kernel/locking/lockdep.c:3821 kernel/locking/lockdep.c:3876) [ 92.825247][ T619] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 92.825252][ T619] ? __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) [ 92.825256][ T619] ? __mutex_handoff (kernel/locking/mutex.c:88) [ 92.825260][ T619] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 92.825268][ T619] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 92.825271][ T619] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 92.825275][ T619] ? __mutex_lock (./arch/x86/include/asm/preempt.h:104 kernel/locking/mutex.c:739 kernel/locking/mutex.c:760) [ 92.825292][ T619] ? __create_object (mm/kmemleak.c:786) [ 92.825298][ T619] ? __lock_release (kernel/locking/lockdep.c:5536) [ 92.825301][ T619] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4071) [ 92.825304][ T619] ? ww_mutex_lock (kernel/locking/mutex.c:759) [ 92.825308][ T619] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 92.825320][ T619] ? __rtnl_newlink (net/core/rtnetlink.c:3922) [ 92.825326][ T619] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4073) [ 92.825331][ T619] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 92.825334][ T619] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 92.825340][ T619] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 92.825344][ T619] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/core/rtnetlink.c:6956) [ 92.825346][ T619] ? __lock_release (kernel/locking/lockdep.c:5536) [ 92.825351][ T619] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 92.825354][ T619] rtnetlink_rcv_msg (net/core/rtnetlink.c:6958) [ 92.825358][ T619] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 92.825361][ T619] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 92.825368][ T619] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 92.825378][ T619] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 92.825382][ T619] ? netlink_ack (net/netlink/af_netlink.c:2527) [ 92.825388][ T619] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/netlink/af_netlink.c:340) [ 92.825391][ T619] ? 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) [ 92.825395][ T619] netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) [ 92.825400][ T619] ? netlink_attachskb (net/netlink/af_netlink.c:1329) [ 92.825403][ T619] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 92.825409][ T619] netlink_sendmsg (net/netlink/af_netlink.c:1894) [ 92.825414][ T619] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 92.825418][ T619] ? __import_iovec (lib/iov_iter.c:1346 lib/iov_iter.c:1361) [ 92.825428][ T619] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 92.825431][ T619] ____sys_sendmsg (net/socket.c:727 net/socket.c:742 net/socket.c:2630) [ 92.825441][ T619] ? get_timestamp.constprop.0 (net/socket.c:2576) [ 92.825444][ T619] ? __copy_msghdr (net/socket.c:2556) [ 92.825452][ T619] ___sys_sendmsg (net/socket.c:2686) [ 92.825455][ T619] ? kasan_record_aux_stack (mm/kasan/generic.c:559) [ 92.825458][ T619] ? __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) [ 92.825465][ T619] ? copy_msghdr_from_user (net/socket.c:2673) [ 92.825470][ T619] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 92.825475][ T619] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 92.825480][ T619] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 92.825484][ T619] ? __virt_addr_valid (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:979 ./include/linux/mmzone.h:2197 arch/x86/mm/physaddr.c:65) [ 92.825494][ T619] ? __lock_release (kernel/locking/lockdep.c:5536) [ 92.825501][ T619] __sys_sendmsg (net/socket.c:2716) [ 92.825504][ T619] ? __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3148) [ 92.825508][ T619] ? __sys_sendmsg_sock (net/socket.c:2701) [ 92.825515][ T619] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 92.825519][ T619] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 92.825527][ T619] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 92.825536][ T619] RIP: 0033:0x7fe9e015f1d7 [ 92.825543][ T619] 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) [ 92.825548][ T619] RSP: 002b:00007ffc4320c338 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 92.825554][ T619] RAX: ffffffffffffffda RBX: 00007ffc4320ca60 RCX: 00007fe9e015f1d7 [ 92.825556][ T619] RDX: 0000000000000000 RSI: 00007ffc4320c3a0 RDI: 0000000000000005 [ 92.825558][ T619] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 92.825561][ T619] R10: 00007fe9e005bf60 R11: 0000000000000246 R12: 0000000000000003 [ 92.825562][ T619] R13: 00000000691cc319 R14: 0000000000499600 R15: 0000000000000000 | [ 92.845765][ T619] #PF: error_code(0x0002) - not-present page | [ 92.846094][ T619] PGD df49067 P4D df49067 PUD df48067 PMD 0 | [ 92.846343][ T619] Oops: Oops: 0002 [#1] SMP KASAN | [ 92.846996][ T619] Tainted: [B]=BAD_PAGE [ 92.847145][ T619] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 92.847362][ T619] 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) [ 92.847713][ T619] 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 [ 92.848342][ T619] RSP: 0018:ffffc90001076f40 EFLAGS: 00010046 [ 92.848675][ T619] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffffa704090a [ 92.848947][ T619] RDX: fffffbfff564f2cd RSI: 0000000000000008 RDI: ffffffffab279660 [ 92.849332][ T619] RBP: ffffc90001076fa8 R08: 0000000000000001 R09: fffffbfff564f2cc [ 92.849598][ T619] R10: ffffffffab279667 R11: ffffc90001076a00 R12: 0000000000000000 [ 92.849868][ T619] R13: 0000000000000282 R14: ffff88800b9c4000 R15: dffffc0000000000 [ 92.850260][ T619] FS: 00007fe9dff91800(0000) GS:ffff88808b0f2000(0000) knlGS:0000000000000000 [ 92.850565][ T619] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 92.850788][ T619] CR2: 0000000000000000 CR3: 000000000ba78006 CR4: 0000000000772ef0 [ 92.851172][ T619] PKRU: 55555554 [ 92.851303][ T619] Call Trace: [ 92.851436][ T619] [ 92.851529][ T619] __cancel_work (kernel/workqueue.c:2161 kernel/workqueue.c:4364) [ 92.851826][ T619] ? enable_delayed_work (kernel/workqueue.c:4359) [ 92.852008][ T619] ? queue_delayed_work_on (kernel/workqueue.c:2590) [ 92.852193][ T619] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 92.852364][ T619] __cancel_work_sync (kernel/workqueue.c:4383) [ 92.852638][ T619] __dev_close_many (net/core/dev.c:1879 (discriminator 2) net/core/dev.c:1932 (discriminator 2)) [ 92.852817][ T619] ? netdev_notify_peers (net/core/dev.c:1891) [ 92.852992][ T619] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 92.853186][ T619] __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) [ 92.853461][ T619] ? __free_zapped_classes (kernel/locking/lockdep.c:5343) [ 92.853634][ T619] ? netif_set_allmulti (net/core/dev.c:9890) [ 92.853805][ T619] ? __lock_release (kernel/locking/lockdep.c:5536) [ 92.853977][ T619] netif_change_flags (net/core/dev.c:9989) [ 92.854287][ T619] do_setlink.constprop.0 (net/core/rtnetlink.c:3158) [ 92.854459][ T619] ? rtnl_newlink_create (net/core/rtnetlink.c:3036) [ 92.854640][ T619] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 92.854815][ T619] ? validate_chain (kernel/locking/lockdep.c:3801 kernel/locking/lockdep.c:3821 kernel/locking/lockdep.c:3876) [ 92.855097][ T619] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 92.855285][ T619] ? __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) [ 92.855455][ T619] ? __mutex_handoff (kernel/locking/mutex.c:88) [ 92.855623][ T619] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 92.855901][ T619] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 92.856078][ T619] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 92.856268][ T619] ? __mutex_lock (./arch/x86/include/asm/preempt.h:104 kernel/locking/mutex.c:739 kernel/locking/mutex.c:760) [ 92.856438][ T619] ? __create_object (mm/kmemleak.c:786) [ 92.856723][ T619] ? __lock_release (kernel/locking/lockdep.c:5536) [ 92.856905][ T619] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4071) [ 92.857071][ T619] ? ww_mutex_lock (kernel/locking/mutex.c:759) [ 92.857253][ T619] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 92.857527][ T619] ? __rtnl_newlink (net/core/rtnetlink.c:3922) [ 92.857706][ T619] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4073) [ 92.857884][ T619] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 92.858052][ T619] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 92.858342][ T619] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 92.858510][ T619] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/core/rtnetlink.c:6956) [ 92.858680][ T619] ? __lock_release (kernel/locking/lockdep.c:5536) [ 92.858858][ T619] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 92.859143][ T619] rtnetlink_rcv_msg (net/core/rtnetlink.c:6958) [ 92.859322][ T619] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 92.859488][ T619] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 92.859662][ T619] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 92.859939][ T619] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 92.860116][ T619] ? netlink_ack (net/netlink/af_netlink.c:2527) [ 92.860297][ T619] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/netlink/af_netlink.c:340) [ 92.860465][ T619] ? 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) [ 92.860635][ T619] netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) [ 92.860812][ T619] ? netlink_attachskb (net/netlink/af_netlink.c:1329) [ 92.860983][ T619] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 92.861170][ T619] netlink_sendmsg (net/netlink/af_netlink.c:1894) [ 92.861444][ T619] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 92.861614][ T619] ? __import_iovec (lib/iov_iter.c:1346 lib/iov_iter.c:1361) [ 92.861785][ T619] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 92.861954][ T619] ____sys_sendmsg (net/socket.c:727 net/socket.c:742 net/socket.c:2630) [ 92.862241][ T619] ? get_timestamp.constprop.0 (net/socket.c:2576) [ 92.862454][ T619] ? __copy_msghdr (net/socket.c:2556) [ 92.862627][ T619] ___sys_sendmsg (net/socket.c:2686) [ 92.862798][ T619] ? kasan_record_aux_stack (mm/kasan/generic.c:559) [ 92.863073][ T619] ? __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) [ 92.863302][ T619] ? copy_msghdr_from_user (net/socket.c:2673) [ 92.863472][ T619] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 92.863645][ T619] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 92.863925][ T619] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 92.864094][ T619] ? __virt_addr_valid (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:979 ./include/linux/mmzone.h:2197 arch/x86/mm/physaddr.c:65) [ 92.864279][ T619] ? __lock_release (kernel/locking/lockdep.c:5536) [ 92.864451][ T619] __sys_sendmsg (net/socket.c:2716) [ 92.864724][ T619] ? __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3148) [ 92.864940][ T619] ? __sys_sendmsg_sock (net/socket.c:2701) [ 92.865118][ T619] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 92.865307][ T619] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 92.865591][ T619] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 92.865806][ T619] RIP: 0033:0x7fe9e015f1d7 [ 92.865998][ T619] 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) [ 92.866760][ T619] RSP: 002b:00007ffc4320c338 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 92.867161][ T619] RAX: ffffffffffffffda RBX: 00007ffc4320ca60 RCX: 00007fe9e015f1d7 [ 92.867425][ T619] RDX: 0000000000000000 RSI: 00007ffc4320c3a0 RDI: 0000000000000005 [ 92.867690][ T619] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 92.868064][ T619] R10: 00007fe9e005bf60 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