====================================== | [ 54.491958][ T498] ================================================================== | [ 54.492290][ T498] 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) | [ 54.492594][ T498] Write of size 8 at addr 0000000000000000 by task ip/498 | [ 54.492845][ T498] [ 54.492947][ T498] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 54.492949][ T498] Call Trace: [ 54.492951][ T498] [ 54.492953][ T498] dump_stack_lvl (lib/dump_stack.c:123) [ 54.492964][ T498] ? try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 54.492967][ T498] kasan_report (mm/kasan/report.c:597) [ 54.492973][ T498] ? try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 54.492978][ T498] kasan_check_range (mm/kasan/generic.c:194 mm/kasan/generic.c:200) [ 54.492981][ T498] try_to_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072) [ 54.492986][ T498] __cancel_work (kernel/workqueue.c:2161 kernel/workqueue.c:4364) [ 54.492989][ T498] ? enable_delayed_work (kernel/workqueue.c:4359) [ 54.492993][ T498] ? queue_delayed_work_on (kernel/workqueue.c:2590) [ 54.492997][ T498] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 54.493002][ T498] __cancel_work_sync (kernel/workqueue.c:4383) [ 54.493006][ T498] __dev_close_many (net/core/dev.c:1879 (discriminator 2) net/core/dev.c:1932 (discriminator 2)) [ 54.493012][ T498] ? netdev_notify_peers (net/core/dev.c:1891) [ 54.493017][ T498] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 54.493022][ T498] __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) [ 54.493024][ T498] ? __free_zapped_classes (kernel/locking/lockdep.c:5343) [ 54.493030][ T498] ? netif_set_allmulti (net/core/dev.c:9890) [ 54.493032][ T498] ? __lock_release (kernel/locking/lockdep.c:5536) [ 54.493038][ T498] netif_change_flags (net/core/dev.c:9989) [ 54.493042][ T498] do_setlink.constprop.0 (net/core/rtnetlink.c:3158) [ 54.493048][ T498] ? rtnl_newlink_create (net/core/rtnetlink.c:3036) [ 54.493053][ T498] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 54.493059][ T498] ? validate_chain (kernel/locking/lockdep.c:3801 kernel/locking/lockdep.c:3821 kernel/locking/lockdep.c:3876) [ 54.493064][ T498] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 54.493069][ T498] ? __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) [ 54.493073][ T498] ? __mutex_handoff (kernel/locking/mutex.c:88) [ 54.493076][ T498] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 54.493080][ T498] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 54.493083][ T498] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 54.493086][ T498] ? __mutex_lock (./arch/x86/include/asm/preempt.h:104 kernel/locking/mutex.c:739 kernel/locking/mutex.c:760) [ 54.493091][ T498] ? __create_object (mm/kmemleak.c:786) [ 54.493095][ T498] ? __lock_release (kernel/locking/lockdep.c:5536) [ 54.493098][ T498] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4071) [ 54.493101][ T498] ? ww_mutex_lock (kernel/locking/mutex.c:759) [ 54.493105][ T498] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 54.493110][ T498] ? __rtnl_newlink (net/core/rtnetlink.c:3922) [ 54.493115][ T498] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4073) [ 54.493123][ T498] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 54.493128][ T498] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 54.493136][ T498] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 54.493141][ T498] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/core/rtnetlink.c:6956) [ 54.493144][ T498] ? __lock_release (kernel/locking/lockdep.c:5536) [ 54.493148][ T498] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 54.493151][ T498] rtnetlink_rcv_msg (net/core/rtnetlink.c:6958) [ 54.493155][ T498] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 54.493158][ T498] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 54.493165][ T498] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 54.493170][ T498] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 54.493173][ T498] ? netlink_ack (net/netlink/af_netlink.c:2527) [ 54.493180][ T498] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/netlink/af_netlink.c:340) [ 54.493183][ T498] ? 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) [ 54.493187][ T498] netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) [ 54.493191][ T498] ? netlink_attachskb (net/netlink/af_netlink.c:1329) [ 54.493195][ T498] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 54.493201][ T498] netlink_sendmsg (net/netlink/af_netlink.c:1894) [ 54.493205][ T498] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 54.493209][ T498] ? __import_iovec (lib/iov_iter.c:1346 lib/iov_iter.c:1361) [ 54.493215][ T498] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 54.493219][ T498] ____sys_sendmsg (net/socket.c:727 net/socket.c:742 net/socket.c:2630) [ 54.493224][ T498] ? get_timestamp.constprop.0 (net/socket.c:2576) [ 54.493227][ T498] ? __copy_msghdr (net/socket.c:2556) [ 54.493234][ T498] ___sys_sendmsg (net/socket.c:2686) [ 54.493237][ T498] ? kasan_record_aux_stack (mm/kasan/generic.c:559) [ 54.493242][ T498] ? __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) [ 54.493250][ T498] ? copy_msghdr_from_user (net/socket.c:2673) [ 54.493257][ T498] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 54.493263][ T498] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 54.493268][ T498] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 54.493272][ T498] ? __virt_addr_valid (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:979 ./include/linux/mmzone.h:2197 arch/x86/mm/physaddr.c:65) [ 54.493276][ T498] ? __lock_release (kernel/locking/lockdep.c:5536) [ 54.493283][ T498] __sys_sendmsg (net/socket.c:2716) [ 54.493286][ T498] ? __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3148) [ 54.493290][ T498] ? __sys_sendmsg_sock (net/socket.c:2701) [ 54.493302][ T498] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 54.493308][ T498] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 54.493315][ T498] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 54.493318][ T498] RIP: 0033:0x7f52158a91d7 [ 54.493322][ T498] 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) [ 54.493325][ T498] RSP: 002b:00007ffc907373f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 54.493329][ T498] RAX: ffffffffffffffda RBX: 00007ffc90737b20 RCX: 00007f52158a91d7 [ 54.493331][ T498] RDX: 0000000000000000 RSI: 00007ffc90737460 RDI: 0000000000000005 [ 54.493333][ T498] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 54.493335][ T498] R10: 00007f52157a5f60 R11: 0000000000000246 R12: 0000000000000003 [ 54.493336][ T498] R13: 00000000691cc789 R14: 0000000000499600 R15: 0000000000000000 | [ 54.512386][ T498] #PF: error_code(0x0002) - not-present page | [ 54.512613][ T498] PGD 8fc0067 P4D 8fc0067 PUD 8fc1067 PMD 0 | [ 54.512861][ T498] Oops: Oops: 0002 [#1] SMP KASAN | [ 54.513445][ T498] Tainted: [B]=BAD_PAGE [ 54.513585][ T498] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 54.513829][ T498] 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) [ 54.514063][ T498] 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 [ 54.514855][ T498] RSP: 0018:ffffc90000d96f40 EFLAGS: 00010046 [ 54.515080][ T498] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffffada4090a [ 54.515486][ T498] RDX: fffffbfff638f2cd RSI: 0000000000000008 RDI: ffffffffb1c79660 [ 54.515776][ T498] RBP: ffffc90000d96fa8 R08: 0000000000000001 R09: fffffbfff638f2cc [ 54.516046][ T498] R10: ffffffffb1c79667 R11: ffffc90000d96a00 R12: 0000000000000000 [ 54.516448][ T498] R13: 0000000000000282 R14: ffff8880087bc000 R15: dffffc0000000000 [ 54.516734][ T498] FS: 00007f52156db800(0000) GS:ffff8880845f2000(0000) knlGS:0000000000000000 [ 54.517168][ T498] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 54.517418][ T498] CR2: 0000000000000000 CR3: 000000000de8e006 CR4: 0000000000772ef0 [ 54.517699][ T498] PKRU: 55555554 [ 54.517840][ T498] Call Trace: [ 54.518082][ T498] [ 54.518185][ T498] __cancel_work (kernel/workqueue.c:2161 kernel/workqueue.c:4364) [ 54.518390][ T498] ? enable_delayed_work (kernel/workqueue.c:4359) [ 54.518583][ T498] ? queue_delayed_work_on (kernel/workqueue.c:2590) [ 54.518880][ T498] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 54.519063][ T498] __cancel_work_sync (kernel/workqueue.c:4383) [ 54.519257][ T498] __dev_close_many (net/core/dev.c:1879 (discriminator 2) net/core/dev.c:1932 (discriminator 2)) [ 54.519452][ T498] ? netdev_notify_peers (net/core/dev.c:1891) [ 54.519765][ T498] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 54.519946][ T498] __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) [ 54.520135][ T498] ? __free_zapped_classes (kernel/locking/lockdep.c:5343) [ 54.520331][ T498] ? netif_set_allmulti (net/core/dev.c:9890) [ 54.520622][ T498] ? __lock_release (kernel/locking/lockdep.c:5536) [ 54.520822][ T498] netif_change_flags (net/core/dev.c:9989) [ 54.521002][ T498] do_setlink.constprop.0 (net/core/rtnetlink.c:3158) [ 54.521186][ T498] ? rtnl_newlink_create (net/core/rtnetlink.c:3036) [ 54.521494][ T498] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 54.521687][ T498] ? validate_chain (kernel/locking/lockdep.c:3801 kernel/locking/lockdep.c:3821 kernel/locking/lockdep.c:3876) [ 54.521872][ T498] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 54.522051][ T498] ? __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) [ 54.522355][ T498] ? __mutex_handoff (kernel/locking/mutex.c:88) [ 54.522540][ T498] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 54.522733][ T498] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 54.522916][ T498] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 54.523205][ T498] ? __mutex_lock (./arch/x86/include/asm/preempt.h:104 kernel/locking/mutex.c:739 kernel/locking/mutex.c:760) [ 54.523406][ T498] ? __create_object (mm/kmemleak.c:786) [ 54.523592][ T498] ? __lock_release (kernel/locking/lockdep.c:5536) [ 54.523784][ T498] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4071) [ 54.524065][ T498] ? ww_mutex_lock (kernel/locking/mutex.c:759) [ 54.524260][ T498] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 54.524451][ T498] ? __rtnl_newlink (net/core/rtnetlink.c:3922) [ 54.524634][ T498] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4073) [ 54.524932][ T498] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 54.525115][ T498] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 54.525318][ T498] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 54.525502][ T498] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/core/rtnetlink.c:6956) [ 54.525798][ T498] ? __lock_release (kernel/locking/lockdep.c:5536) [ 54.525977][ T498] ? __rtnl_newlink (net/core/rtnetlink.c:3963) [ 54.526166][ T498] rtnetlink_rcv_msg (net/core/rtnetlink.c:6958) [ 54.526362][ T498] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 54.526655][ T498] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 54.526848][ T498] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 54.527025][ T498] ? rtnl_port_fill (net/core/rtnetlink.c:6861) [ 54.527214][ T498] ? netlink_ack (net/netlink/af_netlink.c:2527) [ 54.527523][ T498] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 net/netlink/af_netlink.c:340) [ 54.527710][ T498] ? 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) [ 54.527897][ T498] netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) [ 54.528076][ T498] ? netlink_attachskb (net/netlink/af_netlink.c:1329) [ 54.528387][ T498] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 54.528578][ T498] netlink_sendmsg (net/netlink/af_netlink.c:1894) [ 54.528779][ T498] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 54.528958][ T498] ? __import_iovec (lib/iov_iter.c:1346 lib/iov_iter.c:1361) [ 54.529253][ T498] ? netlink_unicast (net/netlink/af_netlink.c:1813) [ 54.529448][ T498] ____sys_sendmsg (net/socket.c:727 net/socket.c:742 net/socket.c:2630) [ 54.529647][ T498] ? get_timestamp.constprop.0 (net/socket.c:2576) [ 54.529876][ T498] ? __copy_msghdr (net/socket.c:2556) [ 54.530177][ T498] ___sys_sendmsg (net/socket.c:2686) [ 54.530370][ T498] ? kasan_record_aux_stack (mm/kasan/generic.c:559) [ 54.530559][ T498] ? __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) [ 54.530791][ T498] ? copy_msghdr_from_user (net/socket.c:2673) [ 54.531075][ T498] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 54.531266][ T498] ? __lock_acquire (kernel/locking/lockdep.c:5237) [ 54.531456][ T498] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 54.531649][ T498] ? __virt_addr_valid (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:979 ./include/linux/mmzone.h:2197 arch/x86/mm/physaddr.c:65) [ 54.531940][ T498] ? __lock_release (kernel/locking/lockdep.c:5536) [ 54.532125][ T498] __sys_sendmsg (net/socket.c:2716) [ 54.532317][ T498] ? __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3148) [ 54.532546][ T498] ? __sys_sendmsg_sock (net/socket.c:2701) [ 54.532846][ T498] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 54.533024][ T498] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 54.533211][ T498] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 54.533557][ T498] RIP: 0033:0x7f52158a91d7 [ 54.533755][ T498] 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) [ 54.534525][ T498] RSP: 002b:00007ffc907373f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 54.534822][ T498] RAX: ffffffffffffffda RBX: 00007ffc90737b20 RCX: 00007f52158a91d7 [ 54.535090][ T498] RDX: 0000000000000000 RSI: 00007ffc90737460 RDI: 0000000000000005 [ 54.535492][ T498] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 54.535775][ T498] R10: 00007f52157a5f60 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