FAULT_INJECTION: forcing a failure. name fail_usercopy, interval 1, probability 0, space 0, times 0 ====================================================== WARNING: possible circular locking dependency detected syzkaller #0 Not tainted ------------------------------------------------------ syz.7.3449/19290 is trying to acquire lock: ffffffff8e2d1500 (console_owner){-.-.}-{0:0}, at: console_trylock_spinning kernel/printk/printk.c:2021 [inline] ffffffff8e2d1500 (console_owner){-.-.}-{0:0}, at: vprintk_emit+0x493/0x680 kernel/printk/printk.c:2422 but task is already holding lock: ffff88802b43a4d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:646 [inline] ffff88802b43a4d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:631 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+0x31/0x40 kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:638 raw_spin_rq_lock kernel/sched/sched.h:1546 [inline] task_rq_lock+0xcf/0x490 kernel/sched/core.c:738 cgroup_move_task+0x81/0x2a0 kernel/sched/psi.c:1170 css_set_move_task+0x288/0x5f0 kernel/cgroup/cgroup.c:951 cgroup_post_fork+0x201/0x9d0 kernel/cgroup/cgroup.c:6913 copy_process+0x602d/0x76a0 kernel/fork.c:2425 kernel_clone+0xfc/0x930 kernel/fork.c:2609 user_mode_thread+0xc8/0x110 kernel/fork.c:2685 rest_init+0x23/0x2b0 init/main.c:722 start_kernel+0x3f6/0x4e0 init/main.c:1111 x86_64_start_reservations+0x18/0x30 arch/x86/kernel/head64.c:310 x86_64_start_kernel+0x130/0x190 arch/x86/kernel/head64.c:291 common_startup_64+0x13e/0x148 -> #3 (&p->pi_lock){-.-.}-{2:2}: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162 class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:557 [inline] try_to_wake_up+0xb7/0x1870 kernel/sched/core.c:4181 __wake_up_common+0x135/0x1f0 kernel/sched/wait.c:108 __wake_up_common_lock kernel/sched/wait.c:125 [inline] __wake_up+0x31/0x60 kernel/sched/wait.c:146 tty_port_default_wakeup+0x47/0x60 drivers/tty/tty_port.c:67 serial8250_tx_chars+0x68e/0x860 drivers/tty/serial/8250/8250_port.c:1719 serial8250_handle_irq+0x761/0xcb0 drivers/tty/serial/8250/8250_port.c:1827 serial8250_default_handle_irq+0x9e/0x270 drivers/tty/serial/8250/8250_port.c:1846 serial8250_interrupt+0xf8/0x1d0 drivers/tty/serial/8250/8250_core.c:82 __handle_irq_event_percpu+0x236/0x920 kernel/irq/handle.c:203 handle_irq_event_percpu kernel/irq/handle.c:240 [inline] handle_irq_event+0xab/0x1e0 kernel/irq/handle.c:257 handle_edge_irq+0x3ca/0x9e0 kernel/irq/chip.c:855 generic_handle_irq_desc include/linux/irqdesc.h:173 [inline] handle_irq arch/x86/kernel/irq.c:254 [inline] call_irq_handler arch/x86/kernel/irq.c:310 [inline] __common_interrupt+0xd0/0x2f0 arch/x86/kernel/irq.c:325 common_interrupt+0xba/0xe0 arch/x86/kernel/irq.c:318 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:688 native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline] pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:81 arch_safe_halt arch/x86/include/asm/paravirt.h:107 [inline] default_idle+0x13/0x20 arch/x86/kernel/process.c:767 default_idle_call+0x6c/0xb0 kernel/sched/idle.c:122 cpuidle_idle_call kernel/sched/idle.c:190 [inline] do_idle+0x38d/0x500 kernel/sched/idle.c:330 cpu_startup_entry+0x4f/0x60 kernel/sched/idle.c:428 start_secondary+0x21d/0x2b0 arch/x86/kernel/smpboot.c:315 common_startup_64+0x13e/0x148 -> #2 (&tty->write_wait){-...}-{3:3}: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162 __wake_up_common_lock kernel/sched/wait.c:124 [inline] __wake_up+0x1c/0x60 kernel/sched/wait.c:146 tty_port_default_wakeup+0x47/0x60 drivers/tty/tty_port.c:67 serial8250_tx_chars+0x68e/0x860 drivers/tty/serial/8250/8250_port.c:1719 __start_tx+0x3df/0x490 drivers/tty/serial/8250/8250_port.c:1426 serial8250_start_tx+0x368/0x530 drivers/tty/serial/8250/8250_port.c:1535 __uart_start+0x295/0x500 drivers/tty/serial/serial_core.c:161 uart_write+0x218/0xb30 drivers/tty/serial/serial_core.c:633 process_output_block drivers/tty/n_tty.c:561 [inline] n_tty_write+0x41e/0x11e0 drivers/tty/n_tty.c:2377 iterate_tty_write drivers/tty/tty_io.c:1006 [inline] file_tty_write.constprop.0+0x503/0x9b0 drivers/tty/tty_io.c:1081 tty_write drivers/tty/tty_io.c:1102 [inline] redirected_tty_write drivers/tty/tty_io.c:1125 [inline] redirected_tty_write+0xd4/0x150 drivers/tty/tty_io.c:1105 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f -> #1 (&port_lock_key){-.-.}-{3:3}: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162 uart_port_lock_irqsave include/linux/serial_core.h:717 [inline] serial8250_console_write+0x181/0x1890 drivers/tty/serial/8250/8250_port.c:3301 console_emit_next_record kernel/printk/printk.c:3111 [inline] console_flush_all+0x801/0xc60 kernel/printk/printk.c:3199 __console_flush_and_unlock kernel/printk/printk.c:3258 [inline] console_unlock+0xd8/0x210 kernel/printk/printk.c:3298 vprintk_emit+0x3d7/0x680 kernel/printk/printk.c:2423 _printk+0xc7/0x100 kernel/printk/printk.c:2448 register_console+0xc2d/0x11b0 kernel/printk/printk.c:4099 univ8250_console_init+0x5f/0x90 drivers/tty/serial/8250/8250_core.c:511 console_init+0x152/0x680 kernel/printk/printk.c:4298 start_kernel+0x29f/0x4e0 init/main.c:1048 x86_64_start_reservations+0x18/0x30 arch/x86/kernel/head64.c:310 x86_64_start_kernel+0x130/0x190 arch/x86/kernel/head64.c:291 common_startup_64+0x13e/0x148 -> #0 (console_owner){-.-.}-{0:0}: check_prev_add kernel/locking/lockdep.c:3165 [inline] check_prevs_add kernel/locking/lockdep.c:3284 [inline] validate_chain kernel/locking/lockdep.c:3908 [inline] __lock_acquire+0x126f/0x1c90 kernel/locking/lockdep.c:5237 lock_acquire kernel/locking/lockdep.c:5868 [inline] lock_acquire+0x179/0x350 kernel/locking/lockdep.c:5825 console_trylock_spinning kernel/printk/printk.c:2021 [inline] vprintk_emit+0x4a4/0x680 kernel/printk/printk.c:2422 _printk+0xc7/0x100 kernel/printk/printk.c:2448 fail_dump lib/fault-inject.c:66 [inline] should_fail_ex+0x4e7/0x640 lib/fault-inject.c:174 strncpy_from_user+0x3b/0x2e0 lib/strncpy_from_user.c:118 strncpy_from_user_nofault+0x7f/0x180 mm/maccess.c:192 bpf_trace_copy_string kernel/bpf/helpers.c:764 [inline] bpf_bprintf_prepare+0xe90/0x13f0 kernel/bpf/helpers.c:976 ____bpf_trace_printk kernel/trace/bpf_trace.c:372 [inline] bpf_trace_printk+0xda/0x190 kernel/trace/bpf_trace.c:362 bpf_prog_930ede9872f2967c+0x3e/0x44 bpf_dispatcher_nop_func include/linux/bpf.h:1350 [inline] __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run include/linux/filter.h:728 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2075 [inline] bpf_trace_run2+0x239/0x590 kernel/trace/bpf_trace.c:2116 __bpf_trace_contention_begin+0xc9/0x110 include/trace/events/lock.h:95 __preempt_count_dec_and_test arch/x86/include/asm/preempt.h:95 [inline] class_preempt_notrace_destructor include/linux/preempt.h:471 [inline] __do_trace_contention_begin include/trace/events/lock.h:95 [inline] trace_contention_begin.constprop.0+0xde/0x160 include/trace/events/lock.h:95 __pv_queued_spin_lock_slowpath+0x109/0xcf0 kernel/locking/qspinlock.c:219 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:557 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x20e/0x2b0 kernel/locking/spinlock_debug.c:116 raw_spin_rq_lock_nested kernel/sched/core.c:646 [inline] raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:631 raw_spin_rq_lock kernel/sched/sched.h:1546 [inline] rq_lock kernel/sched/sched.h:1868 [inline] __schedule+0x307/0x5de0 kernel/sched/core.c:6833 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7256 irqentry_exit+0x36/0x90 kernel/entry/common.c:211 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 __slab_free+0xbc/0x4e0 mm/slub.c:5888 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4d/0x120 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x195/0x1e0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:352 kasan_slab_alloc include/linux/kasan.h:252 [inline] slab_post_alloc_hook mm/slub.c:4955 [inline] slab_alloc_node mm/slub.c:5265 [inline] kmem_cache_alloc_lru_noprof+0x254/0x6e0 mm/slub.c:5284 sock_alloc_inode+0x25/0x1c0 net/socket.c:322 alloc_inode+0x64/0x240 fs/inode.c:346 new_inode_pseudo include/linux/fs.h:3395 [inline] sock_alloc+0x40/0x280 net/socket.c:637 __sock_create+0xc1/0x8d0 net/socket.c:1569 sock_create net/socket.c:1663 [inline] __sys_socket_create net/socket.c:1700 [inline] __sys_socket+0x14d/0x260 net/socket.c:1747 __do_sys_socket net/socket.c:1761 [inline] __se_sys_socket net/socket.c:1759 [inline] __ia32_sys_socket+0x72/0xb0 net/socket.c:1759 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0x7c/0x300 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x32/0x80 arch/x86/entry/syscall_32.c:331 entry_SYSENTER_compat_after_hwframe+0x84/0x8e 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 *** 3 locks held by syz.7.3449/19290: #0: ffffffff8e5911b0 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline] #0: ffffffff8e5911b0 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline] #0: ffffffff8e5911b0 (remove_cache_srcu){.+.+}-{0:0}, at: kasan_quarantine_reduce+0x88/0x1e0 mm/kasan/quarantine.c:259 #1: ffff88802b43a4d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:646 [inline] #1: ffff88802b43a4d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:631 #2: ffffffff8e3c42e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #2: ffffffff8e3c42e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline] #2: ffffffff8e3c42e0 (rcu_read_lock){....}-{1:3}, at: __bpf_trace_run kernel/trace/bpf_trace.c:2074 [inline] #2: ffffffff8e3c42e0 (rcu_read_lock){....}-{1:3}, at: bpf_trace_run2+0x1bc/0x590 kernel/trace/bpf_trace.c:2116 stack backtrace: CPU: 2 UID: 0 PID: 19290 Comm: syz.7.3449 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 print_circular_bug+0x275/0x350 kernel/locking/lockdep.c:2043 check_noncircular+0x14c/0x170 kernel/locking/lockdep.c:2175 check_prev_add kernel/locking/lockdep.c:3165 [inline] check_prevs_add kernel/locking/lockdep.c:3284 [inline] validate_chain kernel/locking/lockdep.c:3908 [inline] __lock_acquire+0x126f/0x1c90 kernel/locking/lockdep.c:5237 lock_acquire kernel/locking/lockdep.c:5868 [inline] lock_acquire+0x179/0x350 kernel/locking/lockdep.c:5825 console_trylock_spinning kernel/printk/printk.c:2021 [inline] vprintk_emit+0x4a4/0x680 kernel/printk/printk.c:2422 _printk+0xc7/0x100 kernel/printk/printk.c:2448 fail_dump lib/fault-inject.c:66 [inline] should_fail_ex+0x4e7/0x640 lib/fault-inject.c:174 strncpy_from_user+0x3b/0x2e0 lib/strncpy_from_user.c:118 strncpy_from_user_nofault+0x7f/0x180 mm/maccess.c:192 bpf_trace_copy_string kernel/bpf/helpers.c:764 [inline] bpf_bprintf_prepare+0xe90/0x13f0 kernel/bpf/helpers.c:976 ____bpf_trace_printk kernel/trace/bpf_trace.c:372 [inline] bpf_trace_printk+0xda/0x190 kernel/trace/bpf_trace.c:362 bpf_prog_930ede9872f2967c+0x3e/0x44 bpf_dispatcher_nop_func include/linux/bpf.h:1350 [inline] __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run include/linux/filter.h:728 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2075 [inline] bpf_trace_run2+0x239/0x590 kernel/trace/bpf_trace.c:2116 __bpf_trace_contention_begin+0xc9/0x110 include/trace/events/lock.h:95 __preempt_count_dec_and_test arch/x86/include/asm/preempt.h:95 [inline] class_preempt_notrace_destructor include/linux/preempt.h:471 [inline] __do_trace_contention_begin include/trace/events/lock.h:95 [inline] trace_contention_begin.constprop.0+0xde/0x160 include/trace/events/lock.h:95 __pv_queued_spin_lock_slowpath+0x109/0xcf0 kernel/locking/qspinlock.c:219 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:557 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x20e/0x2b0 kernel/locking/spinlock_debug.c:116 raw_spin_rq_lock_nested kernel/sched/core.c:646 [inline] raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:631 raw_spin_rq_lock kernel/sched/sched.h:1546 [inline] rq_lock kernel/sched/sched.h:1868 [inline] __schedule+0x307/0x5de0 kernel/sched/core.c:6833 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7256 irqentry_exit+0x36/0x90 kernel/entry/common.c:211 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:slab_update_freelist mm/slub.c:835 [inline] RIP: 0010:__slab_free+0xbc/0x4e0 mm/slub.c:5888 Code: 44 89 7c 24 68 66 45 85 ff 74 07 45 31 f6 84 c0 74 0e 45 31 f6 80 7c 24 38 00 0f 84 0c 01 00 00 48 8b 44 24 30 48 8b 4c 24 68 40 22 20 74 64 4c 89 e0 48 8b 5c 24 08 f0 49 0f c7 4d 20 0f 94 RSP: 0018:ffffc90004ff7bb0 EFLAGS: 00000246 RAX: ffff88802258f040 RBX: ffff88802258f040 RCX: 0000000000190015 RDX: 0000000000190016 RSI: ffff888050b39a40 RDI: ffffc90004ff7c30 RBP: ffffc90004ff7c60 R08: 0000000000000001 R09: ffffffff82244db8 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888050b39b80 R13: ffffea000142ce00 R14: 0000000000000000 R15: 0000000000190015 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4d/0x120 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x195/0x1e0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:352 kasan_slab_alloc include/linux/kasan.h:252 [inline] slab_post_alloc_hook mm/slub.c:4955 [inline] slab_alloc_node mm/slub.c:5265 [inline] kmem_cache_alloc_lru_noprof+0x254/0x6e0 mm/slub.c:5284 sock_alloc_inode+0x25/0x1c0 net/socket.c:322 alloc_inode+0x64/0x240 fs/inode.c:346 new_inode_pseudo include/linux/fs.h:3395 [inline] sock_alloc+0x40/0x280 net/socket.c:637 __sock_create+0xc1/0x8d0 net/socket.c:1569 sock_create net/socket.c:1663 [inline] __sys_socket_create net/socket.c:1700 [inline] __sys_socket+0x14d/0x260 net/socket.c:1747 __do_sys_socket net/socket.c:1761 [inline] __se_sys_socket net/socket.c:1759 [inline] __ia32_sys_socket+0x72/0xb0 net/socket.c:1759 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0x7c/0x300 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x32/0x80 arch/x86/entry/syscall_32.c:331 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf705d579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f542c55c EFLAGS: 00000296 ORIG_RAX: 0000000000000167 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000000002 RDX: 0000000000000073 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 CPU: 2 UID: 0 PID: 19290 Comm: syz.7.3449 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 fail_dump lib/fault-inject.c:73 [inline] should_fail_ex+0x512/0x640 lib/fault-inject.c:174 strncpy_from_user+0x3b/0x2e0 lib/strncpy_from_user.c:118 strncpy_from_user_nofault+0x7f/0x180 mm/maccess.c:192 bpf_trace_copy_string kernel/bpf/helpers.c:764 [inline] bpf_bprintf_prepare+0xe90/0x13f0 kernel/bpf/helpers.c:976 ____bpf_trace_printk kernel/trace/bpf_trace.c:372 [inline] bpf_trace_printk+0xda/0x190 kernel/trace/bpf_trace.c:362 bpf_prog_930ede9872f2967c+0x3e/0x44 bpf_dispatcher_nop_func include/linux/bpf.h:1350 [inline] __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run include/linux/filter.h:728 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2075 [inline] bpf_trace_run2+0x239/0x590 kernel/trace/bpf_trace.c:2116 __bpf_trace_contention_begin+0xc9/0x110 include/trace/events/lock.h:95 __preempt_count_dec_and_test arch/x86/include/asm/preempt.h:95 [inline] class_preempt_notrace_destructor include/linux/preempt.h:471 [inline] __do_trace_contention_begin include/trace/events/lock.h:95 [inline] trace_contention_begin.constprop.0+0xde/0x160 include/trace/events/lock.h:95 __pv_queued_spin_lock_slowpath+0x109/0xcf0 kernel/locking/qspinlock.c:219 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:557 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x20e/0x2b0 kernel/locking/spinlock_debug.c:116 raw_spin_rq_lock_nested kernel/sched/core.c:646 [inline] raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:631 raw_spin_rq_lock kernel/sched/sched.h:1546 [inline] rq_lock kernel/sched/sched.h:1868 [inline] __schedule+0x307/0x5de0 kernel/sched/core.c:6833 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7256 irqentry_exit+0x36/0x90 kernel/entry/common.c:211 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:slab_update_freelist mm/slub.c:835 [inline] RIP: 0010:__slab_free+0xbc/0x4e0 mm/slub.c:5888 Code: 44 89 7c 24 68 66 45 85 ff 74 07 45 31 f6 84 c0 74 0e 45 31 f6 80 7c 24 38 00 0f 84 0c 01 00 00 48 8b 44 24 30 48 8b 4c 24 68 40 22 20 74 64 4c 89 e0 48 8b 5c 24 08 f0 49 0f c7 4d 20 0f 94 RSP: 0018:ffffc90004ff7bb0 EFLAGS: 00000246 RAX: ffff88802258f040 RBX: ffff88802258f040 RCX: 0000000000190015 RDX: 0000000000190016 RSI: ffff888050b39a40 RDI: ffffc90004ff7c30 RBP: ffffc90004ff7c60 R08: 0000000000000001 R09: ffffffff82244db8 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888050b39b80 R13: ffffea000142ce00 R14: 0000000000000000 R15: 0000000000190015 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4d/0x120 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x195/0x1e0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:352 kasan_slab_alloc include/linux/kasan.h:252 [inline] slab_post_alloc_hook mm/slub.c:4955 [inline] slab_alloc_node mm/slub.c:5265 [inline] kmem_cache_alloc_lru_noprof+0x254/0x6e0 mm/slub.c:5284 sock_alloc_inode+0x25/0x1c0 net/socket.c:322 alloc_inode+0x64/0x240 fs/inode.c:346 new_inode_pseudo include/linux/fs.h:3395 [inline] sock_alloc+0x40/0x280 net/socket.c:637 __sock_create+0xc1/0x8d0 net/socket.c:1569 sock_create net/socket.c:1663 [inline] __sys_socket_create net/socket.c:1700 [inline] __sys_socket+0x14d/0x260 net/socket.c:1747 __do_sys_socket net/socket.c:1761 [inline] __se_sys_socket net/socket.c:1759 [inline] __ia32_sys_socket+0x72/0xb0 net/socket.c:1759 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0x7c/0x300 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x32/0x80 arch/x86/entry/syscall_32.c:331 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf705d579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f542c55c EFLAGS: 00000296 ORIG_RAX: 0000000000000167 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000000002 RDX: 0000000000000073 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 44 89 7c 24 68 mov %r15d,0x68(%rsp) 5: 66 45 85 ff test %r15w,%r15w 9: 74 07 je 0x12 b: 45 31 f6 xor %r14d,%r14d e: 84 c0 test %al,%al 10: 74 0e je 0x20 12: 45 31 f6 xor %r14d,%r14d 15: 80 7c 24 38 00 cmpb $0x0,0x38(%rsp) 1a: 0f 84 0c 01 00 00 je 0x12c 20: 48 8b 44 24 30 mov 0x30(%rsp),%rax 25: 48 8b 4c 24 68 mov 0x68(%rsp),%rcx * 2a: f6 40 22 20 testb $0x20,0x22(%rax) <-- trapping instruction 2e: 74 64 je 0x94 30: 4c 89 e0 mov %r12,%rax 33: 48 8b 5c 24 08 mov 0x8(%rsp),%rbx 38: f0 49 0f c7 4d 20 lock cmpxchg16b 0x20(%r13) 3e: 0f .byte 0xf 3f: 94 xchg %eax,%esp