FAULT_INJECTION: forcing a failure.
name fail_usercopy, interval 1, probability 0, space 0, times 0
======================================================
WARNING: possible circular locking dependency detected
6.6.102-syzkaller #0 Not tainted
------------------------------------------------------
syz.8.4638/18297 is trying to acquire lock:
ffffffff8cd23e20 (console_owner){-...}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:339 [inline]
ffffffff8cd23e20 (console_owner){-...}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:232 [inline]
ffffffff8cd23e20 (console_owner){-...}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:292 [inline]
ffffffff8cd23e20 (console_owner){-...}-{0:0}, at: console_flush_all+0x10f/0xd00 kernel/printk/printk.c:2992
but task is already holding lock:
ffff8880b8e3c458 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558
which lock already depends on the new lock.
the existing dependency chain (in reverse order) is:
-> #4 (&rq->__lock){-.-.}-{2:2}:
_raw_spin_lock_nested+0x32/0x50 kernel/locking/spinlock.c:378
raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558
raw_spin_rq_lock kernel/sched/sched.h:1372 [inline]
rq_lock kernel/sched/sched.h:1681 [inline]
task_fork_fair+0x62/0x1f0 kernel/sched/fair.c:12662
sched_cgroup_fork+0x333/0x3c0 kernel/sched/core.c:4816
copy_process+0x21e4/0x3d70 kernel/fork.c:2614
kernel_clone+0x21b/0x840 kernel/fork.c:2914
user_mode_thread+0xde/0x130 kernel/fork.c:2992
rest_init+0x27/0x300 init/main.c:697
arch_call_rest_init+0xe/0x10 init/main.c:829
start_kernel+0x459/0x4e0 init/main.c:1074
x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:555
copy_bootdata+0x0/0xe0 arch/x86/kernel/head64.c:536
secondary_startup_64_no_verify+0x179/0x17b
-> #3 (&p->pi_lock){-.-.}-{2:2}:
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xa8/0xf0 kernel/locking/spinlock.c:162
class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:522 [inline]
try_to_wake_up+0x60/0x1140 kernel/sched/core.c:4232
__wake_up_common+0x2a4/0x4e0 kernel/sched/wait.c:107
__wake_up_common_lock kernel/sched/wait.c:138 [inline]
__wake_up+0x112/0x190 kernel/sched/wait.c:160
tty_port_default_wakeup+0xa2/0xf0 drivers/tty/tty_port.c:69
serial8250_tx_chars+0x6bd/0x8a0 drivers/tty/serial/8250/8250_port.c:1837
serial8250_handle_irq+0x534/0x6e0 drivers/tty/serial/8250/8250_port.c:1944
serial8250_default_handle_irq+0xb8/0x1a0 drivers/tty/serial/8250/8250_port.c:1964
serial8250_interrupt+0x9f/0x1c0 drivers/tty/serial/8250/8250_core.c:127
__handle_irq_event_percpu+0x276/0x930 kernel/irq/handle.c:158
handle_irq_event_percpu kernel/irq/handle.c:193 [inline]
handle_irq_event+0x8b/0x1e0 kernel/irq/handle.c:210
handle_edge_irq+0x247/0xb30 kernel/irq/chip.c:831
generic_handle_irq_desc include/linux/irqdesc.h:161 [inline]
handle_irq arch/x86/kernel/irq.c:240 [inline]
__common_interrupt+0x13b/0x230 arch/x86/kernel/irq.c:259
common_interrupt+0xb4/0xd0 arch/x86/kernel/irq.c:249
asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:678
orc_find arch/x86/kernel/unwind_orc.c:-1 [inline]
unwind_next_frame+0x190/0x2970 arch/x86/kernel/unwind_orc.c:494
__unwind_start+0x66a/0x7e0 arch/x86/kernel/unwind_orc.c:760
unwind_start arch/x86/include/asm/unwind.h:64 [inline]
arch_stack_walk+0xf8/0x190 arch/x86/kernel/stacktrace.c:24
stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:45 [inline]
kasan_set_track+0x4e/0x70 mm/kasan/common.c:52
____kasan_kmalloc mm/kasan/common.c:374 [inline]
__kasan_kmalloc+0x8f/0xa0 mm/kasan/common.c:383
kasan_kmalloc include/linux/kasan.h:198 [inline]
__do_kmalloc_node mm/slab_common.c:1007 [inline]
__kmalloc_node_track_caller+0xb2/0x230 mm/slab_common.c:1027
kmalloc_reserve+0x117/0x260 net/core/skbuff.c:581
__alloc_skb+0x138/0x2c0 net/core/skbuff.c:650
alloc_skb include/linux/skbuff.h:1284 [inline]
alloc_skb_with_frags+0xca/0x7c0 net/core/skbuff.c:6328
sock_alloc_send_pskb+0x857/0x990 net/core/sock.c:2799
unix_dgram_sendmsg+0x5a1/0x1720 net/unix/af_unix.c:2001
sock_sendmsg_nosec net/socket.c:730 [inline]
__sock_sendmsg net/socket.c:745 [inline]
sock_write_iter+0x2bb/0x3f0 net/socket.c:1160
do_iter_readv_writev fs/read_write.c:-1 [inline]
do_iter_write+0x79a/0xc70 fs/read_write.c:860
vfs_writev fs/read_write.c:933 [inline]
do_writev+0x252/0x410 fs/read_write.c:976
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
-> #2 (&tty->write_wait){-.-.}-{2:2}:
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xa8/0xf0 kernel/locking/spinlock.c:162
__wake_up_common_lock kernel/sched/wait.c:137 [inline]
__wake_up+0xf8/0x190 kernel/sched/wait.c:160
tty_port_default_wakeup+0xa2/0xf0 drivers/tty/tty_port.c:69
serial8250_tx_chars+0x6bd/0x8a0 drivers/tty/serial/8250/8250_port.c:1837
serial8250_handle_irq+0x534/0x6e0 drivers/tty/serial/8250/8250_port.c:1944
serial8250_default_handle_irq+0xb8/0x1a0 drivers/tty/serial/8250/8250_port.c:1964
serial8250_interrupt+0x9f/0x1c0 drivers/tty/serial/8250/8250_core.c:127
__handle_irq_event_percpu+0x276/0x930 kernel/irq/handle.c:158
handle_irq_event_percpu kernel/irq/handle.c:193 [inline]
handle_irq_event+0x8b/0x1e0 kernel/irq/handle.c:210
handle_edge_irq+0x247/0xb30 kernel/irq/chip.c:831
generic_handle_irq_desc include/linux/irqdesc.h:161 [inline]
handle_irq arch/x86/kernel/irq.c:240 [inline]
__common_interrupt+0x13b/0x230 arch/x86/kernel/irq.c:259
common_interrupt+0xb4/0xd0 arch/x86/kernel/irq.c:249
asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:678
__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
_raw_spin_unlock_irqrestore+0xa9/0x110 kernel/locking/spinlock.c:194
spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
uart_write+0x45b/0x5d0 drivers/tty/serial/serial_core.c:634
process_output_block drivers/tty/n_tty.c:580 [inline]
n_tty_write+0xd27/0x11d0 drivers/tty/n_tty.c:2395
iterate_tty_write drivers/tty/tty_io.c:1017 [inline]
file_tty_write+0x54b/0x980 drivers/tty/tty_io.c:1088
call_write_iter include/linux/fs.h:2018 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x43b/0x940 fs/read_write.c:584
ksys_write+0x147/0x250 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
-> #1 (&port_lock_key){-.-.}-{2:2}:
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xa8/0xf0 kernel/locking/spinlock.c:162
serial8250_console_write+0x16d/0x17a0 drivers/tty/serial/8250/8250_port.c:3434
console_emit_next_record kernel/printk/printk.c:2944 [inline]
console_flush_all+0x6cd/0xd00 kernel/printk/printk.c:3000
console_unlock+0xae/0x340 kernel/printk/printk.c:3069
vprintk_emit+0x477/0x600 kernel/printk/printk.c:2341
_printk+0xd0/0x110 kernel/printk/printk.c:2366
register_console+0x91b/0xe60 kernel/printk/printk.c:3583
univ8250_console_init+0x45/0x50 drivers/tty/serial/8250/8250_core.c:717
console_init+0x17b/0x5e0 kernel/printk/printk.c:3726
start_kernel+0x2c0/0x4e0 init/main.c:1010
x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:555
copy_bootdata+0x0/0xe0 arch/x86/kernel/head64.c:536
secondary_startup_64_no_verify+0x179/0x17b
-> #0 (console_owner){-...}-{0:0}:
check_prev_add kernel/locking/lockdep.c:3134 [inline]
check_prevs_add kernel/locking/lockdep.c:3253 [inline]
validate_chain kernel/locking/lockdep.c:3869 [inline]
__lock_acquire+0x2ddb/0x7c80 kernel/locking/lockdep.c:5137
lock_acquire+0x197/0x410 kernel/locking/lockdep.c:5754
console_lock_spinning_enable kernel/printk/printk.c:1871 [inline]
console_emit_next_record kernel/printk/printk.c:2938 [inline]
console_flush_all+0x693/0xd00 kernel/printk/printk.c:3000
console_unlock+0xae/0x340 kernel/printk/printk.c:3069
vprintk_emit+0x477/0x600 kernel/printk/printk.c:2341
_printk+0xd0/0x110 kernel/printk/printk.c:2366
fail_dump lib/fault-inject.c:45 [inline]
should_fail_ex+0x37e/0x4d0 lib/fault-inject.c:153
strncpy_from_user+0x36/0x2e0 lib/strncpy_from_user.c:118
strncpy_from_user_nofault+0x71/0x140 mm/maccess.c:186
bpf_probe_read_user_str_common kernel/trace/bpf_trace.c:212 [inline]
____bpf_probe_read_compat_str kernel/trace/bpf_trace.c:307 [inline]
bpf_probe_read_compat_str+0xe1/0x170 kernel/trace/bpf_trace.c:303
bpf_prog_c1796171ffc7efef+0x3d/0x3f
bpf_dispatcher_nop_func include/linux/bpf.h:1213 [inline]
__bpf_prog_run include/linux/filter.h:612 [inline]
bpf_prog_run include/linux/filter.h:619 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:2322 [inline]
bpf_trace_run4+0x1f9/0x420 kernel/trace/bpf_trace.c:2363
__bpf_trace_sched_switch+0x17b/0x1e0 include/trace/events/sched.h:222
__traceiter_sched_switch+0x93/0xc0 include/trace/events/sched.h:222
trace_sched_switch include/trace/events/sched.h:222 [inline]
__schedule+0x2197/0x44d0 kernel/sched/core.c:6696
preempt_schedule_irq+0xb5/0x140 kernel/sched/core.c:7009
irqentry_exit+0x67/0x70 kernel/entry/common.c:438
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
get_current arch/x86/include/asm/current.h:41 [inline]
__sanitizer_cov_trace_pc+0x10/0x60 kernel/kcov.c:215
unwind_get_return_address+0x71/0xc0 arch/x86/kernel/unwind_orc.c:369
arch_stack_walk+0x11d/0x190 arch/x86/kernel/stacktrace.c:26
stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:45 [inline]
kasan_set_track+0x4e/0x70 mm/kasan/common.c:52
kasan_save_free_info+0x2e/0x50 mm/kasan/generic.c:522
____kasan_slab_free+0x126/0x1e0 mm/kasan/common.c:236
kasan_slab_free include/linux/kasan.h:164 [inline]
slab_free_hook mm/slub.c:1806 [inline]
slab_free_freelist_hook+0x130/0x1b0 mm/slub.c:1832
slab_free mm/slub.c:3816 [inline]
__kmem_cache_free+0xba/0x1f0 mm/slub.c:3829
genl_dumpit_info_free net/netlink/genetlink.c:776 [inline]
genl_done+0x1b8/0x200 net/netlink/genetlink.c:903
netlink_dump+0xa30/0xde0 net/netlink/af_netlink.c:2312
netlink_recvmsg+0x677/0xdf0 net/netlink/af_netlink.c:1986
sock_recvmsg_nosec net/socket.c:1046 [inline]
sock_recvmsg net/socket.c:1068 [inline]
____sys_recvmsg+0x29e/0x5b0 net/socket.c:2814
___sys_recvmsg+0x1b6/0x510 net/socket.c:2856
__sys_recvmsg net/socket.c:2886 [inline]
__do_sys_recvmsg net/socket.c:2896 [inline]
__se_sys_recvmsg net/socket.c:2893 [inline]
__x64_sys_recvmsg+0x1f2/0x2c0 net/socket.c:2893
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
other info that might help us debug this:
Chain exists of:
console_owner --> &p->pi_lock --> &rq->__lock
Possible unsafe locking scenario:
CPU0 CPU1
---- ----
lock(&rq->__lock);
lock(&p->pi_lock);
lock(&rq->__lock);
lock(console_owner);
*** DEADLOCK ***
5 locks held by syz.8.4638/18297:
#0: ffff88807d93d688 (nlk_cb_mutex-GENERIC){+.+.}-{3:3}, at: netlink_dump+0xcc/0xde0 net/netlink/af_netlink.c:2210
#1: ffff8880b8e3c458 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558
#2: ffffffff8cd2fbe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline]
#2: ffffffff8cd2fbe0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline]
#2: ffffffff8cd2fbe0 (rcu_read_lock){....}-{1:2}, at: __bpf_trace_run kernel/trace/bpf_trace.c:2321 [inline]
#2: ffffffff8cd2fbe0 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run4+0xfd/0x420 kernel/trace/bpf_trace.c:2363
#3: ffffffff8cd23f00 (console_lock){+.+.}-{0:0}, at: _printk+0xd0/0x110 kernel/printk/printk.c:2366
#4: ffffffff8cc0b710 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:339 [inline]
#4: ffffffff8cc0b710 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:232 [inline]
#4: ffffffff8cc0b710 (console_srcu){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:292 [inline]
#4: ffffffff8cc0b710 (console_srcu){....}-{0:0}, at: console_flush_all+0x10f/0xd00 kernel/printk/printk.c:2992
stack backtrace:
CPU: 0 PID: 18297 Comm: syz.8.4638 Not tainted 6.6.102-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x16c/0x230 lib/dump_stack.c:106
check_noncircular+0x2bd/0x3c0 kernel/locking/lockdep.c:2187
check_prev_add kernel/locking/lockdep.c:3134 [inline]
check_prevs_add kernel/locking/lockdep.c:3253 [inline]
validate_chain kernel/locking/lockdep.c:3869 [inline]
__lock_acquire+0x2ddb/0x7c80 kernel/locking/lockdep.c:5137
lock_acquire+0x197/0x410 kernel/locking/lockdep.c:5754
console_lock_spinning_enable kernel/printk/printk.c:1871 [inline]
console_emit_next_record kernel/printk/printk.c:2938 [inline]
console_flush_all+0x693/0xd00 kernel/printk/printk.c:3000
console_unlock+0xae/0x340 kernel/printk/printk.c:3069
vprintk_emit+0x477/0x600 kernel/printk/printk.c:2341
_printk+0xd0/0x110 kernel/printk/printk.c:2366
fail_dump lib/fault-inject.c:45 [inline]
should_fail_ex+0x37e/0x4d0 lib/fault-inject.c:153
strncpy_from_user+0x36/0x2e0 lib/strncpy_from_user.c:118
strncpy_from_user_nofault+0x71/0x140 mm/maccess.c:186
bpf_probe_read_user_str_common kernel/trace/bpf_trace.c:212 [inline]
____bpf_probe_read_compat_str kernel/trace/bpf_trace.c:307 [inline]
bpf_probe_read_compat_str+0xe1/0x170 kernel/trace/bpf_trace.c:303
bpf_prog_c1796171ffc7efef+0x3d/0x3f
bpf_dispatcher_nop_func include/linux/bpf.h:1213 [inline]
__bpf_prog_run include/linux/filter.h:612 [inline]
bpf_prog_run include/linux/filter.h:619 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:2322 [inline]
bpf_trace_run4+0x1f9/0x420 kernel/trace/bpf_trace.c:2363
__bpf_trace_sched_switch+0x17b/0x1e0 include/trace/events/sched.h:222
__traceiter_sched_switch+0x93/0xc0 include/trace/events/sched.h:222
trace_sched_switch include/trace/events/sched.h:222 [inline]
__schedule+0x2197/0x44d0 kernel/sched/core.c:6696
preempt_schedule_irq+0xb5/0x140 kernel/sched/core.c:7009
irqentry_exit+0x67/0x70 kernel/entry/common.c:438
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:182 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x10/0x60 kernel/kcov.c:216
Code: 89 fb e8 13 00 00 00 48 8b 3d 3c ff c4 0c 48 89 de 5b e9 93 76 56 00 cc cc cc f3 0f 1e fa 48 8b 04 24 65 48 8b 0d d0 2e 7e 7e <65> 8b 15 d1 2e 7e 7e 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75
RSP: 0018:ffffc90004bcf1f8 EFLAGS: 00000202
RAX: ffffffff813aa191 RBX: ffffc90004bcf270 RCX: ffff888023b9bc00
RDX: ffff888023b9bc00 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffff888023b9bc00 R09: 0000000000000003
R10: 0000000000000004 R11: 0000000000000000 R12: ffffffff886034f2
R13: ffffc90004bcf640 R14: dffffc0000000000 R15: 1ffff92000979e4e
unwind_get_return_address+0x71/0xc0 arch/x86/kernel/unwind_orc.c:369
arch_stack_walk+0x11d/0x190 arch/x86/kernel/stacktrace.c:26
stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:45 [inline]
kasan_set_track+0x4e/0x70 mm/kasan/common.c:52
kasan_save_free_info+0x2e/0x50 mm/kasan/generic.c:522
____kasan_slab_free+0x126/0x1e0 mm/kasan/common.c:236
kasan_slab_free include/linux/kasan.h:164 [inline]
slab_free_hook mm/slub.c:1806 [inline]
slab_free_freelist_hook+0x130/0x1b0 mm/slub.c:1832
slab_free mm/slub.c:3816 [inline]
__kmem_cache_free+0xba/0x1f0 mm/slub.c:3829
genl_dumpit_info_free net/netlink/genetlink.c:776 [inline]
genl_done+0x1b8/0x200 net/netlink/genetlink.c:903
netlink_dump+0xa30/0xde0 net/netlink/af_netlink.c:2312
netlink_recvmsg+0x677/0xdf0 net/netlink/af_netlink.c:1986
sock_recvmsg_nosec net/socket.c:1046 [inline]
sock_recvmsg net/socket.c:1068 [inline]
____sys_recvmsg+0x29e/0x5b0 net/socket.c:2814
___sys_recvmsg+0x1b6/0x510 net/socket.c:2856
__sys_recvmsg net/socket.c:2886 [inline]
__do_sys_recvmsg net/socket.c:2896 [inline]
__se_sys_recvmsg net/socket.c:2893 [inline]
__x64_sys_recvmsg+0x1f2/0x2c0 net/socket.c:2893
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f90ed78ebe9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f90ee527038 EFLAGS: 00000246 ORIG_RAX: 000000000000002f
RAX: ffffffffffffffda RBX: 00007f90ed9b5fa0 RCX: 00007f90ed78ebe9
RDX: 0000000000010002 RSI: 0000200000000240 RDI: 0000000000000005
RBP: 00007f90ee527090 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007f90ed9b6038 R14: 00007f90ed9b5fa0 R15: 00007ffc4946e3e8
CPU: 0 PID: 18297 Comm: syz.8.4638 Not tainted 6.6.102-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x16c/0x230 lib/dump_stack.c:106
fail_dump lib/fault-inject.c:52 [inline]
should_fail_ex+0x39d/0x4d0 lib/fault-inject.c:153
strncpy_from_user+0x36/0x2e0 lib/strncpy_from_user.c:118
strncpy_from_user_nofault+0x71/0x140 mm/maccess.c:186
bpf_probe_read_user_str_common kernel/trace/bpf_trace.c:212 [inline]
____bpf_probe_read_compat_str kernel/trace/bpf_trace.c:307 [inline]
bpf_probe_read_compat_str+0xe1/0x170 kernel/trace/bpf_trace.c:303
bpf_prog_c1796171ffc7efef+0x3d/0x3f
bpf_dispatcher_nop_func include/linux/bpf.h:1213 [inline]
__bpf_prog_run include/linux/filter.h:612 [inline]
bpf_prog_run include/linux/filter.h:619 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:2322 [inline]
bpf_trace_run4+0x1f9/0x420 kernel/trace/bpf_trace.c:2363
__bpf_trace_sched_switch+0x17b/0x1e0 include/trace/events/sched.h:222
__traceiter_sched_switch+0x93/0xc0 include/trace/events/sched.h:222
trace_sched_switch include/trace/events/sched.h:222 [inline]
__schedule+0x2197/0x44d0 kernel/sched/core.c:6696
preempt_schedule_irq+0xb5/0x140 kernel/sched/core.c:7009
irqentry_exit+0x67/0x70 kernel/entry/common.c:438
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:182 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x10/0x60 kernel/kcov.c:216
Code: 89 fb e8 13 00 00 00 48 8b 3d 3c ff c4 0c 48 89 de 5b e9 93 76 56 00 cc cc cc f3 0f 1e fa 48 8b 04 24 65 48 8b 0d d0 2e 7e 7e <65> 8b 15 d1 2e 7e 7e 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75
RSP: 0018:ffffc90004bcf1f8 EFLAGS: 00000202
RAX: ffffffff813aa191 RBX: ffffc90004bcf270 RCX: ffff888023b9bc00
RDX: ffff888023b9bc00 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffff888023b9bc00 R09: 0000000000000003
R10: 0000000000000004 R11: 0000000000000000 R12: ffffffff886034f2
R13: ffffc90004bcf640 R14: dffffc0000000000 R15: 1ffff92000979e4e
unwind_get_return_address+0x71/0xc0 arch/x86/kernel/unwind_orc.c:369
arch_stack_walk+0x11d/0x190 arch/x86/kernel/stacktrace.c:26
stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:45 [inline]
kasan_set_track+0x4e/0x70 mm/kasan/common.c:52
kasan_save_free_info+0x2e/0x50 mm/kasan/generic.c:522
____kasan_slab_free+0x126/0x1e0 mm/kasan/common.c:236
kasan_slab_free include/linux/kasan.h:164 [inline]
slab_free_hook mm/slub.c:1806 [inline]
slab_free_freelist_hook+0x130/0x1b0 mm/slub.c:1832
slab_free mm/slub.c:3816 [inline]
__kmem_cache_free+0xba/0x1f0 mm/slub.c:3829
genl_dumpit_info_free net/netlink/genetlink.c:776 [inline]
genl_done+0x1b8/0x200 net/netlink/genetlink.c:903
netlink_dump+0xa30/0xde0 net/netlink/af_netlink.c:2312
netlink_recvmsg+0x677/0xdf0 net/netlink/af_netlink.c:1986
sock_recvmsg_nosec net/socket.c:1046 [inline]
sock_recvmsg net/socket.c:1068 [inline]
____sys_recvmsg+0x29e/0x5b0 net/socket.c:2814
___sys_recvmsg+0x1b6/0x510 net/socket.c:2856
__sys_recvmsg net/socket.c:2886 [inline]
__do_sys_recvmsg net/socket.c:2896 [inline]
__se_sys_recvmsg net/socket.c:2893 [inline]
__x64_sys_recvmsg+0x1f2/0x2c0 net/socket.c:2893
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f90ed78ebe9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f90ee527038 EFLAGS: 00000246 ORIG_RAX: 000000000000002f
RAX: ffffffffffffffda RBX: 00007f90ed9b5fa0 RCX: 00007f90ed78ebe9
RDX: 0000000000010002 RSI: 0000200000000240 RDI: 0000000000000005
RBP: 00007f90ee527090 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007f90ed9b6038 R14: 00007f90ed9b5fa0 R15: 00007ffc4946e3e8
----------------
Code disassembly (best guess):
0: 89 fb mov %edi,%ebx
2: e8 13 00 00 00 call 0x1a
7: 48 8b 3d 3c ff c4 0c mov 0xcc4ff3c(%rip),%rdi # 0xcc4ff4a
e: 48 89 de mov %rbx,%rsi
11: 5b pop %rbx
12: e9 93 76 56 00 jmp 0x5676aa
17: cc int3
18: cc int3
19: cc int3
1a: f3 0f 1e fa endbr64
1e: 48 8b 04 24 mov (%rsp),%rax
22: 65 48 8b 0d d0 2e 7e mov %gs:0x7e7e2ed0(%rip),%rcx # 0x7e7e2efa
29: 7e
* 2a: 65 8b 15 d1 2e 7e 7e mov %gs:0x7e7e2ed1(%rip),%edx # 0x7e7e2f02 <-- trapping instruction
31: 81 e2 00 01 ff 00 and $0xff0100,%edx
37: 74 11 je 0x4a
39: 81 fa 00 01 00 00 cmp $0x100,%edx
3f: 75 .byte 0x75