netlink: 11 bytes leftover after parsing attributes in process `syz-executor2'. ====================================================== WARNING: possible circular locking dependency detected 4.15.0-rc2-mm1+ #39 Not tainted ------------------------------------------------------ syz-executor3/8916 is trying to acquire lock: (&tty->ldisc_sem){++++}, at: [<000000006d9f9bee>] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 but task is already holding lock: (&pipe->mutex/1){+.+.}, at: [<0000000076978c6b>] pipe_lock_nested fs/pipe.c:67 [inline] (&pipe->mutex/1){+.+.}, at: [<0000000076978c6b>] 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){.+.+}: rcu_lock_release include/linux/rcupdate.h:249 [inline] rcu_read_unlock include/linux/rcupdate.h:686 [inline] dput.part.23+0x33a/0x830 fs/dcache.c:801 dput+0x1f/0x30 fs/dcache.c:788 handle_remove+0x70c/0xb60 drivers/base/devtmpfs.c:336 handle drivers/base/devtmpfs.c:375 [inline] devtmpfsd+0x262/0x4b0 drivers/base/devtmpfs.c:399 kthread+0x37a/0x440 kernel/kthread.c:238 -> #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-executor3/8916: #0: (&pipe->mutex/1){+.+.}, at: [<0000000076978c6b>] pipe_lock_nested fs/pipe.c:67 [inline] #0: (&pipe->mutex/1){+.+.}, at: [<0000000076978c6b>] pipe_lock+0x56/0x70 fs/pipe.c:75 stack backtrace: CPU: 1 PID: 8916 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 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:00007fe5097a8c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000452a09 RDX: 0000000000000019 RSI: 0000000000000000 RDI: 0000000000000017 RBP: 00000000000003d2 R08: 0000000000000200 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f2c50 R13: 00000000ffffffff R14: 00007fe5097a96d4 R15: 0000000000000000 kauditd_printk_skb: 65 callbacks suppressed audit: type=1326 audit(1513543003.229:423): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=8960 comm="syz-executor1" exe="/root/syz-executor1" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452a09 code=0x7ffc0000 audit: type=1326 audit(1513543003.261:424): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=8960 comm="syz-executor1" exe="/root/syz-executor1" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452a09 code=0x7ffc0000 audit: type=1326 audit(1513543003.261:425): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=8960 comm="syz-executor1" exe="/root/syz-executor1" sig=0 arch=c000003e syscall=228 compat=0 ip=0x4557aa code=0x7ffc0000 audit: type=1326 audit(1513543003.261:426): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=8960 comm="syz-executor1" exe="/root/syz-executor1" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452a09 code=0x7ffc0000 sg_write: data in/out 45116/228 bytes for SCSI command 0x0-- guessing data in; program syz-executor4 not setting count and/or reply_len properly audit: type=1326 audit(1513543003.261:427): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=8960 comm="syz-executor1" exe="/root/syz-executor1" sig=0 arch=c000003e syscall=16 compat=0 ip=0x452a09 code=0x7ffc0000 audit: type=1326 audit(1513543003.261:428): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=8960 comm="syz-executor1" exe="/root/syz-executor1" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452a09 code=0x7ffc0000 audit: type=1326 audit(1513543003.263:430): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=8960 comm="syz-executor1" exe="/root/syz-executor1" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452a09 code=0x7ffc0000 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=9000 comm=syz-executor7 netlink: 1 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor3'. audit: type=1326 audit(1513543003.263:431): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=8960 comm="syz-executor1" exe="/root/syz-executor1" sig=0 arch=c000003e syscall=228 compat=0 ip=0x4557aa code=0x7ffc0000 audit: type=1326 audit(1513543003.263:432): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=8960 comm="syz-executor1" exe="/root/syz-executor1" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452a09 code=0x7ffc0000 audit: type=1326 audit(1513543003.262:429): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=8960 comm="syz-executor1" exe="/root/syz-executor1" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452a09 code=0x7ffc0000 device gre0 entered promiscuous mode binder: 9049:9051 ioctl 40086602 40 returned -22 binder: 9049:9051 got reply transaction with no transaction stack binder: 9049:9051 transaction failed 29201/-71, size 2-1144397507205 line 2747 binder: 9051 RLIMIT_NICE not set binder: 9049:9064 BC_ACQUIRE_DONE u0000000000000000 node 49 cookie mismatch 0000000000000002 != 0000000000000000 binder: 9049:9064 ERROR: BC_REGISTER_LOOPER called without request binder: 9049:9064 BC_INCREFS_DONE u0000000000000000 node 49 cookie mismatch 0000000000000004 != 0000000000000000 binder: 9049:9064 DecRefs 0 refcount change on invalid ref 0 ret -22 binder: 9049:9064 BC_CLEAR_DEATH_NOTIFICATION invalid ref 4 binder: 9049:9064 BC_FREE_BUFFER u0000000000000000 no match binder: 9049:9064 ERROR: BC_ENTER_LOOPER called after BC_REGISTER_LOOPER binder: 9051 RLIMIT_NICE not set binder: 9051 RLIMIT_NICE not set binder: 9049:9051 BC_CLEAR_DEATH_NOTIFICATION invalid ref -2 binder_alloc: 9049: binder_alloc_buf size 527896 failed, no address space binder_alloc: allocated: 24 (num: 1 largest: 24), free: 4072 (num: 2 largest: 4064) binder: 9049:9051 transaction failed 29201/-28, size 0-32 line 2947 binder: 9049:9051 ioctl 40086602 40 returned -22 binder: 9049:9064 got reply transaction with no transaction stack binder: 9049:9064 transaction failed 29201/-71, size 2-1144397507205 line 2747 binder: BINDER_SET_CONTEXT_MGR already set binder: 9049:9051 ioctl 40046207 0 returned -16 binder: 9049:9064 BC_ACQUIRE_DONE u0000000000000000 no match binder: 9049:9064 ERROR: BC_REGISTER_LOOPER called after BC_ENTER_LOOPER binder: 9049:9064 BC_INCREFS_DONE u0000000000000000 no match binder: 9049:9064 DecRefs 0 refcount change on invalid ref 0 ret -22 binder: 9049:9064 BC_CLEAR_DEATH_NOTIFICATION invalid ref 4 binder: 9049:9064 BC_FREE_BUFFER u0000000000000000 no match binder: 9049:9064 ERROR: BC_ENTER_LOOPER called after BC_REGISTER_LOOPER binder_alloc: 9049: binder_alloc_buf, no vma binder: 9049:9070 transaction failed 29189/-3, size 0-0 line 2947 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29201 binder: undelivered TRANSACTION_COMPLETE binder: undelivered transaction 51, process died. binder: 9076:9077 ioctl 40086602 40 returned -22 binder: 9076:9077 got reply transaction with no transaction stack binder: 9076:9077 transaction failed 29201/-71, size 2-1144397507205 line 2747 binder: 9077 RLIMIT_NICE not set binder: 9076:9082 BC_ACQUIRE_DONE u0000000000000000 node 56 cookie mismatch 0000000000000002 != 0000000000000000 binder: 9076:9082 ERROR: BC_REGISTER_LOOPER called without request binder: 9076:9082 BC_INCREFS_DONE u0000000000000000 node 56 cookie mismatch 0000000000000004 != 0000000000000000 binder: 9076:9082 DecRefs 0 refcount change on invalid ref 0 ret -22 binder: 9076:9082 BC_CLEAR_DEATH_NOTIFICATION invalid ref 4 binder: 9076:9082 BC_FREE_BUFFER u0000000000000000 no match binder: 9076:9082 ERROR: BC_ENTER_LOOPER called after BC_REGISTER_LOOPER binder: 9077 RLIMIT_NICE not set binder: 9077 RLIMIT_NICE not set binder: 9076:9077 BC_CLEAR_DEATH_NOTIFICATION invalid ref -2 binder_alloc: 9076: binder_alloc_buf size 527896 failed, no address space binder_alloc: allocated: 24 (num: 1 largest: 24), free: 4072 (num: 2 largest: 4064) binder: 9076:9077 transaction failed 29201/-28, size 0-32 line 2947 binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29201 binder: undelivered TRANSACTION_COMPLETE binder: undelivered transaction 58, process died. binder: 9086:9090 ioctl 40086602 40 returned -22 binder: 9086:9090 got reply transaction with no transaction stack binder: 9086:9090 transaction failed 29201/-71, size 2-1144397507205 line 2747 binder: 9090 RLIMIT_NICE not set binder: 9086:9096 BC_ACQUIRE_DONE u0000000000000000 node 61 cookie mismatch 0000000000000002 != 0000000000000000 binder: 9086:9096 ERROR: BC_REGISTER_LOOPER called without request binder: 9086:9096 BC_INCREFS_DONE u0000000000000000 node 61 cookie mismatch 0000000000000004 != 0000000000000000 binder: 9086:9096 DecRefs 0 refcount change on invalid ref 0 ret -22 binder: 9086:9096 BC_CLEAR_DEATH_NOTIFICATION invalid ref 4 binder: 9086:9096 BC_FREE_BUFFER u0000000000000000 no match binder: 9086:9096 ERROR: BC_ENTER_LOOPER called after BC_REGISTER_LOOPER binder: 9090 RLIMIT_NICE not set binder: 9090 RLIMIT_NICE not set binder: 9086:9090 BC_CLEAR_DEATH_NOTIFICATION invalid ref -2 binder_alloc: 9086: binder_alloc_buf size 527896 failed, no address space binder_alloc: allocated: 24 (num: 1 largest: 24), free: 4072 (num: 2 largest: 4064) binder: 9086:9090 transaction failed 29201/-28, size 0-32 line 2947 binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29201 binder: undelivered TRANSACTION_COMPLETE binder: undelivered transaction 63, process died. binder: 9103:9107 ioctl 40086602 40 returned -22 binder: 9103:9107 got reply transaction with no transaction stack SELinux: unrecognized netlink message: protocol=9 nlmsg_type=65535 sclass=netlink_audit_socket pig=9114 comm=syz-executor5 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=30 sclass=netlink_audit_socket pig=9114 comm=syz-executor5 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=65535 sclass=netlink_audit_socket pig=9114 comm=syz-executor5 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=30 sclass=netlink_audit_socket pig=9114 comm=syz-executor5 binder: 9103:9132 BC_ACQUIRE_DONE u0000000000000000 node 66 cookie mismatch 0000000000000002 != 0000000000000000 binder: 9103:9132 ERROR: BC_REGISTER_LOOPER called without request binder: 9103:9132 BC_INCREFS_DONE u0000000000000000 node 66 cookie mismatch 0000000000000004 != 0000000000000000 binder: 9103:9132 DecRefs 0 refcount change on invalid ref 0 ret -22 binder: 9103:9132 BC_CLEAR_DEATH_NOTIFICATION invalid ref 4 binder: 9103:9132 BC_FREE_BUFFER u0000000000000000 no match binder: 9103:9132 ERROR: BC_ENTER_LOOPER called after BC_REGISTER_LOOPER binder: 9103:9132 got reply transaction with bad transaction stack, transaction 67 has target 9103:0 binder: 9103:9132 transaction failed 29201/-71, size 24-0 line 2762 binder: 9103:9107 transaction failed 29201/-71, size 2-1144397507205 line 2747 binder: release 9103:9132 transaction 67 out, still active binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29201 binder: send failed reply for transaction 67, target dead sg_write: data in/out 156/14 bytes for SCSI command 0x85-- guessing data in; program syz-executor0 not setting count and/or reply_len properly sg_write: data in/out 156/14 bytes for SCSI command 0x85-- guessing data in; program syz-executor0 not setting count and/or reply_len properly encrypted_key: insufficient parameters specified encrypted_key: insufficient parameters specified print_req_error: I/O error, dev loop6, sector 0 nla_parse: 4 callbacks suppressed netlink: 2 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 2 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 5 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 5 bytes leftover after parsing attributes in process `syz-executor2'. FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 1 CPU: 0 PID: 9483 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 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 map_lookup_elem+0x28d/0xc20 kernel/bpf/syscall.c:549 SYSC_bpf kernel/bpf/syscall.c:1711 [inline] SyS_bpf+0x600/0x4410 kernel/bpf/syscall.c:1685 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452a09 RSP: 002b:00007fe5097a8c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fe5097a8aa0 RCX: 0000000000452a09 RDX: 0000000000000018 RSI: 0000000020f18fe8 RDI: 0000000000000001 RBP: 00007fe5097a8a90 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b75bb R13: 00007fe5097a8bc8 R14: 00000000004b75bb R15: 0000000000000000 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 9838 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+0x47/0x760 mm/slab.c:3546 dst_alloc+0x11f/0x1a0 net/core/dst.c:104 rt_dst_alloc+0xe9/0x520 net/ipv4/route.c:1500 __mkroute_output net/ipv4/route.c:2242 [inline] ip_route_output_key_hash_rcu+0xa40/0x2c10 net/ipv4/route.c:2470 ip_route_output_key_hash+0x20b/0x370 net/ipv4/route.c:2299 __ip_route_output_key include/net/route.h:125 [inline] ip_route_output_flow+0x26/0xa0 net/ipv4/route.c:2553 raw_sendmsg+0xc1b/0x1fe0 net/ipv4/raw.c:633 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:00007fa8f61a4c58 EFLAGS: 00000212 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fa8f61a4aa0 RCX: 0000000000452a09 RDX: 0000000000000000 RSI: 00000000206edfff RDI: 0000000000000014 RBP: 00007fa8f61a4a90 R08: 0000000020f07000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b75bb R13: 00007fa8f61a4bc8 R14: 00000000004b75bb R15: 0000000000000000 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 10715 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 include/linux/slab.h:521 [inline] kzalloc include/linux/slab.h:705 [inline] rds_message_alloc+0xb1/0x330 net/rds/message.c:202 rds_sendmsg+0xb52/0x1f90 net/rds/send.c:1086 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:00007fb1f7f90c58 EFLAGS: 00000212 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fb1f7f90aa0 RCX: 0000000000452a09 RDX: 0000000000000000 RSI: 0000000020218000 RDI: 0000000000000013 RBP: 00007fb1f7f90a90 R08: 0000000020062000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b75bb R13: 00007fb1f7f90bc8 R14: 00000000004b75bb R15: 0000000000000000 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 10758 Comm: syz-executor6 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 __do_huge_pmd_anonymous_page mm/huge_memory.c:564 [inline] do_huge_pmd_anonymous_page+0x554/0x1b00 mm/huge_memory.c:728 create_huge_pmd mm/memory.c:3823 [inline] __handle_mm_fault+0x1b68/0x3dd0 mm/memory.c:4027 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: 0018:ffff8801c3d27cd0 EFLAGS: 00010203 RAX: ffffed00387a4fcd RBX: 000000000000000c RCX: 0000000000000001 RDX: 0000000000000004 RSI: ffff8801c3d27e58 RDI: 0000000020b2c000 RBP: ffff8801c3d27d00 R08: 0000000000000011 R09: ffffed00387a4fcd R10: 0000000000000002 R11: ffffed00387a4fcc R12: 0000000020b2c000 R13: ffff8801c3d27e58 R14: 00007ffffffff000 R15: 0000000020b2c00c copy_to_user include/linux/uaccess.h:155 [inline] move_addr_to_user+0x169/0x1b0 net/socket.c:233 SYSC_getsockname+0x2d2/0x390 net/socket.c:1650 SyS_getsockname+0x24/0x30 net/socket.c:1632 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452a09 RSP: 002b:00007fa9624f6c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000033 RAX: ffffffffffffffda RBX: 00007fa9624f6aa0 RCX: 0000000000452a09 RDX: 000000002049c000 RSI: 0000000020b2c000 RDI: 0000000000000014 RBP: 00007fa9624f6a90 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b75bb R13: 00007fa9624f6bc8 R14: 00000000004b75bb R15: 0000000000000000 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 RDS: rds_bind could not find a transport for 224.0.0.2, load rds_tcp or rds_rdma? RDS: rds_bind could not find a transport for 224.0.0.2, load rds_tcp or rds_rdma? CPU: 0 PID: 10801 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+0x47/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_at include/linux/namei.h:57 [inline] do_sys_truncate+0x92/0x130 fs/open.c:141 SYSC_truncate fs/open.c:155 [inline] SyS_truncate+0x1d/0x30 fs/open.c:153 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452a09 RSP: 002b:00007fbd1b2e2c58 EFLAGS: 00000212 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 00007fbd1b2e2aa0 RCX: 0000000000452a09 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020504ff8 RBP: 00007fbd1b2e2a90 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b75bb R13: 00007fbd1b2e2bc8 R14: 00000000004b75bb R15: 0000000000000000 RDS: rds_bind could not find a transport for 172.20.2.187, load rds_tcp or rds_rdma? RDS: rds_bind could not find a transport for 172.20.2.187, load rds_tcp or rds_rdma?