====================================================== WARNING: possible circular locking dependency detected 4.15.0-rc2-mm1+ #39 Not tainted ------------------------------------------------------ syz-executor2/7908 is trying to acquire lock: (&tty->ldisc_sem){++++}, at: [<00000000f41c278b>] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 but task is already holding lock: (&pipe->mutex/1){+.+.}, at: [<00000000055f4584>] pipe_lock_nested fs/pipe.c:67 [inline] (&pipe->mutex/1){+.+.}, at: [<00000000055f4584>] pipe_lock+0x56/0x70 fs/pipe.c:75 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #6 (&pipe->mutex/1){+.+.}: lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:4004 __mutex_lock_common kernel/locking/mutex.c:756 [inline] __mutex_lock+0x16f/0x1a80 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 pipe_lock_nested fs/pipe.c:67 [inline] pipe_lock+0x56/0x70 fs/pipe.c:75 iter_file_splice_write+0x264/0xf30 fs/splice.c:699 do_splice_from fs/splice.c:851 [inline] do_splice fs/splice.c:1147 [inline] SYSC_splice fs/splice.c:1402 [inline] SyS_splice+0x7d5/0x1630 fs/splice.c:1382 entry_SYSCALL_64_fastpath+0x1f/0x96 -> #5 (sb_writers){.+.+}: spin_lock include/linux/spinlock.h:315 [inline] cache_grow_end.part.37+0x3a/0x180 mm/slab.c:2727 cache_grow_end mm/slab.c:2721 [inline] cache_alloc_refill mm/slab.c:3048 [inline] ____cache_alloc mm/slab.c:3121 [inline] __do_cache_alloc mm/slab.c:3343 [inline] slab_alloc mm/slab.c:3378 [inline] kmem_cache_alloc+0x433/0x760 mm/slab.c:3546 shmem_alloc_inode+0x1b/0x40 mm/shmem.c:3839 alloc_inode+0x65/0x180 fs/inode.c:208 new_inode_pseudo+0x69/0x190 fs/inode.c:889 -> #4 ((completion)&req.done){+.+.}: lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:4004 complete_acquire include/linux/completion.h:40 [inline] __wait_for_common kernel/sched/completion.c:109 [inline] wait_for_common kernel/sched/completion.c:123 [inline] wait_for_completion+0xcb/0x7b0 kernel/sched/completion.c:144 devtmpfs_create_node+0x32b/0x4a0 drivers/base/devtmpfs.c:115 device_add+0x120f/0x1640 drivers/base/core.c:1824 device_register+0x1d/0x20 drivers/base/core.c:1905 tty_register_device_attr+0x422/0x740 drivers/tty/tty_io.c:2956 tty_port_register_device_attr_serdev+0x100/0x140 drivers/tty/tty_port.c:166 uart_add_one_port+0xa7a/0x15a0 drivers/tty/serial/serial_core.c:2783 serial8250_register_8250_port+0xfac/0x1990 drivers/tty/serial/8250/8250_core.c:1045 serial_pnp_probe+0x5e7/0xac0 drivers/tty/serial/8250/8250_pnp.c:480 pnp_device_probe+0x15f/0x250 drivers/pnp/driver.c:109 really_probe drivers/base/dd.c:424 [inline] driver_probe_device+0x71b/0xae0 drivers/base/dd.c:566 __driver_attach+0x181/0x1c0 drivers/base/dd.c:800 bus_for_each_dev+0x154/0x1e0 drivers/base/bus.c:313 driver_attach+0x3d/0x50 drivers/base/dd.c:819 bus_add_driver+0x466/0x620 drivers/base/bus.c:669 driver_register+0x1bf/0x3c0 drivers/base/driver.c:168 pnp_register_driver+0x75/0xa0 drivers/pnp/driver.c:272 serial8250_pnp_init+0x15/0x20 drivers/tty/serial/8250/8250_pnp.c:537 serial8250_init+0x8f/0x270 drivers/tty/serial/8250/8250_core.c:1122 do_one_initcall+0x9e/0x330 init/main.c:833 do_initcall_level init/main.c:899 [inline] do_initcalls init/main.c:907 [inline] do_basic_setup init/main.c:925 [inline] kernel_init_freeable+0x469/0x521 init/main.c:1073 kernel_init+0x13/0x172 init/main.c:1000 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:524 -> #3 (&port->mutex){+.+.}: lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:4004 __mutex_lock_common kernel/locking/mutex.c:756 [inline] __mutex_lock+0x16f/0x1a80 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 uart_set_termios+0x8f/0x5b0 drivers/tty/serial/serial_core.c:1416 tty_set_termios+0x6d4/0xa40 drivers/tty/tty_ioctl.c:334 set_termios+0x377/0x6b0 drivers/tty/tty_ioctl.c:414 tty_mode_ioctl+0x9fb/0xb10 drivers/tty/tty_ioctl.c:749 n_tty_ioctl_helper+0x40/0x360 drivers/tty/tty_ioctl.c:940 n_tty_ioctl+0x148/0x2d0 drivers/tty/n_tty.c:2435 tty_ioctl+0x32e/0x1600 drivers/tty/tty_io.c:2638 vfs_ioctl fs/ioctl.c:46 [inline] do_vfs_ioctl+0x1b1/0x1530 fs/ioctl.c:686 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692 entry_SYSCALL_64_fastpath+0x1f/0x96 -> #2 (&tty->termios_rwsem){++++}: lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:4004 down_write+0x87/0x120 kernel/locking/rwsem.c:70 n_tty_flush_buffer+0x21/0x320 drivers/tty/n_tty.c:357 tty_buffer_flush+0x29a/0x390 drivers/tty/tty_buffer.c:233 tty_ldisc_flush+0x25/0x70 drivers/tty/tty_ldisc.c:418 tty_port_close_start.part.4+0x1cd/0x4e0 drivers/tty/tty_port.c:603 tty_port_close_start drivers/tty/tty_port.c:646 [inline] tty_port_close+0x3f/0x80 drivers/tty/tty_port.c:640 uart_close+0x77/0x1d0 drivers/tty/serial/serial_core.c:1487 tty_release+0x446/0x14c0 drivers/tty/tty_io.c:1639 __fput+0x333/0x7f0 fs/file_table.c:210 ____fput+0x15/0x20 fs/file_table.c:244 task_work_run+0x199/0x270 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x275/0x2f0 arch/x86/entry/common.c:165 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath+0x490/0x550 arch/x86/entry/common.c:264 entry_SYSCALL_64_fastpath+0x94/0x96 -> #1 (&buf->lock){+.+.}: lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:4004 __mutex_lock_common kernel/locking/mutex.c:756 [inline] __mutex_lock+0x16f/0x1a80 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 tty_buffer_flush+0xbd/0x390 drivers/tty/tty_buffer.c:222 tty_ldisc_flush+0x25/0x70 drivers/tty/tty_ldisc.c:418 tty_port_close_start.part.4+0x1cd/0x4e0 drivers/tty/tty_port.c:603 tty_port_close_start drivers/tty/tty_port.c:646 [inline] tty_port_close+0x3f/0x80 drivers/tty/tty_port.c:640 uart_close+0x77/0x1d0 drivers/tty/serial/serial_core.c:1487 tty_release+0x446/0x14c0 drivers/tty/tty_io.c:1639 __fput+0x333/0x7f0 fs/file_table.c:210 ____fput+0x15/0x20 fs/file_table.c:244 task_work_run+0x199/0x270 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x275/0x2f0 arch/x86/entry/common.c:165 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath+0x490/0x550 arch/x86/entry/common.c:264 entry_SYSCALL_64_fastpath+0x94/0x96 -> #0 (&tty->ldisc_sem){++++}: check_prevs_add kernel/locking/lockdep.c:2031 [inline] validate_chain kernel/locking/lockdep.c:2473 [inline] __lock_acquire+0x3498/0x47f0 kernel/locking/lockdep.c:3500 lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:4004 __ldsem_down_read_nested+0xd1/0xa90 drivers/tty/tty_ldsem.c:325 ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 tty_ldisc_ref_wait+0x25/0x80 drivers/tty/tty_ldisc.c:277 tty_read+0xf8/0x250 drivers/tty/tty_io.c:852 do_loop_readv_writev fs/read_write.c:673 [inline] do_iter_read+0x3db/0x5b0 fs/read_write.c:897 vfs_readv+0x121/0x1c0 fs/read_write.c:959 kernel_readv fs/splice.c:361 [inline] default_file_splice_read+0x508/0xae0 fs/splice.c:416 do_splice_to+0x110/0x170 fs/splice.c:880 do_splice fs/splice.c:1173 [inline] SYSC_splice fs/splice.c:1402 [inline] SyS_splice+0x11a8/0x1630 fs/splice.c:1382 entry_SYSCALL_64_fastpath+0x1f/0x96 other info that might help us debug this: Chain exists of: &tty->ldisc_sem --> sb_writers --> &pipe->mutex/1 Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&pipe->mutex/1); lock(sb_writers); lock(&pipe->mutex/1); lock(&tty->ldisc_sem); *** DEADLOCK *** 1 lock held by syz-executor2/7908: #0: (&pipe->mutex/1){+.+.}, at: [<00000000055f4584>] pipe_lock_nested fs/pipe.c:67 [inline] #0: (&pipe->mutex/1){+.+.}, at: [<00000000055f4584>] pipe_lock+0x56/0x70 fs/pipe.c:75 stack backtrace: CPU: 0 PID: 7908 Comm: syz-executor2 Not tainted 4.15.0-rc2-mm1+ #39 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 print_circular_bug+0x42d/0x610 kernel/locking/lockdep.c:1271 check_prev_add+0x666/0x15f0 kernel/locking/lockdep.c:1914 check_prevs_add kernel/locking/lockdep.c:2031 [inline] validate_chain kernel/locking/lockdep.c:2473 [inline] __lock_acquire+0x3498/0x47f0 kernel/locking/lockdep.c:3500 lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:4004 __ldsem_down_read_nested+0xd1/0xa90 drivers/tty/tty_ldsem.c:325 ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 tty_ldisc_ref_wait+0x25/0x80 drivers/tty/tty_ldisc.c:277 tty_read+0xf8/0x250 drivers/tty/tty_io.c:852 do_loop_readv_writev fs/read_write.c:673 [inline] do_iter_read+0x3db/0x5b0 fs/read_write.c:897 vfs_readv+0x121/0x1c0 fs/read_write.c:959 kernel_readv fs/splice.c:361 [inline] default_file_splice_read+0x508/0xae0 fs/splice.c:416 do_splice_to+0x110/0x170 fs/splice.c:880 do_splice fs/splice.c:1173 [inline] SYSC_splice fs/splice.c:1402 [inline] SyS_splice+0x11a8/0x1630 fs/splice.c:1382 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452a09 RSP: 002b:00007fed40a96c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 000000000071bf58 RCX: 0000000000452a09 RDX: 000000000000001a RSI: 0000000000000000 RDI: 0000000000000020 RBP: 00000000000000ec R08: 0000000000000200 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006ee6c0 R13: 00000000ffffffff R14: 00007fed40a976d4 R15: 000000000000000f syz-executor4 (7942): /proc/7935/oom_adj is deprecated, please use /proc/7935/oom_score_adj instead. QAT: Invalid ioctl QAT: Invalid ioctl updating oom_score_adj for 7970 (syz-executor4) from 0 to 58 because it shares mm with 7956 (syz-executor4). Report if this is unexpected. nla_parse: 8 callbacks suppressed netlink: 3 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor2'. updating oom_score_adj for 7998 (syz-executor4) from 0 to 58 because it shares mm with 7987 (syz-executor4). Report if this is unexpected. FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 1 CPU: 0 PID: 8023 Comm: syz-executor1 Not tainted 4.15.0-rc2-mm1+ #39 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:425 [inline] slab_alloc mm/slab.c:3372 [inline] kmem_cache_alloc_trace+0x4b/0x750 mm/slab.c:3612 kmalloc include/linux/slab.h:516 [inline] kzalloc include/linux/slab.h:705 [inline] tcp_sendmsg_fastopen net/ipv4/tcp.c:1152 [inline] tcp_sendmsg_locked+0x2453/0x3b30 net/ipv4/tcp.c:1214 tcp_sendmsg+0x2f/0x50 net/ipv4/tcp.c:1461 inet_sendmsg+0x11f/0x5e0 net/ipv4/af_inet.c:763 sock_sendmsg_nosec net/socket.c:636 [inline] sock_sendmsg+0xca/0x110 net/socket.c:646 SYSC_sendto+0x358/0x5a0 net/socket.c:1727 SyS_sendto+0x40/0x50 net/socket.c:1695 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452a09 RSP: 002b:00007f23dc545c58 EFLAGS: 00000212 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f23dc545aa0 RCX: 0000000000452a09 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000013 RBP: 00007f23dc545a90 R08: 00000000203c7000 R09: 000000000000001c R10: fffffffffffffffe R11: 0000000000000212 R12: 00000000004b75bb R13: 00007f23dc545bc8 R14: 00000000004b75bb R15: 0000000000000000 updating oom_score_adj for 8033 (syz-executor4) from 0 to 58 because it shares mm with 8021 (syz-executor4). Report if this is unexpected. FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 8040 Comm: syz-executor1 Not tainted 4.15.0-rc2-mm1+ #39 updating oom_score_adj for 8050 (syz-executor4) from 0 to 58 because it shares mm with 8045 (syz-executor4). Report if this is unexpected. Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:425 [inline] slab_alloc_node mm/slab.c:3293 [inline] kmem_cache_alloc_node+0x56/0x760 mm/slab.c:3636 __alloc_skb+0xf1/0x780 net/core/skbuff.c:193 alloc_skb_fclone include/linux/skbuff.h:1025 [inline] sk_stream_alloc_skb+0x11d/0x900 net/ipv4/tcp.c:870 tcp_connect+0x1179/0x4090 net/ipv4/tcp_output.c:3486 tcp_v6_connect+0x1d89/0x22a0 net/ipv6/tcp_ipv6.c:307 __inet_stream_connect+0x2d4/0xf00 net/ipv4/af_inet.c:619 tcp_sendmsg_fastopen net/ipv4/tcp.c:1169 [inline] tcp_sendmsg_locked+0x27e4/0x3b30 net/ipv4/tcp.c:1214 tcp_sendmsg+0x2f/0x50 net/ipv4/tcp.c:1461 inet_sendmsg+0x11f/0x5e0 net/ipv4/af_inet.c:763 sock_sendmsg_nosec net/socket.c:636 [inline] sock_sendmsg+0xca/0x110 net/socket.c:646 SYSC_sendto+0x358/0x5a0 net/socket.c:1727 SyS_sendto+0x40/0x50 net/socket.c:1695 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452a09 RSP: 002b:00007f23dc545c58 EFLAGS: 00000212 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f23dc545aa0 RCX: 0000000000452a09 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000013 RBP: 00007f23dc545a90 R08: 00000000203c7000 R09: 000000000000001c R10: fffffffffffffffe R11: 0000000000000212 R12: 00000000004b75bb R13: 00007f23dc545bc8 R14: 00000000004b75bb R15: 0000000000000000 updating oom_score_adj for 8062 (syz-executor4) from 0 to 58 because it shares mm with 8056 (syz-executor4). Report if this is unexpected. updating oom_score_adj for 8073 (syz-executor6) from 0 to 58 because it shares mm with 8061 (syz-executor6). Report if this is unexpected. updating oom_score_adj for 8074 (syz-executor3) from 0 to 58 because it shares mm with 8065 (syz-executor3). Report if this is unexpected. updating oom_score_adj for 8094 (syz-executor6) from 0 to 58 because it shares mm with 8085 (syz-executor6). Report if this is unexpected. updating oom_score_adj for 8095 (syz-executor5) from 0 to 58 because it shares mm with 8084 (syz-executor5). Report if this is unexpected. updating oom_score_adj for 8112 (syz-executor3) from 0 to 58 because it shares mm with 8103 (syz-executor3). Report if this is unexpected. updating oom_score_adj for 8122 (syz-executor6) from 0 to 58 because it shares mm with 8109 (syz-executor6). Report if this is unexpected. updating oom_score_adj for 8137 (syz-executor4) from 0 to 58 because it shares mm with 8127 (syz-executor4). Report if this is unexpected. updating oom_score_adj for 8152 (syz-executor3) from 0 to 58 because it shares mm with 8136 (syz-executor3). Report if this is unexpected. updating oom_score_adj for 8173 (syz-executor6) from 0 to 58 because it shares mm with 8158 (syz-executor6). Report if this is unexpected. updating oom_score_adj for 8185 (syz-executor3) from 0 to 58 because it shares mm with 8176 (syz-executor3). Report if this is unexpected. updating oom_score_adj for 8195 (syz-executor4) from 0 to 58 because it shares mm with 8187 (syz-executor4). Report if this is unexpected. updating oom_score_adj for 8208 (syz-executor6) from 0 to 58 because it shares mm with 8190 (syz-executor6). Report if this is unexpected. updating oom_score_adj for 8219 (syz-executor3) from 0 to 58 because it shares mm with 8210 (syz-executor3). Report if this is unexpected. updating oom_score_adj for 8220 (syz-executor4) from 0 to 58 because it shares mm with 8211 (syz-executor4). Report if this is unexpected. updating oom_score_adj for 8226 (syz-executor5) from 0 to 58 because it shares mm with 8204 (syz-executor5). Report if this is unexpected. updating oom_score_adj for 8230 (syz-executor3) from 0 to 58 because it shares mm with 8224 (syz-executor3). Report if this is unexpected. updating oom_score_adj for 8248 (syz-executor6) from 0 to 58 because it shares mm with 8236 (syz-executor6). Report if this is unexpected. updating oom_score_adj for 8265 (syz-executor4) from 0 to 58 because it shares mm with 8247 (syz-executor4). Report if this is unexpected. updating oom_score_adj for 8267 (syz-executor3) from 0 to 58 because it shares mm with 8260 (syz-executor3). Report if this is unexpected. updating oom_score_adj for 8295 (syz-executor3) from 0 to 58 because it shares mm with 8278 (syz-executor3). Report if this is unexpected. updating oom_score_adj for 8298 (syz-executor5) from 0 to 58 because it shares mm with 8281 (syz-executor5). Report if this is unexpected. updating oom_score_adj for 8302 (syz-executor6) from 0 to 58 because it shares mm with 8290 (syz-executor6). Report if this is unexpected. updating oom_score_adj for 8328 (syz-executor3) from 0 to 58 because it shares mm with 8312 (syz-executor3). Report if this is unexpected. updating oom_score_adj for 8330 (syz-executor5) from 0 to 58 because it shares mm with 8324 (syz-executor5). Report if this is unexpected. updating oom_score_adj for 8349 (syz-executor6) from 0 to 58 because it shares mm with 8340 (syz-executor6). Report if this is unexpected. updating oom_score_adj for 8363 (syz-executor3) from 0 to 58 because it shares mm with 8350 (syz-executor3). Report if this is unexpected. updating oom_score_adj for 8387 (syz-executor5) from 0 to 58 because it shares mm with 8383 (syz-executor5). Report if this is unexpected. updating oom_score_adj for 8400 (syz-executor3) from 0 to 58 because it shares mm with 8390 (syz-executor3). Report if this is unexpected. updating oom_score_adj for 8412 (syz-executor6) from 0 to 58 because it shares mm with 8403 (syz-executor6). Report if this is unexpected. updating oom_score_adj for 8429 (syz-executor5) from 0 to 58 because it shares mm with 8418 (syz-executor5). Report if this is unexpected. updating oom_score_adj for 8434 (syz-executor3) from 0 to 58 because it shares mm with 8423 (syz-executor3). Report if this is unexpected. updating oom_score_adj for 8464 (syz-executor5) from 0 to 58 because it shares mm with 8454 (syz-executor5). Report if this is unexpected. updating oom_score_adj for 8490 (syz-executor3) from 0 to 58 because it shares mm with 8481 (syz-executor3). Report if this is unexpected. updating oom_score_adj for 8500 (syz-executor5) from 0 to 58 because it shares mm with 8486 (syz-executor5). Report if this is unexpected. updating oom_score_adj for 8519 (syz-executor3) from 0 to 58 because it shares mm with 8514 (syz-executor3). Report if this is unexpected. updating oom_score_adj for 8532 (syz-executor5) from 0 to 58 because it shares mm with 8518 (syz-executor5). Report if this is unexpected. updating oom_score_adj for 8551 (syz-executor3) from 0 to 58 because it shares mm with 8545 (syz-executor3). Report if this is unexpected. updating oom_score_adj for 8571 (syz-executor5) from 0 to 58 because it shares mm with 8562 (syz-executor5). Report if this is unexpected. FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 8911 Comm: syz-executor7 Not tainted 4.15.0-rc2-mm1+ #39 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:425 [inline] slab_alloc mm/slab.c:3372 [inline] kmem_cache_alloc+0x47/0x760 mm/slab.c:3546 ptlock_alloc+0x24/0x70 mm/memory.c:4681 ptlock_init include/linux/mm.h:1790 [inline] pgtable_page_ctor include/linux/mm.h:1824 [inline] pte_alloc_one+0x59/0x100 arch/x86/mm/pgtable.c:32 __pte_alloc+0x2a/0x310 mm/memory.c:655 do_anonymous_page mm/memory.c:3094 [inline] handle_pte_fault mm/memory.c:3930 [inline] __handle_mm_fault+0x2ecc/0x3dd0 mm/memory.c:4056 handle_mm_fault+0x38f/0x930 mm/memory.c:4093 __do_page_fault+0x5c9/0xc90 arch/x86/mm/fault.c:1429 do_page_fault+0xee/0x720 arch/x86/mm/fault.c:1504 page_fault+0x2c/0x60 arch/x86/entry/entry_64.S:1243 RIP: 0010:copy_user_generic_unrolled+0x89/0xc0 arch/x86/lib/copy_user_64.S:66 RSP: 0000:ffff8801ce3cfb28 EFLAGS: 00010207 RAX: fffff52000b474ae RBX: 000000000000001c RCX: 0000000000000003 RDX: 0000000000000004 RSI: ffffc90005a3a550 RDI: 0000000020fb6000 RBP: ffff8801ce3cfb58 R08: 00000000fd000042 R09: fffff52000b474ae R10: 0000000000000004 R11: fffff52000b474ad R12: 0000000020fb6000 R13: ffffc90005a3a550 R14: 00007ffffffff000 R15: 0000000020fb601c copy_to_user include/linux/uaccess.h:155 [inline] snd_seq_read+0x361/0x900 sound/core/seq/seq_clientmgr.c:444 __vfs_read+0xef/0xa00 fs/read_write.c:411 vfs_read+0x124/0x360 fs/read_write.c:447 SYSC_read fs/read_write.c:573 [inline] SyS_read+0xef/0x220 fs/read_write.c:566 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452a09 RSP: 002b:00007faaa6eb6c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007faaa6eb6aa0 RCX: 0000000000452a09 RDX: 000000000000001c RSI: 0000000020fb6000 RDI: 0000000000000013 RBP: 00007faaa6eb6a90 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b75bb R13: 00007faaa6eb6bc8 R14: 00000000004b75bb R15: 0000000000000000 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 9285 Comm: syz-executor4 Not tainted 4.15.0-rc2-mm1+ #39 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:425 [inline] slab_alloc mm/slab.c:3372 [inline] __do_kmalloc mm/slab.c:3710 [inline] __kmalloc_track_caller+0x5f/0x760 mm/slab.c:3727 memdup_user+0x2c/0x90 mm/util.c:164 strndup_user+0x62/0xb0 mm/util.c:195 copy_mount_string fs/namespace.c:2746 [inline] SYSC_mount fs/namespace.c:3042 [inline] SyS_mount+0x3c/0x120 fs/namespace.c:3034 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452a09 RSP: 002b:00007f18562ffc58 EFLAGS: 00000212 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f18562ffaa0 RCX: 0000000000452a09 RDX: 000000002000c000 RSI: 0000000020d9c000 RDI: 000000002000a000 RBP: 00007f18562ffa90 R08: 000000002000a000 R09: 0000000000000000 R10: 000000000000bca5 R11: 0000000000000212 R12: 00000000004b75bb R13: 00007f18562ffbc8 R14: 00000000004b75bb R15: 0000000000000000 CPU: 0 PID: 9288 Comm: syz-executor3 Not tainted 4.15.0-rc2-mm1+ #39 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:425 [inline] slab_alloc_node mm/slab.c:3293 [inline] kmem_cache_alloc_node+0x56/0x760 mm/slab.c:3636 alloc_task_struct_node kernel/fork.c:157 [inline] dup_task_struct kernel/fork.c:781 [inline] copy_process.part.35+0x1a8d/0x4b30 kernel/fork.c:1644 copy_process kernel/fork.c:1619 [inline] _do_fork+0x1ef/0xf10 kernel/fork.c:2100 SYSC_clone kernel/fork.c:2208 [inline] SyS_clone+0x37/0x50 kernel/fork.c:2202 do_syscall_64+0x26c/0x920 arch/x86/entry/common.c:285 entry_SYSCALL64_slow_path+0x25/0x25 RIP: 0033:0x452a09 RSP: 002b:00007f9a31474c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000452a09 RDX: 0000000020d34ffc RSI: 0000000020485000 RDI: 0000000000020500 RBP: 0000000000000047 R08: 000000002037dfc7 R09: 0000000000000000 R10: 000000002021a000 R11: 0000000000000212 R12: 00000000006ed748 R13: 0000000000000014 R14: 00007f9a314756d4 R15: ffffffffffffffff FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 9307 Comm: syz-executor4 Not tainted 4.15.0-rc2-mm1+ #39 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:425 [inline] slab_alloc mm/slab.c:3372 [inline] __do_kmalloc mm/slab.c:3710 [inline] __kmalloc_track_caller+0x5f/0x760 mm/slab.c:3727 memdup_user+0x2c/0x90 mm/util.c:164 strndup_user+0x62/0xb0 mm/util.c:195 copy_mount_string fs/namespace.c:2746 [inline] SYSC_mount fs/namespace.c:3047 [inline] SyS_mount+0x6b/0x120 fs/namespace.c:3034 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452a09 RSP: 002b:00007f18562ffc58 EFLAGS: 00000212 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f18562ffaa0 RCX: 0000000000452a09 RDX: 000000002000c000 RSI: 0000000020d9c000 RDI: 000000002000a000 RBP: 00007f18562ffa90 R08: 000000002000a000 R09: 0000000000000000 R10: 000000000000bca5 R11: 0000000000000212 R12: 00000000004b75bb R13: 00007f18562ffbc8 R14: 00000000004b75bb R15: 0000000000000000 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=9318 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=9318 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=9318 comm=syz-executor2 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 9346 Comm: syz-executor4 Not tainted 4.15.0-rc2-mm1+ #39 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:425 [inline] slab_alloc mm/slab.c:3372 [inline] kmem_cache_alloc_trace+0x4b/0x750 mm/slab.c:3612 kmalloc include/linux/slab.h:516 [inline] copy_mount_options+0x5f/0x2e0 fs/namespace.c:2721 SYSC_mount fs/namespace.c:3052 [inline] SyS_mount+0x87/0x120 fs/namespace.c:3034 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452a09 RSP: 002b:00007f18562ffc58 EFLAGS: 00000212 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f18562ffaa0 RCX: 0000000000452a09 RDX: 000000002000c000 RSI: 0000000020d9c000 RDI: 000000002000a000 RBP: 00007f18562ffa90 R08: 000000002000a000 R09: 0000000000000000 R10: 000000000000bca5 R11: 0000000000000212 R12: 00000000004b75bb R13: 00007f18562ffbc8 R14: 00000000004b75bb R15: 0000000000000000 FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 1 CPU: 0 PID: 9360 Comm: syz-executor4 Not tainted 4.15.0-rc2-mm1+ #39 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_fail_alloc_page mm/page_alloc.c:2954 [inline] prepare_alloc_pages mm/page_alloc.c:4193 [inline] __alloc_pages_nodemask+0x338/0xd80 mm/page_alloc.c:4232 __alloc_pages include/linux/gfp.h:456 [inline] __alloc_pages_node include/linux/gfp.h:469 [inline] kmem_getpages mm/slab.c:1414 [inline] cache_grow_begin+0x72/0x570 mm/slab.c:2672 cache_alloc_refill mm/slab.c:3039 [inline] ____cache_alloc mm/slab.c:3121 [inline] __do_cache_alloc mm/slab.c:3343 [inline] slab_alloc mm/slab.c:3378 [inline] kmem_cache_alloc_trace+0x3f3/0x750 mm/slab.c:3612 kmalloc include/linux/slab.h:516 [inline] copy_mount_options+0x5f/0x2e0 fs/namespace.c:2721 SYSC_mount fs/namespace.c:3052 [inline] SyS_mount+0x87/0x120 fs/namespace.c:3034 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452a09 RSP: 002b:00007f18562ffc58 EFLAGS: 00000212 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f18562ffaa0 RCX: 0000000000452a09 RDX: 000000002000c000 RSI: 0000000020d9c000 RDI: 000000002000a000 RBP: 00007f18562ffa90 R08: 000000002000a000 R09: 0000000000000000 R10: 000000000000bca5 R11: 0000000000000212 R12: 00000000004b75bb R13: 00007f18562ffbc8 R14: 00000000004b75bb R15: 0000000000000000 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=9318 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=9318 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=9318 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=9318 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=9318 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=9318 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=9318 comm=syz-executor2 FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 9383 Comm: syz-executor4 Not tainted 4.15.0-rc2-mm1+ #39 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_fail_alloc_page mm/page_alloc.c:2954 [inline] prepare_alloc_pages mm/page_alloc.c:4193 [inline] __alloc_pages_nodemask+0x338/0xd80 mm/page_alloc.c:4232 __alloc_pages include/linux/gfp.h:456 [inline] __alloc_pages_node include/linux/gfp.h:469 [inline] kmem_getpages mm/slab.c:1414 [inline] cache_grow_begin+0x72/0x570 mm/slab.c:2672 cache_alloc_refill mm/slab.c:3039 [inline] ____cache_alloc mm/slab.c:3121 [inline] __do_cache_alloc mm/slab.c:3343 [inline] slab_alloc mm/slab.c:3378 [inline] kmem_cache_alloc+0x403/0x760 mm/slab.c:3546 getname_flags+0xcb/0x580 fs/namei.c:138 user_path_at_empty+0x2d/0x50 fs/namei.c:2587 user_path include/linux/namei.h:62 [inline] do_mount+0x15f/0x2bb0 fs/namespace.c:2782 SYSC_mount fs/namespace.c:3057 [inline] SyS_mount+0xab/0x120 fs/namespace.c:3034 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452a09 RSP: 002b:00007f18562ffc58 EFLAGS: 00000212 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f18562ffaa0 RCX: 0000000000452a09 RDX: 000000002000c000 RSI: 0000000020d9c000 RDI: 000000002000a000 RBP: 00007f18562ffa90 R08: 000000002000a000 R09: 0000000000000000 R10: 000000000000bca5 R11: 0000000000000212 R12: 00000000004b75bb R13: 00007f18562ffbc8 R14: 00000000004b75bb R15: 0000000000000000 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 9445 Comm: syz-executor4 Not tainted 4.15.0-rc2-mm1+ #39 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:425 [inline] slab_alloc mm/slab.c:3372 [inline] kmem_cache_alloc_trace+0x4b/0x750 mm/slab.c:3612 kmalloc include/linux/slab.h:516 [inline] kmalloc_array include/linux/slab.h:634 [inline] kcalloc include/linux/slab.h:646 [inline] selinux_parse_opts_str+0x435/0xb40 security/selinux/hooks.c:1134 selinux_sb_remount+0x2d8/0xe00 security/selinux/hooks.c:2771 security_sb_remount+0x75/0xb0 security/security.c:373 do_remount fs/namespace.c:2323 [inline] do_mount+0x744/0x2bb0 fs/namespace.c:2832 SYSC_mount fs/namespace.c:3057 [inline] SyS_mount+0xab/0x120 fs/namespace.c:3034 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452a09 RSP: 002b:00007f18562ffc58 EFLAGS: 00000212 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f18562ffaa0 RCX: 0000000000452a09 RDX: 000000002000c000 RSI: 0000000020d9c000 RDI: 000000002000a000 RBP: 00007f18562ffa90 R08: 000000002000a000 R09: 0000000000000000 R10: 000000000000bca5 R11: 0000000000000212 R12: 00000000004b75bb R13: 00007f18562ffbc8 R14: 00000000004b75bb R15: 0000000000000000 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 9705 Comm: syz-executor0 Not tainted 4.15.0-rc2-mm1+ #39 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:425 [inline] slab_alloc mm/slab.c:3372 [inline] kmem_cache_alloc_trace+0x4b/0x750 mm/slab.c:3612 kmalloc include/linux/slab.h:516 [inline] kzalloc include/linux/slab.h:705 [inline] alloc_pipe_info+0xb1/0x350 fs/pipe.c:628 splice_direct_to_actor+0x650/0x820 fs/splice.c:920 do_splice_direct+0x2a7/0x3d0 fs/splice.c:1061 do_sendfile+0x5d5/0xe90 fs/read_write.c:1413 SYSC_sendfile64 fs/read_write.c:1468 [inline] SyS_sendfile64+0xbd/0x160 fs/read_write.c:1460 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452a09 RSP: 002b:00007f15ca3f0c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f15ca3f0aa0 RCX: 0000000000452a09 RDX: 0000000020fd2ff8 RSI: 0000000000000015 RDI: 0000000000000016 RBP: 00007f15ca3f0a90 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000080000001 R11: 0000000000000212 R12: 00000000004b75bb R13: 00007f15ca3f0bc8 R14: 00000000004b75bb R15: 0000000000000000 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 9720 Comm: syz-executor2 Not tainted 4.15.0-rc2-mm1+ #39 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:425 [inline] slab_alloc mm/slab.c:3372 [inline] kmem_cache_alloc_trace+0x4b/0x750 mm/slab.c:3612 kmalloc include/linux/slab.h:516 [inline] kzalloc include/linux/slab.h:705 [inline] alloc_pipe_info+0xb1/0x350 fs/pipe.c:628 splice_direct_to_actor+0x650/0x820 fs/splice.c:920 do_splice_direct+0x2a7/0x3d0 fs/splice.c:1061 do_sendfile+0x5d5/0xe90 fs/read_write.c:1413 SYSC_sendfile64 fs/read_write.c:1468 [inline] SyS_sendfile64+0xbd/0x160 fs/read_write.c:1460 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452a09 RSP: 002b:00007fed40ab7c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fed40ab7aa0 RCX: 0000000000452a09 RDX: 0000000020fd2ff8 RSI: 0000000000000014 RDI: 0000000000000015 RBP: 00007fed40ab7a90 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000080000001 R11: 0000000000000212 R12: 00000000004b75bb R13: 00007fed40ab7bc8 R14: 00000000004b75bb R15: 0000000000000000 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 QAT: Invalid ioctl CPU: 1 PID: 9790 Comm: syz-executor2 Not tainted 4.15.0-rc2-mm1+ #39 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:425 [inline] slab_alloc mm/slab.c:3372 [inline] __do_kmalloc mm/slab.c:3710 [inline] __kmalloc+0x63/0x760 mm/slab.c:3721 kmalloc_array include/linux/slab.h:635 [inline] kcalloc include/linux/slab.h:646 [inline] alloc_pipe_info+0x135/0x350 fs/pipe.c:645 splice_direct_to_actor+0x650/0x820 fs/splice.c:920 do_splice_direct+0x2a7/0x3d0 fs/splice.c:1061 do_sendfile+0x5d5/0xe90 fs/read_write.c:1413 SYSC_sendfile64 fs/read_write.c:1468 [inline] SyS_sendfile64+0xbd/0x160 fs/read_write.c:1460