====================================== | [ 35.038980][ T408] ================================================================== | [ 35.039309][ T408] 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) | [ 35.039622][ T408] Write of size 8 at addr 0000000000000000 by task ip/408 | [ 35.039846][ T408] [ 35.039958][ T408] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 35.039964][ T408] Call Trace: [ 35.039967][ T408] [ 35.039969][ T408] dump_stack_lvl (lib/dump_stack.c:123) [ 35.039981][ T408] ? try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 35.039984][ T408] kasan_report (mm/kasan/report.c:597) [ 35.039992][ T408] ? try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 35.039998][ T408] kasan_check_range (mm/kasan/generic.c:194 mm/kasan/generic.c:200) [ 35.040001][ T408] try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 35.040007][ T408] __cancel_work (kernel/workqueue.c:2161 kernel/workqueue.c:4364) [ 35.040010][ T408] ? enable_delayed_work (kernel/workqueue.c:4359) [ 35.040014][ T408] ? queue_delayed_work_on (kernel/workqueue.c:2590) [ 35.040017][ T408] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 35.040025][ T408] __cancel_work_sync (kernel/workqueue.c:4383) [ 35.040029][ T408] __dev_close_many (net/core/dev.c:1879 (discriminator 2) net/core/dev.c:1932 (discriminator 2)) [ 35.040039][ T408] ? netdev_notify_peers (net/core/dev.c:1891) [ 35.040043][ T408] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 35.040049][ T408] __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.040052][ T408] ? __free_zapped_classes (kernel/locking/lockdep.c:5343) [ 35.040058][ T408] ? netif_set_allmulti (net/core/dev.c:9890) [ 35.040060][ T408] ? __lock_release (kernel/locking/lockdep.c:5536) [ 35.040067][ T408] netif_change_flags (net/core/dev.c:9989) [ 35.040071][ T408] do_setlink.constprop.0 (net/core/rtnetlink.c:3158) [ 35.040076][ T408] ? rtnl_newlink_create (net/core/rtnetlink.c:3036) [ 35.040082][ T408] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 35.040090][ T408] ? validate_chain (kernel/locking/lockdep.c:3801 kernel/locking/lockdep.c:3821 kernel/locking/lockdep.c:3876) [ 35.040095][ T408] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 35.040100][ T408] ? __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.040103][ T408] ? __mutex_handoff (kernel/locking/mutex.c:88) [ 35.040107][ T408] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 35.040111][ T408] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 35.040114][ T408] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 35.040117][ T408] ? __mutex_lock (./arch/x86/include/asm/preempt.h:104 kernel/locking/mutex.c:739 kernel/locking/mutex.c:760) [ 35.040127][ T408] ? __create_object (mm/kmemleak.c:786) [ 35.040132][ T408] ? __lock_release (kernel/locking/lockdep.c:5536) [ 35.040135][ T408] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4071) [ 35.040138][ T408] ? ww_mutex_lock (kernel/locking/mutex.c:759) [ 35.040142][ T408] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 35.040150][ T408] ? __rtnl_newlink (net/core/rtnetlink.c:3922) [ 35.040155][ T408] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4073) [ 35.040160][ T408] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 35.040163][ T408] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 35.040169][ T408] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 35.040173][ T408] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/core/rtnetlink.c:6956) [ 35.040175][ T408] ? __lock_release (kernel/locking/lockdep.c:5536) [ 35.040180][ T408] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 35.040183][ T408] rtnetlink_rcv_msg (net/core/rtnetlink.c:6958) [ 35.040186][ T408] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 35.040189][ T408] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 35.040196][ T408] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 35.040202][ T408] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 35.040205][ T408] ? netlink_ack (net/netlink/af_netlink.c:2527) [ 35.040212][ T408] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/netlink/af_netlink.c:340) [ 35.040215][ T408] ? 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.040219][ T408] netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) [ 35.040223][ T408] ? netlink_attachskb (net/netlink/af_netlink.c:1329) [ 35.040227][ T408] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 35.040232][ T408] netlink_sendmsg (net/netlink/af_netlink.c:1894) [ 35.040237][ T408] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 35.040240][ T408] ? __import_iovec (lib/iov_iter.c:1346 lib/iov_iter.c:1361) [ 35.040249][ T408] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 35.040253][ T408] ____sys_sendmsg (net/socket.c:727 net/socket.c:742 net/socket.c:2630) [ 35.040261][ T408] ? get_timestamp.constprop.0 (net/socket.c:2576) [ 35.040264][ T408] ? __copy_msghdr (net/socket.c:2556) [ 35.040272][ T408] ___sys_sendmsg (net/socket.c:2686) [ 35.040275][ T408] ? kasan_record_aux_stack (mm/kasan/generic.c:559) [ 35.040278][ T408] ? __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.040283][ T408] ? copy_msghdr_from_user (net/socket.c:2673) [ 35.040288][ T408] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 35.040293][ T408] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 35.040298][ T408] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 35.040302][ T408] ? __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.040308][ T408] ? __lock_release (kernel/locking/lockdep.c:5536) [ 35.040315][ T408] __sys_sendmsg (net/socket.c:2716) [ 35.040318][ T408] ? __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3148) [ 35.040322][ T408] ? __sys_sendmsg_sock (net/socket.c:2701) [ 35.040329][ T408] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 35.040333][ T408] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 35.040339][ T408] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 35.040343][ T408] RIP: 0033:0x7fe5a875f1d7 [ 35.040349][ T408] 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.040352][ T408] RSP: 002b:00007ffcf5330fb8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 35.040358][ T408] RAX: ffffffffffffffda RBX: 00007ffcf53316e0 RCX: 00007fe5a875f1d7 [ 35.040360][ T408] RDX: 0000000000000000 RSI: 00007ffcf5331020 RDI: 0000000000000005 [ 35.040362][ T408] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 35.040363][ T408] R10: 00007fe5a865bf60 R11: 0000000000000246 R12: 0000000000000003 [ 35.040365][ T408] R13: 00000000691cb9c3 R14: 0000000000499600 R15: 0000000000000000 | [ 35.064288][ T408] #PF: error_code(0x0002) - not-present page | [ 35.064499][ T408] PGD f24e067 P4D f24e067 PUD f24c067 PMD 0 | [ 35.064847][ T408] Oops: Oops: 0002 [#1] SMP KASAN | [ 35.065359][ T408] Tainted: [B]=BAD_PAGE [ 35.065616][ T408] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 35.065834][ T408] 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.066059][ T408] 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.066784][ T408] RSP: 0018:ffffc90000b16f40 EFLAGS: 00010046 [ 35.066998][ T408] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff84c4090a [ 35.067362][ T408] RDX: fffffbfff11cf2cd RSI: 0000000000000008 RDI: ffffffff88e79660 [ 35.067654][ T408] RBP: ffffc90000b16fa8 R08: 0000000000000001 R09: fffffbfff11cf2cc [ 35.068019][ T408] R10: ffffffff88e79667 R11: ffffc90000b16a00 R12: 0000000000000000 [ 35.068277][ T408] R13: 0000000000000282 R14: ffff888007fa9000 R15: dffffc0000000000 [ 35.068597][ T408] FS: 00007fe5a8591800(0000) GS:ffff8880ad572000(0000) knlGS:0000000000000000 [ 35.069008][ T408] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 35.069230][ T408] CR2: 0000000000000000 CR3: 000000000ba50002 CR4: 0000000000772ef0 [ 35.069523][ T408] PKRU: 55555554 [ 35.069845][ T408] Call Trace: [ 35.069987][ T408] [ 35.070080][ T408] __cancel_work (kernel/workqueue.c:2161 kernel/workqueue.c:4364) [ 35.070257][ T408] ? enable_delayed_work (kernel/workqueue.c:4359) [ 35.070436][ T408] ? queue_delayed_work_on (kernel/workqueue.c:2590) [ 35.070717][ T408] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 35.070890][ T408] __cancel_work_sync (kernel/workqueue.c:4383) [ 35.071080][ T408] __dev_close_many (net/core/dev.c:1879 (discriminator 2) net/core/dev.c:1932 (discriminator 2)) [ 35.071310][ T408] ? netdev_notify_peers (net/core/dev.c:1891) [ 35.071649][ T408] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 35.071893][ T408] __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.072066][ T408] ? __free_zapped_classes (kernel/locking/lockdep.c:5343) [ 35.072273][ T408] ? netif_set_allmulti (net/core/dev.c:9890) [ 35.072602][ T408] ? __lock_release (kernel/locking/lockdep.c:5536) [ 35.072775][ T408] netif_change_flags (net/core/dev.c:9989) [ 35.073017][ T408] do_setlink.constprop.0 (net/core/rtnetlink.c:3158) [ 35.073188][ T408] ? rtnl_newlink_create (net/core/rtnetlink.c:3036) [ 35.073461][ T408] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 35.073652][ T408] ? validate_chain (kernel/locking/lockdep.c:3801 kernel/locking/lockdep.c:3821 kernel/locking/lockdep.c:3876) [ 35.073869][ T408] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 35.074038][ T408] ? __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.074390][ T408] ? __mutex_handoff (kernel/locking/mutex.c:88) [ 35.074571][ T408] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 35.074741][ T408] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 35.074908][ T408] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 35.075202][ T408] ? __mutex_lock (./arch/x86/include/asm/preempt.h:104 kernel/locking/mutex.c:739 kernel/locking/mutex.c:760) [ 35.075399][ T408] ? __create_object (mm/kmemleak.c:786) [ 35.075619][ T408] ? __lock_release (kernel/locking/lockdep.c:5536) [ 35.075809][ T408] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4071) [ 35.076129][ T408] ? ww_mutex_lock (kernel/locking/mutex.c:759) [ 35.076340][ T408] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 35.076524][ T408] ? __rtnl_newlink (net/core/rtnetlink.c:3922) [ 35.076730][ T408] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4073) [ 35.077012][ T408] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 35.077181][ T408] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 35.077352][ T408] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 35.077530][ T408] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/core/rtnetlink.c:6956) [ 35.077814][ T408] ? __lock_release (kernel/locking/lockdep.c:5536) [ 35.078013][ T408] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 35.078224][ T408] rtnetlink_rcv_msg (net/core/rtnetlink.c:6958) [ 35.078392][ T408] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 35.078603][ T408] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 35.078813][ T408] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 35.078988][ T408] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 35.079194][ T408] ? netlink_ack (net/netlink/af_netlink.c:2527) [ 35.079543][ T408] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/netlink/af_netlink.c:340) [ 35.079824][ T408] ? 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.080009][ T408] netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) [ 35.080227][ T408] ? netlink_attachskb (net/netlink/af_netlink.c:1329) [ 35.080561][ T408] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 35.080782][ T408] netlink_sendmsg (net/netlink/af_netlink.c:1894) [ 35.080996][ T408] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 35.081189][ T408] ? __import_iovec (lib/iov_iter.c:1346 lib/iov_iter.c:1361) [ 35.081531][ T408] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 35.081708][ T408] ____sys_sendmsg (net/socket.c:727 net/socket.c:742 net/socket.c:2630) [ 35.081923][ T408] ? get_timestamp.constprop.0 (net/socket.c:2576) [ 35.082180][ T408] ? __copy_msghdr (net/socket.c:2556) [ 35.082520][ T408] ___sys_sendmsg (net/socket.c:2686) [ 35.082752][ T408] ? kasan_record_aux_stack (mm/kasan/generic.c:559) [ 35.082979][ T408] ? __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.083369][ T408] ? copy_msghdr_from_user (net/socket.c:2673) [ 35.083632][ T408] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 35.083917][ T408] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 35.084192][ T408] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 35.084670][ T408] ? __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.084902][ T408] ? __lock_release (kernel/locking/lockdep.c:5536) [ 35.085102][ T408] __sys_sendmsg (net/socket.c:2716) [ 35.085293][ T408] ? __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3148) [ 35.085584][ T408] ? __sys_sendmsg_sock (net/socket.c:2701) [ 35.085828][ T408] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 35.086049][ T408] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 35.086308][ T408] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 35.086667][ T408] RIP: 0033:0x7fe5a875f1d7 [ 35.086972][ T408] 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.087878][ T408] RSP: 002b:00007ffcf5330fb8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 35.088162][ T408] RAX: ffffffffffffffda RBX: 00007ffcf53316e0 RCX: 00007fe5a875f1d7 [ 35.088473][ T408] RDX: 0000000000000000 RSI: 00007ffcf5331020 RDI: 0000000000000005 [ 35.088749][ T408] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 35.089008][ T408] R10: 00007fe5a865bf60 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