====================================== | [ 34.993533][ T535] ================================================================== | [ 34.993859][ T535] 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) | [ 34.994168][ T535] Write of size 8 at addr 0000000000000000 by task ip/535 | [ 34.994397][ T535] [ 34.994503][ T535] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 34.994508][ T535] Call Trace: [ 34.994512][ T535] [ 34.994514][ T535] dump_stack_lvl (lib/dump_stack.c:123) [ 34.994531][ T535] ? try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 34.994534][ T535] kasan_report (mm/kasan/report.c:597) [ 34.994545][ T535] ? try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 34.994551][ T535] kasan_check_range (mm/kasan/generic.c:194 mm/kasan/generic.c:200) [ 34.994555][ T535] try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 34.994560][ T535] __cancel_work (kernel/workqueue.c:2161 kernel/workqueue.c:4364) [ 34.994563][ T535] ? enable_delayed_work (kernel/workqueue.c:4359) [ 34.994567][ T535] ? queue_delayed_work_on (kernel/workqueue.c:2590) [ 34.994571][ T535] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 34.994580][ T535] __cancel_work_sync (kernel/workqueue.c:4383) [ 34.994583][ T535] __dev_close_many (net/core/dev.c:1879 (discriminator 2) net/core/dev.c:1932 (discriminator 2)) [ 34.994598][ T535] ? netdev_notify_peers (net/core/dev.c:1891) [ 34.994602][ T535] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 34.994611][ T535] __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) [ 34.994617][ T535] ? __free_zapped_classes (kernel/locking/lockdep.c:5343) [ 34.994624][ T535] ? netif_set_allmulti (net/core/dev.c:9890) [ 34.994627][ T535] ? __lock_release (kernel/locking/lockdep.c:5536) [ 34.994633][ T535] netif_change_flags (net/core/dev.c:9989) [ 34.994638][ T535] do_setlink.constprop.0 (net/core/rtnetlink.c:3158) [ 34.994644][ T535] ? rtnl_newlink_create (net/core/rtnetlink.c:3036) [ 34.994650][ T535] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 34.994658][ T535] ? validate_chain (kernel/locking/lockdep.c:3801 kernel/locking/lockdep.c:3821 kernel/locking/lockdep.c:3876) [ 34.994666][ T535] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 34.994674][ T535] ? __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) [ 34.994680][ T535] ? __mutex_handoff (kernel/locking/mutex.c:88) [ 34.994685][ T535] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 34.994693][ T535] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 34.994696][ T535] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 34.994699][ T535] ? __mutex_lock (./arch/x86/include/asm/preempt.h:104 kernel/locking/mutex.c:739 kernel/locking/mutex.c:760) [ 34.994713][ T535] ? __create_object (mm/kmemleak.c:786) [ 34.994720][ T535] ? __lock_release (kernel/locking/lockdep.c:5536) [ 34.994724][ T535] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4071) [ 34.994727][ T535] ? ww_mutex_lock (kernel/locking/mutex.c:759) [ 34.994730][ T535] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 34.994740][ T535] ? __rtnl_newlink (net/core/rtnetlink.c:3922) [ 34.994746][ T535] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4073) [ 34.994751][ T535] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 34.994754][ T535] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 34.994760][ T535] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 34.994764][ T535] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/core/rtnetlink.c:6956) [ 34.994766][ T535] ? __lock_release (kernel/locking/lockdep.c:5536) [ 34.994771][ T535] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 34.994774][ T535] rtnetlink_rcv_msg (net/core/rtnetlink.c:6958) [ 34.994778][ T535] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 34.994781][ T535] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 34.994788][ T535] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 34.994796][ T535] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 34.994800][ T535] ? netlink_ack (net/netlink/af_netlink.c:2527) [ 34.994807][ T535] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/netlink/af_netlink.c:340) [ 34.994810][ T535] ? 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) [ 34.994814][ T535] netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) [ 34.994818][ T535] ? netlink_attachskb (net/netlink/af_netlink.c:1329) [ 34.994822][ T535] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 34.994827][ T535] netlink_sendmsg (net/netlink/af_netlink.c:1894) [ 34.994832][ T535] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 34.994836][ T535] ? __import_iovec (lib/iov_iter.c:1346 lib/iov_iter.c:1361) [ 34.994845][ T535] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 34.994849][ T535] ____sys_sendmsg (net/socket.c:727 net/socket.c:742 net/socket.c:2630) [ 34.994857][ T535] ? get_timestamp.constprop.0 (net/socket.c:2576) [ 34.994860][ T535] ? __copy_msghdr (net/socket.c:2556) [ 34.994868][ T535] ___sys_sendmsg (net/socket.c:2686) [ 34.994871][ T535] ? kasan_record_aux_stack (mm/kasan/generic.c:559) [ 34.994873][ T535] ? __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) [ 34.994881][ T535] ? copy_msghdr_from_user (net/socket.c:2673) [ 34.994886][ T535] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 34.994891][ T535] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 34.994897][ T535] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 34.994900][ T535] ? __virt_addr_valid (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:979 ./include/linux/mmzone.h:2197 arch/x86/mm/physaddr.c:65) [ 34.994911][ T535] ? __lock_release (kernel/locking/lockdep.c:5536) [ 34.994917][ T535] __sys_sendmsg (net/socket.c:2716) [ 34.994921][ T535] ? __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3148) [ 34.994924][ T535] ? __sys_sendmsg_sock (net/socket.c:2701) [ 34.994932][ T535] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 34.994936][ T535] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 34.994943][ T535] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 34.994949][ T535] RIP: 0033:0x7fa8d558d1d7 [ 34.994954][ T535] 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) [ 34.994957][ T535] RSP: 002b:00007fffa6ea7e28 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 34.994963][ T535] RAX: ffffffffffffffda RBX: 00007fffa6ea8550 RCX: 00007fa8d558d1d7 [ 34.994966][ T535] RDX: 0000000000000000 RSI: 00007fffa6ea7e90 RDI: 0000000000000005 [ 34.994968][ T535] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 34.994969][ T535] R10: 00007fa8d5489f60 R11: 0000000000000246 R12: 0000000000000003 [ 34.994971][ T535] R13: 00000000691ccd08 R14: 0000000000499600 R15: 0000000000000000 | [ 35.013120][ T535] #PF: error_code(0x0002) - not-present page | [ 35.013332][ T535] PGD 14563067 P4D 14563067 PUD 14653067 PMD 0 | [ 35.013660][ T535] Oops: Oops: 0002 [#1] SMP KASAN | [ 35.014198][ T535] Tainted: [B]=BAD_PAGE [ 35.014435][ T535] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 35.014657][ T535] 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) [ 35.014915][ T535] 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 [ 35.015648][ T535] RSP: 0018:ffffc90000da6f40 EFLAGS: 00010046 [ 35.015877][ T535] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff86e4090a [ 35.016251][ T535] RDX: fffffbfff160f2cd RSI: 0000000000000008 RDI: ffffffff8b079660 [ 35.016518][ T535] RBP: ffffc90000da6fa8 R08: 0000000000000001 R09: fffffbfff160f2cc [ 35.016888][ T535] R10: ffffffff8b079667 R11: ffffc90000da6a00 R12: 0000000000000000 [ 35.017145][ T535] R13: 0000000000000282 R14: ffff888008b31000 R15: dffffc0000000000 [ 35.017412][ T535] FS: 00007fa8d53bf800(0000) GS:ffff8880ab372000(0000) knlGS:0000000000000000 [ 35.017840][ T535] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 35.018063][ T535] CR2: 0000000000000000 CR3: 00000000091b4002 CR4: 0000000000772ef0 [ 35.018322][ T535] PKRU: 55555554 [ 35.018564][ T535] Call Trace: [ 35.018708][ T535] [ 35.018802][ T535] __cancel_work (kernel/workqueue.c:2161 kernel/workqueue.c:4364) [ 35.019004][ T535] ? enable_delayed_work (kernel/workqueue.c:4359) [ 35.019185][ T535] ? queue_delayed_work_on (kernel/workqueue.c:2590) [ 35.019469][ T535] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 35.019647][ T535] __cancel_work_sync (kernel/workqueue.c:4383) [ 35.019830][ T535] __dev_close_many (net/core/dev.c:1879 (discriminator 2) net/core/dev.c:1932 (discriminator 2)) [ 35.020005][ T535] ? netdev_notify_peers (net/core/dev.c:1891) [ 35.020282][ T535] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 35.020455][ T535] __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) [ 35.020632][ T535] ? __free_zapped_classes (kernel/locking/lockdep.c:5343) [ 35.020813][ T535] ? netif_set_allmulti (net/core/dev.c:9890) [ 35.021089][ T535] ? __lock_release (kernel/locking/lockdep.c:5536) [ 35.021261][ T535] netif_change_flags (net/core/dev.c:9989) [ 35.021434][ T535] do_setlink.constprop.0 (net/core/rtnetlink.c:3158) [ 35.021611][ T535] ? rtnl_newlink_create (net/core/rtnetlink.c:3036) [ 35.021901][ T535] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 35.022081][ T535] ? validate_chain (kernel/locking/lockdep.c:3801 kernel/locking/lockdep.c:3821 kernel/locking/lockdep.c:3876) [ 35.022253][ T535] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 35.022424][ T535] ? __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) [ 35.022715][ T535] ? __mutex_handoff (kernel/locking/mutex.c:88) [ 35.022885][ T535] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 35.023059][ T535] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 35.023231][ T535] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 35.023508][ T535] ? __mutex_lock (./arch/x86/include/asm/preempt.h:104 kernel/locking/mutex.c:739 kernel/locking/mutex.c:760) [ 35.023690][ T535] ? __create_object (mm/kmemleak.c:786) [ 35.023863][ T535] ? __lock_release (kernel/locking/lockdep.c:5536) [ 35.024032][ T535] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4071) [ 35.024306][ T535] ? ww_mutex_lock (kernel/locking/mutex.c:759) [ 35.024474][ T535] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 35.024646][ T535] ? __rtnl_newlink (net/core/rtnetlink.c:3922) [ 35.024829][ T535] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4073) [ 35.025107][ T535] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 35.025278][ T535] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 35.025451][ T535] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 35.025625][ T535] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/core/rtnetlink.c:6956) [ 35.025910][ T535] ? __lock_release (kernel/locking/lockdep.c:5536) [ 35.026082][ T535] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 35.026252][ T535] rtnetlink_rcv_msg (net/core/rtnetlink.c:6958) [ 35.026421][ T535] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 35.026721][ T535] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 35.026901][ T535] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 35.027074][ T535] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 35.027245][ T535] ? netlink_ack (net/netlink/af_netlink.c:2527) [ 35.027531][ T535] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/netlink/af_netlink.c:340) [ 35.027718][ T535] ? 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) [ 35.027892][ T535] netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) [ 35.028064][ T535] ? netlink_attachskb (net/netlink/af_netlink.c:1329) [ 35.028347][ T535] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 35.028527][ T535] netlink_sendmsg (net/netlink/af_netlink.c:1894) [ 35.028718][ T535] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 35.028891][ T535] ? __import_iovec (lib/iov_iter.c:1346 lib/iov_iter.c:1361) [ 35.029183][ T535] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 35.029355][ T535] ____sys_sendmsg (net/socket.c:727 net/socket.c:742 net/socket.c:2630) [ 35.029534][ T535] ? get_timestamp.constprop.0 (net/socket.c:2576) [ 35.029761][ T535] ? __copy_msghdr (net/socket.c:2556) [ 35.030044][ T535] ___sys_sendmsg (net/socket.c:2686) [ 35.030214][ T535] ? kasan_record_aux_stack (mm/kasan/generic.c:559) [ 35.030389][ T535] ? __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) [ 35.030728][ T535] ? copy_msghdr_from_user (net/socket.c:2673) [ 35.030905][ T535] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 35.031077][ T535] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 35.031250][ T535] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 35.031534][ T535] ? __virt_addr_valid (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:979 ./include/linux/mmzone.h:2197 arch/x86/mm/physaddr.c:65) [ 35.031717][ T535] ? __lock_release (kernel/locking/lockdep.c:5536) [ 35.031894][ T535] __sys_sendmsg (net/socket.c:2716) [ 35.032062][ T535] ? __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3148) [ 35.032378][ T535] ? __sys_sendmsg_sock (net/socket.c:2701) [ 35.032560][ T535] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 35.032742][ T535] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 35.032918][ T535] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 35.033242][ T535] RIP: 0033:0x7fa8d558d1d7 [ 35.033428][ T535] 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) [ 35.034177][ T535] RSP: 002b:00007fffa6ea7e28 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 35.034465][ T535] RAX: ffffffffffffffda RBX: 00007fffa6ea8550 RCX: 00007fa8d558d1d7 [ 35.034845][ T535] RDX: 0000000000000000 RSI: 00007fffa6ea7e90 RDI: 0000000000000005 [ 35.035108][ T535] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 35.035370][ T535] R10: 00007fa8d5489f60 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