====================================== | [ 42.191538][ T511] ================================================================== | [ 42.191890][ T511] 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) | [ 42.192187][ T511] Write of size 8 at addr 0000000000000000 by task ip/511 | [ 42.192421][ T511] [ 42.192525][ T511] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 42.192527][ T511] Call Trace: [ 42.192529][ T511] [ 42.192531][ T511] dump_stack_lvl (lib/dump_stack.c:123) [ 42.192540][ T511] ? try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 42.192543][ T511] kasan_report (mm/kasan/report.c:597) [ 42.192550][ T511] ? try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 42.192555][ T511] kasan_check_range (mm/kasan/generic.c:194 mm/kasan/generic.c:200) [ 42.192559][ T511] try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 42.192564][ T511] __cancel_work (kernel/workqueue.c:2161 kernel/workqueue.c:4364) [ 42.192567][ T511] ? enable_delayed_work (kernel/workqueue.c:4359) [ 42.192571][ T511] ? queue_delayed_work_on (kernel/workqueue.c:2590) [ 42.192574][ T511] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 42.192581][ T511] __cancel_work_sync (kernel/workqueue.c:4383) [ 42.192585][ T511] __dev_close_many (net/core/dev.c:1879 (discriminator 2) net/core/dev.c:1932 (discriminator 2)) [ 42.192594][ T511] ? netdev_notify_peers (net/core/dev.c:1891) [ 42.192598][ T511] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 42.192604][ T511] __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) [ 42.192607][ T511] ? __free_zapped_classes (kernel/locking/lockdep.c:5343) [ 42.192614][ T511] ? netif_set_allmulti (net/core/dev.c:9890) [ 42.192617][ T511] ? __lock_release (kernel/locking/lockdep.c:5536) [ 42.192623][ T511] netif_change_flags (net/core/dev.c:9989) [ 42.192627][ T511] do_setlink.constprop.0 (net/core/rtnetlink.c:3158) [ 42.192634][ T511] ? rtnl_newlink_create (net/core/rtnetlink.c:3036) [ 42.192639][ T511] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 42.192647][ T511] ? validate_chain (kernel/locking/lockdep.c:3801 kernel/locking/lockdep.c:3821 kernel/locking/lockdep.c:3876) [ 42.192652][ T511] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 42.192657][ T511] ? __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) [ 42.192662][ T511] ? __mutex_handoff (kernel/locking/mutex.c:88) [ 42.192665][ T511] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 42.192670][ T511] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 42.192673][ T511] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 42.192677][ T511] ? __mutex_lock (./arch/x86/include/asm/preempt.h:104 kernel/locking/mutex.c:739 kernel/locking/mutex.c:760) [ 42.192683][ T511] ? __create_object (mm/kmemleak.c:786) [ 42.192686][ T511] ? __lock_release (kernel/locking/lockdep.c:5536) [ 42.192690][ T511] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4071) [ 42.192693][ T511] ? ww_mutex_lock (kernel/locking/mutex.c:759) [ 42.192696][ T511] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 42.192701][ T511] ? __rtnl_newlink (net/core/rtnetlink.c:3922) [ 42.192706][ T511] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4073) [ 42.192711][ T511] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 42.192714][ T511] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 42.192720][ T511] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 42.192724][ T511] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/core/rtnetlink.c:6956) [ 42.192726][ T511] ? __lock_release (kernel/locking/lockdep.c:5536) [ 42.192730][ T511] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 42.192733][ T511] rtnetlink_rcv_msg (net/core/rtnetlink.c:6958) [ 42.192737][ T511] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 42.192739][ T511] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 42.192746][ T511] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 42.192751][ T511] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 42.192754][ T511] ? netlink_ack (net/netlink/af_netlink.c:2527) [ 42.192761][ T511] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/netlink/af_netlink.c:340) [ 42.192764][ T511] ? 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) [ 42.192768][ T511] netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) [ 42.192772][ T511] ? netlink_attachskb (net/netlink/af_netlink.c:1329) [ 42.192776][ T511] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 42.192782][ T511] netlink_sendmsg (net/netlink/af_netlink.c:1894) [ 42.192786][ T511] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 42.192790][ T511] ? __import_iovec (lib/iov_iter.c:1346 lib/iov_iter.c:1361) [ 42.192795][ T511] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 42.192799][ T511] ____sys_sendmsg (net/socket.c:727 net/socket.c:742 net/socket.c:2630) [ 42.192806][ T511] ? get_timestamp.constprop.0 (net/socket.c:2576) [ 42.192809][ T511] ? __copy_msghdr (net/socket.c:2556) [ 42.192816][ T511] ___sys_sendmsg (net/socket.c:2686) [ 42.192819][ T511] ? kasan_record_aux_stack (mm/kasan/generic.c:559) [ 42.192822][ T511] ? __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) [ 42.192829][ T511] ? copy_msghdr_from_user (net/socket.c:2673) [ 42.192834][ T511] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 42.192838][ T511] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 42.192844][ T511] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 42.192848][ T511] ? __virt_addr_valid (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:979 ./include/linux/mmzone.h:2197 arch/x86/mm/physaddr.c:65) [ 42.192854][ T511] ? __lock_release (kernel/locking/lockdep.c:5536) [ 42.192860][ T511] __sys_sendmsg (net/socket.c:2716) [ 42.192863][ T511] ? __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3148) [ 42.192867][ T511] ? __sys_sendmsg_sock (net/socket.c:2701) [ 42.192875][ T511] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 42.192879][ T511] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 42.192886][ T511] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 42.192891][ T511] RIP: 0033:0x7f75dc0ac1d7 [ 42.192895][ T511] 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) [ 42.192898][ T511] RSP: 002b:00007ffe7e7e51a8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 42.192902][ T511] RAX: ffffffffffffffda RBX: 00007ffe7e7e58d0 RCX: 00007f75dc0ac1d7 [ 42.192904][ T511] RDX: 0000000000000000 RSI: 00007ffe7e7e5210 RDI: 0000000000000005 [ 42.192906][ T511] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 42.192908][ T511] R10: 00007f75dbfa8f60 R11: 0000000000000246 R12: 0000000000000003 [ 42.192910][ T511] R13: 00000000691ccac4 R14: 0000000000499600 R15: 0000000000000000 | [ 42.211627][ T511] #PF: error_code(0x0002) - not-present page | [ 42.211848][ T511] PGD be0e067 P4D be0e067 PUD cae5067 PMD 0 | [ 42.212079][ T511] Oops: Oops: 0002 [#1] SMP KASAN | [ 42.212637][ T511] Tainted: [B]=BAD_PAGE [ 42.212778][ T511] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 42.213011][ T511] 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) [ 42.213261][ T511] 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 [ 42.213905][ T511] RSP: 0018:ffffc90000586f40 EFLAGS: 00010046 [ 42.214138][ T511] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff9984090a [ 42.214413][ T511] RDX: fffffbfff3b4f2cd RSI: 0000000000000008 RDI: ffffffff9da79660 [ 42.214683][ T511] RBP: ffffc90000586fa8 R08: 0000000000000001 R09: fffffbfff3b4f2cc [ 42.214953][ T511] R10: ffffffff9da79667 R11: ffffc90000586a00 R12: 0000000000000000 [ 42.215227][ T511] R13: 0000000000000282 R14: ffff888002871000 R15: dffffc0000000000 [ 42.215504][ T511] FS: 00007f75dbede800(0000) GS:ffff888092df2000(0000) knlGS:0000000000000000 [ 42.215818][ T511] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 42.216092][ T511] CR2: 0000000000000000 CR3: 0000000008ab9001 CR4: 0000000000772ef0 [ 42.216359][ T511] PKRU: 55555554 [ 42.216496][ T511] Call Trace: [ 42.216655][ T511] [ 42.216747][ T511] __cancel_work (kernel/workqueue.c:2161 kernel/workqueue.c:4364) [ 42.216926][ T511] ? enable_delayed_work (kernel/workqueue.c:4359) [ 42.217103][ T511] ? queue_delayed_work_on (kernel/workqueue.c:2590) [ 42.217272][ T511] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 42.217454][ T511] __cancel_work_sync (kernel/workqueue.c:4383) [ 42.217642][ T511] __dev_close_many (net/core/dev.c:1879 (discriminator 2) net/core/dev.c:1932 (discriminator 2)) [ 42.217825][ T511] ? netdev_notify_peers (net/core/dev.c:1891) [ 42.218002][ T511] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 42.218172][ T511] __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) [ 42.218347][ T511] ? __free_zapped_classes (kernel/locking/lockdep.c:5343) [ 42.218519][ T511] ? netif_set_allmulti (net/core/dev.c:9890) [ 42.218694][ T511] ? __lock_release (kernel/locking/lockdep.c:5536) [ 42.218867][ T511] netif_change_flags (net/core/dev.c:9989) [ 42.219048][ T511] do_setlink.constprop.0 (net/core/rtnetlink.c:3158) [ 42.219219][ T511] ? rtnl_newlink_create (net/core/rtnetlink.c:3036) [ 42.219397][ T511] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 42.219568][ T511] ? validate_chain (kernel/locking/lockdep.c:3801 kernel/locking/lockdep.c:3821 kernel/locking/lockdep.c:3876) [ 42.219741][ T511] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 42.219914][ T511] ? __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) [ 42.220089][ T511] ? __mutex_handoff (kernel/locking/mutex.c:88) [ 42.220267][ T511] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 42.220448][ T511] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 42.220616][ T511] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 42.220786][ T511] ? __mutex_lock (./arch/x86/include/asm/preempt.h:104 kernel/locking/mutex.c:739 kernel/locking/mutex.c:760) [ 42.220958][ T511] ? __create_object (mm/kmemleak.c:786) [ 42.221130][ T511] ? __lock_release (kernel/locking/lockdep.c:5536) [ 42.221304][ T511] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4071) [ 42.221481][ T511] ? ww_mutex_lock (kernel/locking/mutex.c:759) [ 42.221654][ T511] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 42.221825][ T511] ? __rtnl_newlink (net/core/rtnetlink.c:3922) [ 42.222000][ T511] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4073) [ 42.222171][ T511] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 42.222345][ T511] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 42.222518][ T511] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 42.222687][ T511] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/core/rtnetlink.c:6956) [ 42.222858][ T511] ? __lock_release (kernel/locking/lockdep.c:5536) [ 42.223050][ T511] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 42.223220][ T511] rtnetlink_rcv_msg (net/core/rtnetlink.c:6958) [ 42.223397][ T511] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 42.223563][ T511] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 42.223735][ T511] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 42.223907][ T511] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 42.224078][ T511] ? netlink_ack (net/netlink/af_netlink.c:2527) [ 42.224251][ T511] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/netlink/af_netlink.c:340) [ 42.224433][ T511] ? 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) [ 42.224608][ T511] netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) [ 42.224779][ T511] ? netlink_attachskb (net/netlink/af_netlink.c:1329) [ 42.224949][ T511] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 42.225123][ T511] netlink_sendmsg (net/netlink/af_netlink.c:1894) [ 42.225299][ T511] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 42.225471][ T511] ? __import_iovec (lib/iov_iter.c:1346 lib/iov_iter.c:1361) [ 42.225641][ T511] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 42.225818][ T511] ____sys_sendmsg (net/socket.c:727 net/socket.c:742 net/socket.c:2630) [ 42.225991][ T511] ? get_timestamp.constprop.0 (net/socket.c:2576) [ 42.226204][ T511] ? __copy_msghdr (net/socket.c:2556) [ 42.226389][ T511] ___sys_sendmsg (net/socket.c:2686) [ 42.226560][ T511] ? kasan_record_aux_stack (mm/kasan/generic.c:559) [ 42.226737][ T511] ? __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) [ 42.226952][ T511] ? copy_msghdr_from_user (net/socket.c:2673) [ 42.227125][ T511] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 42.227305][ T511] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 42.227483][ T511] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 42.227670][ T511] ? __virt_addr_valid (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:979 ./include/linux/mmzone.h:2197 arch/x86/mm/physaddr.c:65) [ 42.227845][ T511] ? __lock_release (kernel/locking/lockdep.c:5536) [ 42.228021][ T511] __sys_sendmsg (net/socket.c:2716) [ 42.228192][ T511] ? __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3148) [ 42.228487][ T511] ? __sys_sendmsg_sock (net/socket.c:2701) [ 42.228777][ T511] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 42.229075][ T511] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 42.229369][ T511] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 42.229726][ T511] RIP: 0033:0x7f75dc0ac1d7 [ 42.230033][ T511] 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) [ 42.231061][ T511] RSP: 002b:00007ffe7e7e51a8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 42.231443][ T511] RAX: ffffffffffffffda RBX: 00007ffe7e7e58d0 RCX: 00007f75dc0ac1d7 [ 42.231699][ T511] RDX: 0000000000000000 RSI: 00007ffe7e7e5210 RDI: 0000000000000005 [ 42.231965][ T511] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 42.232224][ T511] R10: 00007f75dbfa8f60 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