====================================== | [ 53.346741][ T477] ================================================================== | [ 53.347110][ T477] 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) | [ 53.347409][ T477] Write of size 8 at addr 0000000000000000 by task ip/477 | [ 53.347671][ T477] [ 53.347794][ T477] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 53.347797][ T477] Call Trace: [ 53.347803][ T477] [ 53.347805][ T477] dump_stack_lvl (lib/dump_stack.c:123) [ 53.347817][ T477] ? try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 53.347820][ T477] kasan_report (mm/kasan/report.c:597) [ 53.347828][ T477] ? try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 53.347834][ T477] kasan_check_range (mm/kasan/generic.c:194 mm/kasan/generic.c:200) [ 53.347837][ T477] try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 53.347843][ T477] __cancel_work (kernel/workqueue.c:2161 kernel/workqueue.c:4364) [ 53.347847][ T477] ? enable_delayed_work (kernel/workqueue.c:4359) [ 53.347851][ T477] ? queue_delayed_work_on (kernel/workqueue.c:2590) [ 53.347854][ T477] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 53.347861][ T477] __cancel_work_sync (kernel/workqueue.c:4383) [ 53.347865][ T477] __dev_close_many (net/core/dev.c:1879 (discriminator 2) net/core/dev.c:1932 (discriminator 2)) [ 53.347876][ T477] ? netdev_notify_peers (net/core/dev.c:1891) [ 53.347881][ T477] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 53.347888][ T477] __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) [ 53.347894][ T477] ? __free_zapped_classes (kernel/locking/lockdep.c:5343) [ 53.347900][ T477] ? netif_set_allmulti (net/core/dev.c:9890) [ 53.347902][ T477] ? __lock_release (kernel/locking/lockdep.c:5536) [ 53.347908][ T477] netif_change_flags (net/core/dev.c:9989) [ 53.347913][ T477] do_setlink.constprop.0 (net/core/rtnetlink.c:3158) [ 53.347919][ T477] ? rtnl_newlink_create (net/core/rtnetlink.c:3036) [ 53.347925][ T477] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 53.347934][ T477] ? validate_chain (kernel/locking/lockdep.c:3801 kernel/locking/lockdep.c:3821 kernel/locking/lockdep.c:3876) [ 53.347939][ T477] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 53.347945][ T477] ? __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) [ 53.347949][ T477] ? __mutex_handoff (kernel/locking/mutex.c:88) [ 53.347952][ T477] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 53.347957][ T477] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 53.347960][ T477] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 53.347963][ T477] ? __mutex_lock (./arch/x86/include/asm/preempt.h:104 kernel/locking/mutex.c:739 kernel/locking/mutex.c:760) [ 53.347984][ T477] ? __create_object (mm/kmemleak.c:786) [ 53.347995][ T477] ? __lock_release (kernel/locking/lockdep.c:5536) [ 53.347999][ T477] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4071) [ 53.348002][ T477] ? ww_mutex_lock (kernel/locking/mutex.c:759) [ 53.348006][ T477] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 53.348014][ T477] ? __rtnl_newlink (net/core/rtnetlink.c:3922) [ 53.348020][ T477] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4073) [ 53.348025][ T477] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 53.348028][ T477] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 53.348034][ T477] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 53.348038][ T477] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/core/rtnetlink.c:6956) [ 53.348041][ T477] ? __lock_release (kernel/locking/lockdep.c:5536) [ 53.348045][ T477] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 53.348048][ T477] rtnetlink_rcv_msg (net/core/rtnetlink.c:6958) [ 53.348052][ T477] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 53.348055][ T477] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 53.348062][ T477] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 53.348069][ T477] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 53.348072][ T477] ? netlink_ack (net/netlink/af_netlink.c:2527) [ 53.348079][ T477] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/netlink/af_netlink.c:340) [ 53.348082][ T477] ? 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) [ 53.348086][ T477] netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) [ 53.348090][ T477] ? netlink_attachskb (net/netlink/af_netlink.c:1329) [ 53.348094][ T477] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 53.348105][ T477] netlink_sendmsg (net/netlink/af_netlink.c:1894) [ 53.348115][ T477] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 53.348118][ T477] ? __import_iovec (lib/iov_iter.c:1346 lib/iov_iter.c:1361) [ 53.348128][ T477] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 53.348132][ T477] ____sys_sendmsg (net/socket.c:727 net/socket.c:742 net/socket.c:2630) [ 53.348138][ T477] ? get_timestamp.constprop.0 (net/socket.c:2576) [ 53.348141][ T477] ? __copy_msghdr (net/socket.c:2556) [ 53.348158][ T477] ___sys_sendmsg (net/socket.c:2686) [ 53.348164][ T477] ? kasan_record_aux_stack (mm/kasan/generic.c:559) [ 53.348169][ T477] ? __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) [ 53.348178][ T477] ? copy_msghdr_from_user (net/socket.c:2673) [ 53.348188][ T477] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 53.348192][ T477] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 53.348198][ T477] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 53.348204][ T477] ? __virt_addr_valid (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:979 ./include/linux/mmzone.h:2197 arch/x86/mm/physaddr.c:65) [ 53.348217][ T477] ? __lock_release (kernel/locking/lockdep.c:5536) [ 53.348229][ T477] __sys_sendmsg (net/socket.c:2716) [ 53.348234][ T477] ? __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3148) [ 53.348238][ T477] ? __sys_sendmsg_sock (net/socket.c:2701) [ 53.348246][ T477] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 53.348250][ T477] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 53.348257][ T477] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 53.348261][ T477] RIP: 0033:0x7f110e6381d7 [ 53.348266][ T477] 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) [ 53.348269][ T477] RSP: 002b:00007ffe181aa648 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 53.348277][ T477] RAX: ffffffffffffffda RBX: 00007ffe181aad70 RCX: 00007f110e6381d7 [ 53.348284][ T477] RDX: 0000000000000000 RSI: 00007ffe181aa6b0 RDI: 0000000000000005 [ 53.348291][ T477] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 53.348292][ T477] R10: 00007f110e534f60 R11: 0000000000000246 R12: 0000000000000003 [ 53.348294][ T477] R13: 00000000691cc8f6 R14: 0000000000499600 R15: 0000000000000000 | [ 53.368346][ T477] #PF: error_code(0x0002) - not-present page | [ 53.368687][ T477] PGD 58a1067 P4D 58a1067 PUD 57f1067 PMD 0 | [ 53.368975][ T477] Oops: Oops: 0002 [#1] SMP KASAN | [ 53.369563][ T477] Tainted: [B]=BAD_PAGE [ 53.369722][ T477] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 53.370002][ T477] 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) [ 53.370285][ T477] 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 [ 53.371085][ T477] RSP: 0018:ffffc90000cf6f40 EFLAGS: 00010046 [ 53.371455][ T477] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffffa484090a [ 53.371818][ T477] RDX: fffffbfff514f2cd RSI: 0000000000000008 RDI: ffffffffa8a79660 [ 53.372145][ T477] RBP: ffffc90000cf6fa8 R08: 0000000000000001 R09: fffffbfff514f2cc [ 53.372550][ T477] R10: ffffffffa8a79667 R11: ffffc90000cf6a00 R12: 0000000000000000 [ 53.372854][ T477] R13: 0000000000000282 R14: ffff88800b824000 R15: dffffc0000000000 [ 53.373163][ T477] FS: 00007f110e46a800(0000) GS:ffff88808d8f2000(0000) knlGS:0000000000000000 [ 53.373726][ T477] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 53.373948][ T477] CR2: 0000000000000000 CR3: 000000000a493005 CR4: 0000000000772ef0 [ 53.374366][ T477] PKRU: 55555554 [ 53.374518][ T477] Call Trace: [ 53.374656][ T477] [ 53.374751][ T477] __cancel_work (kernel/workqueue.c:2161 kernel/workqueue.c:4364) [ 53.374942][ T477] ? enable_delayed_work (kernel/workqueue.c:4359) [ 53.375313][ T477] ? queue_delayed_work_on (kernel/workqueue.c:2590) [ 53.375544][ T477] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 53.375792][ T477] __cancel_work_sync (kernel/workqueue.c:4383) [ 53.376001][ T477] __dev_close_many (net/core/dev.c:1879 (discriminator 2) net/core/dev.c:1932 (discriminator 2)) [ 53.376293][ T477] ? netdev_notify_peers (net/core/dev.c:1891) [ 53.376494][ T477] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 53.376689][ T477] __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) [ 53.376918][ T477] ? __free_zapped_classes (kernel/locking/lockdep.c:5343) [ 53.377230][ T477] ? netif_set_allmulti (net/core/dev.c:9890) [ 53.377407][ T477] ? __lock_release (kernel/locking/lockdep.c:5536) [ 53.377609][ T477] netif_change_flags (net/core/dev.c:9989) [ 53.377779][ T477] do_setlink.constprop.0 (net/core/rtnetlink.c:3158) [ 53.378108][ T477] ? rtnl_newlink_create (net/core/rtnetlink.c:3036) [ 53.378287][ T477] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 53.378478][ T477] ? validate_chain (kernel/locking/lockdep.c:3801 kernel/locking/lockdep.c:3821 kernel/locking/lockdep.c:3876) [ 53.378671][ T477] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 53.379026][ T477] ? __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) [ 53.379198][ T477] ? __mutex_handoff (kernel/locking/mutex.c:88) [ 53.379376][ T477] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 53.379566][ T477] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 53.379852][ T477] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 53.380056][ T477] ? __mutex_lock (./arch/x86/include/asm/preempt.h:104 kernel/locking/mutex.c:739 kernel/locking/mutex.c:760) [ 53.380237][ T477] ? __create_object (mm/kmemleak.c:786) [ 53.380447][ T477] ? __lock_release (kernel/locking/lockdep.c:5536) [ 53.380734][ T477] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4071) [ 53.380917][ T477] ? ww_mutex_lock (kernel/locking/mutex.c:759) [ 53.381090][ T477] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 53.381281][ T477] ? __rtnl_newlink (net/core/rtnetlink.c:3922) [ 53.381612][ T477] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4073) [ 53.381792][ T477] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 53.381987][ T477] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 53.382159][ T477] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 53.382440][ T477] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/core/rtnetlink.c:6956) [ 53.382612][ T477] ? __lock_release (kernel/locking/lockdep.c:5536) [ 53.382803][ T477] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 53.382969][ T477] rtnetlink_rcv_msg (net/core/rtnetlink.c:6958) [ 53.383243][ T477] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 53.383455][ T477] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 53.383647][ T477] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 53.383832][ T477] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 53.384102][ T477] ? netlink_ack (net/netlink/af_netlink.c:2527) [ 53.384285][ T477] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/netlink/af_netlink.c:340) [ 53.384467][ T477] ? 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) [ 53.384650][ T477] netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) [ 53.384951][ T477] ? netlink_attachskb (net/netlink/af_netlink.c:1329) [ 53.385132][ T477] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 53.385309][ T477] netlink_sendmsg (net/netlink/af_netlink.c:1894) [ 53.385494][ T477] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 53.385794][ T477] ? __import_iovec (lib/iov_iter.c:1346 lib/iov_iter.c:1361) [ 53.385967][ T477] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 53.386139][ T477] ____sys_sendmsg (net/socket.c:727 net/socket.c:742 net/socket.c:2630) [ 53.386319][ T477] ? get_timestamp.constprop.0 (net/socket.c:2576) [ 53.386670][ T477] ? __copy_msghdr (net/socket.c:2556) [ 53.386872][ T477] ___sys_sendmsg (net/socket.c:2686) [ 53.387042][ T477] ? kasan_record_aux_stack (mm/kasan/generic.c:559) [ 53.387239][ T477] ? __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) [ 53.387603][ T477] ? copy_msghdr_from_user (net/socket.c:2673) [ 53.387845][ T477] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 53.388116][ T477] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 53.388311][ T477] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 53.388623][ T477] ? __virt_addr_valid (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:979 ./include/linux/mmzone.h:2197 arch/x86/mm/physaddr.c:65) [ 53.388892][ T477] ? __lock_release (kernel/locking/lockdep.c:5536) [ 53.389091][ T477] __sys_sendmsg (net/socket.c:2716) [ 53.389284][ T477] ? __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3148) [ 53.389627][ T477] ? __sys_sendmsg_sock (net/socket.c:2701) [ 53.389815][ T477] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 53.389984][ T477] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 53.390260][ T477] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 53.390475][ T477] RIP: 0033:0x7f110e6381d7 [ 53.390708][ T477] 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) [ 53.391468][ T477] RSP: 002b:00007ffe181aa648 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 53.391779][ T477] RAX: ffffffffffffffda RBX: 00007ffe181aad70 RCX: 00007f110e6381d7 [ 53.392174][ T477] RDX: 0000000000000000 RSI: 00007ffe181aa6b0 RDI: 0000000000000005 [ 53.392445][ T477] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 53.392726][ T477] R10: 00007f110e534f60 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