====================================== | [ 52.298808][ T407] ================================================================== | [ 52.299196][ T407] 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) | [ 52.299552][ T407] Write of size 8 at addr 0000000000000000 by task ip/407 | [ 52.299813][ T407] [ 52.299926][ T407] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 52.299929][ T407] Call Trace: [ 52.299932][ T407] [ 52.299934][ T407] dump_stack_lvl (lib/dump_stack.c:123) [ 52.299945][ T407] ? try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 52.299949][ T407] kasan_report (mm/kasan/report.c:597) [ 52.299957][ T407] ? try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 52.299962][ T407] kasan_check_range (mm/kasan/generic.c:194 mm/kasan/generic.c:200) [ 52.299966][ T407] try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 52.299971][ T407] __cancel_work (kernel/workqueue.c:2161 kernel/workqueue.c:4364) [ 52.299975][ T407] ? enable_delayed_work (kernel/workqueue.c:4359) [ 52.299979][ T407] ? queue_delayed_work_on (kernel/workqueue.c:2590) [ 52.299982][ T407] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 52.299989][ T407] __cancel_work_sync (kernel/workqueue.c:4383) [ 52.299993][ T407] __dev_close_many (net/core/dev.c:1879 (discriminator 2) net/core/dev.c:1932 (discriminator 2)) [ 52.300006][ T407] ? netdev_notify_peers (net/core/dev.c:1891) [ 52.300013][ T407] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 52.300021][ T407] __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) [ 52.300025][ T407] ? __free_zapped_classes (kernel/locking/lockdep.c:5343) [ 52.300031][ T407] ? netif_set_allmulti (net/core/dev.c:9890) [ 52.300033][ T407] ? __lock_release (kernel/locking/lockdep.c:5536) [ 52.300040][ T407] netif_change_flags (net/core/dev.c:9989) [ 52.300044][ T407] do_setlink.constprop.0 (net/core/rtnetlink.c:3158) [ 52.300051][ T407] ? rtnl_newlink_create (net/core/rtnetlink.c:3036) [ 52.300056][ T407] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 52.300064][ T407] ? validate_chain (kernel/locking/lockdep.c:3801 kernel/locking/lockdep.c:3821 kernel/locking/lockdep.c:3876) [ 52.300072][ T407] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 52.300080][ T407] ? __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) [ 52.300086][ T407] ? __mutex_handoff (kernel/locking/mutex.c:88) [ 52.300090][ T407] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 52.300095][ T407] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 52.300098][ T407] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 52.300102][ T407] ? __mutex_lock (./arch/x86/include/asm/preempt.h:104 kernel/locking/mutex.c:739 kernel/locking/mutex.c:760) [ 52.300112][ T407] ? __create_object (mm/kmemleak.c:786) [ 52.300118][ T407] ? __lock_release (kernel/locking/lockdep.c:5536) [ 52.300122][ T407] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4071) [ 52.300125][ T407] ? ww_mutex_lock (kernel/locking/mutex.c:759) [ 52.300129][ T407] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 52.300137][ T407] ? __rtnl_newlink (net/core/rtnetlink.c:3922) [ 52.300142][ T407] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4073) [ 52.300147][ T407] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 52.300150][ T407] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 52.300156][ T407] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 52.300160][ T407] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/core/rtnetlink.c:6956) [ 52.300162][ T407] ? __lock_release (kernel/locking/lockdep.c:5536) [ 52.300168][ T407] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 52.300174][ T407] rtnetlink_rcv_msg (net/core/rtnetlink.c:6958) [ 52.300179][ T407] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 52.300182][ T407] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 52.300192][ T407] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 52.300198][ T407] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 52.300205][ T407] ? netlink_ack (net/netlink/af_netlink.c:2527) [ 52.300215][ T407] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/netlink/af_netlink.c:340) [ 52.300219][ T407] ? 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) [ 52.300223][ T407] netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) [ 52.300227][ T407] ? netlink_attachskb (net/netlink/af_netlink.c:1329) [ 52.300232][ T407] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 52.300238][ T407] netlink_sendmsg (net/netlink/af_netlink.c:1894) [ 52.300242][ T407] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 52.300246][ T407] ? __import_iovec (lib/iov_iter.c:1346 lib/iov_iter.c:1361) [ 52.300256][ T407] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 52.300260][ T407] ____sys_sendmsg (net/socket.c:727 net/socket.c:742 net/socket.c:2630) [ 52.300266][ T407] ? get_timestamp.constprop.0 (net/socket.c:2576) [ 52.300270][ T407] ? __copy_msghdr (net/socket.c:2556) [ 52.300277][ T407] ___sys_sendmsg (net/socket.c:2686) [ 52.300280][ T407] ? kasan_record_aux_stack (mm/kasan/generic.c:559) [ 52.300283][ T407] ? __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) [ 52.300290][ T407] ? copy_msghdr_from_user (net/socket.c:2673) [ 52.300296][ T407] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 52.300303][ T407] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 52.300312][ T407] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 52.300316][ T407] ? __virt_addr_valid (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:979 ./include/linux/mmzone.h:2197 arch/x86/mm/physaddr.c:65) [ 52.300324][ T407] ? __lock_release (kernel/locking/lockdep.c:5536) [ 52.300331][ T407] __sys_sendmsg (net/socket.c:2716) [ 52.300334][ T407] ? __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3148) [ 52.300338][ T407] ? __sys_sendmsg_sock (net/socket.c:2701) [ 52.300346][ T407] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 52.300350][ T407] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 52.300358][ T407] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 52.300362][ T407] RIP: 0033:0x7f0737ca51d7 [ 52.300367][ T407] 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) [ 52.300371][ T407] RSP: 002b:00007ffe1d71ce48 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 52.300377][ T407] RAX: ffffffffffffffda RBX: 00007ffe1d71d570 RCX: 00007f0737ca51d7 [ 52.300379][ T407] RDX: 0000000000000000 RSI: 00007ffe1d71ceb0 RDI: 0000000000000005 [ 52.300382][ T407] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 52.300384][ T407] R10: 00007f0737ba1f60 R11: 0000000000000246 R12: 0000000000000003 [ 52.300388][ T407] R13: 00000000691cc845 R14: 0000000000499600 R15: 0000000000000000 | [ 52.320889][ T407] #PF: error_code(0x0002) - not-present page | [ 52.321240][ T407] PGD b9af067 P4D b9af067 PUD 9ff8067 PMD 0 | [ 52.321485][ T407] Oops: Oops: 0002 [#1] SMP KASAN | [ 52.322200][ T407] Tainted: [B]=BAD_PAGE [ 52.322350][ T407] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 52.322583][ T407] 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) [ 52.322824][ T407] 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 [ 52.323604][ T407] RSP: 0018:ffffc900007b6f40 EFLAGS: 00010046 [ 52.323945][ T407] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8cc4090a [ 52.324244][ T407] RDX: fffffbfff21cf2cd RSI: 0000000000000008 RDI: ffffffff90e79660 [ 52.324523][ T407] RBP: ffffc900007b6fa8 R08: 0000000000000001 R09: fffffbfff21cf2cc [ 52.324915][ T407] R10: ffffffff90e79667 R11: ffffc900007b6a00 R12: 0000000000000000 [ 52.325201][ T407] R13: 0000000000000282 R14: ffff8880080ec000 R15: dffffc0000000000 [ 52.325490][ T407] FS: 00007f0737ad7800(0000) GS:ffff8880a53f2000(0000) knlGS:0000000000000000 [ 52.325922][ T407] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 52.326164][ T407] CR2: 0000000000000000 CR3: 000000000553f005 CR4: 0000000000772ef0 [ 52.326549][ T407] PKRU: 55555554 [ 52.326695][ T407] Call Trace: [ 52.326833][ T407] [ 52.326929][ T407] __cancel_work (kernel/workqueue.c:2161 kernel/workqueue.c:4364) [ 52.327129][ T407] ? enable_delayed_work (kernel/workqueue.c:4359) [ 52.327428][ T407] ? queue_delayed_work_on (kernel/workqueue.c:2590) [ 52.327607][ T407] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 52.327800][ T407] __cancel_work_sync (kernel/workqueue.c:4383) [ 52.327971][ T407] __dev_close_many (net/core/dev.c:1879 (discriminator 2) net/core/dev.c:1932 (discriminator 2)) [ 52.328294][ T407] ? netdev_notify_peers (net/core/dev.c:1891) [ 52.328476][ T407] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 52.328653][ T407] __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) [ 52.328836][ T407] ? __free_zapped_classes (kernel/locking/lockdep.c:5343) [ 52.329035][ T407] ? netif_set_allmulti (net/core/dev.c:9890) [ 52.329222][ T407] ? __lock_release (kernel/locking/lockdep.c:5536) [ 52.329403][ T407] netif_change_flags (net/core/dev.c:9989) [ 52.329575][ T407] do_setlink.constprop.0 (net/core/rtnetlink.c:3158) [ 52.329872][ T407] ? rtnl_newlink_create (net/core/rtnetlink.c:3036) [ 52.330056][ T407] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 52.330250][ T407] ? validate_chain (kernel/locking/lockdep.c:3801 kernel/locking/lockdep.c:3821 kernel/locking/lockdep.c:3876) [ 52.330460][ T407] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 52.330746][ T407] ? __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) [ 52.330916][ T407] ? __mutex_handoff (kernel/locking/mutex.c:88) [ 52.331101][ T407] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 52.331284][ T407] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 52.331567][ T407] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 52.331746][ T407] ? __mutex_lock (./arch/x86/include/asm/preempt.h:104 kernel/locking/mutex.c:739 kernel/locking/mutex.c:760) [ 52.331919][ T407] ? __create_object (mm/kmemleak.c:786) [ 52.332135][ T407] ? __lock_release (kernel/locking/lockdep.c:5536) [ 52.332431][ T407] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4071) [ 52.332601][ T407] ? ww_mutex_lock (kernel/locking/mutex.c:759) [ 52.332792][ T407] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 52.332963][ T407] ? __rtnl_newlink (net/core/rtnetlink.c:3922) [ 52.333267][ T407] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4073) [ 52.333447][ T407] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 52.333617][ T407] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 52.333813][ T407] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 52.334112][ T407] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/core/rtnetlink.c:6956) [ 52.334292][ T407] ? __lock_release (kernel/locking/lockdep.c:5536) [ 52.334471][ T407] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 52.334640][ T407] rtnetlink_rcv_msg (net/core/rtnetlink.c:6958) [ 52.334934][ T407] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 52.335119][ T407] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 52.335304][ T407] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 52.335488][ T407] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 52.335777][ T407] ? netlink_ack (net/netlink/af_netlink.c:2527) [ 52.335959][ T407] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/netlink/af_netlink.c:340) [ 52.336147][ T407] ? 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) [ 52.336329][ T407] netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) [ 52.336617][ T407] ? netlink_attachskb (net/netlink/af_netlink.c:1329) [ 52.336804][ T407] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 52.336985][ T407] netlink_sendmsg (net/netlink/af_netlink.c:1894) [ 52.337178][ T407] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 52.337467][ T407] ? __import_iovec (lib/iov_iter.c:1346 lib/iov_iter.c:1361) [ 52.337638][ T407] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 52.337816][ T407] ____sys_sendmsg (net/socket.c:727 net/socket.c:742 net/socket.c:2630) [ 52.337995][ T407] ? get_timestamp.constprop.0 (net/socket.c:2576) [ 52.338348][ T407] ? __copy_msghdr (net/socket.c:2556) [ 52.338534][ T407] ___sys_sendmsg (net/socket.c:2686) [ 52.338723][ T407] ? kasan_record_aux_stack (mm/kasan/generic.c:559) [ 52.338901][ T407] ? __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) [ 52.339135][ T407] ? copy_msghdr_from_user (net/socket.c:2673) [ 52.339313][ T407] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 52.339495][ T407] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 52.339678][ T407] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 52.339963][ T407] ? __virt_addr_valid (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:979 ./include/linux/mmzone.h:2197 arch/x86/mm/physaddr.c:65) [ 52.340159][ T407] ? __lock_release (kernel/locking/lockdep.c:5536) [ 52.340344][ T407] __sys_sendmsg (net/socket.c:2716) [ 52.340531][ T407] ? __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3148) [ 52.340865][ T407] ? __sys_sendmsg_sock (net/socket.c:2701) [ 52.341051][ T407] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 52.341238][ T407] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 52.341526][ T407] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 52.341761][ T407] RIP: 0033:0x7f0737ca51d7 [ 52.341967][ T407] 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) [ 52.342737][ T407] RSP: 002b:00007ffe1d71ce48 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 52.343016][ T407] RAX: ffffffffffffffda RBX: 00007ffe1d71d570 RCX: 00007f0737ca51d7 [ 52.343427][ T407] RDX: 0000000000000000 RSI: 00007ffe1d71ceb0 RDI: 0000000000000005 [ 52.343713][ T407] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 52.343985][ T407] R10: 00007f0737ba1f60 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