/2022 [ 609.269556][T27596] Call trace: [ 609.270190][T27596] dump_backtrace+0x1c4/0x1f0 [ 609.271207][T27596] show_stack+0x2c/0x54 [ 609.272195][T27596] dump_stack_lvl+0x104/0x16c [ 609.273208][T27596] dump_stack+0x1c/0x58 [ 609.274164][T27596] sysfs_create_dir_ns+0x148/0x168 [ 609.275368][T27596] kobject_add_internal+0x244/0x530 [ 609.276497][T27596] kobject_add+0xb8/0x130 [ 609.277513][T27596] device_add+0x248/0x958 [ 609.277524][T27596] device_register+0x28/0x38 [ 609.277531][T27596] tty_register_device_attr+0x1a8/0x320 [ 609.280748][T27596] tty_register_device+0x3c/0x50 [ 609.280760][T27596] gsm_activate_mux+0x9c/0x1f4 [ 609.280769][T27596] gsmld_ioctl+0x6cc/0x764 [ 609.280777][T27596] tty_ioctl+0x6c0/0x9dc [ 609.280785][T27596] __arm64_sys_ioctl+0xd0/0x140 [ 609.280795][T27596] el0_svc_common+0x138/0x220 [ 609.280805][T27596] do_el0_svc+0x48/0x164 [ 609.280813][T27596] el0_svc+0x58/0x150 [ 609.280822][T27596] el0t_64_sync_handler+0x84/0xf0 [ 609.280831][T27596] el0t_64_sync+0x18c/0x190 [ 609.295093][T27596] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:09 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001200000000960000000800", 0x0, 0x2}) 00:10:09 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000b00960000000800", 0x0, 0x2}) 00:10:09 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000c00960000000800", 0x0, 0x2}) [ 609.373658][T27607] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' 00:10:09 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000002500000000960000000800", 0x0, 0x2}) [ 609.375790][T27607] CPU: 1 PID: 27607 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 609.378026][T27607] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 609.380187][T27607] Call trace: [ 609.380869][T27607] dump_backtrace+0x1c4/0x1f0 [ 609.381872][T27607] show_stack+0x2c/0x54 [ 609.382726][T27607] dump_stack_lvl+0x104/0x16c [ 609.383644][T27607] dump_stack+0x1c/0x58 [ 609.384534][T27607] sysfs_create_dir_ns+0x148/0x168 [ 609.385571][T27607] kobject_add_internal+0x244/0x530 [ 609.386675][T27607] kobject_add+0xb8/0x130 [ 609.387644][T27607] device_add+0x248/0x958 [ 609.388638][T27607] device_register+0x28/0x38 [ 609.389621][T27607] tty_register_device_attr+0x1a8/0x320 [ 609.390839][T27607] tty_register_device+0x3c/0x50 [ 609.390849][T27607] gsm_activate_mux+0x9c/0x1f4 [ 609.390858][T27607] gsmld_ioctl+0x6cc/0x764 [ 609.390865][T27607] tty_ioctl+0x6c0/0x9dc [ 609.390872][T27607] __arm64_sys_ioctl+0xd0/0x140 [ 609.390881][T27607] el0_svc_common+0x138/0x220 [ 609.390889][T27607] do_el0_svc+0x48/0x164 [ 609.390897][T27607] el0_svc+0x58/0x150 [ 609.390904][T27607] el0t_64_sync_handler+0x84/0xf0 [ 609.390912][T27607] el0t_64_sync+0x18c/0x190 [ 609.407665][T27607] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:09 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000004800000000960000000800", 0x0, 0x2}) 00:10:09 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000090000960000000800", 0x0, 0x2}) 00:10:09 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000571200000000960000000800", 0x0, 0x2}) 00:10:09 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000d00960000000800", 0x0, 0x2}) 00:10:09 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000004c00000000960000000800", 0x0, 0x2}) 00:10:09 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960068000800", 0x0, 0x2}) [ 609.829944][T27628] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 609.832119][T27628] CPU: 0 PID: 27628 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 609.834389][T27628] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 609.836549][T27628] Call trace: [ 609.837261][T27628] dump_backtrace+0x1c4/0x1f0 [ 609.838275][T27628] show_stack+0x2c/0x54 [ 609.839250][T27628] dump_stack_lvl+0x104/0x16c [ 609.840359][T27628] dump_stack+0x1c/0x58 [ 609.841287][T27628] sysfs_create_dir_ns+0x148/0x168 [ 609.842435][T27628] kobject_add_internal+0x244/0x530 [ 609.843493][T27628] kobject_add+0xb8/0x130 [ 609.844448][T27628] device_add+0x248/0x958 [ 609.845442][T27628] device_register+0x28/0x38 [ 609.846459][T27628] tty_register_device_attr+0x1a8/0x320 [ 609.847680][T27628] tty_register_device+0x3c/0x50 [ 609.848794][T27628] gsm_activate_mux+0x9c/0x1f4 [ 609.849833][T27628] gsmld_ioctl+0x6cc/0x764 [ 609.850774][T27628] tty_ioctl+0x6c0/0x9dc [ 609.851784][T27628] __arm64_sys_ioctl+0xd0/0x140 [ 609.852802][T27628] el0_svc_common+0x138/0x220 [ 609.853828][T27628] do_el0_svc+0x48/0x164 [ 609.854836][T27628] el0_svc+0x58/0x150 [ 609.855659][T27628] el0t_64_sync_handler+0x84/0xf0 [ 609.856793][T27628] el0t_64_sync+0x18c/0x190 [ 609.863660][T27628] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:09 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000e00960000000800", 0x0, 0x2}) 00:10:09 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000581200000000960000000800", 0x0, 0x2}) 00:10:09 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) r1 = openat$ocfs2_control(0xffffffffffffff9c, &(0x7f00000000c0), 0x0, 0x0) sendto$inet(r1, &(0x7f0000000100)="60602e4bc42a4736af1eef91757e851f9fa6257847d1f945ef92075def2165c0d7f7648901c1cce66fee41183222ec2d5438ddbdd6495d80680b5f5557aa5fc941aea1a640145a634a460e961d660e7355ab1f8519ce73d3d012d2a33103e3add796dc65751759b39c3756f646f8b6553a0bb33e17d2b2c729702213318dad482eb79fc33b7061f782073ae5a9badc11d39e7c6a54da8259fb9d481dfe7e04a8ddc5ed3d76355183b5a89d2d34bba3f755025425f803fa677bf1126be6816a54b1cca7d411f0", 0xc6, 0x8080, &(0x7f0000000200)={0x2, 0x4e20, @multicast2}, 0x10) ioctl$PIO_CMAP(r0, 0x4b71, &(0x7f0000000000)={0x5, 0x9ec, 0xffff, 0x3, 0xd9d, 0x9}) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:09 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f00000000c0)=0x13) r2 = socket(0x1, 0x4, 0x4) sendmsg$nl_route(r2, &(0x7f00000001c0)={&(0x7f0000000100)={0x10, 0x0, 0x0, 0x40604000}, 0xc, &(0x7f0000000180)={&(0x7f0000000140)=@ipv6_newnexthop={0x24, 0x68, 0x4, 0x70bd2c, 0x25dfdbff, {0xa, 0x0, 0x3, 0x0, 0x17}, [@NHA_ENCAP_TYPE={0x6, 0x7, 0x5}, @NHA_BLACKHOLE={0x4}]}, 0x24}, 0x1, 0x0, 0x0, 0x80}, 0x4000014) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$FS_IOC_GETFLAGS(r0, 0x80086601, &(0x7f0000000000)) 00:10:09 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000001000960000000800", 0x0, 0x2}) [ 609.954531][T27643] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 609.956636][T27643] CPU: 0 PID: 27643 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 609.959637][T27643] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 609.959646][T27643] Call trace: [ 609.959649][T27643] dump_backtrace+0x1c4/0x1f0 [ 609.959661][T27643] show_stack+0x2c/0x54 [ 609.959669][T27643] dump_stack_lvl+0x104/0x16c [ 609.959678][T27643] dump_stack+0x1c/0x58 [ 609.959686][T27643] sysfs_create_dir_ns+0x148/0x168 [ 609.967501][T27643] kobject_add_internal+0x244/0x530 [ 609.967514][T27643] kobject_add+0xb8/0x130 [ 609.967521][T27643] device_add+0x248/0x958 [ 609.967529][T27643] device_register+0x28/0x38 [ 609.967536][T27643] tty_register_device_attr+0x1a8/0x320 [ 609.972593][T27643] tty_register_device+0x3c/0x50 [ 609.973665][T27643] gsm_activate_mux+0x9c/0x1f4 [ 609.974664][T27643] gsmld_ioctl+0x6cc/0x764 [ 609.975676][T27643] tty_ioctl+0x6c0/0x9dc 00:10:09 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000001100960000000800", 0x0, 0x2}) [ 609.976554][T27643] __arm64_sys_ioctl+0xd0/0x140 [ 609.977642][T27643] el0_svc_common+0x138/0x220 [ 609.978711][T27643] do_el0_svc+0x48/0x164 [ 609.979693][T27643] el0_svc+0x58/0x150 [ 609.980636][T27643] el0t_64_sync_handler+0x84/0xf0 [ 609.981749][T27643] el0t_64_sync+0x18c/0x190 [ 609.999283][T27643] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:09 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f00000000c0)=0x13) r2 = socket(0x1, 0x4, 0x4) sendmsg$nl_route(r2, &(0x7f00000001c0)={&(0x7f0000000100)={0x10, 0x0, 0x0, 0x40604000}, 0xc, &(0x7f0000000180)={&(0x7f0000000140)=@ipv6_newnexthop={0x24, 0x68, 0x4, 0x70bd2c, 0x25dfdbff, {0xa, 0x0, 0x3, 0x0, 0x17}, [@NHA_ENCAP_TYPE={0x6, 0x7, 0x5}, @NHA_BLACKHOLE={0x4}]}, 0x24}, 0x1, 0x0, 0x0, 0x80}, 0x4000014) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$FS_IOC_GETFLAGS(r0, 0x80086601, &(0x7f0000000000)) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r1, 0x5423, &(0x7f00000000c0)=0x13) (async) socket(0x1, 0x4, 0x4) (async) sendmsg$nl_route(r2, &(0x7f00000001c0)={&(0x7f0000000100)={0x10, 0x0, 0x0, 0x40604000}, 0xc, &(0x7f0000000180)={&(0x7f0000000140)=@ipv6_newnexthop={0x24, 0x68, 0x4, 0x70bd2c, 0x25dfdbff, {0xa, 0x0, 0x3, 0x0, 0x17}, [@NHA_ENCAP_TYPE={0x6, 0x7, 0x5}, @NHA_BLACKHOLE={0x4}]}, 0x24}, 0x1, 0x0, 0x0, 0x80}, 0x4000014) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$FS_IOC_GETFLAGS(r0, 0x80086601, &(0x7f0000000000)) (async) 00:10:10 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000a0000960000000800", 0x0, 0x2}) 00:10:10 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000001200960000000800", 0x0, 0x2}) 00:10:10 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f00000000c0)=0x13) (async) r2 = socket(0x1, 0x4, 0x4) sendmsg$nl_route(r2, &(0x7f00000001c0)={&(0x7f0000000100)={0x10, 0x0, 0x0, 0x40604000}, 0xc, &(0x7f0000000180)={&(0x7f0000000140)=@ipv6_newnexthop={0x24, 0x68, 0x4, 0x70bd2c, 0x25dfdbff, {0xa, 0x0, 0x3, 0x0, 0x17}, [@NHA_ENCAP_TYPE={0x6, 0x7, 0x5}, @NHA_BLACKHOLE={0x4}]}, 0x24}, 0x1, 0x0, 0x0, 0x80}, 0x4000014) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$FS_IOC_GETFLAGS(r0, 0x80086601, &(0x7f0000000000)) 00:10:10 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000002500960000000800", 0x0, 0x2}) 00:10:10 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$PIO_UNISCRNMAP(r1, 0x4b6a, &(0x7f00000000c0)="135302b4f0f120602317314935e87da3ea911854dff180ec4e3d268e667313b45b4f2365ac2e3397fcbb7807afb48be11af09285735898c978740fe55d55f1857d5c33e93c45af5d63f9ad7bce2cb1f29e68fb775d32b3a74ca253ac98d81d1c6e24f5d85c2f8bae89902e11bb15e4f31880f6beb97f1bbf3cac76bdc3a2") r2 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) r3 = socket$inet_udp(0x2, 0x2, 0x0) setsockopt$SO_TIMESTAMPING(r3, 0x1, 0x25, &(0x7f0000000180)=0x474c, 0x4) bind$inet(r3, &(0x7f00000001c0)={0x2, 0x4e23, @local}, 0x10) connect$inet(r3, &(0x7f0000000480)={0x2, 0x0, @multicast2}, 0x10) r4 = socket$alg(0x26, 0x5, 0x0) bind$alg(r4, &(0x7f00000000c0)={0x26, 'hash\x00', 0x0, 0x0, 'sha256\x00'}, 0x58) r5 = accept4(r4, 0x0, 0x0, 0x0) setsockopt$inet_MCAST_MSFILTER(r5, 0x0, 0x30, &(0x7f0000000240)=ANY=[], 0x390) sendmmsg(r3, &(0x7f0000007fc0), 0x800001d, 0x0) setsockopt$inet_int(r3, 0x0, 0x14, &(0x7f0000000040)=0x5, 0x4) setsockopt$inet_opts(r0, 0x0, 0x5, &(0x7f0000000000)="00fbce51", 0x4) recvmmsg(r3, &(0x7f0000000040), 0x4000144, 0x45833af92e4b39ff, 0x0) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x8, 0x3, 0xfffffffc, 0x0, 0xfc, "010100000000007b7f1f7d00001000000500"}) 00:10:10 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096006c000800", 0x0, 0x2}) 00:10:10 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000005c00000000960000000800", 0x0, 0x2}) [ 610.450093][T27681] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 610.456778][T27681] CPU: 0 PID: 27681 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 610.459169][T27681] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 610.461504][T27681] Call trace: [ 610.462253][T27681] dump_backtrace+0x1c4/0x1f0 [ 610.463420][T27681] show_stack+0x2c/0x54 [ 610.464315][T27681] dump_stack_lvl+0x104/0x16c [ 610.465416][T27681] dump_stack+0x1c/0x58 [ 610.466337][T27681] sysfs_create_dir_ns+0x148/0x168 [ 610.467503][T27681] kobject_add_internal+0x244/0x530 [ 610.468700][T27681] kobject_add+0xb8/0x130 [ 610.469598][T27681] device_add+0x248/0x958 [ 610.470565][T27681] device_register+0x28/0x38 [ 610.471595][T27681] tty_register_device_attr+0x1a8/0x320 [ 610.472784][T27681] tty_register_device+0x3c/0x50 [ 610.473886][T27681] gsm_activate_mux+0x9c/0x1f4 [ 610.475007][T27681] gsmld_ioctl+0x6cc/0x764 [ 610.475965][T27681] tty_ioctl+0x6c0/0x9dc [ 610.476893][T27681] __arm64_sys_ioctl+0xd0/0x140 [ 610.477898][T27681] el0_svc_common+0x138/0x220 [ 610.478909][T27681] do_el0_svc+0x48/0x164 [ 610.479816][T27681] el0_svc+0x58/0x150 [ 610.480638][T27681] el0t_64_sync_handler+0x84/0xf0 [ 610.481752][T27681] el0t_64_sync+0x18c/0x190 [ 610.492706][T27681] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:10 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000591200000000960000000800", 0x0, 0x2}) 00:10:10 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000005c00960000000800", 0x0, 0x2}) 00:10:10 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000002000000960000000800", 0x0, 0x2}) 00:10:10 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000003000000960000000800", 0x0, 0x2}) [ 610.570159][T27688] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 610.576152][T27688] CPU: 0 PID: 27688 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 610.578554][T27688] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 610.580656][T27688] Call trace: [ 610.581403][T27688] dump_backtrace+0x1c4/0x1f0 [ 610.582445][T27688] show_stack+0x2c/0x54 [ 610.583392][T27688] dump_stack_lvl+0x104/0x16c [ 610.584417][T27688] dump_stack+0x1c/0x58 [ 610.585287][T27688] sysfs_create_dir_ns+0x148/0x168 [ 610.586413][T27688] kobject_add_internal+0x244/0x530 [ 610.587547][T27688] kobject_add+0xb8/0x130 [ 610.588482][T27688] device_add+0x248/0x958 [ 610.589402][T27688] device_register+0x28/0x38 [ 610.589411][T27688] tty_register_device_attr+0x1a8/0x320 [ 610.589421][T27688] tty_register_device+0x3c/0x50 [ 610.589430][T27688] gsm_activate_mux+0x9c/0x1f4 [ 610.589439][T27688] gsmld_ioctl+0x6cc/0x764 [ 610.589447][T27688] tty_ioctl+0x6c0/0x9dc [ 610.589455][T27688] __arm64_sys_ioctl+0xd0/0x140 [ 610.589465][T27688] el0_svc_common+0x138/0x220 [ 610.589475][T27688] do_el0_svc+0x48/0x164 [ 610.589483][T27688] el0_svc+0x58/0x150 [ 610.589492][T27688] el0t_64_sync_handler+0x84/0xf0 [ 610.589501][T27688] el0t_64_sync+0x18c/0x190 [ 610.603205][T27688] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:10 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$PIO_UNISCRNMAP(r1, 0x4b6a, &(0x7f00000000c0)="135302b4f0f120602317314935e87da3ea911854dff180ec4e3d268e667313b45b4f2365ac2e3397fcbb7807afb48be11af09285735898c978740fe55d55f1857d5c33e93c45af5d63f9ad7bce2cb1f29e68fb775d32b3a74ca253ac98d81d1c6e24f5d85c2f8bae89902e11bb15e4f31880f6beb97f1bbf3cac76bdc3a2") (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x0) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) r3 = socket$inet_udp(0x2, 0x2, 0x0) setsockopt$SO_TIMESTAMPING(r3, 0x1, 0x25, &(0x7f0000000180)=0x474c, 0x4) bind$inet(r3, &(0x7f00000001c0)={0x2, 0x4e23, @local}, 0x10) (async) connect$inet(r3, &(0x7f0000000480)={0x2, 0x0, @multicast2}, 0x10) (async) r4 = socket$alg(0x26, 0x5, 0x0) bind$alg(r4, &(0x7f00000000c0)={0x26, 'hash\x00', 0x0, 0x0, 'sha256\x00'}, 0x58) r5 = accept4(r4, 0x0, 0x0, 0x0) setsockopt$inet_MCAST_MSFILTER(r5, 0x0, 0x30, &(0x7f0000000240)=ANY=[], 0x390) (async) sendmmsg(r3, &(0x7f0000007fc0), 0x800001d, 0x0) (async) setsockopt$inet_int(r3, 0x0, 0x14, &(0x7f0000000040)=0x5, 0x4) setsockopt$inet_opts(r0, 0x0, 0x5, &(0x7f0000000000)="00fbce51", 0x4) (async) recvmmsg(r3, &(0x7f0000000040), 0x4000144, 0x45833af92e4b39ff, 0x0) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x8, 0x3, 0xfffffffc, 0x0, 0xfc, "010100000000007b7f1f7d00001000000500"}) 00:10:10 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000b0000960000000800", 0x0, 0x2}) 00:10:10 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$PIO_UNISCRNMAP(r1, 0x4b6a, &(0x7f00000000c0)="135302b4f0f120602317314935e87da3ea911854dff180ec4e3d268e667313b45b4f2365ac2e3397fcbb7807afb48be11af09285735898c978740fe55d55f1857d5c33e93c45af5d63f9ad7bce2cb1f29e68fb775d32b3a74ca253ac98d81d1c6e24f5d85c2f8bae89902e11bb15e4f31880f6beb97f1bbf3cac76bdc3a2") (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) r3 = socket$inet_udp(0x2, 0x2, 0x0) setsockopt$SO_TIMESTAMPING(r3, 0x1, 0x25, &(0x7f0000000180)=0x474c, 0x4) (async) bind$inet(r3, &(0x7f00000001c0)={0x2, 0x4e23, @local}, 0x10) connect$inet(r3, &(0x7f0000000480)={0x2, 0x0, @multicast2}, 0x10) (async) r4 = socket$alg(0x26, 0x5, 0x0) bind$alg(r4, &(0x7f00000000c0)={0x26, 'hash\x00', 0x0, 0x0, 'sha256\x00'}, 0x58) (async) r5 = accept4(r4, 0x0, 0x0, 0x0) setsockopt$inet_MCAST_MSFILTER(r5, 0x0, 0x30, &(0x7f0000000240)=ANY=[], 0x390) (async) sendmmsg(r3, &(0x7f0000007fc0), 0x800001d, 0x0) (async) setsockopt$inet_int(r3, 0x0, 0x14, &(0x7f0000000040)=0x5, 0x4) setsockopt$inet_opts(r0, 0x0, 0x5, &(0x7f0000000000)="00fbce51", 0x4) recvmmsg(r3, &(0x7f0000000040), 0x4000144, 0x45833af92e4b39ff, 0x0) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x8, 0x3, 0xfffffffc, 0x0, 0xfc, "010100000000007b7f1f7d00001000000500"}) 00:10:10 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000004000000960000000800", 0x0, 0x2}) 00:10:10 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = openat$incfs(0xffffffffffffff9c, &(0x7f00000001c0)='.pending_reads\x00', 0x0, 0xe0) ioctl$TIOCL_SETSEL(r2, 0x541c, &(0x7f0000000200)={0x2, {0x2, 0x9, 0x7, 0x0, 0x8, 0x4}}) ioctl$sock_SIOCETHTOOL(0xffffffffffffffff, 0x8946, &(0x7f0000000180)={'bridge_slave_0\x00', &(0x7f00000000c0)=@ethtool_perm_addr={0x20, 0xa5, "f4b6593778ace0479a4ab168b62651bd45cf8c6d98b9c6d705879fa9f94932db0ff9622988cd6f42d954ab76b3ece274cdf5624a34c701fdbf1b9052a5dc2c7a19791d75593c2f66e23ab240c0faeb272f36908f2373a0c7efe09e80e33a476f6aa3be74d5296dbb46e4a3cd95859a9ae05f51773bcdaefde01f08fc175b24a70af0a15683e51e64fe7bb871cdf0cf7373815dd7629c8339c7beaa5f8d8c8c16174964b75c"}}) r3 = openat$proc_capi20(0xffffffffffffff9c, &(0x7f0000000000), 0x40000, 0x0) r4 = openat$zero(0xffffffffffffff9c, &(0x7f00000000c0), 0x2, 0x0) write(r4, 0x0, 0x31) ioctl$FS_IOC_SET_ENCRYPTION_POLICY(r4, 0x800c6613, &(0x7f0000000240)=@v2={0x2, @adiantum, 0x1, '\x00', @auto="9f941b1f1672f05dc7d92d48bbb84a11"}) ioctl$KDDELIO(r3, 0x4b35, 0x1) 00:10:10 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000c0000960000000800", 0x0, 0x2}) 00:10:10 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000006800000000960000000800", 0x0, 0x2}) 00:10:10 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = openat$incfs(0xffffffffffffff9c, &(0x7f00000001c0)='.pending_reads\x00', 0x0, 0xe0) ioctl$TIOCL_SETSEL(r2, 0x541c, &(0x7f0000000200)={0x2, {0x2, 0x9, 0x7, 0x0, 0x8, 0x4}}) ioctl$sock_SIOCETHTOOL(0xffffffffffffffff, 0x8946, &(0x7f0000000180)={'bridge_slave_0\x00', &(0x7f00000000c0)=@ethtool_perm_addr={0x20, 0xa5, "f4b6593778ace0479a4ab168b62651bd45cf8c6d98b9c6d705879fa9f94932db0ff9622988cd6f42d954ab76b3ece274cdf5624a34c701fdbf1b9052a5dc2c7a19791d75593c2f66e23ab240c0faeb272f36908f2373a0c7efe09e80e33a476f6aa3be74d5296dbb46e4a3cd95859a9ae05f51773bcdaefde01f08fc175b24a70af0a15683e51e64fe7bb871cdf0cf7373815dd7629c8339c7beaa5f8d8c8c16174964b75c"}}) r3 = openat$proc_capi20(0xffffffffffffff9c, &(0x7f0000000000), 0x40000, 0x0) r4 = openat$zero(0xffffffffffffff9c, &(0x7f00000000c0), 0x2, 0x0) write(r4, 0x0, 0x31) ioctl$FS_IOC_SET_ENCRYPTION_POLICY(r4, 0x800c6613, &(0x7f0000000240)=@v2={0x2, @adiantum, 0x1, '\x00', @auto="9f941b1f1672f05dc7d92d48bbb84a11"}) ioctl$KDDELIO(r3, 0x4b35, 0x1) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) openat$incfs(0xffffffffffffff9c, &(0x7f00000001c0)='.pending_reads\x00', 0x0, 0xe0) (async) ioctl$TIOCL_SETSEL(r2, 0x541c, &(0x7f0000000200)={0x2, {0x2, 0x9, 0x7, 0x0, 0x8, 0x4}}) (async) ioctl$sock_SIOCETHTOOL(0xffffffffffffffff, 0x8946, &(0x7f0000000180)={'bridge_slave_0\x00', &(0x7f00000000c0)=@ethtool_perm_addr={0x20, 0xa5, "f4b6593778ace0479a4ab168b62651bd45cf8c6d98b9c6d705879fa9f94932db0ff9622988cd6f42d954ab76b3ece274cdf5624a34c701fdbf1b9052a5dc2c7a19791d75593c2f66e23ab240c0faeb272f36908f2373a0c7efe09e80e33a476f6aa3be74d5296dbb46e4a3cd95859a9ae05f51773bcdaefde01f08fc175b24a70af0a15683e51e64fe7bb871cdf0cf7373815dd7629c8339c7beaa5f8d8c8c16174964b75c"}}) (async) openat$proc_capi20(0xffffffffffffff9c, &(0x7f0000000000), 0x40000, 0x0) (async) openat$zero(0xffffffffffffff9c, &(0x7f00000000c0), 0x2, 0x0) (async) write(r4, 0x0, 0x31) (async) ioctl$FS_IOC_SET_ENCRYPTION_POLICY(r4, 0x800c6613, &(0x7f0000000240)=@v2={0x2, @adiantum, 0x1, '\x00', @auto="9f941b1f1672f05dc7d92d48bbb84a11"}) (async) ioctl$KDDELIO(r3, 0x4b35, 0x1) (async) [ 611.051573][T27715] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 611.053552][T27715] CPU: 1 PID: 27715 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 611.055634][T27715] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 611.057751][T27715] Call trace: [ 611.058449][T27715] dump_backtrace+0x1c4/0x1f0 [ 611.059452][T27715] show_stack+0x2c/0x54 [ 611.060375][T27715] dump_stack_lvl+0x104/0x16c [ 611.061317][T27715] dump_stack+0x1c/0x58 [ 611.062185][T27715] sysfs_create_dir_ns+0x148/0x168 [ 611.063430][T27715] kobject_add_internal+0x244/0x530 [ 611.064636][T27715] kobject_add+0xb8/0x130 [ 611.064700][T27716] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 611.065623][T27715] device_add+0x248/0x958 [ 611.065635][T27715] device_register+0x28/0x38 [ 611.065642][T27715] tty_register_device_attr+0x1a8/0x320 [ 611.065652][T27715] tty_register_device+0x3c/0x50 [ 611.065660][T27715] gsm_activate_mux+0x9c/0x1f4 [ 611.065668][T27715] gsmld_ioctl+0x6cc/0x764 [ 611.073392][T27715] tty_ioctl+0x6c0/0x9dc [ 611.074229][T27715] __arm64_sys_ioctl+0xd0/0x140 [ 611.075269][T27715] el0_svc_common+0x138/0x220 [ 611.076292][T27715] do_el0_svc+0x48/0x164 [ 611.077222][T27715] el0_svc+0x58/0x150 [ 611.078056][T27715] el0t_64_sync_handler+0x84/0xf0 [ 611.079111][T27715] el0t_64_sync+0x18c/0x190 [ 611.080211][T27716] CPU: 0 PID: 27716 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 611.082466][T27716] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 611.084710][T27716] Call trace: [ 611.085343][T27716] dump_backtrace+0x1c4/0x1f0 [ 611.086340][T27716] show_stack+0x2c/0x54 [ 611.087250][T27716] dump_stack_lvl+0x104/0x16c [ 611.088325][T27716] dump_stack+0x1c/0x58 [ 611.089238][T27716] sysfs_create_dir_ns+0x148/0x168 [ 611.090186][T27716] kobject_add_internal+0x244/0x530 [ 611.091050][T27716] kobject_add+0xb8/0x130 [ 611.091775][T27716] device_add+0x248/0x958 [ 611.092501][T27716] device_register+0x28/0x38 [ 611.093299][T27716] tty_register_device_attr+0x1a8/0x320 [ 611.094581][T27716] tty_register_device+0x3c/0x50 [ 611.095443][T27716] gsm_activate_mux+0x9c/0x1f4 [ 611.096229][T27716] gsmld_ioctl+0x6cc/0x764 [ 611.096965][T27716] tty_ioctl+0x6c0/0x9dc [ 611.097869][T27716] __arm64_sys_ioctl+0xd0/0x140 [ 611.098929][T27716] el0_svc_common+0x138/0x220 [ 611.100006][T27716] do_el0_svc+0x48/0x164 [ 611.100950][T27716] el0_svc+0x58/0x150 [ 611.101834][T27716] el0t_64_sync_handler+0x84/0xf0 [ 611.102884][T27716] el0t_64_sync+0x18c/0x190 [ 611.118469][T27716] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. [ 611.121370][T27715] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:11 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700005a1200000000960000000800", 0x0, 0x2}) 00:10:11 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000d0000960000000800", 0x0, 0x2}) 00:10:11 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960074000800", 0x0, 0x2}) 00:10:11 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096007a000800", 0x0, 0x2}) 00:10:11 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700005b1200000000960000000800", 0x0, 0x2}) 00:10:11 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600ff000800", 0x0, 0x2}) 00:10:11 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700006f1200000000960000000800", 0x0, 0x2}) 00:10:11 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000005000000960000000800", 0x0, 0x2}) 00:10:11 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000c00", 0x0, 0x2}) 00:10:11 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000002500000000960000000800", 0x0, 0x2}) [ 611.364198][T27749] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 611.366054][T27749] CPU: 1 PID: 27749 Comm: syz-executor.2 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 611.368178][T27749] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 611.370210][T27749] Call trace: [ 611.370925][T27749] dump_backtrace+0x1c4/0x1f0 [ 611.371904][T27749] show_stack+0x2c/0x54 [ 611.372744][T27749] dump_stack_lvl+0x104/0x16c [ 611.373729][T27749] dump_stack+0x1c/0x58 [ 611.374647][T27749] sysfs_create_dir_ns+0x148/0x168 [ 611.375583][T27749] kobject_add_internal+0x244/0x530 [ 611.376478][T27749] kobject_add+0xb8/0x130 [ 611.377377][T27749] device_add+0x248/0x958 [ 611.378246][T27749] device_register+0x28/0x38 [ 611.379206][T27749] tty_register_device_attr+0x1a8/0x320 [ 611.380297][T27749] tty_register_device+0x3c/0x50 [ 611.381294][T27749] gsm_activate_mux+0x9c/0x1f4 [ 611.382264][T27749] gsmld_ioctl+0x6cc/0x764 [ 611.383175][T27749] tty_ioctl+0x6c0/0x9dc [ 611.384063][T27749] __arm64_sys_ioctl+0xd0/0x140 [ 611.385016][T27749] el0_svc_common+0x138/0x220 [ 611.385990][T27749] do_el0_svc+0x48/0x164 [ 611.386851][T27749] el0_svc+0x58/0x150 [ 611.387669][T27749] el0t_64_sync_handler+0x84/0xf0 [ 611.388715][T27749] el0t_64_sync+0x18c/0x190 [ 611.395196][T27749] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:11 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000006c00000000960000000800", 0x0, 0x2}) [ 611.561813][T27752] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 611.564200][T27752] CPU: 1 PID: 27752 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 611.566447][T27752] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 611.568534][T27752] Call trace: [ 611.569216][T27752] dump_backtrace+0x1c4/0x1f0 [ 611.570282][T27752] show_stack+0x2c/0x54 [ 611.571211][T27752] dump_stack_lvl+0x104/0x16c [ 611.572274][T27752] dump_stack+0x1c/0x58 [ 611.573219][T27752] sysfs_create_dir_ns+0x148/0x168 [ 611.574341][T27752] kobject_add_internal+0x244/0x530 [ 611.575532][T27752] kobject_add+0xb8/0x130 [ 611.576435][T27752] device_add+0x248/0x958 [ 611.577342][T27752] device_register+0x28/0x38 [ 611.578413][T27752] tty_register_device_attr+0x1a8/0x320 [ 611.579724][T27752] tty_register_device+0x3c/0x50 [ 611.580839][T27752] gsm_activate_mux+0x9c/0x1f4 [ 611.581783][T27752] gsmld_ioctl+0x6cc/0x764 [ 611.582779][T27752] tty_ioctl+0x6c0/0x9dc [ 611.583700][T27752] __arm64_sys_ioctl+0xd0/0x140 [ 611.584721][T27752] el0_svc_common+0x138/0x220 [ 611.585689][T27752] do_el0_svc+0x48/0x164 [ 611.586667][T27752] el0_svc+0x58/0x150 [ 611.587551][T27752] el0t_64_sync_handler+0x84/0xf0 [ 611.588603][T27752] el0t_64_sync+0x18c/0x190 [ 611.591579][T27752] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:11 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async, rerun: 32) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (rerun: 32) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = openat$incfs(0xffffffffffffff9c, &(0x7f00000001c0)='.pending_reads\x00', 0x0, 0xe0) ioctl$TIOCL_SETSEL(r2, 0x541c, &(0x7f0000000200)={0x2, {0x2, 0x9, 0x7, 0x0, 0x8, 0x4}}) ioctl$sock_SIOCETHTOOL(0xffffffffffffffff, 0x8946, &(0x7f0000000180)={'bridge_slave_0\x00', &(0x7f00000000c0)=@ethtool_perm_addr={0x20, 0xa5, "f4b6593778ace0479a4ab168b62651bd45cf8c6d98b9c6d705879fa9f94932db0ff9622988cd6f42d954ab76b3ece274cdf5624a34c701fdbf1b9052a5dc2c7a19791d75593c2f66e23ab240c0faeb272f36908f2373a0c7efe09e80e33a476f6aa3be74d5296dbb46e4a3cd95859a9ae05f51773bcdaefde01f08fc175b24a70af0a15683e51e64fe7bb871cdf0cf7373815dd7629c8339c7beaa5f8d8c8c16174964b75c"}}) (async) r3 = openat$proc_capi20(0xffffffffffffff9c, &(0x7f0000000000), 0x40000, 0x0) r4 = openat$zero(0xffffffffffffff9c, &(0x7f00000000c0), 0x2, 0x0) write(r4, 0x0, 0x31) ioctl$FS_IOC_SET_ENCRYPTION_POLICY(r4, 0x800c6613, &(0x7f0000000240)=@v2={0x2, @adiantum, 0x1, '\x00', @auto="9f941b1f1672f05dc7d92d48bbb84a11"}) ioctl$KDDELIO(r3, 0x4b35, 0x1) 00:10:11 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000006000000960000000800", 0x0, 0x2}) 00:10:11 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000e0000960000000800", 0x0, 0x2}) 00:10:11 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000124400000000960000000800", 0x0, 0x2}) 00:10:11 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = dup3(r0, r0, 0x0) ioctl$PIO_SCRNMAP(r1, 0x4b41, &(0x7f00000000c0)="b93f2f53fa7e493871e36d2cbc45154cb7fc87b0c36fe03f22523a1cfbcfefa8b18a073a7a14682374df5ccbe9821c0e9f2c50d4f1873e9c55e7692cb68d851c858f2fb4374ac4b09222cf228c4f35395fbac2d04fdaa321ce9bd07cca78") r2 = openat$binder_debug(0xffffffffffffff9c, &(0x7f0000000140)='/sys/kernel/debug/binder/state\x00', 0x0, 0x0) setsockopt$inet6_tcp_TLS_TX(r2, 0x6, 0x1, &(0x7f0000000180)=@gcm_128={{0x303}, "fd83ff0fadb4fd17", "36b6e17f8d81edae196c6b6637e44185", "89ac16b8", "3b27ffa2a548a9c2"}, 0x28) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r3, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r3, 0x5412, &(0x7f0000000000)) ioctl$KDGKBMODE(r3, 0x4b44, &(0x7f0000000000)) ioctl$TCSETSF2(0xffffffffffffffff, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r4 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r4, 0x404c4701, &(0x7f0000000040)={0x2, 0x3, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:11 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = dup3(r0, r0, 0x0) ioctl$PIO_SCRNMAP(r1, 0x4b41, &(0x7f00000000c0)="b93f2f53fa7e493871e36d2cbc45154cb7fc87b0c36fe03f22523a1cfbcfefa8b18a073a7a14682374df5ccbe9821c0e9f2c50d4f1873e9c55e7692cb68d851c858f2fb4374ac4b09222cf228c4f35395fbac2d04fdaa321ce9bd07cca78") (async) r2 = openat$binder_debug(0xffffffffffffff9c, &(0x7f0000000140)='/sys/kernel/debug/binder/state\x00', 0x0, 0x0) setsockopt$inet6_tcp_TLS_TX(r2, 0x6, 0x1, &(0x7f0000000180)=@gcm_128={{0x303}, "fd83ff0fadb4fd17", "36b6e17f8d81edae196c6b6637e44185", "89ac16b8", "3b27ffa2a548a9c2"}, 0x28) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r3, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r3, 0x5412, &(0x7f0000000000)) (async) ioctl$KDGKBMODE(r3, 0x4b44, &(0x7f0000000000)) ioctl$TCSETSF2(0xffffffffffffffff, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r4 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r4, 0x404c4701, &(0x7f0000000040)={0x2, 0x3, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:11 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000100000960000000800", 0x0, 0x2}) [ 611.835470][T27769] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 611.841106][T27769] CPU: 1 PID: 27769 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 611.843288][T27769] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 611.843295][T27769] Call trace: [ 611.843298][T27769] dump_backtrace+0x1c4/0x1f0 [ 611.847284][T27769] show_stack+0x2c/0x54 [ 611.847295][T27769] dump_stack_lvl+0x104/0x16c [ 611.847304][T27769] dump_stack+0x1c/0x58 [ 611.847312][T27769] sysfs_create_dir_ns+0x148/0x168 [ 611.847322][T27769] kobject_add_internal+0x244/0x530 [ 611.847330][T27769] kobject_add+0xb8/0x130 [ 611.847337][T27769] device_add+0x248/0x958 [ 611.847345][T27769] device_register+0x28/0x38 [ 611.847359][T27769] tty_register_device_attr+0x1a8/0x320 [ 611.847370][T27769] tty_register_device+0x3c/0x50 [ 611.847378][T27769] gsm_activate_mux+0x9c/0x1f4 [ 611.847386][T27769] gsmld_ioctl+0x6cc/0x764 [ 611.847394][T27769] tty_ioctl+0x6c0/0x9dc [ 611.847402][T27769] __arm64_sys_ioctl+0xd0/0x140 [ 611.847411][T27769] el0_svc_common+0x138/0x220 [ 611.847420][T27769] do_el0_svc+0x48/0x164 [ 611.847428][T27769] el0_svc+0x58/0x150 [ 611.847436][T27769] el0t_64_sync_handler+0x84/0xf0 [ 611.847444][T27769] el0t_64_sync+0x18c/0x190 [ 611.862397][T27769] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:11 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000110000960000000800", 0x0, 0x2}) 00:10:11 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = dup3(r0, r0, 0x0) ioctl$PIO_SCRNMAP(r1, 0x4b41, &(0x7f00000000c0)="b93f2f53fa7e493871e36d2cbc45154cb7fc87b0c36fe03f22523a1cfbcfefa8b18a073a7a14682374df5ccbe9821c0e9f2c50d4f1873e9c55e7692cb68d851c858f2fb4374ac4b09222cf228c4f35395fbac2d04fdaa321ce9bd07cca78") r2 = openat$binder_debug(0xffffffffffffff9c, &(0x7f0000000140)='/sys/kernel/debug/binder/state\x00', 0x0, 0x0) setsockopt$inet6_tcp_TLS_TX(r2, 0x6, 0x1, &(0x7f0000000180)=@gcm_128={{0x303}, "fd83ff0fadb4fd17", "36b6e17f8d81edae196c6b6637e44185", "89ac16b8", "3b27ffa2a548a9c2"}, 0x28) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r3, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r3, 0x5412, &(0x7f0000000000)) ioctl$KDGKBMODE(r3, 0x4b44, &(0x7f0000000000)) ioctl$TCSETSF2(0xffffffffffffffff, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r4 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r4, 0x404c4701, &(0x7f0000000040)={0x2, 0x3, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) dup3(r0, r0, 0x0) (async) ioctl$PIO_SCRNMAP(r1, 0x4b41, &(0x7f00000000c0)="b93f2f53fa7e493871e36d2cbc45154cb7fc87b0c36fe03f22523a1cfbcfefa8b18a073a7a14682374df5ccbe9821c0e9f2c50d4f1873e9c55e7692cb68d851c858f2fb4374ac4b09222cf228c4f35395fbac2d04fdaa321ce9bd07cca78") (async) openat$binder_debug(0xffffffffffffff9c, &(0x7f0000000140)='/sys/kernel/debug/binder/state\x00', 0x0, 0x0) (async) setsockopt$inet6_tcp_TLS_TX(r2, 0x6, 0x1, &(0x7f0000000180)=@gcm_128={{0x303}, "fd83ff0fadb4fd17", "36b6e17f8d81edae196c6b6637e44185", "89ac16b8", "3b27ffa2a548a9c2"}, 0x28) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r3, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r3, 0x5412, &(0x7f0000000000)) (async) ioctl$KDGKBMODE(r3, 0x4b44, &(0x7f0000000000)) (async) ioctl$TCSETSF2(0xffffffffffffffff, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r4, 0x404c4701, &(0x7f0000000040)={0x2, 0x3, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) 00:10:11 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000f00", 0x0, 0x2}) 00:10:11 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000120000960000000800", 0x0, 0x2}) 00:10:12 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000007400000000960000000800", 0x0, 0x2}) 00:10:12 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = openat$ttyprintk(0xffffffffffffff9c, &(0x7f0000000000), 0x100, 0x0) ioctl$FIONREAD(r1, 0x541b, &(0x7f00000000c0)) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 612.167942][T27799] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 612.174904][T27799] CPU: 1 PID: 27799 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 612.177095][T27799] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 612.179228][T27799] Call trace: [ 612.179931][T27799] dump_backtrace+0x1c4/0x1f0 [ 612.180960][T27799] show_stack+0x2c/0x54 [ 612.181858][T27799] dump_stack_lvl+0x104/0x16c [ 612.182851][T27799] dump_stack+0x1c/0x58 [ 612.183839][T27799] sysfs_create_dir_ns+0x148/0x168 [ 612.184942][T27799] kobject_add_internal+0x244/0x530 [ 612.185997][T27799] kobject_add+0xb8/0x130 [ 612.186922][T27799] device_add+0x248/0x958 [ 612.187860][T27799] device_register+0x28/0x38 [ 612.188843][T27799] tty_register_device_attr+0x1a8/0x320 [ 612.190031][T27799] tty_register_device+0x3c/0x50 [ 612.191054][T27799] gsm_activate_mux+0x9c/0x1f4 [ 612.192045][T27799] gsmld_ioctl+0x6cc/0x764 [ 612.193032][T27799] tty_ioctl+0x6c0/0x9dc [ 612.193954][T27799] __arm64_sys_ioctl+0xd0/0x140 [ 612.195087][T27799] el0_svc_common+0x138/0x220 [ 612.196056][T27799] do_el0_svc+0x48/0x164 [ 612.196961][T27799] el0_svc+0x58/0x150 [ 612.197835][T27799] el0t_64_sync_handler+0x84/0xf0 [ 612.198901][T27799] el0t_64_sync+0x18c/0x190 [ 612.213101][T27799] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:12 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000007000000960000000800", 0x0, 0x2}) 00:10:12 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000002b00", 0x0, 0x2}) [ 612.282991][T27804] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 612.285068][T27804] CPU: 0 PID: 27804 Comm: syz-executor.2 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 612.287206][T27804] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 612.289286][T27804] Call trace: [ 612.290014][T27804] dump_backtrace+0x1c4/0x1f0 [ 612.291002][T27804] show_stack+0x2c/0x54 [ 612.291943][T27804] dump_stack_lvl+0x104/0x16c [ 612.293022][T27804] dump_stack+0x1c/0x58 [ 612.293979][T27804] sysfs_create_dir_ns+0x148/0x168 [ 612.295087][T27804] kobject_add_internal+0x244/0x530 [ 612.296246][T27804] kobject_add+0xb8/0x130 [ 612.297205][T27804] device_add+0x248/0x958 [ 612.298152][T27804] device_register+0x28/0x38 [ 612.299076][T27804] tty_register_device_attr+0x1a8/0x320 [ 612.300332][T27804] tty_register_device+0x3c/0x50 [ 612.301496][T27804] gsm_activate_mux+0x9c/0x1f4 [ 612.302451][T27804] gsmld_ioctl+0x6cc/0x764 [ 612.303405][T27804] tty_ioctl+0x6c0/0x9dc [ 612.304335][T27804] __arm64_sys_ioctl+0xd0/0x140 [ 612.305362][T27804] el0_svc_common+0x138/0x220 [ 612.306391][T27804] do_el0_svc+0x48/0x164 [ 612.307382][T27804] el0_svc+0x58/0x150 [ 612.308217][T27804] el0t_64_sync_handler+0x84/0xf0 [ 612.309340][T27804] el0t_64_sync+0x18c/0x190 [ 612.321321][T27804] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:12 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000124500000000960000000800", 0x0, 0x2}) 00:10:12 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000007a00000000960000000800", 0x0, 0x2}) 00:10:12 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000008000000960000000800", 0x0, 0x2}) 00:10:12 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000003000000960000000800", 0x0, 0x2}) 00:10:12 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000124600000000960000000800", 0x0, 0x2}) 00:10:12 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000124700000000960000000800", 0x0, 0x2}) 00:10:12 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000005000000960000000800", 0x0, 0x2}) 00:10:12 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000250000960000000800", 0x0, 0x2}) 00:10:12 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000004800000000960000000800", 0x0, 0x2}) 00:10:12 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000006000000960000000800", 0x0, 0x2}) 00:10:12 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000480000960000000800", 0x0, 0x2}) [ 612.582128][T27826] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 612.584409][T27826] CPU: 0 PID: 27826 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 612.586650][T27826] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 612.588882][T27826] Call trace: [ 612.589552][T27826] dump_backtrace+0x1c4/0x1f0 [ 612.590603][T27826] show_stack+0x2c/0x54 [ 612.591463][T27826] dump_stack_lvl+0x104/0x16c [ 612.592409][T27826] dump_stack+0x1c/0x58 [ 612.593269][T27826] sysfs_create_dir_ns+0x148/0x168 [ 612.594376][T27826] kobject_add_internal+0x244/0x530 [ 612.595544][T27826] kobject_add+0xb8/0x130 [ 612.596422][T27826] device_add+0x248/0x958 [ 612.597435][T27826] device_register+0x28/0x38 [ 612.598484][T27826] tty_register_device_attr+0x1a8/0x320 [ 612.599728][T27826] tty_register_device+0x3c/0x50 [ 612.600737][T27826] gsm_activate_mux+0x9c/0x1f4 [ 612.601792][T27826] gsmld_ioctl+0x6cc/0x764 [ 612.602764][T27826] tty_ioctl+0x6c0/0x9dc [ 612.603681][T27826] __arm64_sys_ioctl+0xd0/0x140 [ 612.604754][T27826] el0_svc_common+0x138/0x220 [ 612.605803][T27826] do_el0_svc+0x48/0x164 [ 612.606686][T27826] el0_svc+0x58/0x150 [ 612.607536][T27826] el0t_64_sync_handler+0x84/0xf0 [ 612.608626][T27826] el0t_64_sync+0x18c/0x190 [ 612.616795][T27826] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. [ 612.663617][T27828] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 612.665509][T27828] CPU: 0 PID: 27828 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 612.667754][T27828] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 612.669848][T27828] Call trace: [ 612.670591][T27828] dump_backtrace+0x1c4/0x1f0 [ 612.671593][T27828] show_stack+0x2c/0x54 [ 612.672487][T27828] dump_stack_lvl+0x104/0x16c [ 612.673578][T27828] dump_stack+0x1c/0x58 [ 612.674662][T27828] sysfs_create_dir_ns+0x148/0x168 [ 612.675764][T27828] kobject_add_internal+0x244/0x530 [ 612.676927][T27828] kobject_add+0xb8/0x130 [ 612.677935][T27828] device_add+0x248/0x958 [ 612.678839][T27828] device_register+0x28/0x38 [ 612.679813][T27828] tty_register_device_attr+0x1a8/0x320 [ 612.681017][T27828] tty_register_device+0x3c/0x50 [ 612.682077][T27828] gsm_activate_mux+0x9c/0x1f4 [ 612.683142][T27828] gsmld_ioctl+0x6cc/0x764 [ 612.684132][T27828] tty_ioctl+0x6c0/0x9dc [ 612.685076][T27828] __arm64_sys_ioctl+0xd0/0x140 [ 612.686064][T27828] el0_svc_common+0x138/0x220 [ 612.687101][T27828] do_el0_svc+0x48/0x164 [ 612.688032][T27828] el0_svc+0x58/0x150 [ 612.688862][T27828] el0t_64_sync_handler+0x84/0xf0 [ 612.689989][T27828] el0t_64_sync+0x18c/0x190 [ 612.700784][T27828] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:12 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000005dc00", 0x0, 0x2}) 00:10:12 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = openat$ttyprintk(0xffffffffffffff9c, &(0x7f0000000000), 0x100, 0x0) ioctl$FIONREAD(r1, 0x541b, &(0x7f00000000c0)) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:12 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000004c0000960000000800", 0x0, 0x2}) [ 612.806698][T27836] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 612.809122][T27836] CPU: 0 PID: 27836 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 612.811335][T27836] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 612.813551][T27836] Call trace: [ 612.814250][T27836] dump_backtrace+0x1c4/0x1f0 [ 612.815135][T27836] show_stack+0x2c/0x54 [ 612.816004][T27836] dump_stack_lvl+0x104/0x16c [ 612.816932][T27836] dump_stack+0x1c/0x58 [ 612.817837][T27836] sysfs_create_dir_ns+0x148/0x168 [ 612.818953][T27836] kobject_add_internal+0x244/0x530 [ 612.820072][T27836] kobject_add+0xb8/0x130 [ 612.820963][T27836] device_add+0x248/0x958 [ 612.821908][T27836] device_register+0x28/0x38 [ 612.822793][T27836] tty_register_device_attr+0x1a8/0x320 [ 612.824009][T27836] tty_register_device+0x3c/0x50 [ 612.825040][T27836] gsm_activate_mux+0x9c/0x1f4 [ 612.826136][T27836] gsmld_ioctl+0x6cc/0x764 [ 612.827044][T27836] tty_ioctl+0x6c0/0x9dc [ 612.828003][T27836] __arm64_sys_ioctl+0xd0/0x140 [ 612.829145][T27836] el0_svc_common+0x138/0x220 [ 612.830142][T27836] do_el0_svc+0x48/0x164 [ 612.831106][T27836] el0_svc+0x58/0x150 [ 612.832050][T27836] el0t_64_sync_handler+0x84/0xf0 [ 612.833161][T27836] el0t_64_sync+0x18c/0x190 [ 612.843818][T27836] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:12 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000009000000960000000800", 0x0, 0x2}) 00:10:12 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000005c0000960000000800", 0x0, 0x2}) 00:10:12 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000967fffffff00", 0x0, 0x2}) 00:10:12 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000680000960000000800", 0x0, 0x2}) 00:10:12 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000a000000960000000800", 0x0, 0x2}) 00:10:12 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000006c0000960000000800", 0x0, 0x2}) 00:10:13 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000b000000960000000800", 0x0, 0x2}) 00:10:13 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000740000960000000800", 0x0, 0x2}) 00:10:13 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000007000000960000000800", 0x0, 0x2}) 00:10:13 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000124800000000960000000800", 0x0, 0x2}) 00:10:13 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = openat$ttyprintk(0xffffffffffffff9c, &(0x7f0000000000), 0x100, 0x0) ioctl$FIONREAD(r1, 0x541b, &(0x7f00000000c0)) (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:13 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000009000000960000000800", 0x0, 0x2}) 00:10:13 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000124900000000960000000800", 0x0, 0x2}) 00:10:13 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000124a00000000960000000800", 0x0, 0x2}) [ 613.393984][T27869] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 613.396995][T27869] CPU: 0 PID: 27869 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 613.399263][T27869] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 613.401436][T27869] Call trace: [ 613.402115][T27869] dump_backtrace+0x1c4/0x1f0 [ 613.403079][T27869] show_stack+0x2c/0x54 [ 613.403923][T27869] dump_stack_lvl+0x104/0x16c [ 613.404906][T27869] dump_stack+0x1c/0x58 [ 613.405849][T27869] sysfs_create_dir_ns+0x148/0x168 [ 613.407020][T27869] kobject_add_internal+0x244/0x530 [ 613.407032][T27869] kobject_add+0xb8/0x130 [ 613.407039][T27869] device_add+0x248/0x958 [ 613.407047][T27869] device_register+0x28/0x38 [ 613.407054][T27869] tty_register_device_attr+0x1a8/0x320 [ 613.407065][T27869] tty_register_device+0x3c/0x50 [ 613.407073][T27869] gsm_activate_mux+0x9c/0x1f4 [ 613.407082][T27869] gsmld_ioctl+0x6cc/0x764 [ 613.407090][T27869] tty_ioctl+0x6c0/0x9dc [ 613.407098][T27869] __arm64_sys_ioctl+0xd0/0x140 [ 613.407108][T27869] el0_svc_common+0x138/0x220 [ 613.407117][T27869] do_el0_svc+0x48/0x164 [ 613.407126][T27869] el0_svc+0x58/0x150 [ 613.407134][T27869] el0t_64_sync_handler+0x84/0xf0 [ 613.407143][T27869] el0t_64_sync+0x18c/0x190 [ 613.417553][T27869] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:13 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960002000800", 0x0, 0x2}) 00:10:13 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000124b00000000960000000800", 0x0, 0x2}) 00:10:13 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$ptys(0xc, 0x3, 0x0) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000000)=0xd) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) r3 = openat$zero(0xffffffffffffff9c, &(0x7f00000000c0), 0x8a000, 0x0) ioctl$TIOCSTI(r3, 0x5412, &(0x7f0000000100)=0x7e) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:13 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$ptys(0xc, 0x3, 0x0) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000000)=0xd) (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) r3 = openat$zero(0xffffffffffffff9c, &(0x7f00000000c0), 0x8a000, 0x0) ioctl$TIOCSTI(r3, 0x5412, &(0x7f0000000100)=0x7e) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 613.602599][T27877] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 613.604668][T27877] CPU: 1 PID: 27877 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 613.604680][T27877] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 613.604685][T27877] Call trace: [ 613.604688][T27877] dump_backtrace+0x1c4/0x1f0 [ 613.604699][T27877] show_stack+0x2c/0x54 [ 613.604706][T27877] dump_stack_lvl+0x104/0x16c [ 613.604716][T27877] dump_stack+0x1c/0x58 [ 613.604724][T27877] sysfs_create_dir_ns+0x148/0x168 [ 613.604734][T27877] kobject_add_internal+0x244/0x530 [ 613.604743][T27877] kobject_add+0xb8/0x130 [ 613.604750][T27877] device_add+0x248/0x958 [ 613.604758][T27877] device_register+0x28/0x38 [ 613.604765][T27877] tty_register_device_attr+0x1a8/0x320 [ 613.604775][T27877] tty_register_device+0x3c/0x50 [ 613.604784][T27877] gsm_activate_mux+0x9c/0x1f4 [ 613.604792][T27877] gsmld_ioctl+0x6cc/0x764 [ 613.604801][T27877] tty_ioctl+0x6c0/0x9dc [ 613.604809][T27877] __arm64_sys_ioctl+0xd0/0x140 [ 613.604818][T27877] el0_svc_common+0x138/0x220 [ 613.604828][T27877] do_el0_svc+0x48/0x164 [ 613.604836][T27877] el0_svc+0x58/0x150 [ 613.604844][T27877] el0t_64_sync_handler+0x84/0xf0 [ 613.604854][T27877] el0t_64_sync+0x18c/0x190 [ 613.604866][T27877] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:13 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000c000000960000000800", 0x0, 0x2}) 00:10:13 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000007a0000960000000800", 0x0, 0x2}) 00:10:13 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960003000800", 0x0, 0x2}) 00:10:13 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$ptys(0xc, 0x3, 0x0) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000000)=0xd) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) r3 = openat$zero(0xffffffffffffff9c, &(0x7f00000000c0), 0x8a000, 0x0) ioctl$TIOCSTI(r3, 0x5412, &(0x7f0000000100)=0x7e) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$ptys(0xc, 0x3, 0x0) (async) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000000)=0xd) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) openat$zero(0xffffffffffffff9c, &(0x7f00000000c0), 0x8a000, 0x0) (async) ioctl$TIOCSTI(r3, 0x5412, &(0x7f0000000100)=0x7e) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) 00:10:13 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000129f0000960000000800", 0x0, 0x2}) 00:10:13 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000a000000960000000800", 0x0, 0x2}) 00:10:13 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$AUTOFS_DEV_IOCTL_REQUESTER(0xffffffffffffffff, 0xc018937b, &(0x7f0000000000)={{0x1, 0x1, 0x18, r0, {0xee01}}, './file0\x00'}) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x2, 0x0, "ebeed70000000000000000960000000800"}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:13 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012a00000960000000800", 0x0, 0x2}) 00:10:13 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012a10000960000000800", 0x0, 0x2}) 00:10:14 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000004c00000000960000000800", 0x0, 0x2}) 00:10:14 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000b000000960000000800", 0x0, 0x2}) 00:10:14 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012a20000960000000800", 0x0, 0x2}) 00:10:14 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000d000000960000000800", 0x0, 0x2}) 00:10:14 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000c000000960000000800", 0x0, 0x2}) 00:10:14 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960004000800", 0x0, 0x2}) 00:10:14 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000124c00000000960000000800", 0x0, 0x2}) 00:10:14 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000e000000960000000800", 0x0, 0x2}) [ 614.303512][T27928] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 614.305408][T27928] CPU: 0 PID: 27928 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 614.307684][T27928] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 614.307691][T27928] Call trace: [ 614.307693][T27928] dump_backtrace+0x1c4/0x1f0 [ 614.307705][T27928] show_stack+0x2c/0x54 [ 614.307712][T27928] dump_stack_lvl+0x104/0x16c [ 614.307722][T27928] dump_stack+0x1c/0x58 [ 614.307730][T27928] sysfs_create_dir_ns+0x148/0x168 [ 614.307740][T27928] kobject_add_internal+0x244/0x530 [ 614.307749][T27928] kobject_add+0xb8/0x130 [ 614.307756][T27928] device_add+0x248/0x958 [ 614.307764][T27928] device_register+0x28/0x38 [ 614.307771][T27928] tty_register_device_attr+0x1a8/0x320 00:10:14 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000010000000960000000800", 0x0, 0x2}) [ 614.307781][T27928] tty_register_device+0x3c/0x50 [ 614.307789][T27928] gsm_activate_mux+0x9c/0x1f4 [ 614.307798][T27928] gsmld_ioctl+0x6cc/0x764 [ 614.307806][T27928] tty_ioctl+0x6c0/0x9dc [ 614.307814][T27928] __arm64_sys_ioctl+0xd0/0x140 [ 614.307824][T27928] el0_svc_common+0x138/0x220 [ 614.307833][T27928] do_el0_svc+0x48/0x164 [ 614.307841][T27928] el0_svc+0x58/0x150 [ 614.307850][T27928] el0t_64_sync_handler+0x84/0xf0 [ 614.307859][T27928] el0t_64_sync+0x18c/0x190 [ 614.309997][T27928] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. [ 614.336584][T27930] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 614.342174][T27930] CPU: 1 PID: 27930 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 614.344456][T27930] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 614.346562][T27930] Call trace: [ 614.347207][T27930] dump_backtrace+0x1c4/0x1f0 [ 614.348208][T27930] show_stack+0x2c/0x54 [ 614.349149][T27930] dump_stack_lvl+0x104/0x16c [ 614.350134][T27930] dump_stack+0x1c/0x58 [ 614.351021][T27930] sysfs_create_dir_ns+0x148/0x168 [ 614.352237][T27930] kobject_add_internal+0x244/0x530 [ 614.353281][T27930] kobject_add+0xb8/0x130 [ 614.354196][T27930] device_add+0x248/0x958 [ 614.355148][T27930] device_register+0x28/0x38 [ 614.355157][T27930] tty_register_device_attr+0x1a8/0x320 [ 614.355168][T27930] tty_register_device+0x3c/0x50 [ 614.358483][T27930] gsm_activate_mux+0x9c/0x1f4 [ 614.358495][T27930] gsmld_ioctl+0x6cc/0x764 [ 614.358503][T27930] tty_ioctl+0x6c0/0x9dc [ 614.358511][T27930] __arm64_sys_ioctl+0xd0/0x140 [ 614.358521][T27930] el0_svc_common+0x138/0x220 [ 614.358530][T27930] do_el0_svc+0x48/0x164 [ 614.358538][T27930] el0_svc+0x58/0x150 [ 614.358546][T27930] el0t_64_sync_handler+0x84/0xf0 [ 614.358555][T27930] el0t_64_sync+0x18c/0x190 [ 614.375767][T27930] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:14 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$AUTOFS_DEV_IOCTL_REQUESTER(0xffffffffffffffff, 0xc018937b, &(0x7f0000000000)={{0x1, 0x1, 0x18, r0, {0xee01}}, './file0\x00'}) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x2, 0x0, "ebeed70000000000000000960000000800"}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$AUTOFS_DEV_IOCTL_REQUESTER(0xffffffffffffffff, 0xc018937b, &(0x7f0000000000)={{0x1, 0x1, 0x18, r0, {0xee01}}, './file0\x00'}) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x2, 0x0, "ebeed70000000000000000960000000800"}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) 00:10:14 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960005000800", 0x0, 0x2}) 00:10:14 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000011000000960000000800", 0x0, 0x2}) 00:10:14 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012000000960000000800", 0x0, 0x2}) 00:10:14 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$AUTOFS_DEV_IOCTL_REQUESTER(0xffffffffffffffff, 0xc018937b, &(0x7f0000000000)={{0x1, 0x1, 0x18, r0, {0xee01}}, './file0\x00'}) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x2, 0x0, "ebeed70000000000000000960000000800"}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$AUTOFS_DEV_IOCTL_REQUESTER(0xffffffffffffffff, 0xc018937b, &(0x7f0000000000)={{0x1, 0x1, 0x18, r0, {0xee01}}, './file0\x00'}) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x2, 0x0, "ebeed70000000000000000960000000800"}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) 00:10:14 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012a30000960000000800", 0x0, 0x2}) 00:10:14 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000025000000960000000800", 0x0, 0x2}) 00:10:14 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000d000000960000000800", 0x0, 0x2}) 00:10:14 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = openat$binder_debug(0xffffffffffffff9c, &(0x7f0000000000)='/sys/kernel/debug/binder/transactions\x00', 0x0, 0x0) ioctl$TIOCSTI(r2, 0x5412, &(0x7f00000000c0)=0x9e) 00:10:14 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000124d00000000960000000800", 0x0, 0x2}) 00:10:14 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012a40000960000000800", 0x0, 0x2}) 00:10:14 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000e000000960000000800", 0x0, 0x2}) 00:10:14 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000124e00000000960000000800", 0x0, 0x2}) [ 614.937671][T27970] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 614.939758][T27970] CPU: 1 PID: 27970 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 614.939770][T27970] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 614.939775][T27970] Call trace: [ 614.944994][T27970] dump_backtrace+0x1c4/0x1f0 [ 614.946000][T27970] show_stack+0x2c/0x54 [ 614.946935][T27970] dump_stack_lvl+0x104/0x16c [ 614.948073][T27970] dump_stack+0x1c/0x58 [ 614.948941][T27970] sysfs_create_dir_ns+0x148/0x168 [ 614.950056][T27970] kobject_add_internal+0x244/0x530 [ 614.951165][T27970] kobject_add+0xb8/0x130 [ 614.952102][T27970] device_add+0x248/0x958 [ 614.953050][T27970] device_register+0x28/0x38 [ 614.953988][T27970] tty_register_device_attr+0x1a8/0x320 [ 614.955188][T27970] tty_register_device+0x3c/0x50 [ 614.956280][T27970] gsm_activate_mux+0x9c/0x1f4 [ 614.957282][T27970] gsmld_ioctl+0x6cc/0x764 [ 614.958218][T27970] tty_ioctl+0x6c0/0x9dc [ 614.959072][T27970] __arm64_sys_ioctl+0xd0/0x140 [ 614.960113][T27970] el0_svc_common+0x138/0x220 [ 614.961149][T27970] do_el0_svc+0x48/0x164 [ 614.962063][T27970] el0_svc+0x58/0x150 [ 614.962915][T27970] el0t_64_sync_handler+0x84/0xf0 [ 614.964034][T27970] el0t_64_sync+0x18c/0x190 [ 614.971405][T27970] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:15 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960006000800", 0x0, 0x2}) 00:10:15 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000124f00000000960000000800", 0x0, 0x2}) 00:10:15 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000011000000960000000800", 0x0, 0x2}) 00:10:15 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012000000960000000800", 0x0, 0x2}) 00:10:15 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960007000800", 0x0, 0x2}) [ 615.108797][T27982] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 615.110822][T27982] CPU: 0 PID: 27982 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 615.113066][T27982] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 615.115329][T27982] Call trace: [ 615.116056][T27982] dump_backtrace+0x1c4/0x1f0 [ 615.117021][T27982] show_stack+0x2c/0x54 [ 615.117938][T27982] dump_stack_lvl+0x104/0x16c [ 615.118932][T27982] dump_stack+0x1c/0x58 [ 615.119790][T27982] sysfs_create_dir_ns+0x148/0x168 [ 615.120972][T27982] kobject_add_internal+0x244/0x530 [ 615.122079][T27982] kobject_add+0xb8/0x130 [ 615.123063][T27982] device_add+0x248/0x958 [ 615.123963][T27982] device_register+0x28/0x38 [ 615.124932][T27982] tty_register_device_attr+0x1a8/0x320 [ 615.126159][T27982] tty_register_device+0x3c/0x50 [ 615.127218][T27982] gsm_activate_mux+0x9c/0x1f4 [ 615.128309][T27982] gsmld_ioctl+0x6cc/0x764 [ 615.129372][T27982] tty_ioctl+0x6c0/0x9dc [ 615.130301][T27982] __arm64_sys_ioctl+0xd0/0x140 [ 615.131374][T27982] el0_svc_common+0x138/0x220 [ 615.132466][T27982] do_el0_svc+0x48/0x164 [ 615.133478][T27982] el0_svc+0x58/0x150 [ 615.134343][T27982] el0t_64_sync_handler+0x84/0xf0 [ 615.135475][T27982] el0t_64_sync+0x18c/0x190 [ 615.149915][T27982] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:15 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000007012000000960000000800", 0x0, 0x2}) 00:10:15 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960008000800", 0x0, 0x2}) [ 615.244552][T27989] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 615.246598][T27989] CPU: 0 PID: 27989 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 615.248892][T27989] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 615.251012][T27989] Call trace: [ 615.251778][T27989] dump_backtrace+0x1c4/0x1f0 [ 615.252762][T27989] show_stack+0x2c/0x54 [ 615.253598][T27989] dump_stack_lvl+0x104/0x16c [ 615.254558][T27989] dump_stack+0x1c/0x58 [ 615.255378][T27989] sysfs_create_dir_ns+0x148/0x168 [ 615.256442][T27989] kobject_add_internal+0x244/0x530 [ 615.257544][T27989] kobject_add+0xb8/0x130 [ 615.258457][T27989] device_add+0x248/0x958 [ 615.259412][T27989] device_register+0x28/0x38 [ 615.260391][T27989] tty_register_device_attr+0x1a8/0x320 [ 615.261648][T27989] tty_register_device+0x3c/0x50 [ 615.262755][T27989] gsm_activate_mux+0x9c/0x1f4 [ 615.263998][T27989] gsmld_ioctl+0x6cc/0x764 [ 615.264943][T27989] tty_ioctl+0x6c0/0x9dc [ 615.265839][T27989] __arm64_sys_ioctl+0xd0/0x140 [ 615.266780][T27989] el0_svc_common+0x138/0x220 [ 615.267815][T27989] do_el0_svc+0x48/0x164 [ 615.268799][T27989] el0_svc+0x58/0x150 [ 615.269594][T27989] el0t_64_sync_handler+0x84/0xf0 [ 615.270685][T27989] el0t_64_sync+0x18c/0x190 [ 615.274106][T27989] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:15 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = openat$binder_debug(0xffffffffffffff9c, &(0x7f0000000000)='/sys/kernel/debug/binder/transactions\x00', 0x0, 0x0) ioctl$TIOCSTI(r2, 0x5412, &(0x7f00000000c0)=0x9e) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) openat$binder_debug(0xffffffffffffff9c, &(0x7f0000000000)='/sys/kernel/debug/binder/transactions\x00', 0x0, 0x0) (async) ioctl$TIOCSTI(r2, 0x5412, &(0x7f00000000c0)=0x9e) (async) 00:10:15 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000005c000000960000000800", 0x0, 0x2}) 00:10:15 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960009000800", 0x0, 0x2}) 00:10:15 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012a50000960000000800", 0x0, 0x2}) 00:10:15 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012a60000960000000800", 0x0, 0x2}) 00:10:15 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000125000000000960000000800", 0x0, 0x2}) 00:10:15 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async, rerun: 32) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) (rerun: 32) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async, rerun: 64) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async, rerun: 64) r2 = openat$binder_debug(0xffffffffffffff9c, &(0x7f0000000000)='/sys/kernel/debug/binder/transactions\x00', 0x0, 0x0) ioctl$TIOCSTI(r2, 0x5412, &(0x7f00000000c0)=0x9e) 00:10:15 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000125100000000960000000800", 0x0, 0x2}) 00:10:15 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x1, 0x4, 0xfffffffc, 0x0, 0x8, "ebeed70400002000000000a60027000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:15 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000125200000000960000000800", 0x0, 0x2}) 00:10:15 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000007112000000960000000800", 0x0, 0x2}) 00:10:15 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x1, 0x4, 0xfffffffc, 0x0, 0x8, "ebeed70400002000000000a60027000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:15 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x1, 0x4, 0xfffffffc, 0x0, 0x8, "ebeed70400002000000000a60027000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 615.790544][T28028] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 615.792600][T28028] CPU: 1 PID: 28028 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 615.794816][T28028] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 615.796862][T28028] Call trace: [ 615.797593][T28028] dump_backtrace+0x1c4/0x1f0 [ 615.798585][T28028] show_stack+0x2c/0x54 [ 615.799456][T28028] dump_stack_lvl+0x104/0x16c [ 615.800389][T28028] dump_stack+0x1c/0x58 [ 615.801307][T28028] sysfs_create_dir_ns+0x148/0x168 [ 615.802439][T28028] kobject_add_internal+0x244/0x530 [ 615.803510][T28028] kobject_add+0xb8/0x130 [ 615.803519][T28028] device_add+0x248/0x958 [ 615.803527][T28028] device_register+0x28/0x38 [ 615.806402][T28028] tty_register_device_attr+0x1a8/0x320 [ 615.806415][T28028] tty_register_device+0x3c/0x50 [ 615.806424][T28028] gsm_activate_mux+0x9c/0x1f4 [ 615.809682][T28028] gsmld_ioctl+0x6cc/0x764 [ 615.810749][T28028] tty_ioctl+0x6c0/0x9dc [ 615.811705][T28028] __arm64_sys_ioctl+0xd0/0x140 [ 615.812761][T28028] el0_svc_common+0x138/0x220 [ 615.813710][T28028] do_el0_svc+0x48/0x164 [ 615.814584][T28028] el0_svc+0x58/0x150 [ 615.815478][T28028] el0t_64_sync_handler+0x84/0xf0 [ 615.816522][T28028] el0t_64_sync+0x18c/0x190 [ 615.832872][T28028] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:16 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000030000960000000800", 0x0, 0x2}) 00:10:16 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000007212000000960000000800", 0x0, 0x2}) 00:10:16 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$BTRFS_IOC_ADD_DEV(r0, 0x5000940a, &(0x7f0000000880)={{r0}, "9d48614a8d5077c007083ae13c459c7841e960f9ec0eca9a0fbe397157d96e43235b3c63d31407d04d696446e2eedd5e1e9f7afc9b0e1872eec04b27b06cb92c1e44c6f38297349d94befae1998934ae478c054a153d032f72935e170bc3f4de6b62cef975c45b14322a822b3949c14a4c960226841a16f348060eec9a2fa736d48151988f823965ad5d253dd5d5c40abc6ad08399a6cf9ea7292928e4b17d46fbd6348b09b7996878137bb44a101785c83cc423d57ec75d71816d963a8b720ed8e6b09cf5c80350e6269cb8dda11787a03c5e9091b051bfcd022a498cb5335257988d50a9c2943942e584344c92e3c5c62efa7a47d2d41cecb447591321b1486e64c97f208cddad5acf0eb90d4c8a0d2df4bf8fd4e2320ac92402a79aab4ea935a35df55b3334e4180bb8a204f94ca141ab23349fad0b762d80a691ecabca818ea66d7138cf21de1d6651663c5806e4434f1cc1eafcd867e954f1d25cd16b5edc0c7da8436c40deb7d8511100afc974abebb01accae6855d17cf84d275dd4fb1d39eb31c427fdc1074101106697ce982e5df2b26e16902fe9fcd8aa0b10ae8a3f69d59400d7b209efb4b8c664240ebc8e875e8004c068bd286b329ebc67287e02dac7d244ce095a914ff35440e5d7ca5ea4a34144cb6abf7c8f747d39084ab02d8f254da0296deee31c28388e344dd4adc0bd791f95b991529b0d907088fea66e6ea1dcd34cef117284a53a7706c2f7268f57999b956d2480667f06c0f35cbab59e3cdb95c3576b42262c45e5c7b0459ecdbbaa90dc2c44384527d5536c14f11ec3f65e6d592be341dd5d1c2f0cce0f5282793084d7955d069b863a694330a42ca59aaa1161bddf6f23352d17f94aad483d0669b70d06509df04aa8ea6ff2eccfe84f842fd37fb5bf35c2da3b04bbf29a98358740dd99eb815368b27d1fc4ecddf5517449a2b325ede4de713340bff51744b4ebd10306249c4ecbc38a59037a1f5d80d3445fd49be7ab966ce87db2751504004bec5ac251619f3b8e84e81cac4baf3d33c37d31181da2cd4953fd12061afe13bef470c814170d440cea0c7a49aae14bc730b8fd32a5ce4f57a1880ec7e33392775a9aaa6093e01adfc5e9149addd72c4c629ee6544a1d1f5da7d87afcf6142ecd8ce683256e6c6fb8fb181907dd2b1e646d25166e29bc7a74683632db1f183e3d31427617988836703de1553c741b019abd6184ef2c14549487f3515d98ec346f8d436c860372cbd0d966a37f51a532619decf11f5c55924fa237113398f21dee313a49ad3565c7ae8605864a9908096e5761bbb752d2b9a40a8304073cf9b63b71210a9d79deb63b439f9e9b0294edf75812e2bdfded5fcc7353cdaf66cf774c82acb5a517e0f8bec9bc79d0af0035c573e91bca9263b0a12652804a0a3d61ab4954ac1a15f64cd85a0188526ff0921495a679b8c8cfd4a931f9c809d0086150879975269ed76c0bbfc90611a1aa05d64563f53baf86355bc59cb3733f81187018cd5e62e4be9a5865f188a88c1c61cff7f9d4674196a5feed49ecc6c89ba53dfa27b7680a374ceafd66dda14ac1f5118a2053e99c3dc2ad76ffd97bccccb59c2f2a860556ab1a1588e3ad07fbd5c8c933e4afaead2fb8b09789ab414d0c50c33ec9302965832be5bcb72930f78e518a485d1d8b8a9382f6bb5415d8cc12398d45ecbec252d80d23e83a2830acd7a4c79d2e007ac0af0cce348d4de7d909fea5045f6280ae47964a3c663f9c98b553a620026275dbd9bb34c385af1468e58875a20dd59d1dfb152dc1eb3f5d3f5bb1ab4efd799afef368801919f69f9723dc64189cca160694935e033574e76651dca6b05c345dd234435489723f1b16a2f6f23108b556dbeb15b943e148fe227cb4dcee49e57b04b108ed5578f7a3a79fda5640c00eeb7586a3900a679297a71463d6f6f8595c36598eed720b2ec0d4dd3850ac3481e6c9b71d87978b9ab652f818183b157fd0227608c1ed03dfa41b2aa354b0b60a1d1b1de7b3c9b191896c6b71bee854385ae5dff7931cee92484835cb82ccbf74b614c103c0d8109089f4cdacf6efc9dcead6a66d94163998c11de147310b0ab503ec8b7fe535d70c9e8c0b6b9b91f67ebed6419739824e99d78fb5a485e169af98daa288423949cf481d7153e0d75ec42770d7a020b0c5f27c57f69723cc599af379b52eab1fb7b5f933851a3477fa5ac704666106b1d0e5dab7de9d5e5266024c3ecbf30d100242ee1b4c6769db4dd248ba8b8c3c0cc42b523c8428fe319b63fa72518962efddca679439b470fcba78d7ba4a30d489d37163a00965ea6f6c1ff833a3654eb7781dd06bd9b37eb3a16f306dfe12e2244bffd9386b6931e69978638fbdce6db276ac6bc17df99b4e841e4cb3c11bd4fdb677592412a86ce59fbd429132c9f4faf98fdd0a3d4655a320a811f3d66f7ac0b18c5d56a96adc2175ce3296f0bbf577c4419496e6ab7a16bbb86233a53c166ee01859aaddcfa964c21fe342012753f1ab7e9165e040ede2fef43a2b5d9943964f219b5a57fe98cc962016007dfa895bd8f69f53fbbe3552cdd45aa2858463386d9f8e02312a1f93da7b080f9bb09d6cf16d7d8f0b85bd61b5dbde25faffb692bf17aad3a4c10976b1eaf044cfb84e274b226baeed2f77fbaa3662eedad1a27ce67d628b709ecc0cc6d07e6c4da8330afebad8b47caf1547a4c9f22c77f7eec0f694337261cbe58769f84a1b83b856c36d4a2256ec47587acc157c1497ab24e5aa19530b9bd3395b5d7094d25751263c8f4d1f6e87e89e653ffbf49b201f3c0029ba63ba428df28a240772c8115e06065b68df556ec2a6f2a045f1a99eb2a9f856695cbe3a3a5b3120d8d47f1a5805c8006985c51c9bb7fd9c1c05c23a95434184f4c7c631630dac57b408fb2f1e725427d91569074dee62a980f6bc6d1211c3f39a14819b2dca3f07d0c1e6216bb93a450b2b9a6dccbb151199514aa6d533eb06c8fc3333916627104eb681ae3c39ff6107341b278499683ad95bc7e4f069131ac879624611fcd0959eaf171d85f15a32dfb0e7a5a415c7668ed5e4cd545a04efd872b752db027b49f008bd208507f103e5b07fd9cba73259b2b2d5a8bfc41befc086a67feb78f3dec787ce9efa9a02b011ae8cbf0ccff3d4352ade032bdbf9aef3ed29d372580a84372f97006ed7b51df9263d6ec14194f9557570dbf383520534a04abfa0a8406a04d5ae770b641fa4c22ad9b8d689e0506c8c959bef56bb3f598e976d888157badfad378c2e903dd161fe040c87062d5569a8df6aa9df24e1842fbfd4e46f6331dc17e7786389d5048830fa2c154385f86a03662238d999539fb6096a16317e35f5db5371f9c6de6a972ddd732173651c4b79131af2d28821fd628c1abf512f8851dad8c16d4b420ab91c75207b63c9a4ef40359b81be5ef9c1e2e211c537f0426f9d71956bc14b716d687d3c103cb756271602bdd617c708adb95441e342591d4af6828ef6e7103d5b6f74d6f6e6232940b6629f4177817f129c1e2b8b1895c452a278873636d9b386a86ad8e8b9fcd47664a78eef2fce49516b88095348ab8c4471f82932b7f19c278b8d91171a7555e7186d5a9cf10f39f7cdc6acf232e750e43fe3e7c12be5095fc7167f0cedc052ae7acd57c92fb9f8351b4192ff112b34c731ba3e71af3a8cc0da9e827ad60fa92285b599225be03f60466b358846645dcce91ebf2700d903d864d2a42114ce9a3ab815e8b53b4ad3315e5f4080cdcb1a2546a8328d47fa6237666ad90822fbb07e0e48ead2303fdc1e3ab7a3eabb6a9a65d662a055bc036a255c4fafcdda498993b94346c857c8136ea09c0ea2374d050da8c53ef6d679ce3dc9e0d9da4b7d327811db72f70a01d8b7bdb585d2c77bc1d857d3e7919ca96030f942c241527f23993770cde13b25b2263dfa45db6403eddd34842c95e033b3f9d04553b186a25d3f1919b8ed4da7b222ce0a780a0af83cddb5b768f59fa120e7848cd37be5061c7bc2420fc3badad9f7889b89d81772f882467b3c2f7f4db21e738a03d4930a80aa380dadc2c4b56f2d0a9a3e2bba41147ed1fdc1fe42ffa26a39ff41be6996d0ea62850d15e340339270d25b2579cfad4872454479f30cabd1366be647ad2234c305b15211b1287f91f73a4e486c53d7c76686ab74a835c80d1867cce66fb3d49eccf89a7aef0fa3202fc666e04b0f3f65e62b3c0ca7c160414b13bd820854987f21c3b7117ff87631c9e49f2b0ad4ce0d51d349be3915baf52dde31e99c6b6b020ef354a6ef966b43120b07fa3195eec10accdb8e2dac931aa47a0b8292bb2a04dff15b445ce9e06c4e1129960aa3ec54c1a8109ffe8b022197a4005e2d3438f23f55f8df761fb3bd06af18eb11aa58bff44979459d6e608161618342d4ece95c29d46b6cfdc99e1ea67cdd4b80204ef1a3613f65b460dcfaba9cb158a010282deb2c9ab20d7bf77030e6f173a6b97a0fcd494639fbeca0fba8efdf48e6cb7e2815c90e7432eb42c713c86af772e2e9667d4423024b3de8592f79b4245815765c7dffa80654e7950e784def134acd80bebd8b1f9b53f2e807f2d4e87baee54af77bcfe177567af2bea08b938a4e2279df285350fe0be12fdc9ca3edc226ba53dc553ca67afe1633f5acd1c8ec5336d14164ae4811a959bcc793c1d8e244bb28a80451953357411a33b6b31d43d098c8d3c91ee831bd2b27aa4c27ec75143d1cfe2f349f1ba0d643c0d71c77c7daef0d90c627e69589d64fad00c9f06b6a3544902fc12bb46b4f949e7ca73ce846c2c91de1566a4c9fb1c36f64fa2d63eedd5f680b5b4e8d0c6683aa0532a6bc51ddeedee4532139532e637bfc0361d77ac3353d52dd0c0113d4e3299632c7f6bbde4ec4a452f98ec1e50ab551169dfd02f38d21732b06e7b7ba6af3f36da56f656c93485a3efeea06f752ce0dba0c58aa1bb7e243caa002dc878558da4dfa614a5b2dbc3cc048d484024c292987d341ad83e57e917a6401268b732717eaec5915fd82b96300b04eafc6234c5c79b738a028d59d39ff2838204d7aeb8df9a224f284200fd3415d3df5b7836546743525976818e996802f6729335df18fec52f649e24a6dd278f3d9305bcc719e0805143345f11b841bcdd62bf41962b908c4220059f64f5c0b505860fe6a38188729cfa370c6a80e3c9ac636801e11808e903807da3221111cfb4c190f871a4f0691d4f08acf2d33dd33975807ec692b15ef7381d3822986cb23aa6f7456448a1a759ce2a43a78980fbff6576004b0312f621d1e51e43082b390bb4893b5258fa5c6467f8e9a7f74f4f00b66fd6782b5ff2eb212252b852b8a049bef7c832e48b996e02dc98343864b347bc0c6ca5ff1947e462496e962c3b57cb03f0fe5a2a0cc0f456e8c5affb90c06053644d59b994b8c020520e79228599a7c2a08556dbf7575500a3d7b9cdfb5b9b4b7e87624f1dafe84481148413de77f3b495910f9957caf78b19cbf9fa978f2f2ef6450784267f5594b058756c9cd2c7730e7bbac2392ea08dd2901fba0f23ea7997b3221ec35cbf9686c4490c7f66d57f25d2a6a396d03a47523d96155b0379c235ccf5e37c7cd6bc3fd1a96551972bc6ea8b5ec331b805aa8c563b1ebb17f8ff90412d2ecc703bb5fabc11cce025b5ea71acf68ab5f9350fb7dbaf08bd1409c21cc3eba58356117236d6c7ed3952d443aca78648616d6a87548627d63388b186fd2a51a600faf51bf7b8d2796"}) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x3, 0x0, 0x0, 0xffffffff, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) r3 = openat$zero(0xffffffffffffff9c, &(0x7f00000000c0), 0x2, 0x0) write(r3, 0x0, 0x31) bpf$MAP_UPDATE_ELEM(0x2, &(0x7f0000000280)={r3, &(0x7f0000000180)="5403f2e86c1eb9c6423228220f72b0daca7b1e16210f3f7d3f3bff0176a23928f32c144c3eafe4cfa2c2a0bc0fdfdaff52f70e9fa8ee7d3de2d5a08277d232ec53b63cd2846ea32fa9190e84cd6d8c1e6ba602f4caeda41b5c3c4b18a6498482a9b1b1e49046f8222342e2bea29f79c2522254bf1c203128ccd780e4a2da9a698851262a34c7321b4b654fb3253a9d1abade3568d1ea71b89eb6909ba08b3f", &(0x7f0000000240)=@tcp6, 0x1}, 0x20) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f00000000c0)='/proc/timer_list\x00', 0x0, 0x0) ioctl$FIONREAD(r4, 0x541b, &(0x7f0000000140)) ioctl$TIOCSTI(r4, 0x5412, &(0x7f0000000100)=0x20) ioctl$AUTOFS_DEV_IOCTL_REQUESTER(0xffffffffffffffff, 0xc018937b, &(0x7f0000001880)=ANY=[@ANYBLOB="010000000100000018000000b1b85d8dc99d346aaa02d910463b75b202d4b43db7f70cfc8813e355a5a4361dbdec2b5dc95c7604000000bbb9d6c0ac38f9b85cabc51cab072d90dabba1e9a6c6bc8027e482d5c4763356019f5955f13e81b49f14054cc4aad249a6c6b6dd8cfe39d53cfe2f345f1ce17895215a63628156da11f65e978b504fba578c634d87bf90abd9498a68", @ANYRES32=r2, @ANYRES32, @ANYRES32, @ANYBLOB='./file0\x00']) r6 = openat$urandom(0xffffffffffffff9c, &(0x7f0000000480), 0xf09c990695b58291, 0x0) r7 = syz_open_dev$usbmon(&(0x7f00000005c0), 0x0, 0x290500) r8 = openat$zero(0xffffffffffffff9c, &(0x7f00000000c0), 0x2, 0x0) write(r8, 0x0, 0x31) io_submit(0x0, 0x5, &(0x7f0000000840)=[&(0x7f00000003c0)={0x0, 0x0, 0x0, 0x0, 0x7, r1, &(0x7f00000002c0)="648e041484251cd206a979c319bbacfff89e5727116a95831067461911a5acadf608e010569eb64b0c06f952144cc42e091fa66fc26eb2742d85abd80f5ac97f14e83de2d2952b7d58e447d1384daffff5bd658952de77ca4282e31cdcd3cd545e512a034731b8eb1654d7acb762255ea723aa3eed5f99479bc0929669ad42e1b4eb3b6e9a22908edbf3e629e8627ddf55e823cdad128dc25204fb72f781713e8bf9b705c8bae6c3f08a1d557a6a7d53dee060948dee923ab796b8b8be70f213b2d7c3520f4d56b097fd3735bffc51e9399c7a64816d807d384bbf42db89828aeb221468a22379", 0xe7, 0x12a, 0x0, 0x2, r5}, &(0x7f0000000440)={0x0, 0x0, 0x0, 0x5, 0x2db, r2, &(0x7f0000000400)="1ac9df2b2a993bd4fd7e91760107c2e54f318a9866a6cd28bb5906e1129d1d89df38bd3303ac34e08cc99cd38ed97ca723deab31a39dbd4cc94311", 0x3b, 0x186, 0x0, 0x1, r4}, &(0x7f0000000580)={0x0, 0x0, 0x0, 0x7, 0x1, r6, &(0x7f00000004c0)="de24dbb9db56d10e1b08395a1357a9d10639eebd510b018d03fde89aba9a31b80d0344779eb566b32bda6559457ca6d6eeff3d7b6cd01d8d373a3090a2df66681396d67ef08659b00bbb032c897055df9f6e2f6e119bda7497d8e8250e04339dd4f8f8e91c9c17b9a89edf729e0254f73c522c72fb1285e1a80017a7fa05d1a880d26d8f901780ce637b168ad2bd663d343cbd191894dd4127fd24120d0d9ab58566973cdfa45baaf4530ddebbcc2a28b39bfc85d1c881b9", 0xb8, 0x8}, &(0x7f0000000700)={0x0, 0x0, 0x0, 0x7, 0x1, r7, &(0x7f0000000600)="697ab65b8c4938b43c5847be4e6028e1973ff79fb309b5e029661e06e0cfbe787f2c4a2c80ca749bb0b90636343a19e05455e95908150e5a59176688948de4aae0d0b6ee18ec5cbb5535fd62b50a3e60e23c8ab7eca05014db5fd7c30790b024a0e7727257caa1d6aeb8670ccc793fdaf31e810cdf5978ac4c81bc31649fd5e68e595a639afeeaa29cb2deac0d27350f22085cc57ce2b48cc941beadb3a83e9a667009baaddd95fa901fc43f2714b704237867740b5ae0a1b5aa3e9751e09c830387a79cf830ae1d288a1130566b3ae8c7784de190b4bd370665e63fdcf09d2e20a64d7dcf6d283fb9d5544c1132", 0xee, 0x0, 0x0, 0x3, r8}, &(0x7f0000000800)={0x0, 0x0, 0x0, 0x2, 0xff5c, r1, &(0x7f0000000740)="9d3b405c3e488b874c79b7b123c0f21f22081d17667c118a0d20f98a9333dd72e7aaab4c5750ccbd90a7d6a2bc2ca84de0802aa998a6efe8ef1098bd9c244e250d44a897a05a6825ecceecf6fd1959270c3c3c6cc3a8a773e158051c3d5698f0f21df3a145dd21f2d01b75e146d30caff707e50f30a870481c05ee7539375c07433d2c04f6f498174d9b81f80f532c", 0x8f, 0x401, 0x0, 0x0, r4}]) ioctl$TCSETSF2(r5, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:16 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000a000800", 0x0, 0x2}) 00:10:16 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012a70000960000000800", 0x0, 0x2}) 00:10:16 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async, rerun: 64) ioctl$BTRFS_IOC_ADD_DEV(r0, 0x5000940a, &(0x7f0000000880)={{r0}, "9d48614a8d5077c007083ae13c459c7841e960f9ec0eca9a0fbe397157d96e43235b3c63d31407d04d696446e2eedd5e1e9f7afc9b0e1872eec04b27b06cb92c1e44c6f38297349d94befae1998934ae478c054a153d032f72935e170bc3f4de6b62cef975c45b14322a822b3949c14a4c960226841a16f348060eec9a2fa736d48151988f823965ad5d253dd5d5c40abc6ad08399a6cf9ea7292928e4b17d46fbd6348b09b7996878137bb44a101785c83cc423d57ec75d71816d963a8b720ed8e6b09cf5c80350e6269cb8dda11787a03c5e9091b051bfcd022a498cb5335257988d50a9c2943942e584344c92e3c5c62efa7a47d2d41cecb447591321b1486e64c97f208cddad5acf0eb90d4c8a0d2df4bf8fd4e2320ac92402a79aab4ea935a35df55b3334e4180bb8a204f94ca141ab23349fad0b762d80a691ecabca818ea66d7138cf21de1d6651663c5806e4434f1cc1eafcd867e954f1d25cd16b5edc0c7da8436c40deb7d8511100afc974abebb01accae6855d17cf84d275dd4fb1d39eb31c427fdc1074101106697ce982e5df2b26e16902fe9fcd8aa0b10ae8a3f69d59400d7b209efb4b8c664240ebc8e875e8004c068bd286b329ebc67287e02dac7d244ce095a914ff35440e5d7ca5ea4a34144cb6abf7c8f747d39084ab02d8f254da0296deee31c28388e344dd4adc0bd791f95b991529b0d907088fea66e6ea1dcd34cef117284a53a7706c2f7268f57999b956d2480667f06c0f35cbab59e3cdb95c3576b42262c45e5c7b0459ecdbbaa90dc2c44384527d5536c14f11ec3f65e6d592be341dd5d1c2f0cce0f5282793084d7955d069b863a694330a42ca59aaa1161bddf6f23352d17f94aad483d0669b70d06509df04aa8ea6ff2eccfe84f842fd37fb5bf35c2da3b04bbf29a98358740dd99eb815368b27d1fc4ecddf5517449a2b325ede4de713340bff51744b4ebd10306249c4ecbc38a59037a1f5d80d3445fd49be7ab966ce87db2751504004bec5ac251619f3b8e84e81cac4baf3d33c37d31181da2cd4953fd12061afe13bef470c814170d440cea0c7a49aae14bc730b8fd32a5ce4f57a1880ec7e33392775a9aaa6093e01adfc5e9149addd72c4c629ee6544a1d1f5da7d87afcf6142ecd8ce683256e6c6fb8fb181907dd2b1e646d25166e29bc7a74683632db1f183e3d31427617988836703de1553c741b019abd6184ef2c14549487f3515d98ec346f8d436c860372cbd0d966a37f51a532619decf11f5c55924fa237113398f21dee313a49ad3565c7ae8605864a9908096e5761bbb752d2b9a40a8304073cf9b63b71210a9d79deb63b439f9e9b0294edf75812e2bdfded5fcc7353cdaf66cf774c82acb5a517e0f8bec9bc79d0af0035c573e91bca9263b0a12652804a0a3d61ab4954ac1a15f64cd85a0188526ff0921495a679b8c8cfd4a931f9c809d0086150879975269ed76c0bbfc90611a1aa05d64563f53baf86355bc59cb3733f81187018cd5e62e4be9a5865f188a88c1c61cff7f9d4674196a5feed49ecc6c89ba53dfa27b7680a374ceafd66dda14ac1f5118a2053e99c3dc2ad76ffd97bccccb59c2f2a860556ab1a1588e3ad07fbd5c8c933e4afaead2fb8b09789ab414d0c50c33ec9302965832be5bcb72930f78e518a485d1d8b8a9382f6bb5415d8cc12398d45ecbec252d80d23e83a2830acd7a4c79d2e007ac0af0cce348d4de7d909fea5045f6280ae47964a3c663f9c98b553a620026275dbd9bb34c385af1468e58875a20dd59d1dfb152dc1eb3f5d3f5bb1ab4efd799afef368801919f69f9723dc64189cca160694935e033574e76651dca6b05c345dd234435489723f1b16a2f6f23108b556dbeb15b943e148fe227cb4dcee49e57b04b108ed5578f7a3a79fda5640c00eeb7586a3900a679297a71463d6f6f8595c36598eed720b2ec0d4dd3850ac3481e6c9b71d87978b9ab652f818183b157fd0227608c1ed03dfa41b2aa354b0b60a1d1b1de7b3c9b191896c6b71bee854385ae5dff7931cee92484835cb82ccbf74b614c103c0d8109089f4cdacf6efc9dcead6a66d94163998c11de147310b0ab503ec8b7fe535d70c9e8c0b6b9b91f67ebed6419739824e99d78fb5a485e169af98daa288423949cf481d7153e0d75ec42770d7a020b0c5f27c57f69723cc599af379b52eab1fb7b5f933851a3477fa5ac704666106b1d0e5dab7de9d5e5266024c3ecbf30d100242ee1b4c6769db4dd248ba8b8c3c0cc42b523c8428fe319b63fa72518962efddca679439b470fcba78d7ba4a30d489d37163a00965ea6f6c1ff833a3654eb7781dd06bd9b37eb3a16f306dfe12e2244bffd9386b6931e69978638fbdce6db276ac6bc17df99b4e841e4cb3c11bd4fdb677592412a86ce59fbd429132c9f4faf98fdd0a3d4655a320a811f3d66f7ac0b18c5d56a96adc2175ce3296f0bbf577c4419496e6ab7a16bbb86233a53c166ee01859aaddcfa964c21fe342012753f1ab7e9165e040ede2fef43a2b5d9943964f219b5a57fe98cc962016007dfa895bd8f69f53fbbe3552cdd45aa2858463386d9f8e02312a1f93da7b080f9bb09d6cf16d7d8f0b85bd61b5dbde25faffb692bf17aad3a4c10976b1eaf044cfb84e274b226baeed2f77fbaa3662eedad1a27ce67d628b709ecc0cc6d07e6c4da8330afebad8b47caf1547a4c9f22c77f7eec0f694337261cbe58769f84a1b83b856c36d4a2256ec47587acc157c1497ab24e5aa19530b9bd3395b5d7094d25751263c8f4d1f6e87e89e653ffbf49b201f3c0029ba63ba428df28a240772c8115e06065b68df556ec2a6f2a045f1a99eb2a9f856695cbe3a3a5b3120d8d47f1a5805c8006985c51c9bb7fd9c1c05c23a95434184f4c7c631630dac57b408fb2f1e725427d91569074dee62a980f6bc6d1211c3f39a14819b2dca3f07d0c1e6216bb93a450b2b9a6dccbb151199514aa6d533eb06c8fc3333916627104eb681ae3c39ff6107341b278499683ad95bc7e4f069131ac879624611fcd0959eaf171d85f15a32dfb0e7a5a415c7668ed5e4cd545a04efd872b752db027b49f008bd208507f103e5b07fd9cba73259b2b2d5a8bfc41befc086a67feb78f3dec787ce9efa9a02b011ae8cbf0ccff3d4352ade032bdbf9aef3ed29d372580a84372f97006ed7b51df9263d6ec14194f9557570dbf383520534a04abfa0a8406a04d5ae770b641fa4c22ad9b8d689e0506c8c959bef56bb3f598e976d888157badfad378c2e903dd161fe040c87062d5569a8df6aa9df24e1842fbfd4e46f6331dc17e7786389d5048830fa2c154385f86a03662238d999539fb6096a16317e35f5db5371f9c6de6a972ddd732173651c4b79131af2d28821fd628c1abf512f8851dad8c16d4b420ab91c75207b63c9a4ef40359b81be5ef9c1e2e211c537f0426f9d71956bc14b716d687d3c103cb756271602bdd617c708adb95441e342591d4af6828ef6e7103d5b6f74d6f6e6232940b6629f4177817f129c1e2b8b1895c452a278873636d9b386a86ad8e8b9fcd47664a78eef2fce49516b88095348ab8c4471f82932b7f19c278b8d91171a7555e7186d5a9cf10f39f7cdc6acf232e750e43fe3e7c12be5095fc7167f0cedc052ae7acd57c92fb9f8351b4192ff112b34c731ba3e71af3a8cc0da9e827ad60fa92285b599225be03f60466b358846645dcce91ebf2700d903d864d2a42114ce9a3ab815e8b53b4ad3315e5f4080cdcb1a2546a8328d47fa6237666ad90822fbb07e0e48ead2303fdc1e3ab7a3eabb6a9a65d662a055bc036a255c4fafcdda498993b94346c857c8136ea09c0ea2374d050da8c53ef6d679ce3dc9e0d9da4b7d327811db72f70a01d8b7bdb585d2c77bc1d857d3e7919ca96030f942c241527f23993770cde13b25b2263dfa45db6403eddd34842c95e033b3f9d04553b186a25d3f1919b8ed4da7b222ce0a780a0af83cddb5b768f59fa120e7848cd37be5061c7bc2420fc3badad9f7889b89d81772f882467b3c2f7f4db21e738a03d4930a80aa380dadc2c4b56f2d0a9a3e2bba41147ed1fdc1fe42ffa26a39ff41be6996d0ea62850d15e340339270d25b2579cfad4872454479f30cabd1366be647ad2234c305b15211b1287f91f73a4e486c53d7c76686ab74a835c80d1867cce66fb3d49eccf89a7aef0fa3202fc666e04b0f3f65e62b3c0ca7c160414b13bd820854987f21c3b7117ff87631c9e49f2b0ad4ce0d51d349be3915baf52dde31e99c6b6b020ef354a6ef966b43120b07fa3195eec10accdb8e2dac931aa47a0b8292bb2a04dff15b445ce9e06c4e1129960aa3ec54c1a8109ffe8b022197a4005e2d3438f23f55f8df761fb3bd06af18eb11aa58bff44979459d6e608161618342d4ece95c29d46b6cfdc99e1ea67cdd4b80204ef1a3613f65b460dcfaba9cb158a010282deb2c9ab20d7bf77030e6f173a6b97a0fcd494639fbeca0fba8efdf48e6cb7e2815c90e7432eb42c713c86af772e2e9667d4423024b3de8592f79b4245815765c7dffa80654e7950e784def134acd80bebd8b1f9b53f2e807f2d4e87baee54af77bcfe177567af2bea08b938a4e2279df285350fe0be12fdc9ca3edc226ba53dc553ca67afe1633f5acd1c8ec5336d14164ae4811a959bcc793c1d8e244bb28a80451953357411a33b6b31d43d098c8d3c91ee831bd2b27aa4c27ec75143d1cfe2f349f1ba0d643c0d71c77c7daef0d90c627e69589d64fad00c9f06b6a3544902fc12bb46b4f949e7ca73ce846c2c91de1566a4c9fb1c36f64fa2d63eedd5f680b5b4e8d0c6683aa0532a6bc51ddeedee4532139532e637bfc0361d77ac3353d52dd0c0113d4e3299632c7f6bbde4ec4a452f98ec1e50ab551169dfd02f38d21732b06e7b7ba6af3f36da56f656c93485a3efeea06f752ce0dba0c58aa1bb7e243caa002dc878558da4dfa614a5b2dbc3cc048d484024c292987d341ad83e57e917a6401268b732717eaec5915fd82b96300b04eafc6234c5c79b738a028d59d39ff2838204d7aeb8df9a224f284200fd3415d3df5b7836546743525976818e996802f6729335df18fec52f649e24a6dd278f3d9305bcc719e0805143345f11b841bcdd62bf41962b908c4220059f64f5c0b505860fe6a38188729cfa370c6a80e3c9ac636801e11808e903807da3221111cfb4c190f871a4f0691d4f08acf2d33dd33975807ec692b15ef7381d3822986cb23aa6f7456448a1a759ce2a43a78980fbff6576004b0312f621d1e51e43082b390bb4893b5258fa5c6467f8e9a7f74f4f00b66fd6782b5ff2eb212252b852b8a049bef7c832e48b996e02dc98343864b347bc0c6ca5ff1947e462496e962c3b57cb03f0fe5a2a0cc0f456e8c5affb90c06053644d59b994b8c020520e79228599a7c2a08556dbf7575500a3d7b9cdfb5b9b4b7e87624f1dafe84481148413de77f3b495910f9957caf78b19cbf9fa978f2f2ef6450784267f5594b058756c9cd2c7730e7bbac2392ea08dd2901fba0f23ea7997b3221ec35cbf9686c4490c7f66d57f25d2a6a396d03a47523d96155b0379c235ccf5e37c7cd6bc3fd1a96551972bc6ea8b5ec331b805aa8c563b1ebb17f8ff90412d2ecc703bb5fabc11cce025b5ea71acf68ab5f9350fb7dbaf08bd1409c21cc3eba58356117236d6c7ed3952d443aca78648616d6a87548627d63388b186fd2a51a600faf51bf7b8d2796"}) (async, rerun: 64) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x3, 0x0, 0x0, 0xffffffff, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) r3 = openat$zero(0xffffffffffffff9c, &(0x7f00000000c0), 0x2, 0x0) write(r3, 0x0, 0x31) (async) bpf$MAP_UPDATE_ELEM(0x2, &(0x7f0000000280)={r3, &(0x7f0000000180)="5403f2e86c1eb9c6423228220f72b0daca7b1e16210f3f7d3f3bff0176a23928f32c144c3eafe4cfa2c2a0bc0fdfdaff52f70e9fa8ee7d3de2d5a08277d232ec53b63cd2846ea32fa9190e84cd6d8c1e6ba602f4caeda41b5c3c4b18a6498482a9b1b1e49046f8222342e2bea29f79c2522254bf1c203128ccd780e4a2da9a698851262a34c7321b4b654fb3253a9d1abade3568d1ea71b89eb6909ba08b3f", &(0x7f0000000240)=@tcp6, 0x1}, 0x20) (async, rerun: 64) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async, rerun: 64) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f00000000c0)='/proc/timer_list\x00', 0x0, 0x0) ioctl$FIONREAD(r4, 0x541b, &(0x7f0000000140)) ioctl$TIOCSTI(r4, 0x5412, &(0x7f0000000100)=0x20) ioctl$AUTOFS_DEV_IOCTL_REQUESTER(0xffffffffffffffff, 0xc018937b, &(0x7f0000001880)=ANY=[@ANYBLOB="010000000100000018000000b1b85d8dc99d346aaa02d910463b75b202d4b43db7f70cfc8813e355a5a4361dbdec2b5dc95c7604000000bbb9d6c0ac38f9b85cabc51cab072d90dabba1e9a6c6bc8027e482d5c4763356019f5955f13e81b49f14054cc4aad249a6c6b6dd8cfe39d53cfe2f345f1ce17895215a63628156da11f65e978b504fba578c634d87bf90abd9498a68", @ANYRES32=r2, @ANYRES32, @ANYRES32, @ANYBLOB='./file0\x00']) (async) r6 = openat$urandom(0xffffffffffffff9c, &(0x7f0000000480), 0xf09c990695b58291, 0x0) (async) r7 = syz_open_dev$usbmon(&(0x7f00000005c0), 0x0, 0x290500) (async) r8 = openat$zero(0xffffffffffffff9c, &(0x7f00000000c0), 0x2, 0x0) write(r8, 0x0, 0x31) (async) io_submit(0x0, 0x5, &(0x7f0000000840)=[&(0x7f00000003c0)={0x0, 0x0, 0x0, 0x0, 0x7, r1, &(0x7f00000002c0)="648e041484251cd206a979c319bbacfff89e5727116a95831067461911a5acadf608e010569eb64b0c06f952144cc42e091fa66fc26eb2742d85abd80f5ac97f14e83de2d2952b7d58e447d1384daffff5bd658952de77ca4282e31cdcd3cd545e512a034731b8eb1654d7acb762255ea723aa3eed5f99479bc0929669ad42e1b4eb3b6e9a22908edbf3e629e8627ddf55e823cdad128dc25204fb72f781713e8bf9b705c8bae6c3f08a1d557a6a7d53dee060948dee923ab796b8b8be70f213b2d7c3520f4d56b097fd3735bffc51e9399c7a64816d807d384bbf42db89828aeb221468a22379", 0xe7, 0x12a, 0x0, 0x2, r5}, &(0x7f0000000440)={0x0, 0x0, 0x0, 0x5, 0x2db, r2, &(0x7f0000000400)="1ac9df2b2a993bd4fd7e91760107c2e54f318a9866a6cd28bb5906e1129d1d89df38bd3303ac34e08cc99cd38ed97ca723deab31a39dbd4cc94311", 0x3b, 0x186, 0x0, 0x1, r4}, &(0x7f0000000580)={0x0, 0x0, 0x0, 0x7, 0x1, r6, &(0x7f00000004c0)="de24dbb9db56d10e1b08395a1357a9d10639eebd510b018d03fde89aba9a31b80d0344779eb566b32bda6559457ca6d6eeff3d7b6cd01d8d373a3090a2df66681396d67ef08659b00bbb032c897055df9f6e2f6e119bda7497d8e8250e04339dd4f8f8e91c9c17b9a89edf729e0254f73c522c72fb1285e1a80017a7fa05d1a880d26d8f901780ce637b168ad2bd663d343cbd191894dd4127fd24120d0d9ab58566973cdfa45baaf4530ddebbcc2a28b39bfc85d1c881b9", 0xb8, 0x8}, &(0x7f0000000700)={0x0, 0x0, 0x0, 0x7, 0x1, r7, &(0x7f0000000600)="697ab65b8c4938b43c5847be4e6028e1973ff79fb309b5e029661e06e0cfbe787f2c4a2c80ca749bb0b90636343a19e05455e95908150e5a59176688948de4aae0d0b6ee18ec5cbb5535fd62b50a3e60e23c8ab7eca05014db5fd7c30790b024a0e7727257caa1d6aeb8670ccc793fdaf31e810cdf5978ac4c81bc31649fd5e68e595a639afeeaa29cb2deac0d27350f22085cc57ce2b48cc941beadb3a83e9a667009baaddd95fa901fc43f2714b704237867740b5ae0a1b5aa3e9751e09c830387a79cf830ae1d288a1130566b3ae8c7784de190b4bd370665e63fdcf09d2e20a64d7dcf6d283fb9d5544c1132", 0xee, 0x0, 0x0, 0x3, r8}, &(0x7f0000000800)={0x0, 0x0, 0x0, 0x2, 0xff5c, r1, &(0x7f0000000740)="9d3b405c3e488b874c79b7b123c0f21f22081d17667c118a0d20f98a9333dd72e7aaab4c5750ccbd90a7d6a2bc2ca84de0802aa998a6efe8ef1098bd9c244e250d44a897a05a6825ecceecf6fd1959270c3c3c6cc3a8a773e158051c3d5698f0f21df3a145dd21f2d01b75e146d30caff707e50f30a870481c05ee7539375c07433d2c04f6f498174d9b81f80f532c", 0x8f, 0x401, 0x0, 0x0, r4}]) (async) ioctl$TCSETSF2(r5, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:16 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000050000960000000800", 0x0, 0x2}) 00:10:16 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$BTRFS_IOC_ADD_DEV(r0, 0x5000940a, &(0x7f0000000880)={{r0}, "9d48614a8d5077c007083ae13c459c7841e960f9ec0eca9a0fbe397157d96e43235b3c63d31407d04d696446e2eedd5e1e9f7afc9b0e1872eec04b27b06cb92c1e44c6f38297349d94befae1998934ae478c054a153d032f72935e170bc3f4de6b62cef975c45b14322a822b3949c14a4c960226841a16f348060eec9a2fa736d48151988f823965ad5d253dd5d5c40abc6ad08399a6cf9ea7292928e4b17d46fbd6348b09b7996878137bb44a101785c83cc423d57ec75d71816d963a8b720ed8e6b09cf5c80350e6269cb8dda11787a03c5e9091b051bfcd022a498cb5335257988d50a9c2943942e584344c92e3c5c62efa7a47d2d41cecb447591321b1486e64c97f208cddad5acf0eb90d4c8a0d2df4bf8fd4e2320ac92402a79aab4ea935a35df55b3334e4180bb8a204f94ca141ab23349fad0b762d80a691ecabca818ea66d7138cf21de1d6651663c5806e4434f1cc1eafcd867e954f1d25cd16b5edc0c7da8436c40deb7d8511100afc974abebb01accae6855d17cf84d275dd4fb1d39eb31c427fdc1074101106697ce982e5df2b26e16902fe9fcd8aa0b10ae8a3f69d59400d7b209efb4b8c664240ebc8e875e8004c068bd286b329ebc67287e02dac7d244ce095a914ff35440e5d7ca5ea4a34144cb6abf7c8f747d39084ab02d8f254da0296deee31c28388e344dd4adc0bd791f95b991529b0d907088fea66e6ea1dcd34cef117284a53a7706c2f7268f57999b956d2480667f06c0f35cbab59e3cdb95c3576b42262c45e5c7b0459ecdbbaa90dc2c44384527d5536c14f11ec3f65e6d592be341dd5d1c2f0cce0f5282793084d7955d069b863a694330a42ca59aaa1161bddf6f23352d17f94aad483d0669b70d06509df04aa8ea6ff2eccfe84f842fd37fb5bf35c2da3b04bbf29a98358740dd99eb815368b27d1fc4ecddf5517449a2b325ede4de713340bff51744b4ebd10306249c4ecbc38a59037a1f5d80d3445fd49be7ab966ce87db2751504004bec5ac251619f3b8e84e81cac4baf3d33c37d31181da2cd4953fd12061afe13bef470c814170d440cea0c7a49aae14bc730b8fd32a5ce4f57a1880ec7e33392775a9aaa6093e01adfc5e9149addd72c4c629ee6544a1d1f5da7d87afcf6142ecd8ce683256e6c6fb8fb181907dd2b1e646d25166e29bc7a74683632db1f183e3d31427617988836703de1553c741b019abd6184ef2c14549487f3515d98ec346f8d436c860372cbd0d966a37f51a532619decf11f5c55924fa237113398f21dee313a49ad3565c7ae8605864a9908096e5761bbb752d2b9a40a8304073cf9b63b71210a9d79deb63b439f9e9b0294edf75812e2bdfded5fcc7353cdaf66cf774c82acb5a517e0f8bec9bc79d0af0035c573e91bca9263b0a12652804a0a3d61ab4954ac1a15f64cd85a0188526ff0921495a679b8c8cfd4a931f9c809d0086150879975269ed76c0bbfc90611a1aa05d64563f53baf86355bc59cb3733f81187018cd5e62e4be9a5865f188a88c1c61cff7f9d4674196a5feed49ecc6c89ba53dfa27b7680a374ceafd66dda14ac1f5118a2053e99c3dc2ad76ffd97bccccb59c2f2a860556ab1a1588e3ad07fbd5c8c933e4afaead2fb8b09789ab414d0c50c33ec9302965832be5bcb72930f78e518a485d1d8b8a9382f6bb5415d8cc12398d45ecbec252d80d23e83a2830acd7a4c79d2e007ac0af0cce348d4de7d909fea5045f6280ae47964a3c663f9c98b553a620026275dbd9bb34c385af1468e58875a20dd59d1dfb152dc1eb3f5d3f5bb1ab4efd799afef368801919f69f9723dc64189cca160694935e033574e76651dca6b05c345dd234435489723f1b16a2f6f23108b556dbeb15b943e148fe227cb4dcee49e57b04b108ed5578f7a3a79fda5640c00eeb7586a3900a679297a71463d6f6f8595c36598eed720b2ec0d4dd3850ac3481e6c9b71d87978b9ab652f818183b157fd0227608c1ed03dfa41b2aa354b0b60a1d1b1de7b3c9b191896c6b71bee854385ae5dff7931cee92484835cb82ccbf74b614c103c0d8109089f4cdacf6efc9dcead6a66d94163998c11de147310b0ab503ec8b7fe535d70c9e8c0b6b9b91f67ebed6419739824e99d78fb5a485e169af98daa288423949cf481d7153e0d75ec42770d7a020b0c5f27c57f69723cc599af379b52eab1fb7b5f933851a3477fa5ac704666106b1d0e5dab7de9d5e5266024c3ecbf30d100242ee1b4c6769db4dd248ba8b8c3c0cc42b523c8428fe319b63fa72518962efddca679439b470fcba78d7ba4a30d489d37163a00965ea6f6c1ff833a3654eb7781dd06bd9b37eb3a16f306dfe12e2244bffd9386b6931e69978638fbdce6db276ac6bc17df99b4e841e4cb3c11bd4fdb677592412a86ce59fbd429132c9f4faf98fdd0a3d4655a320a811f3d66f7ac0b18c5d56a96adc2175ce3296f0bbf577c4419496e6ab7a16bbb86233a53c166ee01859aaddcfa964c21fe342012753f1ab7e9165e040ede2fef43a2b5d9943964f219b5a57fe98cc962016007dfa895bd8f69f53fbbe3552cdd45aa2858463386d9f8e02312a1f93da7b080f9bb09d6cf16d7d8f0b85bd61b5dbde25faffb692bf17aad3a4c10976b1eaf044cfb84e274b226baeed2f77fbaa3662eedad1a27ce67d628b709ecc0cc6d07e6c4da8330afebad8b47caf1547a4c9f22c77f7eec0f694337261cbe58769f84a1b83b856c36d4a2256ec47587acc157c1497ab24e5aa19530b9bd3395b5d7094d25751263c8f4d1f6e87e89e653ffbf49b201f3c0029ba63ba428df28a240772c8115e06065b68df556ec2a6f2a045f1a99eb2a9f856695cbe3a3a5b3120d8d47f1a5805c8006985c51c9bb7fd9c1c05c23a95434184f4c7c631630dac57b408fb2f1e725427d91569074dee62a980f6bc6d1211c3f39a14819b2dca3f07d0c1e6216bb93a450b2b9a6dccbb151199514aa6d533eb06c8fc3333916627104eb681ae3c39ff6107341b278499683ad95bc7e4f069131ac879624611fcd0959eaf171d85f15a32dfb0e7a5a415c7668ed5e4cd545a04efd872b752db027b49f008bd208507f103e5b07fd9cba73259b2b2d5a8bfc41befc086a67feb78f3dec787ce9efa9a02b011ae8cbf0ccff3d4352ade032bdbf9aef3ed29d372580a84372f97006ed7b51df9263d6ec14194f9557570dbf383520534a04abfa0a8406a04d5ae770b641fa4c22ad9b8d689e0506c8c959bef56bb3f598e976d888157badfad378c2e903dd161fe040c87062d5569a8df6aa9df24e1842fbfd4e46f6331dc17e7786389d5048830fa2c154385f86a03662238d999539fb6096a16317e35f5db5371f9c6de6a972ddd732173651c4b79131af2d28821fd628c1abf512f8851dad8c16d4b420ab91c75207b63c9a4ef40359b81be5ef9c1e2e211c537f0426f9d71956bc14b716d687d3c103cb756271602bdd617c708adb95441e342591d4af6828ef6e7103d5b6f74d6f6e6232940b6629f4177817f129c1e2b8b1895c452a278873636d9b386a86ad8e8b9fcd47664a78eef2fce49516b88095348ab8c4471f82932b7f19c278b8d91171a7555e7186d5a9cf10f39f7cdc6acf232e750e43fe3e7c12be5095fc7167f0cedc052ae7acd57c92fb9f8351b4192ff112b34c731ba3e71af3a8cc0da9e827ad60fa92285b599225be03f60466b358846645dcce91ebf2700d903d864d2a42114ce9a3ab815e8b53b4ad3315e5f4080cdcb1a2546a8328d47fa6237666ad90822fbb07e0e48ead2303fdc1e3ab7a3eabb6a9a65d662a055bc036a255c4fafcdda498993b94346c857c8136ea09c0ea2374d050da8c53ef6d679ce3dc9e0d9da4b7d327811db72f70a01d8b7bdb585d2c77bc1d857d3e7919ca96030f942c241527f23993770cde13b25b2263dfa45db6403eddd34842c95e033b3f9d04553b186a25d3f1919b8ed4da7b222ce0a780a0af83cddb5b768f59fa120e7848cd37be5061c7bc2420fc3badad9f7889b89d81772f882467b3c2f7f4db21e738a03d4930a80aa380dadc2c4b56f2d0a9a3e2bba41147ed1fdc1fe42ffa26a39ff41be6996d0ea62850d15e340339270d25b2579cfad4872454479f30cabd1366be647ad2234c305b15211b1287f91f73a4e486c53d7c76686ab74a835c80d1867cce66fb3d49eccf89a7aef0fa3202fc666e04b0f3f65e62b3c0ca7c160414b13bd820854987f21c3b7117ff87631c9e49f2b0ad4ce0d51d349be3915baf52dde31e99c6b6b020ef354a6ef966b43120b07fa3195eec10accdb8e2dac931aa47a0b8292bb2a04dff15b445ce9e06c4e1129960aa3ec54c1a8109ffe8b022197a4005e2d3438f23f55f8df761fb3bd06af18eb11aa58bff44979459d6e608161618342d4ece95c29d46b6cfdc99e1ea67cdd4b80204ef1a3613f65b460dcfaba9cb158a010282deb2c9ab20d7bf77030e6f173a6b97a0fcd494639fbeca0fba8efdf48e6cb7e2815c90e7432eb42c713c86af772e2e9667d4423024b3de8592f79b4245815765c7dffa80654e7950e784def134acd80bebd8b1f9b53f2e807f2d4e87baee54af77bcfe177567af2bea08b938a4e2279df285350fe0be12fdc9ca3edc226ba53dc553ca67afe1633f5acd1c8ec5336d14164ae4811a959bcc793c1d8e244bb28a80451953357411a33b6b31d43d098c8d3c91ee831bd2b27aa4c27ec75143d1cfe2f349f1ba0d643c0d71c77c7daef0d90c627e69589d64fad00c9f06b6a3544902fc12bb46b4f949e7ca73ce846c2c91de1566a4c9fb1c36f64fa2d63eedd5f680b5b4e8d0c6683aa0532a6bc51ddeedee4532139532e637bfc0361d77ac3353d52dd0c0113d4e3299632c7f6bbde4ec4a452f98ec1e50ab551169dfd02f38d21732b06e7b7ba6af3f36da56f656c93485a3efeea06f752ce0dba0c58aa1bb7e243caa002dc878558da4dfa614a5b2dbc3cc048d484024c292987d341ad83e57e917a6401268b732717eaec5915fd82b96300b04eafc6234c5c79b738a028d59d39ff2838204d7aeb8df9a224f284200fd3415d3df5b7836546743525976818e996802f6729335df18fec52f649e24a6dd278f3d9305bcc719e0805143345f11b841bcdd62bf41962b908c4220059f64f5c0b505860fe6a38188729cfa370c6a80e3c9ac636801e11808e903807da3221111cfb4c190f871a4f0691d4f08acf2d33dd33975807ec692b15ef7381d3822986cb23aa6f7456448a1a759ce2a43a78980fbff6576004b0312f621d1e51e43082b390bb4893b5258fa5c6467f8e9a7f74f4f00b66fd6782b5ff2eb212252b852b8a049bef7c832e48b996e02dc98343864b347bc0c6ca5ff1947e462496e962c3b57cb03f0fe5a2a0cc0f456e8c5affb90c06053644d59b994b8c020520e79228599a7c2a08556dbf7575500a3d7b9cdfb5b9b4b7e87624f1dafe84481148413de77f3b495910f9957caf78b19cbf9fa978f2f2ef6450784267f5594b058756c9cd2c7730e7bbac2392ea08dd2901fba0f23ea7997b3221ec35cbf9686c4490c7f66d57f25d2a6a396d03a47523d96155b0379c235ccf5e37c7cd6bc3fd1a96551972bc6ea8b5ec331b805aa8c563b1ebb17f8ff90412d2ecc703bb5fabc11cce025b5ea71acf68ab5f9350fb7dbaf08bd1409c21cc3eba58356117236d6c7ed3952d443aca78648616d6a87548627d63388b186fd2a51a600faf51bf7b8d2796"}) (async, rerun: 32) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x3, 0x0, 0x0, 0xffffffff, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async, rerun: 32) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) r3 = openat$zero(0xffffffffffffff9c, &(0x7f00000000c0), 0x2, 0x0) write(r3, 0x0, 0x31) (async, rerun: 32) bpf$MAP_UPDATE_ELEM(0x2, &(0x7f0000000280)={r3, &(0x7f0000000180)="5403f2e86c1eb9c6423228220f72b0daca7b1e16210f3f7d3f3bff0176a23928f32c144c3eafe4cfa2c2a0bc0fdfdaff52f70e9fa8ee7d3de2d5a08277d232ec53b63cd2846ea32fa9190e84cd6d8c1e6ba602f4caeda41b5c3c4b18a6498482a9b1b1e49046f8222342e2bea29f79c2522254bf1c203128ccd780e4a2da9a698851262a34c7321b4b654fb3253a9d1abade3568d1ea71b89eb6909ba08b3f", &(0x7f0000000240)=@tcp6, 0x1}, 0x20) (async, rerun: 32) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async, rerun: 32) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f00000000c0)='/proc/timer_list\x00', 0x0, 0x0) (rerun: 32) ioctl$FIONREAD(r4, 0x541b, &(0x7f0000000140)) (async, rerun: 32) ioctl$TIOCSTI(r4, 0x5412, &(0x7f0000000100)=0x20) (async, rerun: 32) ioctl$AUTOFS_DEV_IOCTL_REQUESTER(0xffffffffffffffff, 0xc018937b, &(0x7f0000001880)=ANY=[@ANYBLOB="010000000100000018000000b1b85d8dc99d346aaa02d910463b75b202d4b43db7f70cfc8813e355a5a4361dbdec2b5dc95c7604000000bbb9d6c0ac38f9b85cabc51cab072d90dabba1e9a6c6bc8027e482d5c4763356019f5955f13e81b49f14054cc4aad249a6c6b6dd8cfe39d53cfe2f345f1ce17895215a63628156da11f65e978b504fba578c634d87bf90abd9498a68", @ANYRES32=r2, @ANYRES32, @ANYRES32, @ANYBLOB='./file0\x00']) r6 = openat$urandom(0xffffffffffffff9c, &(0x7f0000000480), 0xf09c990695b58291, 0x0) (async, rerun: 32) r7 = syz_open_dev$usbmon(&(0x7f00000005c0), 0x0, 0x290500) (rerun: 32) r8 = openat$zero(0xffffffffffffff9c, &(0x7f00000000c0), 0x2, 0x0) write(r8, 0x0, 0x31) (async) io_submit(0x0, 0x5, &(0x7f0000000840)=[&(0x7f00000003c0)={0x0, 0x0, 0x0, 0x0, 0x7, r1, &(0x7f00000002c0)="648e041484251cd206a979c319bbacfff89e5727116a95831067461911a5acadf608e010569eb64b0c06f952144cc42e091fa66fc26eb2742d85abd80f5ac97f14e83de2d2952b7d58e447d1384daffff5bd658952de77ca4282e31cdcd3cd545e512a034731b8eb1654d7acb762255ea723aa3eed5f99479bc0929669ad42e1b4eb3b6e9a22908edbf3e629e8627ddf55e823cdad128dc25204fb72f781713e8bf9b705c8bae6c3f08a1d557a6a7d53dee060948dee923ab796b8b8be70f213b2d7c3520f4d56b097fd3735bffc51e9399c7a64816d807d384bbf42db89828aeb221468a22379", 0xe7, 0x12a, 0x0, 0x2, r5}, &(0x7f0000000440)={0x0, 0x0, 0x0, 0x5, 0x2db, r2, &(0x7f0000000400)="1ac9df2b2a993bd4fd7e91760107c2e54f318a9866a6cd28bb5906e1129d1d89df38bd3303ac34e08cc99cd38ed97ca723deab31a39dbd4cc94311", 0x3b, 0x186, 0x0, 0x1, r4}, &(0x7f0000000580)={0x0, 0x0, 0x0, 0x7, 0x1, r6, &(0x7f00000004c0)="de24dbb9db56d10e1b08395a1357a9d10639eebd510b018d03fde89aba9a31b80d0344779eb566b32bda6559457ca6d6eeff3d7b6cd01d8d373a3090a2df66681396d67ef08659b00bbb032c897055df9f6e2f6e119bda7497d8e8250e04339dd4f8f8e91c9c17b9a89edf729e0254f73c522c72fb1285e1a80017a7fa05d1a880d26d8f901780ce637b168ad2bd663d343cbd191894dd4127fd24120d0d9ab58566973cdfa45baaf4530ddebbcc2a28b39bfc85d1c881b9", 0xb8, 0x8}, &(0x7f0000000700)={0x0, 0x0, 0x0, 0x7, 0x1, r7, &(0x7f0000000600)="697ab65b8c4938b43c5847be4e6028e1973ff79fb309b5e029661e06e0cfbe787f2c4a2c80ca749bb0b90636343a19e05455e95908150e5a59176688948de4aae0d0b6ee18ec5cbb5535fd62b50a3e60e23c8ab7eca05014db5fd7c30790b024a0e7727257caa1d6aeb8670ccc793fdaf31e810cdf5978ac4c81bc31649fd5e68e595a639afeeaa29cb2deac0d27350f22085cc57ce2b48cc941beadb3a83e9a667009baaddd95fa901fc43f2714b704237867740b5ae0a1b5aa3e9751e09c830387a79cf830ae1d288a1130566b3ae8c7784de190b4bd370665e63fdcf09d2e20a64d7dcf6d283fb9d5544c1132", 0xee, 0x0, 0x0, 0x3, r8}, &(0x7f0000000800)={0x0, 0x0, 0x0, 0x2, 0xff5c, r1, &(0x7f0000000740)="9d3b405c3e488b874c79b7b123c0f21f22081d17667c118a0d20f98a9333dd72e7aaab4c5750ccbd90a7d6a2bc2ca84de0802aa998a6efe8ef1098bd9c244e250d44a897a05a6825ecceecf6fd1959270c3c3c6cc3a8a773e158051c3d5698f0f21df3a145dd21f2d01b75e146d30caff707e50f30a870481c05ee7539375c07433d2c04f6f498174d9b81f80f532c", 0x8f, 0x401, 0x0, 0x0, r4}]) (async) ioctl$TCSETSF2(r5, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 616.208667][T28052] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 616.210751][T28052] CPU: 0 PID: 28052 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 616.213003][T28052] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 616.213009][T28052] Call trace: [ 616.213012][T28052] dump_backtrace+0x1c4/0x1f0 [ 616.213024][T28052] show_stack+0x2c/0x54 [ 616.213031][T28052] dump_stack_lvl+0x104/0x16c [ 616.213041][T28052] dump_stack+0x1c/0x58 [ 616.213049][T28052] sysfs_create_dir_ns+0x148/0x168 [ 616.213060][T28052] kobject_add_internal+0x244/0x530 [ 616.213069][T28052] kobject_add+0xb8/0x130 [ 616.213075][T28052] device_add+0x248/0x958 [ 616.213083][T28052] device_register+0x28/0x38 [ 616.213090][T28052] tty_register_device_attr+0x1a8/0x320 [ 616.213100][T28052] tty_register_device+0x3c/0x50 [ 616.213109][T28052] gsm_activate_mux+0x9c/0x1f4 [ 616.213118][T28052] gsmld_ioctl+0x6cc/0x764 [ 616.213126][T28052] tty_ioctl+0x6c0/0x9dc [ 616.213134][T28052] __arm64_sys_ioctl+0xd0/0x140 [ 616.213144][T28052] el0_svc_common+0x138/0x220 [ 616.213153][T28052] do_el0_svc+0x48/0x164 [ 616.213161][T28052] el0_svc+0x58/0x150 [ 616.213169][T28052] el0t_64_sync_handler+0x84/0xf0 [ 616.213179][T28052] el0t_64_sync+0x18c/0x190 [ 616.214488][T28052] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:16 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000060000960000000800", 0x0, 0x2}) 00:10:16 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000125300000000960000000800", 0x0, 0x2}) 00:10:16 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = socket$inet_sctp(0x2, 0x1, 0x84) setsockopt$sock_int(r0, 0x1, 0x2f, &(0x7f0000000000)=0x8001, 0x4) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:16 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = socket$inet_sctp(0x2, 0x1, 0x84) setsockopt$sock_int(r0, 0x1, 0x2f, &(0x7f0000000000)=0x8001, 0x4) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) socket$inet_sctp(0x2, 0x1, 0x84) (async) setsockopt$sock_int(r0, 0x1, 0x2f, &(0x7f0000000000)=0x8001, 0x4) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) 00:10:16 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000070000960000000800", 0x0, 0x2}) [ 616.404498][T28069] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 616.406770][T28069] CPU: 1 PID: 28069 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 616.408918][T28069] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 616.410997][T28069] Call trace: [ 616.411674][T28069] dump_backtrace+0x1c4/0x1f0 [ 616.412597][T28069] show_stack+0x2c/0x54 [ 616.413533][T28069] dump_stack_lvl+0x104/0x16c [ 616.414569][T28069] dump_stack+0x1c/0x58 [ 616.415460][T28069] sysfs_create_dir_ns+0x148/0x168 [ 616.416577][T28069] kobject_add_internal+0x244/0x530 [ 616.417722][T28069] kobject_add+0xb8/0x130 [ 616.418650][T28069] device_add+0x248/0x958 [ 616.419576][T28069] device_register+0x28/0x38 [ 616.420670][T28069] tty_register_device_attr+0x1a8/0x320 [ 616.421837][T28069] tty_register_device+0x3c/0x50 [ 616.422922][T28069] gsm_activate_mux+0x9c/0x1f4 [ 616.423962][T28069] gsmld_ioctl+0x6cc/0x764 [ 616.424945][T28069] tty_ioctl+0x6c0/0x9dc [ 616.425794][T28069] __arm64_sys_ioctl+0xd0/0x140 [ 616.426957][T28069] el0_svc_common+0x138/0x220 [ 616.427965][T28069] do_el0_svc+0x48/0x164 [ 616.428869][T28069] el0_svc+0x58/0x150 [ 616.429664][T28069] el0t_64_sync_handler+0x84/0xf0 [ 616.430769][T28069] el0t_64_sync+0x18c/0x190 [ 616.433768][T28069] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:16 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000007312000000960000000800", 0x0, 0x2}) 00:10:16 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000090000960000000800", 0x0, 0x2}) 00:10:16 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000125400000000960000000800", 0x0, 0x2}) 00:10:16 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000b000800", 0x0, 0x2}) 00:10:16 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012a80000960000000800", 0x0, 0x2}) 00:10:16 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000a0000960000000800", 0x0, 0x2}) [ 616.806487][T28090] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 616.808790][T28090] CPU: 1 PID: 28090 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 616.810945][T28090] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 616.813343][T28090] Call trace: [ 616.814091][T28090] dump_backtrace+0x1c4/0x1f0 [ 616.815143][T28090] show_stack+0x2c/0x54 [ 616.816071][T28090] dump_stack_lvl+0x104/0x16c [ 616.817057][T28090] dump_stack+0x1c/0x58 [ 616.817986][T28090] sysfs_create_dir_ns+0x148/0x168 [ 616.819130][T28090] kobject_add_internal+0x244/0x530 [ 616.820295][T28090] kobject_add+0xb8/0x130 [ 616.821217][T28090] device_add+0x248/0x958 [ 616.822083][T28090] device_register+0x28/0x38 [ 616.822914][T28090] tty_register_device_attr+0x1a8/0x320 [ 616.823951][T28090] tty_register_device+0x3c/0x50 [ 616.824958][T28090] gsm_activate_mux+0x9c/0x1f4 [ 616.825998][T28090] gsmld_ioctl+0x6cc/0x764 [ 616.826954][T28090] tty_ioctl+0x6c0/0x9dc [ 616.827906][T28090] __arm64_sys_ioctl+0xd0/0x140 [ 616.828965][T28090] el0_svc_common+0x138/0x220 [ 616.830057][T28090] do_el0_svc+0x48/0x164 [ 616.830941][T28090] el0_svc+0x58/0x150 [ 616.831802][T28090] el0t_64_sync_handler+0x84/0xf0 00:10:16 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000007412000000960000000800", 0x0, 0x2}) 00:10:16 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000b0000960000000800", 0x0, 0x2}) [ 616.832868][T28090] el0t_64_sync+0x18c/0x190 00:10:16 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000007512000000960000000800", 0x0, 0x2}) 00:10:16 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000c0000960000000800", 0x0, 0x2}) [ 616.882311][T28090] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:16 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = socket$inet_sctp(0x2, 0x1, 0x84) setsockopt$sock_int(r0, 0x1, 0x2f, &(0x7f0000000000)=0x8001, 0x4) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:16 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000d0000960000000800", 0x0, 0x2}) 00:10:16 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000007612000000960000000800", 0x0, 0x2}) 00:10:16 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000e0000960000000800", 0x0, 0x2}) [ 617.000709][T28110] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 617.002542][T28110] CPU: 1 PID: 28110 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 617.004828][T28110] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 617.007040][T28110] Call trace: [ 617.007704][T28110] dump_backtrace+0x1c4/0x1f0 [ 617.008681][T28110] show_stack+0x2c/0x54 [ 617.009674][T28110] dump_stack_lvl+0x104/0x16c [ 617.010722][T28110] dump_stack+0x1c/0x58 [ 617.011574][T28110] sysfs_create_dir_ns+0x148/0x168 [ 617.012661][T28110] kobject_add_internal+0x244/0x530 [ 617.013773][T28110] kobject_add+0xb8/0x130 [ 617.014732][T28110] device_add+0x248/0x958 [ 617.015690][T28110] device_register+0x28/0x38 [ 617.016720][T28110] tty_register_device_attr+0x1a8/0x320 [ 617.017851][T28110] tty_register_device+0x3c/0x50 [ 617.018936][T28110] gsm_activate_mux+0x9c/0x1f4 [ 617.019925][T28110] gsmld_ioctl+0x6cc/0x764 [ 617.020866][T28110] tty_ioctl+0x6c0/0x9dc [ 617.021833][T28110] __arm64_sys_ioctl+0xd0/0x140 [ 617.022894][T28110] el0_svc_common+0x138/0x220 [ 617.023835][T28110] do_el0_svc+0x48/0x164 [ 617.024753][T28110] el0_svc+0x58/0x150 [ 617.025626][T28110] el0t_64_sync_handler+0x84/0xf0 [ 617.026809][T28110] el0t_64_sync+0x18c/0x190 [ 617.029364][T28110] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:17 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000125500000000960000000800", 0x0, 0x2}) 00:10:17 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000100)=0x15) ioctl$TIOCMGET(r1, 0x5415, &(0x7f0000000000)) ioctl$VT_RESIZE(r1, 0x5609, &(0x7f00000000c0)={0x5, 0x7f, 0x7}) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:17 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000110000960000000800", 0x0, 0x2}) 00:10:17 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012a90000960000000800", 0x0, 0x2}) 00:10:17 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000c000800", 0x0, 0x2}) 00:10:17 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000120000960000000800", 0x0, 0x2}) 00:10:17 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000125600000000960000000800", 0x0, 0x2}) 00:10:17 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000250000960000000800", 0x0, 0x2}) [ 617.437894][ T1379] ieee802154 phy0 wpan0: encryption failed: -22 [ 617.439277][ T1379] ieee802154 phy1 wpan1: encryption failed: -22 00:10:17 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000007712000000960000000800", 0x0, 0x2}) 00:10:17 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000005c0000960000000800", 0x0, 0x2}) 00:10:17 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000007812000000960000000800", 0x0, 0x2}) 00:10:17 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000001960000000800", 0x0, 0x2}) 00:10:17 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000002960000000800", 0x0, 0x2}) 00:10:17 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000100)=0x15) (async) ioctl$TIOCMGET(r1, 0x5415, &(0x7f0000000000)) (async) ioctl$VT_RESIZE(r1, 0x5609, &(0x7f00000000c0)={0x5, 0x7f, 0x7}) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:17 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000007912000000960000000800", 0x0, 0x2}) 00:10:17 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000003960000000800", 0x0, 0x2}) 00:10:17 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000d000800", 0x0, 0x2}) 00:10:17 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012aa0000960000000800", 0x0, 0x2}) 00:10:17 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000125700000000960000000800", 0x0, 0x2}) 00:10:17 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000004960000000800", 0x0, 0x2}) 00:10:18 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000125800000000960000000800", 0x0, 0x2}) [ 618.039509][T28159] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' 00:10:18 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000005960000000800", 0x0, 0x2}) [ 618.042872][T28159] CPU: 0 PID: 28159 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 618.045277][T28159] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 618.047626][T28159] Call trace: [ 618.048366][T28159] dump_backtrace+0x1c4/0x1f0 [ 618.049509][T28159] show_stack+0x2c/0x54 [ 618.050493][T28159] dump_stack_lvl+0x104/0x16c [ 618.051636][T28159] dump_stack+0x1c/0x58 [ 618.052648][T28159] sysfs_create_dir_ns+0x148/0x168 [ 618.053879][T28159] kobject_add_internal+0x244/0x530 [ 618.055274][T28159] kobject_add+0xb8/0x130 [ 618.056238][T28159] device_add+0x248/0x958 [ 618.057141][T28159] device_register+0x28/0x38 [ 618.058180][T28159] tty_register_device_attr+0x1a8/0x320 [ 618.059520][T28159] tty_register_device+0x3c/0x50 [ 618.060601][T28159] gsm_activate_mux+0x9c/0x1f4 [ 618.061717][T28159] gsmld_ioctl+0x6cc/0x764 [ 618.062688][T28159] tty_ioctl+0x6c0/0x9dc [ 618.062698][T28159] __arm64_sys_ioctl+0xd0/0x140 [ 618.062708][T28159] el0_svc_common+0x138/0x220 [ 618.065796][T28159] do_el0_svc+0x48/0x164 [ 618.065807][T28159] el0_svc+0x58/0x150 [ 618.065816][T28159] el0t_64_sync_handler+0x84/0xf0 [ 618.065826][T28159] el0t_64_sync+0x18c/0x190 00:10:18 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000125900000000960000000800", 0x0, 0x2}) 00:10:18 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000006960000000800", 0x0, 0x2}) [ 618.108660][T28159] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:18 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000125a00000000960000000800", 0x0, 0x2}) 00:10:18 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000100)=0x15) ioctl$TIOCMGET(r1, 0x5415, &(0x7f0000000000)) ioctl$VT_RESIZE(r1, 0x5609, &(0x7f00000000c0)={0x5, 0x7f, 0x7}) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000100)=0x15) (async) ioctl$TIOCMGET(r1, 0x5415, &(0x7f0000000000)) (async) ioctl$VT_RESIZE(r1, 0x5609, &(0x7f00000000c0)={0x5, 0x7f, 0x7}) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) 00:10:18 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000007a12000000960000000800", 0x0, 0x2}) 00:10:18 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000007960000000800", 0x0, 0x2}) 00:10:18 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000125b00000000960000000800", 0x0, 0x2}) 00:10:18 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012ab0000960000000800", 0x0, 0x2}) 00:10:18 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000e000800", 0x0, 0x2}) 00:10:18 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000008960000000800", 0x0, 0x2}) 00:10:18 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960010000800", 0x0, 0x2}) 00:10:18 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000009960000000800", 0x0, 0x2}) [ 618.636716][T28200] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 618.644398][T28200] CPU: 1 PID: 28200 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 618.645545][T28204] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 618.646613][T28200] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 618.646621][T28200] Call trace: [ 618.646624][T28200] dump_backtrace+0x1c4/0x1f0 [ 618.652453][T28200] show_stack+0x2c/0x54 [ 618.653391][T28200] dump_stack_lvl+0x104/0x16c [ 618.654410][T28200] dump_stack+0x1c/0x58 [ 618.655323][T28200] sysfs_create_dir_ns+0x148/0x168 [ 618.656338][T28200] kobject_add_internal+0x244/0x530 [ 618.657504][T28200] kobject_add+0xb8/0x130 [ 618.657513][T28200] device_add+0x248/0x958 [ 618.657521][T28200] device_register+0x28/0x38 [ 618.657528][T28200] tty_register_device_attr+0x1a8/0x320 [ 618.657538][T28200] tty_register_device+0x3c/0x50 [ 618.657546][T28200] gsm_activate_mux+0x9c/0x1f4 [ 618.657555][T28200] gsmld_ioctl+0x6cc/0x764 [ 618.657563][T28200] tty_ioctl+0x6c0/0x9dc [ 618.657571][T28200] __arm64_sys_ioctl+0xd0/0x140 [ 618.657580][T28200] el0_svc_common+0x138/0x220 [ 618.657589][T28200] do_el0_svc+0x48/0x164 [ 618.657597][T28200] el0_svc+0x58/0x150 [ 618.657605][T28200] el0t_64_sync_handler+0x84/0xf0 [ 618.657614][T28200] el0t_64_sync+0x18c/0x190 [ 618.660933][T28200] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. [ 618.665122][T28204] CPU: 0 PID: 28204 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 618.665135][T28204] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 618.665140][T28204] Call trace: [ 618.665142][T28204] dump_backtrace+0x1c4/0x1f0 [ 618.665151][T28204] show_stack+0x2c/0x54 [ 618.665161][T28204] dump_stack_lvl+0x104/0x16c [ 618.665170][T28204] dump_stack+0x1c/0x58 [ 618.665178][T28204] sysfs_create_dir_ns+0x148/0x168 [ 618.665186][T28204] kobject_add_internal+0x244/0x530 [ 618.665195][T28204] kobject_add+0xb8/0x130 [ 618.665202][T28204] device_add+0x248/0x958 [ 618.665210][T28204] device_register+0x28/0x38 [ 618.665216][T28204] tty_register_device_attr+0x1a8/0x320 [ 618.665225][T28204] tty_register_device+0x3c/0x50 [ 618.665233][T28204] gsm_activate_mux+0x9c/0x1f4 [ 618.665242][T28204] gsmld_ioctl+0x6cc/0x764 [ 618.665249][T28204] tty_ioctl+0x6c0/0x9dc [ 618.665257][T28204] __arm64_sys_ioctl+0xd0/0x140 [ 618.665266][T28204] el0_svc_common+0x138/0x220 [ 618.665274][T28204] do_el0_svc+0x48/0x164 [ 618.665282][T28204] el0_svc+0x58/0x150 [ 618.665289][T28204] el0t_64_sync_handler+0x84/0xf0 [ 618.665298][T28204] el0t_64_sync+0x18c/0x190 [ 618.665366][T28204] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:18 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000a960000000800", 0x0, 0x2}) 00:10:18 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960011000800", 0x0, 0x2}) 00:10:18 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000b960000000800", 0x0, 0x2}) 00:10:19 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960012000800", 0x0, 0x2}) 00:10:19 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000007b12000000960000000800", 0x0, 0x2}) 00:10:19 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) openat$full(0xffffffffffffff9c, &(0x7f00000000c0), 0x4401, 0x0) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x16) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) r3 = signalfd4(r0, &(0x7f0000000000)={[0x7]}, 0x8, 0x80800) ioctl$TCFLSH(r3, 0x540b, 0x2) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x101, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x1, 0x1}) 00:10:19 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000c960000000800", 0x0, 0x2}) 00:10:19 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012ac0000960000000800", 0x0, 0x2}) 00:10:19 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000005c00000000960000000800", 0x0, 0x2}) 00:10:19 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000d960000000800", 0x0, 0x2}) 00:10:19 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) (async) openat$full(0xffffffffffffff9c, &(0x7f00000000c0), 0x4401, 0x0) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x16) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) r3 = signalfd4(r0, &(0x7f0000000000)={[0x7]}, 0x8, 0x80800) ioctl$TCFLSH(r3, 0x540b, 0x2) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x101, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x1, 0x1}) 00:10:19 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) (async) openat$full(0xffffffffffffff9c, &(0x7f00000000c0), 0x4401, 0x0) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x16) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) r3 = signalfd4(r0, &(0x7f0000000000)={[0x7]}, 0x8, 0x80800) ioctl$TCFLSH(r3, 0x540b, 0x2) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x101, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x1, 0x1}) 00:10:19 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000e960000000800", 0x0, 0x2}) [ 619.278537][T28240] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 619.280629][T28240] CPU: 0 PID: 28240 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 619.282845][T28240] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 619.285005][T28240] Call trace: [ 619.285701][T28240] dump_backtrace+0x1c4/0x1f0 [ 619.286738][T28240] show_stack+0x2c/0x54 [ 619.287579][T28240] dump_stack_lvl+0x104/0x16c [ 619.287656][T28241] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 619.288594][T28240] dump_stack+0x1c/0x58 [ 619.288605][T28240] sysfs_create_dir_ns+0x148/0x168 [ 619.288616][T28240] kobject_add_internal+0x244/0x530 [ 619.293448][T28240] kobject_add+0xb8/0x130 [ 619.294499][T28240] device_add+0x248/0x958 [ 619.295442][T28240] device_register+0x28/0x38 [ 619.296362][T28240] tty_register_device_attr+0x1a8/0x320 [ 619.297531][T28240] tty_register_device+0x3c/0x50 [ 619.298564][T28240] gsm_activate_mux+0x9c/0x1f4 [ 619.299518][T28240] gsmld_ioctl+0x6cc/0x764 [ 619.300414][T28240] tty_ioctl+0x6c0/0x9dc [ 619.301316][T28240] __arm64_sys_ioctl+0xd0/0x140 [ 619.302336][T28240] el0_svc_common+0x138/0x220 [ 619.303324][T28240] do_el0_svc+0x48/0x164 [ 619.304245][T28240] el0_svc+0x58/0x150 [ 619.305139][T28240] el0t_64_sync_handler+0x84/0xf0 [ 619.306291][T28240] el0t_64_sync+0x18c/0x190 [ 619.320782][T28241] CPU: 1 PID: 28241 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 619.322042][T28240] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. [ 619.322915][T28241] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 619.322923][T28241] Call trace: [ 619.322926][T28241] dump_backtrace+0x1c4/0x1f0 [ 619.322935][T28241] show_stack+0x2c/0x54 [ 619.322942][T28241] dump_stack_lvl+0x104/0x16c [ 619.331532][T28241] dump_stack+0x1c/0x58 [ 619.331543][T28241] sysfs_create_dir_ns+0x148/0x168 [ 619.331552][T28241] kobject_add_internal+0x244/0x530 [ 619.331560][T28241] kobject_add+0xb8/0x130 [ 619.335592][T28241] device_add+0x248/0x958 [ 619.336525][T28241] device_register+0x28/0x38 [ 619.337524][T28241] tty_register_device_attr+0x1a8/0x320 [ 619.338734][T28241] tty_register_device+0x3c/0x50 [ 619.339758][T28241] gsm_activate_mux+0x9c/0x1f4 [ 619.340787][T28241] gsmld_ioctl+0x6cc/0x764 [ 619.341729][T28241] tty_ioctl+0x6c0/0x9dc [ 619.342675][T28241] __arm64_sys_ioctl+0xd0/0x140 [ 619.343705][T28241] el0_svc_common+0x138/0x220 [ 619.344695][T28241] do_el0_svc+0x48/0x164 [ 619.345596][T28241] el0_svc+0x58/0x150 [ 619.346417][T28241] el0t_64_sync_handler+0x84/0xf0 [ 619.347461][T28241] el0t_64_sync+0x18c/0x190 [ 619.348502][ C1] vkms_vblank_simulate: vblank timer overrun 00:10:19 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000010960000000800", 0x0, 0x2}) 00:10:19 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TIOCSIG(r0, 0x40045436, 0x31) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x2, 0x3, "ebeeae0c00000000000000960000000800", 0xffffffff, 0x6}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 619.389043][T28241] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:19 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960025000800", 0x0, 0x2}) 00:10:19 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000007c12000000960000000800", 0x0, 0x2}) 00:10:19 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TIOCSIG(r0, 0x40045436, 0x31) (async, rerun: 64) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x2, 0x3, "ebeeae0c00000000000000960000000800", 0xffffffff, 0x6}) (async, rerun: 64) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async, rerun: 32) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (rerun: 32) 00:10:19 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000011960000000800", 0x0, 0x2}) 00:10:19 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000012960000000800", 0x0, 0x2}) 00:10:19 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000006800000000960000000800", 0x0, 0x2}) 00:10:19 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012ad0000960000000800", 0x0, 0x2}) 00:10:19 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TIOCSIG(r0, 0x40045436, 0x31) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x2, 0x3, "ebeeae0c00000000000000960000000800", 0xffffffff, 0x6}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:19 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000025960000000800", 0x0, 0x2}) [ 619.949134][T28272] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' 00:10:19 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000005c960000000800", 0x0, 0x2}) 00:10:19 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000006c00000000960000000800", 0x0, 0x2}) [ 619.962346][T28272] CPU: 0 PID: 28272 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 619.964546][T28272] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 619.966892][T28272] Call trace: [ 619.967534][T28272] dump_backtrace+0x1c4/0x1f0 [ 619.968525][T28272] show_stack+0x2c/0x54 [ 619.969387][T28272] dump_stack_lvl+0x104/0x16c [ 619.970394][T28272] dump_stack+0x1c/0x58 [ 619.971253][T28272] sysfs_create_dir_ns+0x148/0x168 [ 619.972364][T28272] kobject_add_internal+0x244/0x530 [ 619.973507][T28272] kobject_add+0xb8/0x130 [ 619.973516][T28272] device_add+0x248/0x958 [ 619.973524][T28272] device_register+0x28/0x38 [ 619.973531][T28272] tty_register_device_attr+0x1a8/0x320 [ 619.973542][T28272] tty_register_device+0x3c/0x50 [ 619.978818][T28272] gsm_activate_mux+0x9c/0x1f4 [ 619.978831][T28272] gsmld_ioctl+0x6cc/0x764 [ 619.978839][T28272] tty_ioctl+0x6c0/0x9dc [ 619.978848][T28272] __arm64_sys_ioctl+0xd0/0x140 [ 619.978858][T28272] el0_svc_common+0x138/0x220 [ 619.978868][T28272] do_el0_svc+0x48/0x164 [ 619.978876][T28272] el0_svc+0x58/0x150 [ 619.978885][T28272] el0t_64_sync_handler+0x84/0xf0 [ 619.978895][T28272] el0t_64_sync+0x18c/0x190 00:10:19 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000020000960000000800", 0x0, 0x2}) [ 620.010086][T28272] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:20 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960048000800", 0x0, 0x2}) 00:10:20 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000007d12000000960000000800", 0x0, 0x2}) 00:10:20 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000126f00000000960000000800", 0x0, 0x2}) 00:10:20 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000030000960000000800", 0x0, 0x2}) 00:10:20 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x1b) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f00000000c0)=0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) ioctl$TIOCL_GETKMSGREDIRECT(r2, 0x541c, &(0x7f0000000100)) fcntl$F_GET_RW_HINT(r2, 0x40b, &(0x7f0000000000)) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) bind$alg(0xffffffffffffffff, &(0x7f00000000c0)={0x26, 'hash\x00', 0x0, 0x0, 'sha256\x00'}, 0x58) r3 = accept4(0xffffffffffffffff, 0x0, 0x0, 0x0) accept$alg(r3, 0x0, 0x0) bind$unix(r3, &(0x7f0000000180)=@abs={0x0, 0x0, 0x4e22}, 0x6e) finit_module(r0, &(0x7f0000000140)='\x00', 0x2) socket$inet_udp(0x2, 0x2, 0x0) 00:10:20 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012ae0000960000000800", 0x0, 0x2}) 00:10:20 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000040000960000000800", 0x0, 0x2}) 00:10:20 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000007f12000000960000000800", 0x0, 0x2}) [ 620.464531][T28295] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 620.468169][T28295] CPU: 0 PID: 28295 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 620.470426][T28295] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 620.472659][T28295] Call trace: [ 620.473393][T28295] dump_backtrace+0x1c4/0x1f0 00:10:20 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000050000960000000800", 0x0, 0x2}) [ 620.474443][T28295] show_stack+0x2c/0x54 [ 620.475301][T28295] dump_stack_lvl+0x104/0x16c [ 620.476311][T28295] dump_stack+0x1c/0x58 [ 620.477257][T28295] sysfs_create_dir_ns+0x148/0x168 [ 620.478388][T28295] kobject_add_internal+0x244/0x530 [ 620.479597][T28295] kobject_add+0xb8/0x130 [ 620.480629][T28295] device_add+0x248/0x958 [ 620.481631][T28295] device_register+0x28/0x38 [ 620.482705][T28295] tty_register_device_attr+0x1a8/0x320 [ 620.483967][T28295] tty_register_device+0x3c/0x50 [ 620.485095][T28295] gsm_activate_mux+0x9c/0x1f4 [ 620.486221][T28295] gsmld_ioctl+0x6cc/0x764 [ 620.487264][T28295] tty_ioctl+0x6c0/0x9dc [ 620.487275][T28295] __arm64_sys_ioctl+0xd0/0x140 [ 620.487285][T28295] el0_svc_common+0x138/0x220 [ 620.487295][T28295] do_el0_svc+0x48/0x164 [ 620.487303][T28295] el0_svc+0x58/0x150 [ 620.487312][T28295] el0t_64_sync_handler+0x84/0xf0 [ 620.487321][T28295] el0t_64_sync+0x18c/0x190 [ 620.508065][T28295] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:20 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000008012000000960000000800", 0x0, 0x2}) 00:10:20 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000060000960000000800", 0x0, 0x2}) 00:10:20 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000008112000000960000000800", 0x0, 0x2}) 00:10:20 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096004c000800", 0x0, 0x2}) 00:10:20 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000070000960000000800", 0x0, 0x2}) 00:10:20 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000007400000000960000000800", 0x0, 0x2}) 00:10:20 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000008212000000960000000800", 0x0, 0x2}) [ 621.046505][T28321] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 621.056358][T28321] CPU: 0 PID: 28321 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 621.058542][T28321] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 621.060840][T28321] Call trace: [ 621.061495][T28321] dump_backtrace+0x1c4/0x1f0 [ 621.062540][T28321] show_stack+0x2c/0x54 [ 621.063380][T28321] dump_stack_lvl+0x104/0x16c [ 621.064427][T28321] dump_stack+0x1c/0x58 [ 621.065297][T28321] sysfs_create_dir_ns+0x148/0x168 [ 621.066387][T28321] kobject_add_internal+0x244/0x530 [ 621.067529][T28321] kobject_add+0xb8/0x130 [ 621.068407][T28321] device_add+0x248/0x958 [ 621.069431][T28321] device_register+0x28/0x38 [ 621.070485][T28321] tty_register_device_attr+0x1a8/0x320 [ 621.071605][T28321] tty_register_device+0x3c/0x50 [ 621.072614][T28321] gsm_activate_mux+0x9c/0x1f4 [ 621.073419][T28321] gsmld_ioctl+0x6cc/0x764 [ 621.074423][T28321] tty_ioctl+0x6c0/0x9dc [ 621.075387][T28321] __arm64_sys_ioctl+0xd0/0x140 [ 621.076439][T28321] el0_svc_common+0x138/0x220 [ 621.077459][T28321] do_el0_svc+0x48/0x164 [ 621.078379][T28321] el0_svc+0x58/0x150 [ 621.079270][T28321] el0t_64_sync_handler+0x84/0xf0 [ 621.080379][T28321] el0t_64_sync+0x18c/0x190 [ 621.084522][T28322] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 621.089404][T28322] CPU: 1 PID: 28322 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 621.091794][T28322] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 621.094040][T28322] Call trace: [ 621.094735][T28322] dump_backtrace+0x1c4/0x1f0 [ 621.095799][T28322] show_stack+0x2c/0x54 [ 621.096677][T28322] dump_stack_lvl+0x104/0x16c [ 621.097686][T28322] dump_stack+0x1c/0x58 [ 621.098583][T28322] sysfs_create_dir_ns+0x148/0x168 [ 621.099397][T28321] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. [ 621.099872][T28322] kobject_add_internal+0x244/0x530 [ 621.103843][T28322] kobject_add+0xb8/0x130 [ 621.104768][T28322] device_add+0x248/0x958 [ 621.105782][T28322] device_register+0x28/0x38 [ 621.106753][T28322] tty_register_device_attr+0x1a8/0x320 [ 621.108056][T28322] tty_register_device+0x3c/0x50 [ 621.109143][T28322] gsm_activate_mux+0x9c/0x1f4 [ 621.110315][T28322] gsmld_ioctl+0x6cc/0x764 [ 621.111288][T28322] tty_ioctl+0x6c0/0x9dc [ 621.112176][T28322] __arm64_sys_ioctl+0xd0/0x140 [ 621.113309][T28322] el0_svc_common+0x138/0x220 [ 621.114315][T28322] do_el0_svc+0x48/0x164 [ 621.115229][T28322] el0_svc+0x58/0x150 [ 621.116150][T28322] el0t_64_sync_handler+0x84/0xf0 [ 621.117243][T28322] el0t_64_sync+0x18c/0x190 [ 621.118319][ C1] vkms_vblank_simulate: vblank timer overrun 00:10:21 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x1b) (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f00000000c0)=0x1) (async) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) ioctl$TIOCL_GETKMSGREDIRECT(r2, 0x541c, &(0x7f0000000100)) (async) fcntl$F_GET_RW_HINT(r2, 0x40b, &(0x7f0000000000)) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) bind$alg(0xffffffffffffffff, &(0x7f00000000c0)={0x26, 'hash\x00', 0x0, 0x0, 'sha256\x00'}, 0x58) (async) r3 = accept4(0xffffffffffffffff, 0x0, 0x0, 0x0) accept$alg(r3, 0x0, 0x0) (async) bind$unix(r3, &(0x7f0000000180)=@abs={0x0, 0x0, 0x4e22}, 0x6e) (async) finit_module(r0, &(0x7f0000000140)='\x00', 0x2) (async) socket$inet_udp(0x2, 0x2, 0x0) 00:10:21 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000080000960000000800", 0x0, 0x2}) 00:10:21 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012af0000960000000800", 0x0, 0x2}) [ 621.157243][T28322] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:21 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000090000960000000800", 0x0, 0x2}) 00:10:21 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000a0000960000000800", 0x0, 0x2}) 00:10:21 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096005c000800", 0x0, 0x2}) 00:10:21 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000b0000960000000800", 0x0, 0x2}) 00:10:21 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000c0000960000000800", 0x0, 0x2}) 00:10:21 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x1b) (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f00000000c0)=0x1) (async) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) (async) ioctl$TIOCL_GETKMSGREDIRECT(r2, 0x541c, &(0x7f0000000100)) (async) fcntl$F_GET_RW_HINT(r2, 0x40b, &(0x7f0000000000)) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) bind$alg(0xffffffffffffffff, &(0x7f00000000c0)={0x26, 'hash\x00', 0x0, 0x0, 'sha256\x00'}, 0x58) r3 = accept4(0xffffffffffffffff, 0x0, 0x0, 0x0) accept$alg(r3, 0x0, 0x0) (async) bind$unix(r3, &(0x7f0000000180)=@abs={0x0, 0x0, 0x4e22}, 0x6e) finit_module(r0, &(0x7f0000000140)='\x00', 0x2) socket$inet_udp(0x2, 0x2, 0x0) 00:10:21 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000d0000960000000800", 0x0, 0x2}) 00:10:21 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000007a00000000960000000800", 0x0, 0x2}) 00:10:21 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) setsockopt$IPT_SO_SET_REPLACE(r0, 0x0, 0x40, &(0x7f0000000200)=@mangle={'mangle\x00', 0x1f, 0x6, 0x4b8, 0xb0, 0x1a8, 0x330, 0xb0, 0x1a8, 0x420, 0x420, 0x420, 0x420, 0x420, 0x6, &(0x7f0000000180), {[{{@ip={@remote, @loopback, 0x0, 0xffffff00, 'gre0\x00', 'veth0_to_hsr\x00', {}, {0xff}, 0x16, 0x3, 0x8}, 0x0, 0x70, 0xb0}, @inet=@TPROXY1={0x40, 'TPROXY\x00', 0x1, {0x74b6, 0x40, @ipv4=@broadcast, 0x4e20}}}, {{@ip={@remote, @dev={0xac, 0x14, 0x14, 0x14}, 0xffffff00, 0x0, 'ip6erspan0\x00', 'pim6reg\x00', {}, {0xff}, 0x1d, 0x3, 0x4}, 0x0, 0xd0, 0xf8, 0x0, {}, [@common=@inet=@udplite={{0x30}, {[0x4e22, 0x4e22], [0x4e23, 0x4e22], 0x1}}, @common=@addrtype={{0x30}, {0xaa, 0x6161714dd2753d1b}}]}, @TTL={0x28, 'TTL\x00', 0x0, {0x1, 0x40}}}, {{@uncond, 0x0, 0xc8, 0xf0, 0x0, {}, [@inet=@rpfilter={{0x28}}, @common=@ah={{0x30}, {[0x10001, 0x8], 0x1}}]}, @common=@inet=@SET1={0x28, 'SET\x00', 0x1, {{0x8001, 0x6, 0x2}, {0x1, 0x1, 0x2}}}}, {{@uncond, 0x0, 0x70, 0x98}, @TTL={0x28, 'TTL\x00', 0x0, {0x0, 0x5}}}, {{@ip={@private=0xa010100, @remote, 0x0, 0xffffff00, 'ip6erspan0\x00', 'sit0\x00', {}, {0xff}, 0x67, 0x1, 0x20}, 0x0, 0x90, 0xf0, 0x0, {}, [@common=@socket0={{0x20}}]}, @common=@SET={0x60, 'SET\x00', 0x0, {{0x4, [0x0, 0x1, 0x2, 0xe, 0xef399d43a5b942b1], 0x1, 0x2}, {0x4, [0x0, 0x7, 0x5, 0x5, 0x3, 0x3], 0x3, 0x1}}}}], {{'\x00', 0x0, 0x70, 0x98}, {0x28}}}}, 0x518) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) r2 = accept4$rose(0xffffffffffffffff, &(0x7f0000001800)=@full={0xb, @dev, @netrom, 0x0, [@netrom, @bcast, @netrom, @default, @remote, @default]}, &(0x7f0000001840)=0x40, 0x0) ioctl$BTRFS_IOC_SCRUB(r1, 0xc400941b, &(0x7f0000001980)={0x0, 0x101, 0x8000000000000001}) getpeername(r2, &(0x7f0000001880)=@xdp, &(0x7f0000001900)=0x80) bpf$MAP_UPDATE_ELEM(0x2, &(0x7f0000000140)={0xffffffffffffffff, &(0x7f0000000000)="ab298a82294ab9ce54aec7c286dd14d5a3b2ccc9be62029bb38ce16e9fb91958bf36ae5fcdbd381aeb0742bf5a958ab1ba8c16ccb3607a", &(0x7f00000000c0)=@buf="c5d746b29b7393a0c458955d7b8b6603ed2431a4b18ef6f3a28617e8cefee6fef5553b995877bdc4c51a9be4653908569078bf7b959c40e939db5f7ac5006839d3cbba56742ab523c59f8269eb7ba7f3255d2d0abf992675dfd4119beb2007b1afbcce1fbc"}, 0x20) ioctl$BTRFS_IOC_DEV_INFO(r0, 0xd000941e, &(0x7f0000001d80)={r3, "f8085d1da1b2b2742e46fa7862af1e1a"}) ioctl$BTRFS_IOC_DEV_INFO(r2, 0xd000941e, &(0x7f0000002d80)={r4, "77e8a4a6c2177ea09bd90ac95baa4fbd"}) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r5 = syz_open_dev$tty20(0xc, 0x4, 0x1) socketpair(0x15, 0x6, 0x4cc0, &(0x7f0000001740)={0xffffffffffffffff, 0xffffffffffffffff}) bpf$MAP_UPDATE_ELEM(0x2, &(0x7f00000017c0)={0x1, &(0x7f0000000740)="240a92b02ca348e1e57d1f643751a701001dd71c28324181dc8b90308c138e532a990a9bccf32133583f68c13fa97865ddbee9354a9f78d2183210e967541e1b05c1177aeddc2cf42d1c42089693833e2869e99d8893b3e1c46b76efe51f7cf7cf01f15827c1d514cd00e2c470e7e828ad73f398a3ec3a0073d1857a9fa9599c3912fa7e171107ddf4badffce443c19f326d6efbb459bf1a53032fb37958efeea77e3654e9eb187c8c9025f71eeed8b12ca4bc5261334e571131f20aab1e7886dc6891664faabcf8ed100d1badea4d0d3d2e92b3cf47d68bb948cd7d36c87390bc2ecd52eb3be5e10409edb2d88e760b7233675088786ca026d214449ae04943f36ef92cae8b66d0a85c40d23902dbf5a585673c4ddc73b1bf6f9c3a34cdb2ff5bd9d7cd509183b0211b0f5bcd8c8a9764590c447afb09e0d6d6aa2d56c39cb6a8e889a56d41ed360e20de4f4f12ec5cc88c77741708ac1557274be0968f1bf6dd6af2f8958fa4939a060c51f157cb57e46b9a56bc7c18de43d6df59e85bfa03120ae8e68319ed47fc5bb63b171459b6f0879991a265544fbf2eeec2e7dcc25b80d5125dda5d519d9b7062a6827c9cb0576b6d4acec1292305b65a7f6a7016278ef1f76f657f702f82156b349f8167a5978858aaa93651bf02c309942c0d7d869d94cd8a3dbe6276f003b34ac182373a5ec0ccfd882a577800379e75c18a0b9eb86443267b1788fe0327895830ca2a1b7b4c855cb45adb9740baec57404b731d4a5c7b6127d2c51e7817c0bbbe3d38df110b25bb78a8c173a22b460fce5cb25fce814718a5ce0af2af154036f99df54cc309af89f569bc1e997d9dff62af7d11675a3da3175fea9193768b83323e901b14b5861a2bd711811f2a37986480aaf6f1ee066649ddaf701eac981f0360c0d8c2fb403386fbec067a0d441d8f36305f770702876ecf59826b023784566a1beac569739af18e3f1608126047c5fe746bb249c4950ba3d5f624e87bcb665398c49a828a9a5b9f80e40007900bddf91ea0b891076fbbb113467ae1bfedd8eeacb0f30c8f82e4fcd9b57920b62da3b170dfb99515b6e9a1a6e308262ebc649a3c374374b6a559c96f992ff6313577a85106840cb2d4077152c9a84dd699428d58b14cdd0f4ba9fe5e7e674695f68431cef40ddf5e11f65d89c57d90dd1f9e4468249235d2d090116e31c5c45adb1742e0e9bbbc365e145c39657ada50d6013da42397cf978a7f8a11aa012fb1c051e43debf5eb82d7abae88329d2f860425ee170f50fe32816253be8647c9daefe2a01668c04ba1ad747332fb26585c94307c93f8ebef7c19901be4b1a9b7e2ce147161f854b862092a9521d91c1463519f915558d74c9f8011248219cd034263276157abcf83690db449e67c3fb742a82037af0f285123a9d40f00d27569a4a7ca9a4a2c8506696ae0369a7426dbc738aa3f61c84b27dfe37713c4ac9a63a6992c7ac1cb293ae41b25caf9f1af9b2bd1b6de4ee88edcb65c0a5931558cb2e203a7bf14f64519674c090c744e811b905778bb6c2cb5dadce73b4dd68afc1b069fa9a9e32088d65c4de8190f71594e1d8aa6415e5b354019ebb8f0f4791f67329021745bef7f1231be5d45a98ac2c1eb6ffd89c34ef71ba6fa7f6d212b5de33e5461d74ee5909716d84f6c456d9c88ffd38cd8edda7270d597163092cb78c357be44ad8dfa53289294797aac7728353b140ca48c75addbd28de13b17410354adc7d24a884747deb3e95ec095a1c5662345c4e83919a70fb7ef08a14f618a84d4d2de519727172ad891782e926cd5aceefa12e5851096f8a15bf81f4ca28687238d361fab131210bceb874c0ae894152f0decc53f5c4db3d53fbaa5aefaf93fa709cad57f067a964c720e1e9fac374c9fbbf153700702d59c4b49e2c2ed6f38493408e99b25c2ca90c688e230dfb02bd86a39e6e127943e7bb51757b23f688a849432f748e268e815205d0bb99dc7f601741d7a26a7cc8f5ddbbdbbc411d057b86fa1cc7ed12e552c9c5808329ebb3b03dd99c9fbe01b6368a7e9bd9d0b32f66317166cc1a897a9ceeaf450950da6c89a58fce9d025c9eab2121e8a24aea7d9f58cf94a90826130b27e3b696eb4708959d3b6e95ad8457a5f153c1d46dd6a9f5506e6db51fa6548bd2b633a9c76b9e619044f71498217934468ac5ddf3c24b77b026b73ded9c8f901cbf01af869b7ead8c31e8c788260b190cd100965d8ecd679576e43700edfb7c08a89a122eeb13be7c8417ae5a8579d3f20810ff11415dbf36a553c80f50e6c407c81e357e8c93670f37369b1e64ca2ad07d94d8ecb4256c505e5fab10b62785aa180114961db935b3b7381e0d7bf1e4520798e60454faaf9a83432716bc033dc67e7310a462c61ae312b0df933ab0b3c67ea2e922fbac2daad867ce984b677b051c0f92ff75a4f80095875c8f7e9b09487dae9cab574d859bbcd57d85037fba91058c814e6709349f315bc99879d082b31eb5d95cb98aedebaaa04cfeb705b52ae82828ae2656a73e2ded4b6c46a3be0d35cf506153911a55db2dd6c9caba927bde359d508715fcc87a6f8e98cb59a86e207085bfcbd65b1ab0da6d3bf60149bef8ea6ab2b3e101c3e3fa75d171e96a6c92bd802ac72860ec619d8a2fcd2302eb84f147cc6c003d60550da4c17eeafc7389bcd86de6fedc3a6131f7dc3f6098d3454e33523e17263b1ca2457ffbe38b814472f0b42a1829c2610f3885a6d0b90533e183b9791ef65ebfca43973415c7f254aaa1f797e7595b61ac633bbfd3cd1c5491b0e435b922c149368a47ec3322dc8a873389781dee4b301a05730dffed1f292938691ab764c7736f3fea4df95d666cb1cdae53e2802eac0938ec7dcc9a5833a1dfc51069b8c7784a6e5eb4ed8033b6c208dbdd9c8818a4fa07c4d6d3925d424f202acded369a146820236875ebc464807087ce167ebc5d2367a4bbc6718c24c75bccb8616386895687f193ac029d70cd58315cb9416031990a1c360dbc20903c84ebc938c8a5e37635ab98f1699db162f50a07e3b0541792eb41410f07bb85394363dc848b0e2338ba1dd7587d79e3ebabb22fa5ac9d1f53a3336b67fc241b5691dbc7e894adda0f59be0f7ac2c1263302c50738459ba277c9a48e081d90009a192e9b0ee690920ccad805daa43ab12d8e650992097110f457306f71dd3add9f1d5132bdd195734e177174f251f4a80f2d8d53ca51e81a9a85fbfd8bbfdbe98d5620647ec5a2ef8b9c73ad219318fb2cd4db613e14813f46e2a9c62ff2ac4359c17e70c59d2daff189766fe02c0ffbdeea77685378f36f81fd23a31306e150f5dee780f2a5b01826bbd1753e7990420e141547a64d1e36d6453ef758c6eac5997b8e8803e76f5d7cf540cfe40af1ffe0ade88cd38e93d3ba4ff0663b7d47c35eb37c2004ac3ac3a62bb69ae96d383c0af91f4a379f3be89074b02f110776544e9e5fa3217990879535251cd5d48ee1ab81690428c4f64b543f16d1026657b27dff6ed53498aaa95739489f7a7ba74ce8f7f02d673957c289d8fa489ebdf978e47fbc7c3fdd262366644323eb0311bdde4337696c8032a4abc3be422e0785d62bc8a6ac4a1901b26e31ca01c57e04768b74fe07cdca374f52b74c476a3de7baac010a84940f6db7b98ededcf8fc7d2376e3498c6f00cd47a57497765cff45292437f53ecd1aec62af7c4b2cf07963932e9422ca112151b9511329ae1f86bd4221c3348ef06dc5589524fa1c878c8dbcce75491b101c9c695541dc2462315d31101b7bc5c36d930bf3dda866420fd1c843d67182aeb0f95e2b4ae77d1c75920f97c7b170bdce28826082085c21be7843bc8ffb18e481ab2991b16b22d90674cb76974a91ccdea87c710fc8184a9017baa777f7429598b03d94a87a47a735f0e0905cd474b8655c808ca7a042c60891d524a6af6228ccec89d6a9dfbb101f2e784fba1b100e1a6a420e59c33914ff3dc8e8f0cfdef1e5cb798c12bfc22f558eae9fba0ffcfe5e6c340a2abd16fba4ef0539011a9c8e1510620ef9ee50aa23da1c40c825f76df4841b6f26e999c841975456b19bcf80b53586e89b69c6dcdc62e0f95f08919fb400dd55c4b04b313871da16fd3462a3719d0c4b3eeb2a1f23cfd77e3cf61ea84dcc8de2dbb1cc40722d3c1b9773cf4ec6dd24f92770bb7d2350d7972b6774386ed9200a0cc015f6bcb79023ad0f57cdcbf4fed7af8951131c7411bf3b07ff0053ef282ee2815f3dcaf665695f242e1060a262bc616603958263767e13a7fbeec05c56694b4363b4df61fbd9af971c13f44dfcf53cd6c15a3c6ce0737449d0dbb95481befbb6b59faef0d9f9a8ce33e50455ce71253ad59f7ca1bbb847c604779c8f22b2c4a22a3dd6a267968fd767264610e60d04734bd4e52dd384f58d4a69a43886c6522dd953cbe1a86f88318287a0a92fef2d7917915e27c31cfd5dd5d8826793b8a29d2f44e142ee65e756c66bc7036394921c2a8928e32deb1171d8621139569b1a1be4169c5736bac7c9552f758572027a520ebb85ab517410c640ea2b297ca134447134d0b68f6bc9f578958a182a3333aaef9ca3fed963583c0fc583248a13d1cc00dda0d932970856281b9cbd347a0b06e3809b0c0670e524e79bb36ca63054d7a803675aa75cffa646bce82e77a140c86fe946def9c38b2054da3c86be7f0d89087fd28019606e9d3e6286e2f6332a2e9fbc046a7761444a9b129d80c6ce493d7575b7375923bf9a6b9d27da13cb3d1c49502eb732c47b049fdc82d6ad9dbd57395466ca428a3467b617562e0f20a60d4de8823421527aa83f9ce1e2a789a2569e06df1700c3dcdc5fbb940bf3a66864cc74c38fd29865d45514c7fb0d9e41b907cf782e2c3ef5be0fed82734850896ac607f0a8980ee0bf3759a380f498fc042a4052d9f2030fd057061fa212080b0b214d97c1afde646b853ca6676dfee38eec181e8e15c697badf71629f6fc90efbdb34ad78577f8d26fe65d82aa0102bc74755bdc7179df4b463ae68d865ddb11044db644ee1d2b463dea5960838846166bf1c90e6f296c2e2ee10cf2b5e5df85eac14e3e44f54686d9d9241af11d8b4795c5ab279d3d685625afbb4f03d38345cc307d92da57ccbbb893bf97e435f0ea0c128b22a80e26b8718842a7fdbda647ea175c1473dc6c405336f7bd7ed0ae75b9cece95c3dda10be9d33e2a063ccb487e61ab88adf5889e143fc3ac6ceb85892a293273b26627fdd0aab35be0802019d8deced5bb321bc4027b41619499a7e52ce81f9991820306346d7f2d360121213a5787825e6ff60e5b8e97db36ac4a53a400290862797353ac75c3019fc000b1e08050b4c693748602ce0bac92a89e4e312679bd4331f38e24673fb4a2d1a622a82ccf10f4b3864359e9ed7e5899a2222452581e3baabc83d0968cdb04b6c2f5103631b7a4a5ad2c2b87145594f301a093c4cee267b57aa90792a4f76292cdfa809e766c8eac8fb7cfe0e686b30921fec503a52707a95131278615a711f84176e8a17f7bbee1c02b051550ad8fed9536cfe7405daa7ac540267ca52721b07297717a15750bd8214abc12ac4b97ebd0a39fdad4201be8ee2f58e6bc65e81fbc491e2c14a59ff91670fa98d71d35bc5694ae1f4b72fd5e78962578de22539efa7bc3b40c61afb82c8700028ca9a5d1268b02a849f78e9c3dbb0915cf56159c33961bf1392732e9d6b8a4f9f474da83dc902dd8033277b5ee5585dbf63f319a3f4aaf", &(0x7f0000001780)=@tcp=r6, 0x4}, 0x20) ioctl$sock_SIOCGIFINDEX_80211(r6, 0x8933, &(0x7f0000001940)={'wlan1\x00'}) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r5, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:21 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000e0000960000000800", 0x0, 0x2}) 00:10:21 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000008312000000960000000800", 0x0, 0x2}) [ 621.661579][T28358] x_tables: duplicate underflow at hook 1 00:10:21 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960068000800", 0x0, 0x2}) 00:10:21 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000100000960000000800", 0x0, 0x2}) 00:10:21 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012b00000960000000800", 0x0, 0x2}) 00:10:21 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000110000960000000800", 0x0, 0x2}) [ 621.716948][T28367] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 621.719293][T28366] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 621.721697][T28366] CPU: 0 PID: 28366 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 621.723901][T28366] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 621.726043][T28366] Call trace: [ 621.726048][T28366] dump_backtrace+0x1c4/0x1f0 [ 621.726060][T28366] show_stack+0x2c/0x54 [ 621.726067][T28366] dump_stack_lvl+0x104/0x16c [ 621.726077][T28366] dump_stack+0x1c/0x58 [ 621.726085][T28366] sysfs_create_dir_ns+0x148/0x168 [ 621.726095][T28366] kobject_add_internal+0x244/0x530 [ 621.726104][T28366] kobject_add+0xb8/0x130 [ 621.726111][T28366] device_add+0x248/0x958 [ 621.726118][T28366] device_register+0x28/0x38 [ 621.726125][T28366] tty_register_device_attr+0x1a8/0x320 [ 621.726135][T28366] tty_register_device+0x3c/0x50 [ 621.726144][T28366] gsm_activate_mux+0x9c/0x1f4 [ 621.726153][T28366] gsmld_ioctl+0x6cc/0x764 [ 621.726161][T28366] tty_ioctl+0x6c0/0x9dc [ 621.726169][T28366] __arm64_sys_ioctl+0xd0/0x140 [ 621.726178][T28366] el0_svc_common+0x138/0x220 [ 621.726187][T28366] do_el0_svc+0x48/0x164 [ 621.726196][T28366] el0_svc+0x58/0x150 [ 621.726204][T28366] el0t_64_sync_handler+0x84/0xf0 [ 621.726213][T28366] el0t_64_sync+0x18c/0x190 [ 621.726297][T28367] CPU: 0 PID: 28367 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 621.726308][T28367] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 621.726313][T28367] Call trace: [ 621.726315][T28367] dump_backtrace+0x1c4/0x1f0 [ 621.726322][T28367] show_stack+0x2c/0x54 [ 621.726329][T28367] dump_stack_lvl+0x104/0x16c [ 621.726337][T28367] dump_stack+0x1c/0x58 [ 621.726345][T28367] sysfs_create_dir_ns+0x148/0x168 [ 621.726364][T28367] kobject_add_internal+0x244/0x530 [ 621.726372][T28367] kobject_add+0xb8/0x130 [ 621.726379][T28367] device_add+0x248/0x958 [ 621.726386][T28367] device_register+0x28/0x38 [ 621.726392][T28367] tty_register_device_attr+0x1a8/0x320 [ 621.726401][T28367] tty_register_device+0x3c/0x50 [ 621.726409][T28367] gsm_activate_mux+0x9c/0x1f4 [ 621.726418][T28367] gsmld_ioctl+0x6cc/0x764 [ 621.726426][T28367] tty_ioctl+0x6c0/0x9dc [ 621.726433][T28367] __arm64_sys_ioctl+0xd0/0x140 [ 621.726442][T28367] el0_svc_common+0x138/0x220 [ 621.726451][T28367] do_el0_svc+0x48/0x164 [ 621.726459][T28367] el0_svc+0x58/0x150 [ 621.726467][T28367] el0t_64_sync_handler+0x84/0xf0 [ 621.726476][T28367] el0t_64_sync+0x18c/0x190 [ 621.726490][T28367] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. [ 621.731080][T28366] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. [ 621.785216][T28371] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' 00:10:21 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096006c000800", 0x0, 0x2}) 00:10:21 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000120000960000000800", 0x0, 0x2}) [ 621.797411][T28371] CPU: 1 PID: 28371 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 621.799703][T28371] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 621.801905][T28371] Call trace: [ 621.802657][T28371] dump_backtrace+0x1c4/0x1f0 [ 621.803697][T28371] show_stack+0x2c/0x54 [ 621.803707][T28371] dump_stack_lvl+0x104/0x16c [ 621.803717][T28371] dump_stack+0x1c/0x58 [ 621.803725][T28371] sysfs_create_dir_ns+0x148/0x168 [ 621.803735][T28371] kobject_add_internal+0x244/0x530 [ 621.808577][T28371] kobject_add+0xb8/0x130 [ 621.808588][T28371] device_add+0x248/0x958 [ 621.808597][T28371] device_register+0x28/0x38 [ 621.808604][T28371] tty_register_device_attr+0x1a8/0x320 [ 621.812613][T28371] tty_register_device+0x3c/0x50 [ 621.813626][T28371] gsm_activate_mux+0x9c/0x1f4 [ 621.814591][T28371] gsmld_ioctl+0x6cc/0x764 [ 621.815695][T28371] tty_ioctl+0x6c0/0x9dc [ 621.816605][T28371] __arm64_sys_ioctl+0xd0/0x140 [ 621.817681][T28371] el0_svc_common+0x138/0x220 [ 621.818758][T28371] do_el0_svc+0x48/0x164 [ 621.819477][T28371] el0_svc+0x58/0x150 [ 621.820135][T28371] el0t_64_sync_handler+0x84/0xf0 [ 621.821395][T28371] el0t_64_sync+0x18c/0x190 [ 621.822403][ C1] vkms_vblank_simulate: vblank timer overrun 00:10:21 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000250000960000000800", 0x0, 0x2}) 00:10:21 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000005c0000960000000800", 0x0, 0x2}) [ 621.839205][T28371] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:22 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000ff00000000960000000800", 0x0, 0x2}) 00:10:22 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960074000800", 0x0, 0x2}) 00:10:22 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000008412000000960000000800", 0x0, 0x2}) 00:10:22 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000300960000000800", 0x0, 0x2}) 00:10:22 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) setsockopt$IPT_SO_SET_REPLACE(r0, 0x0, 0x40, &(0x7f0000000200)=@mangle={'mangle\x00', 0x1f, 0x6, 0x4b8, 0xb0, 0x1a8, 0x330, 0xb0, 0x1a8, 0x420, 0x420, 0x420, 0x420, 0x420, 0x6, &(0x7f0000000180), {[{{@ip={@remote, @loopback, 0x0, 0xffffff00, 'gre0\x00', 'veth0_to_hsr\x00', {}, {0xff}, 0x16, 0x3, 0x8}, 0x0, 0x70, 0xb0}, @inet=@TPROXY1={0x40, 'TPROXY\x00', 0x1, {0x74b6, 0x40, @ipv4=@broadcast, 0x4e20}}}, {{@ip={@remote, @dev={0xac, 0x14, 0x14, 0x14}, 0xffffff00, 0x0, 'ip6erspan0\x00', 'pim6reg\x00', {}, {0xff}, 0x1d, 0x3, 0x4}, 0x0, 0xd0, 0xf8, 0x0, {}, [@common=@inet=@udplite={{0x30}, {[0x4e22, 0x4e22], [0x4e23, 0x4e22], 0x1}}, @common=@addrtype={{0x30}, {0xaa, 0x6161714dd2753d1b}}]}, @TTL={0x28, 'TTL\x00', 0x0, {0x1, 0x40}}}, {{@uncond, 0x0, 0xc8, 0xf0, 0x0, {}, [@inet=@rpfilter={{0x28}}, @common=@ah={{0x30}, {[0x10001, 0x8], 0x1}}]}, @common=@inet=@SET1={0x28, 'SET\x00', 0x1, {{0x8001, 0x6, 0x2}, {0x1, 0x1, 0x2}}}}, {{@uncond, 0x0, 0x70, 0x98}, @TTL={0x28, 'TTL\x00', 0x0, {0x0, 0x5}}}, {{@ip={@private=0xa010100, @remote, 0x0, 0xffffff00, 'ip6erspan0\x00', 'sit0\x00', {}, {0xff}, 0x67, 0x1, 0x20}, 0x0, 0x90, 0xf0, 0x0, {}, [@common=@socket0={{0x20}}]}, @common=@SET={0x60, 'SET\x00', 0x0, {{0x4, [0x0, 0x1, 0x2, 0xe, 0xef399d43a5b942b1], 0x1, 0x2}, {0x4, [0x0, 0x7, 0x5, 0x5, 0x3, 0x3], 0x3, 0x1}}}}], {{'\x00', 0x0, 0x70, 0x98}, {0x28}}}}, 0x518) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async) r2 = accept4$rose(0xffffffffffffffff, &(0x7f0000001800)=@full={0xb, @dev, @netrom, 0x0, [@netrom, @bcast, @netrom, @default, @remote, @default]}, &(0x7f0000001840)=0x40, 0x0) ioctl$BTRFS_IOC_SCRUB(r1, 0xc400941b, &(0x7f0000001980)={0x0, 0x101, 0x8000000000000001}) getpeername(r2, &(0x7f0000001880)=@xdp, &(0x7f0000001900)=0x80) (async) bpf$MAP_UPDATE_ELEM(0x2, &(0x7f0000000140)={0xffffffffffffffff, &(0x7f0000000000)="ab298a82294ab9ce54aec7c286dd14d5a3b2ccc9be62029bb38ce16e9fb91958bf36ae5fcdbd381aeb0742bf5a958ab1ba8c16ccb3607a", &(0x7f00000000c0)=@buf="c5d746b29b7393a0c458955d7b8b6603ed2431a4b18ef6f3a28617e8cefee6fef5553b995877bdc4c51a9be4653908569078bf7b959c40e939db5f7ac5006839d3cbba56742ab523c59f8269eb7ba7f3255d2d0abf992675dfd4119beb2007b1afbcce1fbc"}, 0x20) (async) ioctl$BTRFS_IOC_DEV_INFO(r0, 0xd000941e, &(0x7f0000001d80)={r3, "f8085d1da1b2b2742e46fa7862af1e1a"}) ioctl$BTRFS_IOC_DEV_INFO(r2, 0xd000941e, &(0x7f0000002d80)={r4, "77e8a4a6c2177ea09bd90ac95baa4fbd"}) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r5 = syz_open_dev$tty20(0xc, 0x4, 0x1) socketpair(0x15, 0x6, 0x4cc0, &(0x7f0000001740)={0xffffffffffffffff, 0xffffffffffffffff}) bpf$MAP_UPDATE_ELEM(0x2, &(0x7f00000017c0)={0x1, &(0x7f0000000740)="240a92b02ca348e1e57d1f643751a701001dd71c28324181dc8b90308c138e532a990a9bccf32133583f68c13fa97865ddbee9354a9f78d2183210e967541e1b05c1177aeddc2cf42d1c42089693833e2869e99d8893b3e1c46b76efe51f7cf7cf01f15827c1d514cd00e2c470e7e828ad73f398a3ec3a0073d1857a9fa9599c3912fa7e171107ddf4badffce443c19f326d6efbb459bf1a53032fb37958efeea77e3654e9eb187c8c9025f71eeed8b12ca4bc5261334e571131f20aab1e7886dc6891664faabcf8ed100d1badea4d0d3d2e92b3cf47d68bb948cd7d36c87390bc2ecd52eb3be5e10409edb2d88e760b7233675088786ca026d214449ae04943f36ef92cae8b66d0a85c40d23902dbf5a585673c4ddc73b1bf6f9c3a34cdb2ff5bd9d7cd509183b0211b0f5bcd8c8a9764590c447afb09e0d6d6aa2d56c39cb6a8e889a56d41ed360e20de4f4f12ec5cc88c77741708ac1557274be0968f1bf6dd6af2f8958fa4939a060c51f157cb57e46b9a56bc7c18de43d6df59e85bfa03120ae8e68319ed47fc5bb63b171459b6f0879991a265544fbf2eeec2e7dcc25b80d5125dda5d519d9b7062a6827c9cb0576b6d4acec1292305b65a7f6a7016278ef1f76f657f702f82156b349f8167a5978858aaa93651bf02c309942c0d7d869d94cd8a3dbe6276f003b34ac182373a5ec0ccfd882a577800379e75c18a0b9eb86443267b1788fe0327895830ca2a1b7b4c855cb45adb9740baec57404b731d4a5c7b6127d2c51e7817c0bbbe3d38df110b25bb78a8c173a22b460fce5cb25fce814718a5ce0af2af154036f99df54cc309af89f569bc1e997d9dff62af7d11675a3da3175fea9193768b83323e901b14b5861a2bd711811f2a37986480aaf6f1ee066649ddaf701eac981f0360c0d8c2fb403386fbec067a0d441d8f36305f770702876ecf59826b023784566a1beac569739af18e3f1608126047c5fe746bb249c4950ba3d5f624e87bcb665398c49a828a9a5b9f80e40007900bddf91ea0b891076fbbb113467ae1bfedd8eeacb0f30c8f82e4fcd9b57920b62da3b170dfb99515b6e9a1a6e308262ebc649a3c374374b6a559c96f992ff6313577a85106840cb2d4077152c9a84dd699428d58b14cdd0f4ba9fe5e7e674695f68431cef40ddf5e11f65d89c57d90dd1f9e4468249235d2d090116e31c5c45adb1742e0e9bbbc365e145c39657ada50d6013da42397cf978a7f8a11aa012fb1c051e43debf5eb82d7abae88329d2f860425ee170f50fe32816253be8647c9daefe2a01668c04ba1ad747332fb26585c94307c93f8ebef7c19901be4b1a9b7e2ce147161f854b862092a9521d91c1463519f915558d74c9f8011248219cd034263276157abcf83690db449e67c3fb742a82037af0f285123a9d40f00d27569a4a7ca9a4a2c8506696ae0369a7426dbc738aa3f61c84b27dfe37713c4ac9a63a6992c7ac1cb293ae41b25caf9f1af9b2bd1b6de4ee88edcb65c0a5931558cb2e203a7bf14f64519674c090c744e811b905778bb6c2cb5dadce73b4dd68afc1b069fa9a9e32088d65c4de8190f71594e1d8aa6415e5b354019ebb8f0f4791f67329021745bef7f1231be5d45a98ac2c1eb6ffd89c34ef71ba6fa7f6d212b5de33e5461d74ee5909716d84f6c456d9c88ffd38cd8edda7270d597163092cb78c357be44ad8dfa53289294797aac7728353b140ca48c75addbd28de13b17410354adc7d24a884747deb3e95ec095a1c5662345c4e83919a70fb7ef08a14f618a84d4d2de519727172ad891782e926cd5aceefa12e5851096f8a15bf81f4ca28687238d361fab131210bceb874c0ae894152f0decc53f5c4db3d53fbaa5aefaf93fa709cad57f067a964c720e1e9fac374c9fbbf153700702d59c4b49e2c2ed6f38493408e99b25c2ca90c688e230dfb02bd86a39e6e127943e7bb51757b23f688a849432f748e268e815205d0bb99dc7f601741d7a26a7cc8f5ddbbdbbc411d057b86fa1cc7ed12e552c9c5808329ebb3b03dd99c9fbe01b6368a7e9bd9d0b32f66317166cc1a897a9ceeaf450950da6c89a58fce9d025c9eab2121e8a24aea7d9f58cf94a90826130b27e3b696eb4708959d3b6e95ad8457a5f153c1d46dd6a9f5506e6db51fa6548bd2b633a9c76b9e619044f71498217934468ac5ddf3c24b77b026b73ded9c8f901cbf01af869b7ead8c31e8c788260b190cd100965d8ecd679576e43700edfb7c08a89a122eeb13be7c8417ae5a8579d3f20810ff11415dbf36a553c80f50e6c407c81e357e8c93670f37369b1e64ca2ad07d94d8ecb4256c505e5fab10b62785aa180114961db935b3b7381e0d7bf1e4520798e60454faaf9a83432716bc033dc67e7310a462c61ae312b0df933ab0b3c67ea2e922fbac2daad867ce984b677b051c0f92ff75a4f80095875c8f7e9b09487dae9cab574d859bbcd57d85037fba91058c814e6709349f315bc99879d082b31eb5d95cb98aedebaaa04cfeb705b52ae82828ae2656a73e2ded4b6c46a3be0d35cf506153911a55db2dd6c9caba927bde359d508715fcc87a6f8e98cb59a86e207085bfcbd65b1ab0da6d3bf60149bef8ea6ab2b3e101c3e3fa75d171e96a6c92bd802ac72860ec619d8a2fcd2302eb84f147cc6c003d60550da4c17eeafc7389bcd86de6fedc3a6131f7dc3f6098d3454e33523e17263b1ca2457ffbe38b814472f0b42a1829c2610f3885a6d0b90533e183b9791ef65ebfca43973415c7f254aaa1f797e7595b61ac633bbfd3cd1c5491b0e435b922c149368a47ec3322dc8a873389781dee4b301a05730dffed1f292938691ab764c7736f3fea4df95d666cb1cdae53e2802eac0938ec7dcc9a5833a1dfc51069b8c7784a6e5eb4ed8033b6c208dbdd9c8818a4fa07c4d6d3925d424f202acded369a146820236875ebc464807087ce167ebc5d2367a4bbc6718c24c75bccb8616386895687f193ac029d70cd58315cb9416031990a1c360dbc20903c84ebc938c8a5e37635ab98f1699db162f50a07e3b0541792eb41410f07bb85394363dc848b0e2338ba1dd7587d79e3ebabb22fa5ac9d1f53a3336b67fc241b5691dbc7e894adda0f59be0f7ac2c1263302c50738459ba277c9a48e081d90009a192e9b0ee690920ccad805daa43ab12d8e650992097110f457306f71dd3add9f1d5132bdd195734e177174f251f4a80f2d8d53ca51e81a9a85fbfd8bbfdbe98d5620647ec5a2ef8b9c73ad219318fb2cd4db613e14813f46e2a9c62ff2ac4359c17e70c59d2daff189766fe02c0ffbdeea77685378f36f81fd23a31306e150f5dee780f2a5b01826bbd1753e7990420e141547a64d1e36d6453ef758c6eac5997b8e8803e76f5d7cf540cfe40af1ffe0ade88cd38e93d3ba4ff0663b7d47c35eb37c2004ac3ac3a62bb69ae96d383c0af91f4a379f3be89074b02f110776544e9e5fa3217990879535251cd5d48ee1ab81690428c4f64b543f16d1026657b27dff6ed53498aaa95739489f7a7ba74ce8f7f02d673957c289d8fa489ebdf978e47fbc7c3fdd262366644323eb0311bdde4337696c8032a4abc3be422e0785d62bc8a6ac4a1901b26e31ca01c57e04768b74fe07cdca374f52b74c476a3de7baac010a84940f6db7b98ededcf8fc7d2376e3498c6f00cd47a57497765cff45292437f53ecd1aec62af7c4b2cf07963932e9422ca112151b9511329ae1f86bd4221c3348ef06dc5589524fa1c878c8dbcce75491b101c9c695541dc2462315d31101b7bc5c36d930bf3dda866420fd1c843d67182aeb0f95e2b4ae77d1c75920f97c7b170bdce28826082085c21be7843bc8ffb18e481ab2991b16b22d90674cb76974a91ccdea87c710fc8184a9017baa777f7429598b03d94a87a47a735f0e0905cd474b8655c808ca7a042c60891d524a6af6228ccec89d6a9dfbb101f2e784fba1b100e1a6a420e59c33914ff3dc8e8f0cfdef1e5cb798c12bfc22f558eae9fba0ffcfe5e6c340a2abd16fba4ef0539011a9c8e1510620ef9ee50aa23da1c40c825f76df4841b6f26e999c841975456b19bcf80b53586e89b69c6dcdc62e0f95f08919fb400dd55c4b04b313871da16fd3462a3719d0c4b3eeb2a1f23cfd77e3cf61ea84dcc8de2dbb1cc40722d3c1b9773cf4ec6dd24f92770bb7d2350d7972b6774386ed9200a0cc015f6bcb79023ad0f57cdcbf4fed7af8951131c7411bf3b07ff0053ef282ee2815f3dcaf665695f242e1060a262bc616603958263767e13a7fbeec05c56694b4363b4df61fbd9af971c13f44dfcf53cd6c15a3c6ce0737449d0dbb95481befbb6b59faef0d9f9a8ce33e50455ce71253ad59f7ca1bbb847c604779c8f22b2c4a22a3dd6a267968fd767264610e60d04734bd4e52dd384f58d4a69a43886c6522dd953cbe1a86f88318287a0a92fef2d7917915e27c31cfd5dd5d8826793b8a29d2f44e142ee65e756c66bc7036394921c2a8928e32deb1171d8621139569b1a1be4169c5736bac7c9552f758572027a520ebb85ab517410c640ea2b297ca134447134d0b68f6bc9f578958a182a3333aaef9ca3fed963583c0fc583248a13d1cc00dda0d932970856281b9cbd347a0b06e3809b0c0670e524e79bb36ca63054d7a803675aa75cffa646bce82e77a140c86fe946def9c38b2054da3c86be7f0d89087fd28019606e9d3e6286e2f6332a2e9fbc046a7761444a9b129d80c6ce493d7575b7375923bf9a6b9d27da13cb3d1c49502eb732c47b049fdc82d6ad9dbd57395466ca428a3467b617562e0f20a60d4de8823421527aa83f9ce1e2a789a2569e06df1700c3dcdc5fbb940bf3a66864cc74c38fd29865d45514c7fb0d9e41b907cf782e2c3ef5be0fed82734850896ac607f0a8980ee0bf3759a380f498fc042a4052d9f2030fd057061fa212080b0b214d97c1afde646b853ca6676dfee38eec181e8e15c697badf71629f6fc90efbdb34ad78577f8d26fe65d82aa0102bc74755bdc7179df4b463ae68d865ddb11044db644ee1d2b463dea5960838846166bf1c90e6f296c2e2ee10cf2b5e5df85eac14e3e44f54686d9d9241af11d8b4795c5ab279d3d685625afbb4f03d38345cc307d92da57ccbbb893bf97e435f0ea0c128b22a80e26b8718842a7fdbda647ea175c1473dc6c405336f7bd7ed0ae75b9cece95c3dda10be9d33e2a063ccb487e61ab88adf5889e143fc3ac6ceb85892a293273b26627fdd0aab35be0802019d8deced5bb321bc4027b41619499a7e52ce81f9991820306346d7f2d360121213a5787825e6ff60e5b8e97db36ac4a53a400290862797353ac75c3019fc000b1e08050b4c693748602ce0bac92a89e4e312679bd4331f38e24673fb4a2d1a622a82ccf10f4b3864359e9ed7e5899a2222452581e3baabc83d0968cdb04b6c2f5103631b7a4a5ad2c2b87145594f301a093c4cee267b57aa90792a4f76292cdfa809e766c8eac8fb7cfe0e686b30921fec503a52707a95131278615a711f84176e8a17f7bbee1c02b051550ad8fed9536cfe7405daa7ac540267ca52721b07297717a15750bd8214abc12ac4b97ebd0a39fdad4201be8ee2f58e6bc65e81fbc491e2c14a59ff91670fa98d71d35bc5694ae1f4b72fd5e78962578de22539efa7bc3b40c61afb82c8700028ca9a5d1268b02a849f78e9c3dbb0915cf56159c33961bf1392732e9d6b8a4f9f474da83dc902dd8033277b5ee5585dbf63f319a3f4aaf", &(0x7f0000001780)=@tcp=r6, 0x4}, 0x20) ioctl$sock_SIOCGIFINDEX_80211(r6, 0x8933, &(0x7f0000001940)={'wlan1\x00'}) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r5, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:22 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012b10000960000000800", 0x0, 0x2}) [ 622.267091][T28388] x_tables: duplicate underflow at hook 1 00:10:22 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000500960000000800", 0x0, 0x2}) 00:10:22 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000ffffe0000000960000000800", 0x0, 0x2}) 00:10:22 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000600960000000800", 0x0, 0x2}) [ 622.327702][T28401] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 622.330703][T28401] CPU: 1 PID: 28401 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 622.332864][T28401] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 622.335020][T28401] Call trace: [ 622.335797][T28401] dump_backtrace+0x1c4/0x1f0 [ 622.336802][T28401] show_stack+0x2c/0x54 [ 622.337726][T28401] dump_stack_lvl+0x104/0x16c [ 622.338738][T28401] dump_stack+0x1c/0x58 [ 622.339669][T28401] sysfs_create_dir_ns+0x148/0x168 [ 622.340822][T28401] kobject_add_internal+0x244/0x530 [ 622.342060][T28401] kobject_add+0xb8/0x130 [ 622.343035][T28401] device_add+0x248/0x958 [ 622.343962][T28401] device_register+0x28/0x38 [ 622.345025][T28401] tty_register_device_attr+0x1a8/0x320 [ 622.346243][T28401] tty_register_device+0x3c/0x50 [ 622.347289][T28401] gsm_activate_mux+0x9c/0x1f4 [ 622.348290][T28401] gsmld_ioctl+0x6cc/0x764 [ 622.349245][T28401] tty_ioctl+0x6c0/0x9dc [ 622.350189][T28401] __arm64_sys_ioctl+0xd0/0x140 [ 622.351243][T28401] el0_svc_common+0x138/0x220 [ 622.352260][T28401] do_el0_svc+0x48/0x164 [ 622.353164][T28401] el0_svc+0x58/0x150 [ 622.354080][T28401] el0t_64_sync_handler+0x84/0xf0 [ 622.355214][T28401] el0t_64_sync+0x18c/0x190 [ 622.356248][ C1] vkms_vblank_simulate: vblank timer overrun 00:10:22 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000010000960000000800", 0x0, 0x2}) [ 622.373971][T28401] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:22 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000700960000000800", 0x0, 0x2}) 00:10:22 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000020000960000000800", 0x0, 0x2}) 00:10:22 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000900960000000800", 0x0, 0x2}) 00:10:22 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096007a000800", 0x0, 0x2}) 00:10:22 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000008812000000960000000800", 0x0, 0x2}) 00:10:22 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000030000960000000800", 0x0, 0x2}) 00:10:22 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000a00960000000800", 0x0, 0x2}) 00:10:22 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012b20000960000000800", 0x0, 0x2}) 00:10:22 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) setsockopt$IPT_SO_SET_REPLACE(r0, 0x0, 0x40, &(0x7f0000000200)=@mangle={'mangle\x00', 0x1f, 0x6, 0x4b8, 0xb0, 0x1a8, 0x330, 0xb0, 0x1a8, 0x420, 0x420, 0x420, 0x420, 0x420, 0x6, &(0x7f0000000180), {[{{@ip={@remote, @loopback, 0x0, 0xffffff00, 'gre0\x00', 'veth0_to_hsr\x00', {}, {0xff}, 0x16, 0x3, 0x8}, 0x0, 0x70, 0xb0}, @inet=@TPROXY1={0x40, 'TPROXY\x00', 0x1, {0x74b6, 0x40, @ipv4=@broadcast, 0x4e20}}}, {{@ip={@remote, @dev={0xac, 0x14, 0x14, 0x14}, 0xffffff00, 0x0, 'ip6erspan0\x00', 'pim6reg\x00', {}, {0xff}, 0x1d, 0x3, 0x4}, 0x0, 0xd0, 0xf8, 0x0, {}, [@common=@inet=@udplite={{0x30}, {[0x4e22, 0x4e22], [0x4e23, 0x4e22], 0x1}}, @common=@addrtype={{0x30}, {0xaa, 0x6161714dd2753d1b}}]}, @TTL={0x28, 'TTL\x00', 0x0, {0x1, 0x40}}}, {{@uncond, 0x0, 0xc8, 0xf0, 0x0, {}, [@inet=@rpfilter={{0x28}}, @common=@ah={{0x30}, {[0x10001, 0x8], 0x1}}]}, @common=@inet=@SET1={0x28, 'SET\x00', 0x1, {{0x8001, 0x6, 0x2}, {0x1, 0x1, 0x2}}}}, {{@uncond, 0x0, 0x70, 0x98}, @TTL={0x28, 'TTL\x00', 0x0, {0x0, 0x5}}}, {{@ip={@private=0xa010100, @remote, 0x0, 0xffffff00, 'ip6erspan0\x00', 'sit0\x00', {}, {0xff}, 0x67, 0x1, 0x20}, 0x0, 0x90, 0xf0, 0x0, {}, [@common=@socket0={{0x20}}]}, @common=@SET={0x60, 'SET\x00', 0x0, {{0x4, [0x0, 0x1, 0x2, 0xe, 0xef399d43a5b942b1], 0x1, 0x2}, {0x4, [0x0, 0x7, 0x5, 0x5, 0x3, 0x3], 0x3, 0x1}}}}], {{'\x00', 0x0, 0x70, 0x98}, {0x28}}}}, 0x518) (async) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async) r2 = accept4$rose(0xffffffffffffffff, &(0x7f0000001800)=@full={0xb, @dev, @netrom, 0x0, [@netrom, @bcast, @netrom, @default, @remote, @default]}, &(0x7f0000001840)=0x40, 0x0) ioctl$BTRFS_IOC_SCRUB(r1, 0xc400941b, &(0x7f0000001980)={0x0, 0x101, 0x8000000000000001}) (async, rerun: 64) getpeername(r2, &(0x7f0000001880)=@xdp, &(0x7f0000001900)=0x80) (rerun: 64) bpf$MAP_UPDATE_ELEM(0x2, &(0x7f0000000140)={0xffffffffffffffff, &(0x7f0000000000)="ab298a82294ab9ce54aec7c286dd14d5a3b2ccc9be62029bb38ce16e9fb91958bf36ae5fcdbd381aeb0742bf5a958ab1ba8c16ccb3607a", &(0x7f00000000c0)=@buf="c5d746b29b7393a0c458955d7b8b6603ed2431a4b18ef6f3a28617e8cefee6fef5553b995877bdc4c51a9be4653908569078bf7b959c40e939db5f7ac5006839d3cbba56742ab523c59f8269eb7ba7f3255d2d0abf992675dfd4119beb2007b1afbcce1fbc"}, 0x20) (async) ioctl$BTRFS_IOC_DEV_INFO(r0, 0xd000941e, &(0x7f0000001d80)={r3, "f8085d1da1b2b2742e46fa7862af1e1a"}) ioctl$BTRFS_IOC_DEV_INFO(r2, 0xd000941e, &(0x7f0000002d80)={r4, "77e8a4a6c2177ea09bd90ac95baa4fbd"}) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async, rerun: 32) r5 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async, rerun: 32) socketpair(0x15, 0x6, 0x4cc0, &(0x7f0000001740)={0xffffffffffffffff, 0xffffffffffffffff}) bpf$MAP_UPDATE_ELEM(0x2, &(0x7f00000017c0)={0x1, &(0x7f0000000740)="240a92b02ca348e1e57d1f643751a701001dd71c28324181dc8b90308c138e532a990a9bccf32133583f68c13fa97865ddbee9354a9f78d2183210e967541e1b05c1177aeddc2cf42d1c42089693833e2869e99d8893b3e1c46b76efe51f7cf7cf01f15827c1d514cd00e2c470e7e828ad73f398a3ec3a0073d1857a9fa9599c3912fa7e171107ddf4badffce443c19f326d6efbb459bf1a53032fb37958efeea77e3654e9eb187c8c9025f71eeed8b12ca4bc5261334e571131f20aab1e7886dc6891664faabcf8ed100d1badea4d0d3d2e92b3cf47d68bb948cd7d36c87390bc2ecd52eb3be5e10409edb2d88e760b7233675088786ca026d214449ae04943f36ef92cae8b66d0a85c40d23902dbf5a585673c4ddc73b1bf6f9c3a34cdb2ff5bd9d7cd509183b0211b0f5bcd8c8a9764590c447afb09e0d6d6aa2d56c39cb6a8e889a56d41ed360e20de4f4f12ec5cc88c77741708ac1557274be0968f1bf6dd6af2f8958fa4939a060c51f157cb57e46b9a56bc7c18de43d6df59e85bfa03120ae8e68319ed47fc5bb63b171459b6f0879991a265544fbf2eeec2e7dcc25b80d5125dda5d519d9b7062a6827c9cb0576b6d4acec1292305b65a7f6a7016278ef1f76f657f702f82156b349f8167a5978858aaa93651bf02c309942c0d7d869d94cd8a3dbe6276f003b34ac182373a5ec0ccfd882a577800379e75c18a0b9eb86443267b1788fe0327895830ca2a1b7b4c855cb45adb9740baec57404b731d4a5c7b6127d2c51e7817c0bbbe3d38df110b25bb78a8c173a22b460fce5cb25fce814718a5ce0af2af154036f99df54cc309af89f569bc1e997d9dff62af7d11675a3da3175fea9193768b83323e901b14b5861a2bd711811f2a37986480aaf6f1ee066649ddaf701eac981f0360c0d8c2fb403386fbec067a0d441d8f36305f770702876ecf59826b023784566a1beac569739af18e3f1608126047c5fe746bb249c4950ba3d5f624e87bcb665398c49a828a9a5b9f80e40007900bddf91ea0b891076fbbb113467ae1bfedd8eeacb0f30c8f82e4fcd9b57920b62da3b170dfb99515b6e9a1a6e308262ebc649a3c374374b6a559c96f992ff6313577a85106840cb2d4077152c9a84dd699428d58b14cdd0f4ba9fe5e7e674695f68431cef40ddf5e11f65d89c57d90dd1f9e4468249235d2d090116e31c5c45adb1742e0e9bbbc365e145c39657ada50d6013da42397cf978a7f8a11aa012fb1c051e43debf5eb82d7abae88329d2f860425ee170f50fe32816253be8647c9daefe2a01668c04ba1ad747332fb26585c94307c93f8ebef7c19901be4b1a9b7e2ce147161f854b862092a9521d91c1463519f915558d74c9f8011248219cd034263276157abcf83690db449e67c3fb742a82037af0f285123a9d40f00d27569a4a7ca9a4a2c8506696ae0369a7426dbc738aa3f61c84b27dfe37713c4ac9a63a6992c7ac1cb293ae41b25caf9f1af9b2bd1b6de4ee88edcb65c0a5931558cb2e203a7bf14f64519674c090c744e811b905778bb6c2cb5dadce73b4dd68afc1b069fa9a9e32088d65c4de8190f71594e1d8aa6415e5b354019ebb8f0f4791f67329021745bef7f1231be5d45a98ac2c1eb6ffd89c34ef71ba6fa7f6d212b5de33e5461d74ee5909716d84f6c456d9c88ffd38cd8edda7270d597163092cb78c357be44ad8dfa53289294797aac7728353b140ca48c75addbd28de13b17410354adc7d24a884747deb3e95ec095a1c5662345c4e83919a70fb7ef08a14f618a84d4d2de519727172ad891782e926cd5aceefa12e5851096f8a15bf81f4ca28687238d361fab131210bceb874c0ae894152f0decc53f5c4db3d53fbaa5aefaf93fa709cad57f067a964c720e1e9fac374c9fbbf153700702d59c4b49e2c2ed6f38493408e99b25c2ca90c688e230dfb02bd86a39e6e127943e7bb51757b23f688a849432f748e268e815205d0bb99dc7f601741d7a26a7cc8f5ddbbdbbc411d057b86fa1cc7ed12e552c9c5808329ebb3b03dd99c9fbe01b6368a7e9bd9d0b32f66317166cc1a897a9ceeaf450950da6c89a58fce9d025c9eab2121e8a24aea7d9f58cf94a90826130b27e3b696eb4708959d3b6e95ad8457a5f153c1d46dd6a9f5506e6db51fa6548bd2b633a9c76b9e619044f71498217934468ac5ddf3c24b77b026b73ded9c8f901cbf01af869b7ead8c31e8c788260b190cd100965d8ecd679576e43700edfb7c08a89a122eeb13be7c8417ae5a8579d3f20810ff11415dbf36a553c80f50e6c407c81e357e8c93670f37369b1e64ca2ad07d94d8ecb4256c505e5fab10b62785aa180114961db935b3b7381e0d7bf1e4520798e60454faaf9a83432716bc033dc67e7310a462c61ae312b0df933ab0b3c67ea2e922fbac2daad867ce984b677b051c0f92ff75a4f80095875c8f7e9b09487dae9cab574d859bbcd57d85037fba91058c814e6709349f315bc99879d082b31eb5d95cb98aedebaaa04cfeb705b52ae82828ae2656a73e2ded4b6c46a3be0d35cf506153911a55db2dd6c9caba927bde359d508715fcc87a6f8e98cb59a86e207085bfcbd65b1ab0da6d3bf60149bef8ea6ab2b3e101c3e3fa75d171e96a6c92bd802ac72860ec619d8a2fcd2302eb84f147cc6c003d60550da4c17eeafc7389bcd86de6fedc3a6131f7dc3f6098d3454e33523e17263b1ca2457ffbe38b814472f0b42a1829c2610f3885a6d0b90533e183b9791ef65ebfca43973415c7f254aaa1f797e7595b61ac633bbfd3cd1c5491b0e435b922c149368a47ec3322dc8a873389781dee4b301a05730dffed1f292938691ab764c7736f3fea4df95d666cb1cdae53e2802eac0938ec7dcc9a5833a1dfc51069b8c7784a6e5eb4ed8033b6c208dbdd9c8818a4fa07c4d6d3925d424f202acded369a146820236875ebc464807087ce167ebc5d2367a4bbc6718c24c75bccb8616386895687f193ac029d70cd58315cb9416031990a1c360dbc20903c84ebc938c8a5e37635ab98f1699db162f50a07e3b0541792eb41410f07bb85394363dc848b0e2338ba1dd7587d79e3ebabb22fa5ac9d1f53a3336b67fc241b5691dbc7e894adda0f59be0f7ac2c1263302c50738459ba277c9a48e081d90009a192e9b0ee690920ccad805daa43ab12d8e650992097110f457306f71dd3add9f1d5132bdd195734e177174f251f4a80f2d8d53ca51e81a9a85fbfd8bbfdbe98d5620647ec5a2ef8b9c73ad219318fb2cd4db613e14813f46e2a9c62ff2ac4359c17e70c59d2daff189766fe02c0ffbdeea77685378f36f81fd23a31306e150f5dee780f2a5b01826bbd1753e7990420e141547a64d1e36d6453ef758c6eac5997b8e8803e76f5d7cf540cfe40af1ffe0ade88cd38e93d3ba4ff0663b7d47c35eb37c2004ac3ac3a62bb69ae96d383c0af91f4a379f3be89074b02f110776544e9e5fa3217990879535251cd5d48ee1ab81690428c4f64b543f16d1026657b27dff6ed53498aaa95739489f7a7ba74ce8f7f02d673957c289d8fa489ebdf978e47fbc7c3fdd262366644323eb0311bdde4337696c8032a4abc3be422e0785d62bc8a6ac4a1901b26e31ca01c57e04768b74fe07cdca374f52b74c476a3de7baac010a84940f6db7b98ededcf8fc7d2376e3498c6f00cd47a57497765cff45292437f53ecd1aec62af7c4b2cf07963932e9422ca112151b9511329ae1f86bd4221c3348ef06dc5589524fa1c878c8dbcce75491b101c9c695541dc2462315d31101b7bc5c36d930bf3dda866420fd1c843d67182aeb0f95e2b4ae77d1c75920f97c7b170bdce28826082085c21be7843bc8ffb18e481ab2991b16b22d90674cb76974a91ccdea87c710fc8184a9017baa777f7429598b03d94a87a47a735f0e0905cd474b8655c808ca7a042c60891d524a6af6228ccec89d6a9dfbb101f2e784fba1b100e1a6a420e59c33914ff3dc8e8f0cfdef1e5cb798c12bfc22f558eae9fba0ffcfe5e6c340a2abd16fba4ef0539011a9c8e1510620ef9ee50aa23da1c40c825f76df4841b6f26e999c841975456b19bcf80b53586e89b69c6dcdc62e0f95f08919fb400dd55c4b04b313871da16fd3462a3719d0c4b3eeb2a1f23cfd77e3cf61ea84dcc8de2dbb1cc40722d3c1b9773cf4ec6dd24f92770bb7d2350d7972b6774386ed9200a0cc015f6bcb79023ad0f57cdcbf4fed7af8951131c7411bf3b07ff0053ef282ee2815f3dcaf665695f242e1060a262bc616603958263767e13a7fbeec05c56694b4363b4df61fbd9af971c13f44dfcf53cd6c15a3c6ce0737449d0dbb95481befbb6b59faef0d9f9a8ce33e50455ce71253ad59f7ca1bbb847c604779c8f22b2c4a22a3dd6a267968fd767264610e60d04734bd4e52dd384f58d4a69a43886c6522dd953cbe1a86f88318287a0a92fef2d7917915e27c31cfd5dd5d8826793b8a29d2f44e142ee65e756c66bc7036394921c2a8928e32deb1171d8621139569b1a1be4169c5736bac7c9552f758572027a520ebb85ab517410c640ea2b297ca134447134d0b68f6bc9f578958a182a3333aaef9ca3fed963583c0fc583248a13d1cc00dda0d932970856281b9cbd347a0b06e3809b0c0670e524e79bb36ca63054d7a803675aa75cffa646bce82e77a140c86fe946def9c38b2054da3c86be7f0d89087fd28019606e9d3e6286e2f6332a2e9fbc046a7761444a9b129d80c6ce493d7575b7375923bf9a6b9d27da13cb3d1c49502eb732c47b049fdc82d6ad9dbd57395466ca428a3467b617562e0f20a60d4de8823421527aa83f9ce1e2a789a2569e06df1700c3dcdc5fbb940bf3a66864cc74c38fd29865d45514c7fb0d9e41b907cf782e2c3ef5be0fed82734850896ac607f0a8980ee0bf3759a380f498fc042a4052d9f2030fd057061fa212080b0b214d97c1afde646b853ca6676dfee38eec181e8e15c697badf71629f6fc90efbdb34ad78577f8d26fe65d82aa0102bc74755bdc7179df4b463ae68d865ddb11044db644ee1d2b463dea5960838846166bf1c90e6f296c2e2ee10cf2b5e5df85eac14e3e44f54686d9d9241af11d8b4795c5ab279d3d685625afbb4f03d38345cc307d92da57ccbbb893bf97e435f0ea0c128b22a80e26b8718842a7fdbda647ea175c1473dc6c405336f7bd7ed0ae75b9cece95c3dda10be9d33e2a063ccb487e61ab88adf5889e143fc3ac6ceb85892a293273b26627fdd0aab35be0802019d8deced5bb321bc4027b41619499a7e52ce81f9991820306346d7f2d360121213a5787825e6ff60e5b8e97db36ac4a53a400290862797353ac75c3019fc000b1e08050b4c693748602ce0bac92a89e4e312679bd4331f38e24673fb4a2d1a622a82ccf10f4b3864359e9ed7e5899a2222452581e3baabc83d0968cdb04b6c2f5103631b7a4a5ad2c2b87145594f301a093c4cee267b57aa90792a4f76292cdfa809e766c8eac8fb7cfe0e686b30921fec503a52707a95131278615a711f84176e8a17f7bbee1c02b051550ad8fed9536cfe7405daa7ac540267ca52721b07297717a15750bd8214abc12ac4b97ebd0a39fdad4201be8ee2f58e6bc65e81fbc491e2c14a59ff91670fa98d71d35bc5694ae1f4b72fd5e78962578de22539efa7bc3b40c61afb82c8700028ca9a5d1268b02a849f78e9c3dbb0915cf56159c33961bf1392732e9d6b8a4f9f474da83dc902dd8033277b5ee5585dbf63f319a3f4aaf", &(0x7f0000001780)=@tcp=r6, 0x4}, 0x20) ioctl$sock_SIOCGIFINDEX_80211(r6, 0x8933, &(0x7f0000001940)={'wlan1\x00'}) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r5, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:22 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000b00960000000800", 0x0, 0x2}) 00:10:22 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) r1 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000000), 0x10c02, 0x0) open_tree(0xffffffffffffffff, &(0x7f00000000c0)='./file0\x00', 0x8800) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000100)=0x13) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r3 = syz_io_uring_complete(0x0) ioctl$TIOCSTI(r3, 0x5412, &(0x7f0000000580)=0x3) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) ioctl$TCFLSH(r2, 0x540b, 0x2) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x65, "d5eed70000000000000000960000000800", 0x0, 0x82}) r4 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$KDFONTOP_COPY(r1, 0x4b72, &(0x7f0000000540)={0x3, 0x1, 0x1f, 0x6, 0x196, &(0x7f0000000140)}) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) pipe2(&(0x7f00000005c0)={0xffffffffffffffff, 0xffffffffffffffff}, 0x10000) getsockopt$inet_udp_int(r5, 0x11, 0xb, &(0x7f0000000600), &(0x7f0000000640)=0x4) ioctl$TIOCSTI(0xffffffffffffffff, 0x5412, &(0x7f00000006c0)=0x50) ioctl$TCSETSF2(r4, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:22 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000025000000960000000800", 0x0, 0x2}) 00:10:22 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000c00960000000800", 0x0, 0x2}) 00:10:22 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000d00960000000800", 0x0, 0x2}) 00:10:23 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) r1 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000000), 0x10c02, 0x0) (async) open_tree(0xffffffffffffffff, &(0x7f00000000c0)='./file0\x00', 0x8800) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000100)=0x13) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r3 = syz_io_uring_complete(0x0) ioctl$TIOCSTI(r3, 0x5412, &(0x7f0000000580)=0x3) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) (async) ioctl$TCFLSH(r2, 0x540b, 0x2) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x65, "d5eed70000000000000000960000000800", 0x0, 0x82}) (async) r4 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$KDFONTOP_COPY(r1, 0x4b72, &(0x7f0000000540)={0x3, 0x1, 0x1f, 0x6, 0x196, &(0x7f0000000140)}) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) pipe2(&(0x7f00000005c0)={0xffffffffffffffff, 0xffffffffffffffff}, 0x10000) getsockopt$inet_udp_int(r5, 0x11, 0xb, &(0x7f0000000600), &(0x7f0000000640)=0x4) (async) ioctl$TIOCSTI(0xffffffffffffffff, 0x5412, &(0x7f00000006c0)=0x50) ioctl$TCSETSF2(r4, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 623.015636][T28441] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 623.019529][T28441] CPU: 1 PID: 28441 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 623.021766][T28441] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 623.024081][T28441] Call trace: [ 623.024766][T28441] dump_backtrace+0x1c4/0x1f0 [ 623.025762][T28441] show_stack+0x2c/0x54 [ 623.026692][T28441] dump_stack_lvl+0x104/0x16c [ 623.026704][T28441] dump_stack+0x1c/0x58 [ 623.026712][T28441] sysfs_create_dir_ns+0x148/0x168 [ 623.026722][T28441] kobject_add_internal+0x244/0x530 [ 623.026731][T28441] kobject_add+0xb8/0x130 [ 623.026738][T28441] device_add+0x248/0x958 [ 623.026746][T28441] device_register+0x28/0x38 [ 623.026754][T28441] tty_register_device_attr+0x1a8/0x320 [ 623.026764][T28441] tty_register_device+0x3c/0x50 [ 623.026772][T28441] gsm_activate_mux+0x9c/0x1f4 [ 623.026781][T28441] gsmld_ioctl+0x6cc/0x764 [ 623.026789][T28441] tty_ioctl+0x6c0/0x9dc [ 623.026797][T28441] __arm64_sys_ioctl+0xd0/0x140 [ 623.026807][T28441] el0_svc_common+0x138/0x220 [ 623.026816][T28441] do_el0_svc+0x48/0x164 [ 623.026825][T28441] el0_svc+0x58/0x150 [ 623.026833][T28441] el0t_64_sync_handler+0x84/0xf0 [ 623.026842][T28441] el0t_64_sync+0x18c/0x190 [ 623.052918][T28441] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:23 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000030800", 0x0, 0x2}) 00:10:23 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000e00960000000800", 0x0, 0x2}) 00:10:23 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) r1 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000000), 0x10c02, 0x0) open_tree(0xffffffffffffffff, &(0x7f00000000c0)='./file0\x00', 0x8800) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000100)=0x13) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r3 = syz_io_uring_complete(0x0) ioctl$TIOCSTI(r3, 0x5412, &(0x7f0000000580)=0x3) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) ioctl$TCFLSH(r2, 0x540b, 0x2) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x65, "d5eed70000000000000000960000000800", 0x0, 0x82}) r4 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$KDFONTOP_COPY(r1, 0x4b72, &(0x7f0000000540)={0x3, 0x1, 0x1f, 0x6, 0x196, &(0x7f0000000140)}) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) pipe2(&(0x7f00000005c0)={0xffffffffffffffff, 0xffffffffffffffff}, 0x10000) getsockopt$inet_udp_int(r5, 0x11, 0xb, &(0x7f0000000600), &(0x7f0000000640)=0x4) ioctl$TIOCSTI(0xffffffffffffffff, 0x5412, &(0x7f00000006c0)=0x50) ioctl$TCSETSF2(r4, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) openat$ptmx(0xffffffffffffff9c, &(0x7f0000000000), 0x10c02, 0x0) (async) open_tree(0xffffffffffffffff, &(0x7f00000000c0)='./file0\x00', 0x8800) (async) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000100)=0x13) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_io_uring_complete(0x0) (async) ioctl$TIOCSTI(r3, 0x5412, &(0x7f0000000580)=0x3) (async) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) (async) ioctl$TCFLSH(r2, 0x540b, 0x2) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x65, "d5eed70000000000000000960000000800", 0x0, 0x82}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$KDFONTOP_COPY(r1, 0x4b72, &(0x7f0000000540)={0x3, 0x1, 0x1f, 0x6, 0x196, &(0x7f0000000140)}) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) pipe2(&(0x7f00000005c0), 0x10000) (async) getsockopt$inet_udp_int(r5, 0x11, 0xb, &(0x7f0000000600), &(0x7f0000000640)=0x4) (async) ioctl$TIOCSTI(0xffffffffffffffff, 0x5412, &(0x7f00000006c0)=0x50) (async) ioctl$TCSETSF2(r4, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) 00:10:23 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000040000960000000800", 0x0, 0x2}) 00:10:23 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012b30000960000000800", 0x0, 0x2}) 00:10:23 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000001100960000000800", 0x0, 0x2}) 00:10:23 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000050800", 0x0, 0x2}) 00:10:23 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000001200960000000800", 0x0, 0x2}) [ 623.462562][T28462] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 623.464768][T28462] CPU: 1 PID: 28462 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 623.467102][T28462] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 623.469283][T28462] Call trace: [ 623.470046][T28462] dump_backtrace+0x1c4/0x1f0 [ 623.471047][T28462] show_stack+0x2c/0x54 [ 623.471936][T28462] dump_stack_lvl+0x104/0x16c [ 623.473034][T28462] dump_stack+0x1c/0x58 [ 623.473914][T28462] sysfs_create_dir_ns+0x148/0x168 [ 623.473925][T28462] kobject_add_internal+0x244/0x530 [ 623.473934][T28462] kobject_add+0xb8/0x130 [ 623.473941][T28462] device_add+0x248/0x958 [ 623.473948][T28462] device_register+0x28/0x38 [ 623.473955][T28462] tty_register_device_attr+0x1a8/0x320 [ 623.473965][T28462] tty_register_device+0x3c/0x50 [ 623.473972][T28462] gsm_activate_mux+0x9c/0x1f4 [ 623.473981][T28462] gsmld_ioctl+0x6cc/0x764 [ 623.473988][T28462] tty_ioctl+0x6c0/0x9dc [ 623.473995][T28462] __arm64_sys_ioctl+0xd0/0x140 [ 623.474004][T28462] el0_svc_common+0x138/0x220 [ 623.474012][T28462] do_el0_svc+0x48/0x164 [ 623.474020][T28462] el0_svc+0x58/0x150 [ 623.474027][T28462] el0t_64_sync_handler+0x84/0xf0 [ 623.474035][T28462] el0t_64_sync+0x18c/0x190 [ 623.483419][T28462] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:23 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000048000000960000000800", 0x0, 0x2}) 00:10:23 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012b40000960000000800", 0x0, 0x2}) 00:10:23 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000002500960000000800", 0x0, 0x2}) 00:10:23 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000005c00960000000800", 0x0, 0x2}) 00:10:23 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000004c000000960000000800", 0x0, 0x2}) 00:10:23 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000200960000000800", 0x0, 0x2}) 00:10:24 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000300960000000800", 0x0, 0x2}) 00:10:24 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000005c000000960000000800", 0x0, 0x2}) 00:10:24 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000050000960000000800", 0x0, 0x2}) 00:10:24 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)=0x44) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x2000012) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:24 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000060800", 0x0, 0x2}) 00:10:24 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000400960000000800", 0x0, 0x2}) 00:10:24 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)=0x44) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x2000012) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)=0x44) (async) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x2000012) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) [ 624.071231][T28512] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 624.086347][T28512] CPU: 1 PID: 28512 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 624.088632][T28512] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 624.090714][T28512] Call trace: [ 624.091338][T28512] dump_backtrace+0x1c4/0x1f0 [ 624.092472][T28512] show_stack+0x2c/0x54 [ 624.093309][T28512] dump_stack_lvl+0x104/0x16c [ 624.094280][T28512] dump_stack+0x1c/0x58 [ 624.095191][T28512] sysfs_create_dir_ns+0x148/0x168 [ 624.096313][T28512] kobject_add_internal+0x244/0x530 [ 624.097459][T28512] kobject_add+0xb8/0x130 [ 624.098323][T28512] device_add+0x248/0x958 [ 624.099192][T28512] device_register+0x28/0x38 [ 624.099201][T28512] tty_register_device_attr+0x1a8/0x320 [ 624.099211][T28512] tty_register_device+0x3c/0x50 [ 624.099220][T28512] gsm_activate_mux+0x9c/0x1f4 [ 624.103400][T28512] gsmld_ioctl+0x6cc/0x764 [ 624.104326][T28512] tty_ioctl+0x6c0/0x9dc [ 624.105221][T28512] __arm64_sys_ioctl+0xd0/0x140 [ 624.106295][T28512] el0_svc_common+0x138/0x220 [ 624.107296][T28512] do_el0_svc+0x48/0x164 [ 624.108137][T28512] el0_svc+0x58/0x150 [ 624.109047][T28512] el0t_64_sync_handler+0x84/0xf0 [ 624.110163][T28512] el0t_64_sync+0x18c/0x190 00:10:24 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012b50000960000000800", 0x0, 0x2}) 00:10:24 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000500960000000800", 0x0, 0x2}) 00:10:24 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)=0x44) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x2000012) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)=0x44) (async) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x2000012) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) 00:10:24 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000600960000000800", 0x0, 0x2}) [ 624.152305][T28512] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:24 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012b60000960000000800", 0x0, 0x2}) 00:10:24 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000700960000000800", 0x0, 0x2}) 00:10:24 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000068000000960000000800", 0x0, 0x2}) 00:10:24 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012b70000960000000800", 0x0, 0x2}) 00:10:24 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000800960000000800", 0x0, 0x2}) 00:10:24 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000060000960000000800", 0x0, 0x2}) 00:10:24 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000070800", 0x0, 0x2}) 00:10:24 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000900960000000800", 0x0, 0x2}) 00:10:24 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000006c000000960000000800", 0x0, 0x2}) 00:10:24 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000a00960000000800", 0x0, 0x2}) 00:10:24 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$AUTOFS_DEV_IOCTL_VERSION(0xffffffffffffffff, 0xc0189371, &(0x7f0000000000)={{0x1, 0x1, 0x18, r0}, './file0\x00'}) ioctl$KDSETKEYCODE(r2, 0x4b4d, &(0x7f00000000c0)={0x6, 0x5}) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r3 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) syz_io_uring_setup(0x3033, &(0x7f0000000100)={0x0, 0x35e6, 0x400, 0x1, 0x2df}, &(0x7f0000ffa000/0x4000)=nil, &(0x7f0000ffc000/0x4000)=nil, &(0x7f0000000180), &(0x7f00000001c0)) 00:10:24 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000b00960000000800", 0x0, 0x2}) 00:10:24 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001270000000960000000800", 0x0, 0x2}) 00:10:24 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000c00960000000800", 0x0, 0x2}) 00:10:24 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001271000000960000000800", 0x0, 0x2}) 00:10:25 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001272000000960000000800", 0x0, 0x2}) 00:10:25 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000d00960000000800", 0x0, 0x2}) 00:10:25 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000070000960000000800", 0x0, 0x2}) 00:10:25 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000ff0000960000000800", 0x0, 0x2}) 00:10:25 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000090800", 0x0, 0x2}) 00:10:25 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000e00960000000800", 0x0, 0x2}) 00:10:25 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000e0ffff0000960000000800", 0x0, 0x2}) [ 625.181433][T28587] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 625.183542][T28587] CPU: 1 PID: 28587 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 625.185655][T28587] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 625.187767][T28587] Call trace: [ 625.187771][T28587] dump_backtrace+0x1c4/0x1f0 [ 625.187784][T28587] show_stack+0x2c/0x54 [ 625.187791][T28587] dump_stack_lvl+0x104/0x16c [ 625.187801][T28587] dump_stack+0x1c/0x58 [ 625.187809][T28587] sysfs_create_dir_ns+0x148/0x168 [ 625.187819][T28587] kobject_add_internal+0x244/0x530 [ 625.187828][T28587] kobject_add+0xb8/0x130 [ 625.187835][T28587] device_add+0x248/0x958 [ 625.187843][T28587] device_register+0x28/0x38 [ 625.187850][T28587] tty_register_device_attr+0x1a8/0x320 [ 625.187861][T28587] tty_register_device+0x3c/0x50 [ 625.187869][T28587] gsm_activate_mux+0x9c/0x1f4 [ 625.187878][T28587] gsmld_ioctl+0x6cc/0x764 [ 625.187886][T28587] tty_ioctl+0x6c0/0x9dc [ 625.187894][T28587] __arm64_sys_ioctl+0xd0/0x140 [ 625.187903][T28587] el0_svc_common+0x138/0x220 [ 625.187913][T28587] do_el0_svc+0x48/0x164 [ 625.187921][T28587] el0_svc+0x58/0x150 [ 625.187930][T28587] el0t_64_sync_handler+0x84/0xf0 [ 625.187939][T28587] el0t_64_sync+0x18c/0x190 [ 625.204099][T28587] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:25 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$AUTOFS_DEV_IOCTL_VERSION(0xffffffffffffffff, 0xc0189371, &(0x7f0000000000)={{0x1, 0x1, 0x18, r0}, './file0\x00'}) ioctl$KDSETKEYCODE(r2, 0x4b4d, &(0x7f00000000c0)={0x6, 0x5}) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r3 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) syz_io_uring_setup(0x3033, &(0x7f0000000100)={0x0, 0x35e6, 0x400, 0x1, 0x2df}, &(0x7f0000ffa000/0x4000)=nil, &(0x7f0000ffc000/0x4000)=nil, &(0x7f0000000180), &(0x7f00000001c0)) 00:10:25 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000200000000960000000800", 0x0, 0x2}) 00:10:25 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000001000960000000800", 0x0, 0x2}) 00:10:25 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$AUTOFS_DEV_IOCTL_VERSION(0xffffffffffffffff, 0xc0189371, &(0x7f0000000000)={{0x1, 0x1, 0x18, r0}, './file0\x00'}) ioctl$KDSETKEYCODE(r2, 0x4b4d, &(0x7f00000000c0)={0x6, 0x5}) (async) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r3 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_io_uring_setup(0x3033, &(0x7f0000000100)={0x0, 0x35e6, 0x400, 0x1, 0x2df}, &(0x7f0000ffa000/0x4000)=nil, &(0x7f0000ffc000/0x4000)=nil, &(0x7f0000000180), &(0x7f00000001c0)) 00:10:25 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000001100960000000800", 0x0, 0x2}) [ 625.374638][T28606] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 625.377017][T28606] CPU: 0 PID: 28606 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 625.379313][T28606] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 625.381635][T28606] Call trace: [ 625.382374][T28606] dump_backtrace+0x1c4/0x1f0 [ 625.383345][T28606] show_stack+0x2c/0x54 [ 625.384241][T28606] dump_stack_lvl+0x104/0x16c [ 625.385244][T28606] dump_stack+0x1c/0x58 [ 625.386126][T28606] sysfs_create_dir_ns+0x148/0x168 [ 625.387295][T28606] kobject_add_internal+0x244/0x530 [ 625.388521][T28606] kobject_add+0xb8/0x130 [ 625.389466][T28606] device_add+0x248/0x958 [ 625.390374][T28606] device_register+0x28/0x38 [ 625.391346][T28606] tty_register_device_attr+0x1a8/0x320 [ 625.392640][T28606] tty_register_device+0x3c/0x50 [ 625.393652][T28606] gsm_activate_mux+0x9c/0x1f4 [ 625.394877][T28606] gsmld_ioctl+0x6cc/0x764 [ 625.395883][T28606] tty_ioctl+0x6c0/0x9dc [ 625.396893][T28606] __arm64_sys_ioctl+0xd0/0x140 [ 625.397920][T28606] el0_svc_common+0x138/0x220 [ 625.398949][T28606] do_el0_svc+0x48/0x164 [ 625.399987][T28606] el0_svc+0x58/0x150 [ 625.400855][T28606] el0t_64_sync_handler+0x84/0xf0 [ 625.401965][T28606] el0t_64_sync+0x18c/0x190 [ 625.405825][T28606] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:25 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001273000000960000000800", 0x0, 0x2}) 00:10:25 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSPTLCK(r1, 0x40045431, &(0x7f0000000000)) ioctl$EXT4_IOC_ALLOC_DA_BLKS(r1, 0x660c) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:25 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000080000960000000800", 0x0, 0x2}) 00:10:25 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000001200960000000800", 0x0, 0x2}) [ 625.689731][T28614] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 625.692012][T28614] CPU: 0 PID: 28614 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 625.694308][T28614] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 625.696552][T28614] Call trace: [ 625.697248][T28614] dump_backtrace+0x1c4/0x1f0 [ 625.698336][T28614] show_stack+0x2c/0x54 [ 625.699303][T28614] dump_stack_lvl+0x104/0x16c [ 625.699317][T28614] dump_stack+0x1c/0x58 [ 625.699325][T28614] sysfs_create_dir_ns+0x148/0x168 00:10:25 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000a0800", 0x0, 0x2}) 00:10:25 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000002500960000000800", 0x0, 0x2}) [ 625.699335][T28614] kobject_add_internal+0x244/0x530 [ 625.699345][T28614] kobject_add+0xb8/0x130 [ 625.699385][T28614] device_add+0x248/0x958 [ 625.699395][T28614] device_register+0x28/0x38 [ 625.699402][T28614] tty_register_device_attr+0x1a8/0x320 [ 625.699413][T28614] tty_register_device+0x3c/0x50 [ 625.699421][T28614] gsm_activate_mux+0x9c/0x1f4 [ 625.699431][T28614] gsmld_ioctl+0x6cc/0x764 [ 625.699439][T28614] tty_ioctl+0x6c0/0x9dc [ 625.699447][T28614] __arm64_sys_ioctl+0xd0/0x140 [ 625.699457][T28614] el0_svc_common+0x138/0x220 [ 625.699466][T28614] do_el0_svc+0x48/0x164 [ 625.699474][T28614] el0_svc+0x58/0x150 [ 625.699491][T28614] el0t_64_sync_handler+0x84/0xf0 [ 625.699509][T28614] el0t_64_sync+0x18c/0x190 [ 625.712819][T28614] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. [ 625.727915][T28617] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 625.729803][T28617] CPU: 0 PID: 28617 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 625.732076][T28617] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 625.734346][T28617] Call trace: [ 625.735037][T28617] dump_backtrace+0x1c4/0x1f0 [ 625.736151][T28617] show_stack+0x2c/0x54 [ 625.737091][T28617] dump_stack_lvl+0x104/0x16c [ 625.738009][T28617] dump_stack+0x1c/0x58 [ 625.738958][T28617] sysfs_create_dir_ns+0x148/0x168 [ 625.740078][T28617] kobject_add_internal+0x244/0x530 [ 625.741206][T28617] kobject_add+0xb8/0x130 [ 625.742162][T28617] device_add+0x248/0x958 [ 625.743095][T28617] device_register+0x28/0x38 [ 625.744099][T28617] tty_register_device_attr+0x1a8/0x320 [ 625.745330][T28617] tty_register_device+0x3c/0x50 [ 625.746409][T28617] gsm_activate_mux+0x9c/0x1f4 [ 625.747530][T28617] gsmld_ioctl+0x6cc/0x764 [ 625.748555][T28617] tty_ioctl+0x6c0/0x9dc [ 625.749524][T28617] __arm64_sys_ioctl+0xd0/0x140 [ 625.750515][T28617] el0_svc_common+0x138/0x220 [ 625.751504][T28617] do_el0_svc+0x48/0x164 [ 625.752453][T28617] el0_svc+0x58/0x150 [ 625.753320][T28617] el0t_64_sync_handler+0x84/0xf0 [ 625.754418][T28617] el0t_64_sync+0x18c/0x190 [ 625.762126][T28617] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:25 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000005c00960000000800", 0x0, 0x2}) 00:10:25 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000b0800", 0x0, 0x2}) 00:10:25 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000300000000960000000800", 0x0, 0x2}) 00:10:25 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000c0800", 0x0, 0x2}) 00:10:25 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000003960000000800", 0x0, 0x2}) 00:10:25 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000005960000000800", 0x0, 0x2}) 00:10:26 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000074000000960000000800", 0x0, 0x2}) 00:10:26 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSPTLCK(r1, 0x40045431, &(0x7f0000000000)) (async) ioctl$EXT4_IOC_ALLOC_DA_BLKS(r1, 0x660c) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:26 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000400000000960000000800", 0x0, 0x2}) 00:10:26 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000006960000000800", 0x0, 0x2}) 00:10:26 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000090000960000000800", 0x0, 0x2}) 00:10:26 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSPTLCK(r1, 0x40045431, &(0x7f0000000000)) ioctl$EXT4_IOC_ALLOC_DA_BLKS(r1, 0x660c) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSPTLCK(r1, 0x40045431, &(0x7f0000000000)) (async) ioctl$EXT4_IOC_ALLOC_DA_BLKS(r1, 0x660c) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) 00:10:26 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000007960000000800", 0x0, 0x2}) [ 626.432528][T28659] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 626.435210][T28660] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 626.437431][T28660] CPU: 1 PID: 28660 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 626.439710][T28660] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 626.441653][T28660] Call trace: [ 626.442294][T28660] dump_backtrace+0x1c4/0x1f0 [ 626.443357][T28660] show_stack+0x2c/0x54 [ 626.444234][T28660] dump_stack_lvl+0x104/0x16c [ 626.445366][T28660] dump_stack+0x1c/0x58 [ 626.446252][T28660] sysfs_create_dir_ns+0x148/0x168 [ 626.447341][T28660] kobject_add_internal+0x244/0x530 [ 626.448433][T28660] kobject_add+0xb8/0x130 [ 626.449400][T28660] device_add+0x248/0x958 [ 626.450277][T28660] device_register+0x28/0x38 [ 626.451299][T28660] tty_register_device_attr+0x1a8/0x320 [ 626.452529][T28660] tty_register_device+0x3c/0x50 [ 626.452541][T28660] gsm_activate_mux+0x9c/0x1f4 [ 626.452550][T28660] gsmld_ioctl+0x6cc/0x764 [ 626.452558][T28660] tty_ioctl+0x6c0/0x9dc [ 626.452566][T28660] __arm64_sys_ioctl+0xd0/0x140 [ 626.452576][T28660] el0_svc_common+0x138/0x220 [ 626.452586][T28660] do_el0_svc+0x48/0x164 [ 626.452594][T28660] el0_svc+0x58/0x150 [ 626.452603][T28660] el0t_64_sync_handler+0x84/0xf0 00:10:26 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) r2 = landlock_create_ruleset(&(0x7f00000000c0)={0x5800}, 0x8, 0x0) ioctl$FS_IOC_GET_ENCRYPTION_NONCE(r2, 0x8010661b, &(0x7f0000000100)) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) ioctl$AUTOFS_IOC_PROTOSUBVER(r1, 0x80049367, &(0x7f0000000000)) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x3, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 626.452612][T28660] el0t_64_sync+0x18c/0x190 [ 626.453711][T28659] CPU: 1 PID: 28659 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 626.453723][T28659] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 626.453729][T28659] Call trace: [ 626.453731][T28659] dump_backtrace+0x1c4/0x1f0 [ 626.453742][T28659] show_stack+0x2c/0x54 [ 626.453749][T28659] dump_stack_lvl+0x104/0x16c [ 626.453757][T28659] dump_stack+0x1c/0x58 [ 626.453765][T28659] sysfs_create_dir_ns+0x148/0x168 [ 626.453774][T28659] kobject_add_internal+0x244/0x530 [ 626.453782][T28659] kobject_add+0xb8/0x130 [ 626.453789][T28659] device_add+0x248/0x958 [ 626.453796][T28659] device_register+0x28/0x38 [ 626.453803][T28659] tty_register_device_attr+0x1a8/0x320 [ 626.453812][T28659] tty_register_device+0x3c/0x50 [ 626.453820][T28659] gsm_activate_mux+0x9c/0x1f4 [ 626.453829][T28659] gsmld_ioctl+0x6cc/0x764 [ 626.453837][T28659] tty_ioctl+0x6c0/0x9dc [ 626.453844][T28659] __arm64_sys_ioctl+0xd0/0x140 [ 626.453853][T28659] el0_svc_common+0x138/0x220 [ 626.453862][T28659] do_el0_svc+0x48/0x164 [ 626.453870][T28659] el0_svc+0x58/0x150 [ 626.453879][T28659] el0t_64_sync_handler+0x84/0xf0 [ 626.453888][T28659] el0t_64_sync+0x18c/0x190 [ 626.454279][T28659] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. [ 626.472331][T28660] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:26 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000009960000000800", 0x0, 0x2}) 00:10:26 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000d0800", 0x0, 0x2}) 00:10:26 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) r2 = landlock_create_ruleset(&(0x7f00000000c0)={0x5800}, 0x8, 0x0) ioctl$FS_IOC_GET_ENCRYPTION_NONCE(r2, 0x8010661b, &(0x7f0000000100)) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) ioctl$AUTOFS_IOC_PROTOSUBVER(r1, 0x80049367, &(0x7f0000000000)) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x3, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) landlock_create_ruleset(&(0x7f00000000c0)={0x5800}, 0x8, 0x0) (async) ioctl$FS_IOC_GET_ENCRYPTION_NONCE(r2, 0x8010661b, &(0x7f0000000100)) (async) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) (async) ioctl$AUTOFS_IOC_PROTOSUBVER(r1, 0x80049367, &(0x7f0000000000)) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x3, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) 00:10:26 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000a960000000800", 0x0, 0x2}) [ 626.675626][T28674] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 626.677820][T28674] CPU: 1 PID: 28674 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 626.680135][T28674] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 626.682350][T28674] Call trace: [ 626.683128][T28674] dump_backtrace+0x1c4/0x1f0 [ 626.684144][T28674] show_stack+0x2c/0x54 [ 626.685076][T28674] dump_stack_lvl+0x104/0x16c [ 626.686123][T28674] dump_stack+0x1c/0x58 [ 626.687027][T28674] sysfs_create_dir_ns+0x148/0x168 [ 626.688089][T28674] kobject_add_internal+0x244/0x530 [ 626.689147][T28674] kobject_add+0xb8/0x130 [ 626.690132][T28674] device_add+0x248/0x958 [ 626.691092][T28674] device_register+0x28/0x38 [ 626.692098][T28674] tty_register_device_attr+0x1a8/0x320 [ 626.693340][T28674] tty_register_device+0x3c/0x50 [ 626.694456][T28674] gsm_activate_mux+0x9c/0x1f4 [ 626.695483][T28674] gsmld_ioctl+0x6cc/0x764 [ 626.696492][T28674] tty_ioctl+0x6c0/0x9dc [ 626.697414][T28674] __arm64_sys_ioctl+0xd0/0x140 [ 626.698440][T28674] el0_svc_common+0x138/0x220 [ 626.699436][T28674] do_el0_svc+0x48/0x164 [ 626.700358][T28674] el0_svc+0x58/0x150 [ 626.701209][T28674] el0t_64_sync_handler+0x84/0xf0 [ 626.702323][T28674] el0t_64_sync+0x18c/0x190 [ 626.711902][T28674] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:26 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001274000000960000000800", 0x0, 0x2}) 00:10:26 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000b960000000800", 0x0, 0x2}) 00:10:26 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000e0800", 0x0, 0x2}) 00:10:26 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000500000000960000000800", 0x0, 0x2}) 00:10:26 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000a0000960000000800", 0x0, 0x2}) 00:10:26 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000c960000000800", 0x0, 0x2}) 00:10:27 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001275000000960000000800", 0x0, 0x2}) 00:10:27 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000d960000000800", 0x0, 0x2}) [ 627.044572][T28700] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 627.046345][T28700] CPU: 0 PID: 28700 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 627.048663][T28700] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 627.050854][T28700] Call trace: [ 627.051665][T28700] dump_backtrace+0x1c4/0x1f0 [ 627.052714][T28700] show_stack+0x2c/0x54 [ 627.053505][T28700] dump_stack_lvl+0x104/0x16c [ 627.054502][T28700] dump_stack+0x1c/0x58 [ 627.055423][T28700] sysfs_create_dir_ns+0x148/0x168 [ 627.055438][T28700] kobject_add_internal+0x244/0x530 [ 627.055448][T28700] kobject_add+0xb8/0x130 [ 627.055454][T28700] device_add+0x248/0x958 [ 627.055462][T28700] device_register+0x28/0x38 [ 627.060616][T28700] tty_register_device_attr+0x1a8/0x320 [ 627.060629][T28700] tty_register_device+0x3c/0x50 [ 627.060637][T28700] gsm_activate_mux+0x9c/0x1f4 [ 627.060646][T28700] gsmld_ioctl+0x6cc/0x764 [ 627.060654][T28700] tty_ioctl+0x6c0/0x9dc 00:10:27 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001276000000960000000800", 0x0, 0x2}) [ 627.065911][T28700] __arm64_sys_ioctl+0xd0/0x140 [ 627.066900][T28700] el0_svc_common+0x138/0x220 [ 627.067933][T28700] do_el0_svc+0x48/0x164 [ 627.068895][T28700] el0_svc+0x58/0x150 [ 627.069806][T28700] el0t_64_sync_handler+0x84/0xf0 [ 627.070899][T28700] el0t_64_sync+0x18c/0x190 00:10:27 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) r2 = landlock_create_ruleset(&(0x7f00000000c0)={0x5800}, 0x8, 0x0) ioctl$FS_IOC_GET_ENCRYPTION_NONCE(r2, 0x8010661b, &(0x7f0000000100)) (async) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) ioctl$AUTOFS_IOC_PROTOSUBVER(r1, 0x80049367, &(0x7f0000000000)) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x3, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:27 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000e960000000800", 0x0, 0x2}) 00:10:27 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETA(0xffffffffffffffff, 0x5406, &(0x7f0000000000)={0x8, 0xffff, 0x4, 0x40, 0xf, "7436b17dc4822d80"}) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCGLCKTRMIOS(r1, 0x5456, &(0x7f00000000c0)={0x49, 0x9, 0xf1, 0x2, 0x11, "3981442aaa6554fdd9561395ff9a974895ee94"}) syz_open_dev$tty20(0xc, 0x4, 0x0) 00:10:27 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000011960000000800", 0x0, 0x2}) [ 627.146713][T28717] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 627.150232][T28717] CPU: 1 PID: 28717 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 627.152367][T28717] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 627.152374][T28717] Call trace: [ 627.152377][T28717] dump_backtrace+0x1c4/0x1f0 [ 627.152387][T28717] show_stack+0x2c/0x54 [ 627.152394][T28717] dump_stack_lvl+0x104/0x16c [ 627.152403][T28717] dump_stack+0x1c/0x58 [ 627.152411][T28717] sysfs_create_dir_ns+0x148/0x168 [ 627.152420][T28717] kobject_add_internal+0x244/0x530 [ 627.152429][T28717] kobject_add+0xb8/0x130 [ 627.152436][T28717] device_add+0x248/0x958 [ 627.160071][T28700] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. [ 627.160139][T28717] device_register+0x28/0x38 [ 627.166774][T28717] tty_register_device_attr+0x1a8/0x320 [ 627.166787][T28717] tty_register_device+0x3c/0x50 [ 627.166795][T28717] gsm_activate_mux+0x9c/0x1f4 [ 627.166805][T28717] gsmld_ioctl+0x6cc/0x764 [ 627.166813][T28717] tty_ioctl+0x6c0/0x9dc [ 627.166820][T28717] __arm64_sys_ioctl+0xd0/0x140 [ 627.166831][T28717] el0_svc_common+0x138/0x220 [ 627.166839][T28717] do_el0_svc+0x48/0x164 [ 627.166847][T28717] el0_svc+0x58/0x150 [ 627.166856][T28717] el0t_64_sync_handler+0x84/0xf0 [ 627.166864][T28717] el0t_64_sync+0x18c/0x190 00:10:27 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000012960000000800", 0x0, 0x2}) [ 627.208787][T28717] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:27 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000110800", 0x0, 0x2}) 00:10:27 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETA(0xffffffffffffffff, 0x5406, &(0x7f0000000000)={0x8, 0xffff, 0x4, 0x40, 0xf, "7436b17dc4822d80"}) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCGLCKTRMIOS(r1, 0x5456, &(0x7f00000000c0)={0x49, 0x9, 0xf1, 0x2, 0x11, "3981442aaa6554fdd9561395ff9a974895ee94"}) syz_open_dev$tty20(0xc, 0x4, 0x0) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TCSETA(0xffffffffffffffff, 0x5406, &(0x7f0000000000)={0x8, 0xffff, 0x4, 0x40, 0xf, "7436b17dc4822d80"}) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCGLCKTRMIOS(r1, 0x5456, &(0x7f00000000c0)={0x49, 0x9, 0xf1, 0x2, 0x11, "3981442aaa6554fdd9561395ff9a974895ee94"}) (async) syz_open_dev$tty20(0xc, 0x4, 0x0) (async) 00:10:27 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000025960000000800", 0x0, 0x2}) 00:10:27 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000600000000960000000800", 0x0, 0x2}) 00:10:27 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000b0000960000000800", 0x0, 0x2}) 00:10:27 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000005c960000000800", 0x0, 0x2}) [ 627.652578][T28735] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 627.656073][T28736] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 627.658557][T28735] CPU: 1 PID: 28735 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 627.660747][T28735] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 627.662933][T28735] Call trace: [ 627.663686][T28735] dump_backtrace+0x1c4/0x1f0 [ 627.664696][T28735] show_stack+0x2c/0x54 [ 627.665631][T28735] dump_stack_lvl+0x104/0x16c [ 627.666648][T28735] dump_stack+0x1c/0x58 [ 627.667623][T28735] sysfs_create_dir_ns+0x148/0x168 [ 627.668755][T28735] kobject_add_internal+0x244/0x530 [ 627.669911][T28735] kobject_add+0xb8/0x130 [ 627.670922][T28735] device_add+0x248/0x958 [ 627.671895][T28735] device_register+0x28/0x38 [ 627.672985][T28735] tty_register_device_attr+0x1a8/0x320 [ 627.674079][T28735] tty_register_device+0x3c/0x50 [ 627.675221][T28735] gsm_activate_mux+0x9c/0x1f4 [ 627.676235][T28735] gsmld_ioctl+0x6cc/0x764 [ 627.677121][T28735] tty_ioctl+0x6c0/0x9dc [ 627.678137][T28735] __arm64_sys_ioctl+0xd0/0x140 [ 627.679135][T28735] el0_svc_common+0x138/0x220 [ 627.680154][T28735] do_el0_svc+0x48/0x164 [ 627.681029][T28735] el0_svc+0x58/0x150 [ 627.681928][T28735] el0t_64_sync_handler+0x84/0xf0 [ 627.683017][T28735] el0t_64_sync+0x18c/0x190 [ 627.683948][T28736] CPU: 0 PID: 28736 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 627.686253][T28736] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 627.686259][T28736] Call trace: [ 627.686262][T28736] dump_backtrace+0x1c4/0x1f0 [ 627.686271][T28736] show_stack+0x2c/0x54 [ 627.690893][T28736] dump_stack_lvl+0x104/0x16c [ 627.691927][T28736] dump_stack+0x1c/0x58 [ 627.692852][T28736] sysfs_create_dir_ns+0x148/0x168 [ 627.694063][T28736] kobject_add_internal+0x244/0x530 [ 627.695195][T28736] kobject_add+0xb8/0x130 [ 627.696147][T28736] device_add+0x248/0x958 [ 627.697123][T28736] device_register+0x28/0x38 [ 627.698144][T28736] tty_register_device_attr+0x1a8/0x320 [ 627.699344][T28736] tty_register_device+0x3c/0x50 [ 627.700356][T28736] gsm_activate_mux+0x9c/0x1f4 [ 627.701422][T28736] gsmld_ioctl+0x6cc/0x764 [ 627.702344][T28736] tty_ioctl+0x6c0/0x9dc [ 627.703234][T28736] __arm64_sys_ioctl+0xd0/0x140 [ 627.704201][T28736] el0_svc_common+0x138/0x220 [ 627.705219][T28736] do_el0_svc+0x48/0x164 [ 627.706098][T28736] el0_svc+0x58/0x150 [ 627.706992][T28736] el0t_64_sync_handler+0x84/0xf0 [ 627.708073][T28736] el0t_64_sync+0x18c/0x190 00:10:27 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001277000000960000000800", 0x0, 0x2}) 00:10:27 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000120800", 0x0, 0x2}) 00:10:27 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000002960000000800", 0x0, 0x2}) [ 627.718618][T28735] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:27 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960016120800", 0x0, 0x2}) 00:10:27 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000003960000000800", 0x0, 0x2}) [ 627.764308][T28736] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:27 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960017120800", 0x0, 0x2}) [ 627.786038][T28755] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 627.792045][T28755] CPU: 1 PID: 28755 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 627.794303][T28755] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 627.796527][T28755] Call trace: [ 627.796531][T28755] dump_backtrace+0x1c4/0x1f0 [ 627.796541][T28755] show_stack+0x2c/0x54 [ 627.796548][T28755] dump_stack_lvl+0x104/0x16c [ 627.796557][T28755] dump_stack+0x1c/0x58 [ 627.796565][T28755] sysfs_create_dir_ns+0x148/0x168 [ 627.796575][T28755] kobject_add_internal+0x244/0x530 [ 627.796583][T28755] kobject_add+0xb8/0x130 [ 627.796590][T28755] device_add+0x248/0x958 [ 627.796598][T28755] device_register+0x28/0x38 [ 627.796605][T28755] tty_register_device_attr+0x1a8/0x320 [ 627.796614][T28755] tty_register_device+0x3c/0x50 [ 627.796622][T28755] gsm_activate_mux+0x9c/0x1f4 [ 627.796631][T28755] gsmld_ioctl+0x6cc/0x764 [ 627.796639][T28755] tty_ioctl+0x6c0/0x9dc [ 627.796647][T28755] __arm64_sys_ioctl+0xd0/0x140 [ 627.796657][T28755] el0_svc_common+0x138/0x220 [ 627.796666][T28755] do_el0_svc+0x48/0x164 [ 627.796674][T28755] el0_svc+0x58/0x150 [ 627.796682][T28755] el0t_64_sync_handler+0x84/0xf0 [ 627.796691][T28755] el0t_64_sync+0x18c/0x190 [ 627.803437][T28755] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:27 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000004960000000800", 0x0, 0x2}) 00:10:28 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000005960000000800", 0x0, 0x2}) 00:10:28 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960019120800", 0x0, 0x2}) 00:10:28 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000700000000960000000800", 0x0, 0x2}) 00:10:28 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETA(0xffffffffffffffff, 0x5406, &(0x7f0000000000)={0x8, 0xffff, 0x4, 0x40, 0xf, "7436b17dc4822d80"}) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCGLCKTRMIOS(r1, 0x5456, &(0x7f00000000c0)={0x49, 0x9, 0xf1, 0x2, 0x11, "3981442aaa6554fdd9561395ff9a974895ee94"}) syz_open_dev$tty20(0xc, 0x4, 0x0) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TCSETA(0xffffffffffffffff, 0x5406, &(0x7f0000000000)={0x8, 0xffff, 0x4, 0x40, 0xf, "7436b17dc4822d80"}) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCGLCKTRMIOS(r1, 0x5456, &(0x7f00000000c0)={0x49, 0x9, 0xf1, 0x2, 0x11, "3981442aaa6554fdd9561395ff9a974895ee94"}) (async) syz_open_dev$tty20(0xc, 0x4, 0x0) (async) 00:10:28 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000c0000960000000800", 0x0, 0x2}) 00:10:28 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001278000000960000000800", 0x0, 0x2}) 00:10:28 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000006960000000800", 0x0, 0x2}) 00:10:28 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000007960000000800", 0x0, 0x2}) [ 628.257622][T28775] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 628.260873][T28775] CPU: 0 PID: 28775 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 628.263143][T28775] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 628.263149][T28775] Call trace: [ 628.263152][T28775] dump_backtrace+0x1c4/0x1f0 [ 628.263164][T28775] show_stack+0x2c/0x54 [ 628.263170][T28775] dump_stack_lvl+0x104/0x16c [ 628.263179][T28775] dump_stack+0x1c/0x58 [ 628.263186][T28775] sysfs_create_dir_ns+0x148/0x168 [ 628.263195][T28775] kobject_add_internal+0x244/0x530 [ 628.272079][T28775] kobject_add+0xb8/0x130 [ 628.273110][T28775] device_add+0x248/0x958 [ 628.274093][T28775] device_register+0x28/0x38 [ 628.275164][T28775] tty_register_device_attr+0x1a8/0x320 [ 628.276469][T28775] tty_register_device+0x3c/0x50 [ 628.277556][T28775] gsm_activate_mux+0x9c/0x1f4 [ 628.278614][T28775] gsmld_ioctl+0x6cc/0x764 [ 628.279595][T28775] tty_ioctl+0x6c0/0x9dc [ 628.280519][T28775] __arm64_sys_ioctl+0xd0/0x140 [ 628.281586][T28775] el0_svc_common+0x138/0x220 [ 628.282617][T28775] do_el0_svc+0x48/0x164 [ 628.283547][T28775] el0_svc+0x58/0x150 [ 628.284367][T28775] el0t_64_sync_handler+0x84/0xf0 [ 628.285432][T28775] el0t_64_sync+0x18c/0x190 00:10:28 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001279000000960000000800", 0x0, 0x2}) [ 628.288514][T28778] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 628.296575][T28775] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:28 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000008960000000800", 0x0, 0x2}) [ 628.299877][T28778] CPU: 1 PID: 28778 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 628.302022][T28778] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 628.302029][T28778] Call trace: [ 628.302032][T28778] dump_backtrace+0x1c4/0x1f0 [ 628.302042][T28778] show_stack+0x2c/0x54 [ 628.306933][T28778] dump_stack_lvl+0x104/0x16c [ 628.307966][T28778] dump_stack+0x1c/0x58 [ 628.308884][T28778] sysfs_create_dir_ns+0x148/0x168 [ 628.309978][T28778] kobject_add_internal+0x244/0x530 [ 628.311091][T28778] kobject_add+0xb8/0x130 [ 628.311969][T28778] device_add+0x248/0x958 [ 628.312899][T28778] device_register+0x28/0x38 [ 628.313832][T28778] tty_register_device_attr+0x1a8/0x320 [ 628.314977][T28778] tty_register_device+0x3c/0x50 [ 628.316018][T28778] gsm_activate_mux+0x9c/0x1f4 [ 628.317037][T28778] gsmld_ioctl+0x6cc/0x764 [ 628.318034][T28778] tty_ioctl+0x6c0/0x9dc [ 628.318988][T28778] __arm64_sys_ioctl+0xd0/0x140 [ 628.320043][T28778] el0_svc_common+0x138/0x220 [ 628.321068][T28778] do_el0_svc+0x48/0x164 [ 628.322004][T28778] el0_svc+0x58/0x150 [ 628.322833][T28778] el0t_64_sync_handler+0x84/0xf0 [ 628.323978][T28778] el0t_64_sync+0x18c/0x190 00:10:28 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000009960000000800", 0x0, 0x2}) 00:10:28 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000007a000000960000000800", 0x0, 0x2}) [ 628.364180][T28778] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:28 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000a960000000800", 0x0, 0x2}) 00:10:28 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000127a000000960000000800", 0x0, 0x2}) [ 628.672524][T28800] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 628.675405][T28800] CPU: 1 PID: 28800 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 628.677636][T28800] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 628.679931][T28800] Call trace: [ 628.680694][T28800] dump_backtrace+0x1c4/0x1f0 [ 628.681741][T28800] show_stack+0x2c/0x54 [ 628.682618][T28800] dump_stack_lvl+0x104/0x16c [ 628.683664][T28800] dump_stack+0x1c/0x58 [ 628.684512][T28800] sysfs_create_dir_ns+0x148/0x168 [ 628.685656][T28800] kobject_add_internal+0x244/0x530 [ 628.686812][T28800] kobject_add+0xb8/0x130 [ 628.687761][T28800] device_add+0x248/0x958 [ 628.688655][T28800] device_register+0x28/0x38 [ 628.689708][T28800] tty_register_device_attr+0x1a8/0x320 [ 628.690914][T28800] tty_register_device+0x3c/0x50 [ 628.691920][T28800] gsm_activate_mux+0x9c/0x1f4 [ 628.692967][T28800] gsmld_ioctl+0x6cc/0x764 [ 628.693871][T28800] tty_ioctl+0x6c0/0x9dc [ 628.694784][T28800] __arm64_sys_ioctl+0xd0/0x140 [ 628.695761][T28800] el0_svc_common+0x138/0x220 [ 628.696775][T28800] do_el0_svc+0x48/0x164 [ 628.697700][T28800] el0_svc+0x58/0x150 [ 628.698528][T28800] el0t_64_sync_handler+0x84/0xf0 [ 628.699584][T28800] el0t_64_sync+0x18c/0x190 [ 628.703516][T28800] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:28 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000800000000960000000800", 0x0, 0x2}) [ 628.886484][T28803] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 628.889045][T28803] CPU: 0 PID: 28803 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 628.891243][T28803] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 628.893395][T28803] Call trace: [ 628.894117][T28803] dump_backtrace+0x1c4/0x1f0 [ 628.895114][T28803] show_stack+0x2c/0x54 [ 628.895960][T28803] dump_stack_lvl+0x104/0x16c [ 628.897040][T28803] dump_stack+0x1c/0x58 [ 628.898010][T28803] sysfs_create_dir_ns+0x148/0x168 [ 628.899099][T28803] kobject_add_internal+0x244/0x530 [ 628.900218][T28803] kobject_add+0xb8/0x130 [ 628.901176][T28803] device_add+0x248/0x958 [ 628.902128][T28803] device_register+0x28/0x38 [ 628.903091][T28803] tty_register_device_attr+0x1a8/0x320 [ 628.904256][T28803] tty_register_device+0x3c/0x50 [ 628.905323][T28803] gsm_activate_mux+0x9c/0x1f4 [ 628.906310][T28803] gsmld_ioctl+0x6cc/0x764 [ 628.907336][T28803] tty_ioctl+0x6c0/0x9dc [ 628.908365][T28803] __arm64_sys_ioctl+0xd0/0x140 [ 628.909415][T28803] el0_svc_common+0x138/0x220 [ 628.910454][T28803] do_el0_svc+0x48/0x164 [ 628.911375][T28803] el0_svc+0x58/0x150 [ 628.912267][T28803] el0t_64_sync_handler+0x84/0xf0 [ 628.913334][T28803] el0t_64_sync+0x18c/0x190 [ 628.919379][T28803] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:28 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(0xffffffffffffffff, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x1, 0x2, "ebeecc0000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0xb400000, 0x0, 0x0, 0x1, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:28 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000b960000000800", 0x0, 0x2}) 00:10:28 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960012160800", 0x0, 0x2}) 00:10:28 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000d0000960000000800", 0x0, 0x2}) 00:10:28 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000c960000000800", 0x0, 0x2}) 00:10:28 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async, rerun: 64) ioctl$TCSETSF2(0xffffffffffffffff, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x1, 0x2, "ebeecc0000000000000000960000000800", 0x0, 0x2}) (async, rerun: 64) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0xb400000, 0x0, 0x0, 0x1, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:29 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000d960000000800", 0x0, 0x2}) 00:10:29 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(0xffffffffffffffff, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x1, 0x2, "ebeecc0000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0xb400000, 0x0, 0x0, 0x1, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:29 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000e960000000800", 0x0, 0x2}) 00:10:29 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000012960000000800", 0x401, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000000)=0x18) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:29 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000127b000000960000000800", 0x0, 0x2}) [ 629.285517][T28835] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 629.288036][T28835] CPU: 1 PID: 28835 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 629.290276][T28835] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 629.292465][T28835] Call trace: [ 629.293235][T28835] dump_backtrace+0x1c4/0x1f0 [ 629.294283][T28835] show_stack+0x2c/0x54 [ 629.295142][T28835] dump_stack_lvl+0x104/0x16c [ 629.296179][T28835] dump_stack+0x1c/0x58 [ 629.297060][T28835] sysfs_create_dir_ns+0x148/0x168 [ 629.298129][T28835] kobject_add_internal+0x244/0x530 [ 629.299187][T28835] kobject_add+0xb8/0x130 [ 629.300142][T28835] device_add+0x248/0x958 [ 629.301058][T28835] device_register+0x28/0x38 [ 629.302090][T28835] tty_register_device_attr+0x1a8/0x320 [ 629.303371][T28835] tty_register_device+0x3c/0x50 [ 629.304433][T28835] gsm_activate_mux+0x9c/0x1f4 [ 629.305458][T28835] gsmld_ioctl+0x6cc/0x764 [ 629.306428][T28835] tty_ioctl+0x6c0/0x9dc [ 629.307315][T28835] __arm64_sys_ioctl+0xd0/0x140 [ 629.308357][T28835] el0_svc_common+0x138/0x220 [ 629.309377][T28835] do_el0_svc+0x48/0x164 [ 629.310319][T28835] el0_svc+0x58/0x150 [ 629.311151][T28835] el0t_64_sync_handler+0x84/0xf0 [ 629.312201][T28835] el0t_64_sync+0x18c/0x190 [ 629.317546][T28835] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:29 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000900000000960000000800", 0x0, 0x2}) 00:10:29 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000010960000000800", 0x0, 0x2}) 00:10:29 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000012960000000800", 0x401, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000000)=0x18) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:29 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000011960000000800", 0x0, 0x2}) 00:10:29 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000e0000960000000800", 0x0, 0x2}) 00:10:29 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960012170800", 0x0, 0x2}) 00:10:29 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000012960000000800", 0x401, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000000)=0x18) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000012960000000800", 0x401, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x0) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000000)=0x18) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) 00:10:29 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000012960000000800", 0x0, 0x2}) 00:10:29 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x1000000, 0x6c49, 0x7, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) r2 = syz_open_dev$ttys(0xc, 0x2, 0x0) ioctl$TCSETAW(r2, 0x5407, &(0x7f00000000c0)={0x5, 0xead, 0x0, 0x81, 0xf, "2b2f63f89a09cd6c"}) ioctl$KDGETKEYCODE(r0, 0x4b4c, &(0x7f0000000000)={0x565, 0x8}) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 629.489469][T28855] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 629.491534][T28855] CPU: 1 PID: 28855 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 629.493735][T28855] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 629.496070][T28855] Call trace: [ 629.496753][T28855] dump_backtrace+0x1c4/0x1f0 [ 629.497796][T28855] show_stack+0x2c/0x54 [ 629.498682][T28855] dump_stack_lvl+0x104/0x16c [ 629.499712][T28855] dump_stack+0x1c/0x58 [ 629.500600][T28855] sysfs_create_dir_ns+0x148/0x168 [ 629.501720][T28855] kobject_add_internal+0x244/0x530 [ 629.502880][T28855] kobject_add+0xb8/0x130 [ 629.503840][T28855] device_add+0x248/0x958 [ 629.504825][T28855] device_register+0x28/0x38 [ 629.505873][T28855] tty_register_device_attr+0x1a8/0x320 [ 629.507024][T28855] tty_register_device+0x3c/0x50 [ 629.508123][T28855] gsm_activate_mux+0x9c/0x1f4 [ 629.509156][T28855] gsmld_ioctl+0x6cc/0x764 [ 629.510105][T28855] tty_ioctl+0x6c0/0x9dc [ 629.511026][T28855] __arm64_sys_ioctl+0xd0/0x140 [ 629.512100][T28855] el0_svc_common+0x138/0x220 [ 629.513101][T28855] do_el0_svc+0x48/0x164 [ 629.514197][T28855] el0_svc+0x58/0x150 [ 629.515024][T28855] el0t_64_sync_handler+0x84/0xf0 [ 629.516020][T28855] el0t_64_sync+0x18c/0x190 00:10:29 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000025960000000800", 0x0, 0x2}) [ 629.530847][T28855] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:29 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x1000000, 0x6c49, 0x7, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) r2 = syz_open_dev$ttys(0xc, 0x2, 0x0) ioctl$TCSETAW(r2, 0x5407, &(0x7f00000000c0)={0x5, 0xead, 0x0, 0x81, 0xf, "2b2f63f89a09cd6c"}) ioctl$KDGETKEYCODE(r0, 0x4b4c, &(0x7f0000000000)={0x565, 0x8}) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:29 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000127c000000960000000800", 0x0, 0x2}) [ 629.853840][T28869] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 629.855851][T28869] CPU: 0 PID: 28869 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 629.858061][T28869] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 629.860272][T28869] Call trace: [ 629.860998][T28869] dump_backtrace+0x1c4/0x1f0 [ 629.862097][T28869] show_stack+0x2c/0x54 [ 629.863062][T28869] dump_stack_lvl+0x104/0x16c [ 629.864047][T28869] dump_stack+0x1c/0x58 [ 629.864968][T28869] sysfs_create_dir_ns+0x148/0x168 [ 629.866075][T28869] kobject_add_internal+0x244/0x530 [ 629.867209][T28869] kobject_add+0xb8/0x130 [ 629.868140][T28869] device_add+0x248/0x958 [ 629.869082][T28869] device_register+0x28/0x38 [ 629.870039][T28869] tty_register_device_attr+0x1a8/0x320 [ 629.871241][T28869] tty_register_device+0x3c/0x50 [ 629.872285][T28869] gsm_activate_mux+0x9c/0x1f4 [ 629.873359][T28869] gsmld_ioctl+0x6cc/0x764 [ 629.874304][T28869] tty_ioctl+0x6c0/0x9dc [ 629.875240][T28869] __arm64_sys_ioctl+0xd0/0x140 [ 629.876285][T28869] el0_svc_common+0x138/0x220 [ 629.877281][T28869] do_el0_svc+0x48/0x164 [ 629.878216][T28869] el0_svc+0x58/0x150 [ 629.879167][T28869] el0t_64_sync_handler+0x84/0xf0 [ 629.880263][T28869] el0t_64_sync+0x18c/0x190 [ 629.931085][T28869] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:29 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000a00000000960000000800", 0x0, 0x2}) 00:10:29 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000005c960000000800", 0x0, 0x2}) 00:10:29 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x1000000, 0x6c49, 0x7, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) r2 = syz_open_dev$ttys(0xc, 0x2, 0x0) ioctl$TCSETAW(r2, 0x5407, &(0x7f00000000c0)={0x5, 0xead, 0x0, 0x81, 0xf, "2b2f63f89a09cd6c"}) ioctl$KDGETKEYCODE(r0, 0x4b4c, &(0x7f0000000000)={0x565, 0x8}) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x1000000, 0x6c49, 0x7, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) syz_open_dev$ttys(0xc, 0x2, 0x0) (async) ioctl$TCSETAW(r2, 0x5407, &(0x7f00000000c0)={0x5, 0xead, 0x0, 0x81, 0xf, "2b2f63f89a09cd6c"}) (async) ioctl$KDGETKEYCODE(r0, 0x4b4c, &(0x7f0000000000)={0x565, 0x8}) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) 00:10:29 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960012190800", 0x0, 0x2}) 00:10:29 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000100000960000000800", 0x0, 0x2}) 00:10:29 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000700", 0x0, 0x2}) 00:10:30 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000110000960000000800", 0x0, 0x2}) 00:10:30 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960200000800", 0x0, 0x2}) [ 630.063542][T28891] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 630.066407][T28891] CPU: 1 PID: 28891 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 630.068669][T28891] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 630.070966][T28891] Call trace: [ 630.071804][T28891] dump_backtrace+0x1c4/0x1f0 [ 630.072821][T28891] show_stack+0x2c/0x54 [ 630.073801][T28891] dump_stack_lvl+0x104/0x16c [ 630.074913][T28891] dump_stack+0x1c/0x58 [ 630.074924][T28891] sysfs_create_dir_ns+0x148/0x168 [ 630.074935][T28891] kobject_add_internal+0x244/0x530 [ 630.074944][T28891] kobject_add+0xb8/0x130 [ 630.074951][T28891] device_add+0x248/0x958 [ 630.074959][T28891] device_register+0x28/0x38 [ 630.074966][T28891] tty_register_device_attr+0x1a8/0x320 [ 630.074976][T28891] tty_register_device+0x3c/0x50 [ 630.074984][T28891] gsm_activate_mux+0x9c/0x1f4 [ 630.074993][T28891] gsmld_ioctl+0x6cc/0x764 [ 630.075002][T28891] tty_ioctl+0x6c0/0x9dc [ 630.075010][T28891] __arm64_sys_ioctl+0xd0/0x140 [ 630.075019][T28891] el0_svc_common+0x138/0x220 [ 630.075029][T28891] do_el0_svc+0x48/0x164 [ 630.075037][T28891] el0_svc+0x58/0x150 [ 630.075045][T28891] el0t_64_sync_handler+0x84/0xf0 [ 630.075055][T28891] el0t_64_sync+0x18c/0x190 [ 630.112097][T28891] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:30 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000120000960000000800", 0x0, 0x2}) 00:10:30 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960300000800", 0x0, 0x2}) 00:10:30 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000250000960000000800", 0x0, 0x2}) 00:10:30 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000127d000000960000000800", 0x0, 0x2}) [ 630.450505][T28906] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 630.453343][T28906] CPU: 1 PID: 28906 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 630.455492][T28906] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 630.457599][T28906] Call trace: [ 630.458292][T28906] dump_backtrace+0x1c4/0x1f0 [ 630.459257][T28906] show_stack+0x2c/0x54 [ 630.460155][T28906] dump_stack_lvl+0x104/0x16c [ 630.461116][T28906] dump_stack+0x1c/0x58 [ 630.462077][T28906] sysfs_create_dir_ns+0x148/0x168 [ 630.463145][T28906] kobject_add_internal+0x244/0x530 [ 630.464236][T28906] kobject_add+0xb8/0x130 [ 630.465163][T28906] device_add+0x248/0x958 [ 630.466105][T28906] device_register+0x28/0x38 [ 630.467145][T28906] tty_register_device_attr+0x1a8/0x320 [ 630.468493][T28906] tty_register_device+0x3c/0x50 [ 630.469586][T28906] gsm_activate_mux+0x9c/0x1f4 [ 630.470539][T28906] gsmld_ioctl+0x6cc/0x764 [ 630.471554][T28906] tty_ioctl+0x6c0/0x9dc [ 630.472491][T28906] __arm64_sys_ioctl+0xd0/0x140 [ 630.473560][T28906] el0_svc_common+0x138/0x220 [ 630.474623][T28906] do_el0_svc+0x48/0x164 [ 630.475548][T28906] el0_svc+0x58/0x150 [ 630.476413][T28906] el0t_64_sync_handler+0x84/0xf0 [ 630.477476][T28906] el0t_64_sync+0x18c/0x190 [ 630.489539][T28906] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:30 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000b00000000960000000800", 0x0, 0x2}) 00:10:30 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960400000800", 0x0, 0x2}) 00:10:30 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012440000960000000800", 0x0, 0x2}) 00:10:30 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000250800", 0x0, 0x2}) 00:10:30 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = fspick(0xffffffffffffff9c, &(0x7f0000000100)='./file0\x00', 0x0) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r3, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r3, 0x5412, &(0x7f0000000000)) fsconfig$FSCONFIG_SET_FD(r2, 0x5, &(0x7f0000000140)='\x00', 0x0, r3) r4 = openat$dlm_monitor(0xffffffffffffff9c, &(0x7f0000000000), 0xc000, 0x0) ioctl$TCSETSF2(r4, 0x402c542d, &(0x7f00000000c0)={0x7fffffff, 0x800, 0x32, 0x5, 0x4c, "da523d682f817663e4160e170605369aa80438", 0xae, 0xffffffff}) 00:10:30 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000480800", 0x0, 0x2}) [ 630.597652][T28920] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 630.600014][T28920] CPU: 1 PID: 28920 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 00:10:30 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000c00000000960000000800", 0x0, 0x2}) [ 630.600025][T28920] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 630.600031][T28920] Call trace: [ 630.600033][T28920] dump_backtrace+0x1c4/0x1f0 [ 630.600044][T28920] show_stack+0x2c/0x54 [ 630.600050][T28920] dump_stack_lvl+0x104/0x16c [ 630.600060][T28920] dump_stack+0x1c/0x58 [ 630.600067][T28920] sysfs_create_dir_ns+0x148/0x168 [ 630.600077][T28920] kobject_add_internal+0x244/0x530 [ 630.600086][T28920] kobject_add+0xb8/0x130 [ 630.600093][T28920] device_add+0x248/0x958 [ 630.600101][T28920] device_register+0x28/0x38 [ 630.600108][T28920] tty_register_device_attr+0x1a8/0x320 [ 630.600117][T28920] tty_register_device+0x3c/0x50 [ 630.600126][T28920] gsm_activate_mux+0x9c/0x1f4 [ 630.600135][T28920] gsmld_ioctl+0x6cc/0x764 [ 630.600143][T28920] tty_ioctl+0x6c0/0x9dc [ 630.600151][T28920] __arm64_sys_ioctl+0xd0/0x140 [ 630.600160][T28920] el0_svc_common+0x138/0x220 [ 630.600170][T28920] do_el0_svc+0x48/0x164 [ 630.600178][T28920] el0_svc+0x58/0x150 [ 630.600186][T28920] el0t_64_sync_handler+0x84/0xf0 [ 630.600195][T28920] el0t_64_sync+0x18c/0x190 [ 630.600209][T28920] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:30 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000d00000000960000000800", 0x0, 0x2}) 00:10:30 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600004c0800", 0x0, 0x2}) 00:10:30 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000e00000000960000000800", 0x0, 0x2}) 00:10:30 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600005c0800", 0x0, 0x2}) 00:10:30 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000127f000000960000000800", 0x0, 0x2}) 00:10:30 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001000000000960000000800", 0x0, 0x2}) [ 630.993577][T28936] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 630.996286][T28936] CPU: 0 PID: 28936 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 630.998461][T28936] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 631.000659][T28936] Call trace: [ 631.001406][T28936] dump_backtrace+0x1c4/0x1f0 [ 631.002480][T28936] show_stack+0x2c/0x54 [ 631.003401][T28936] dump_stack_lvl+0x104/0x16c [ 631.004397][T28936] dump_stack+0x1c/0x58 [ 631.005304][T28936] sysfs_create_dir_ns+0x148/0x168 [ 631.006408][T28936] kobject_add_internal+0x244/0x530 [ 631.007576][T28936] kobject_add+0xb8/0x130 [ 631.008583][T28936] device_add+0x248/0x958 [ 631.009632][T28936] device_register+0x28/0x38 [ 631.010589][T28936] tty_register_device_attr+0x1a8/0x320 [ 631.011722][T28936] tty_register_device+0x3c/0x50 [ 631.012811][T28936] gsm_activate_mux+0x9c/0x1f4 [ 631.013792][T28936] gsmld_ioctl+0x6cc/0x764 [ 631.014771][T28936] tty_ioctl+0x6c0/0x9dc [ 631.015705][T28936] __arm64_sys_ioctl+0xd0/0x140 [ 631.016678][T28936] el0_svc_common+0x138/0x220 [ 631.017659][T28936] do_el0_svc+0x48/0x164 [ 631.018565][T28936] el0_svc+0x58/0x150 [ 631.019470][T28936] el0t_64_sync_handler+0x84/0xf0 [ 631.020503][T28936] el0t_64_sync+0x18c/0x190 [ 631.027787][T28936] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:31 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960500000800", 0x0, 0x2}) 00:10:31 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012450000960000000800", 0x0, 0x2}) 00:10:31 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000680800", 0x0, 0x2}) 00:10:31 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = fspick(0xffffffffffffff9c, &(0x7f0000000100)='./file0\x00', 0x0) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r3, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r3, 0x5412, &(0x7f0000000000)) (async) fsconfig$FSCONFIG_SET_FD(r2, 0x5, &(0x7f0000000140)='\x00', 0x0, r3) r4 = openat$dlm_monitor(0xffffffffffffff9c, &(0x7f0000000000), 0xc000, 0x0) ioctl$TCSETSF2(r4, 0x402c542d, &(0x7f00000000c0)={0x7fffffff, 0x800, 0x32, 0x5, 0x4c, "da523d682f817663e4160e170605369aa80438", 0xae, 0xffffffff}) 00:10:31 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001280000000960000000800", 0x0, 0x2}) 00:10:31 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001281000000960000000800", 0x0, 0x2}) 00:10:31 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r2 = fspick(0xffffffffffffff9c, &(0x7f0000000100)='./file0\x00', 0x0) (async) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r3, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r3, 0x5412, &(0x7f0000000000)) (async) fsconfig$FSCONFIG_SET_FD(r2, 0x5, &(0x7f0000000140)='\x00', 0x0, r3) (async) r4 = openat$dlm_monitor(0xffffffffffffff9c, &(0x7f0000000000), 0xc000, 0x0) ioctl$TCSETSF2(r4, 0x402c542d, &(0x7f00000000c0)={0x7fffffff, 0x800, 0x32, 0x5, 0x4c, "da523d682f817663e4160e170605369aa80438", 0xae, 0xffffffff}) 00:10:31 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001282000000960000000800", 0x0, 0x2}) 00:10:31 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) bind$inet(r0, &(0x7f0000000000)={0x2, 0x4e24, @multicast1}, 0x10) ioctl$TIOCSETD(r1, 0x5423, &(0x7f00000000c0)=0x402015) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:31 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001283000000960000000800", 0x0, 0x2}) 00:10:31 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) bind$inet(r0, &(0x7f0000000000)={0x2, 0x4e24, @multicast1}, 0x10) (async) ioctl$TIOCSETD(r1, 0x5423, &(0x7f00000000c0)=0x402015) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:31 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001100000000960000000800", 0x0, 0x2}) [ 631.672166][T28972] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 631.675265][T28972] CPU: 1 PID: 28972 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 631.677443][T28972] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 631.679699][T28972] Call trace: [ 631.680445][T28972] dump_backtrace+0x1c4/0x1f0 [ 631.681441][T28972] show_stack+0x2c/0x54 [ 631.682339][T28972] dump_stack_lvl+0x104/0x16c [ 631.683371][T28972] dump_stack+0x1c/0x58 [ 631.684232][T28972] sysfs_create_dir_ns+0x148/0x168 [ 631.685376][T28972] kobject_add_internal+0x244/0x530 [ 631.686528][T28972] kobject_add+0xb8/0x130 [ 631.687473][T28972] device_add+0x248/0x958 [ 631.688444][T28972] device_register+0x28/0x38 [ 631.689442][T28972] tty_register_device_attr+0x1a8/0x320 [ 631.690559][T28972] tty_register_device+0x3c/0x50 [ 631.691674][T28972] gsm_activate_mux+0x9c/0x1f4 [ 631.692680][T28972] gsmld_ioctl+0x6cc/0x764 [ 631.693667][T28972] tty_ioctl+0x6c0/0x9dc [ 631.694616][T28972] __arm64_sys_ioctl+0xd0/0x140 [ 631.695613][T28972] el0_svc_common+0x138/0x220 [ 631.696561][T28972] do_el0_svc+0x48/0x164 [ 631.697511][T28972] el0_svc+0x58/0x150 [ 631.698362][T28972] el0t_64_sync_handler+0x84/0xf0 [ 631.699437][T28972] el0t_64_sync+0x18c/0x190 [ 631.707408][T28972] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:31 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960600000800", 0x0, 0x2}) 00:10:31 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012460000960000000800", 0x0, 0x2}) 00:10:31 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600006c0800", 0x0, 0x2}) 00:10:31 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001284000000960000000800", 0x0, 0x2}) 00:10:31 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) bind$inet(r0, &(0x7f0000000000)={0x2, 0x4e24, @multicast1}, 0x10) ioctl$TIOCSETD(r1, 0x5423, &(0x7f00000000c0)=0x402015) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:31 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960700000800", 0x0, 0x2}) 00:10:31 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000000)={0x2, 0x0, 0x0, 0xffffffff, 0xb6, "ebef00", 0x3, 0x1}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:31 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960800000800", 0x0, 0x2}) 00:10:31 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000000)={0x2, 0x0, 0x0, 0xffffffff, 0xb6, "ebef00", 0x3, 0x1}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000000)={0x2, 0x0, 0x0, 0xffffffff, 0xb6, "ebef00", 0x3, 0x1}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) [ 631.837681][T28991] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 631.839618][T28991] CPU: 1 PID: 28991 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 631.841905][T28991] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 631.844048][T28991] Call trace: [ 631.844748][T28991] dump_backtrace+0x1c4/0x1f0 [ 631.845834][T28991] show_stack+0x2c/0x54 [ 631.846688][T28991] dump_stack_lvl+0x104/0x16c [ 631.847680][T28991] dump_stack+0x1c/0x58 [ 631.848586][T28991] sysfs_create_dir_ns+0x148/0x168 [ 631.849679][T28991] kobject_add_internal+0x244/0x530 [ 631.850834][T28991] kobject_add+0xb8/0x130 [ 631.851757][T28991] device_add+0x248/0x958 [ 631.852650][T28991] device_register+0x28/0x38 [ 631.853612][T28991] tty_register_device_attr+0x1a8/0x320 [ 631.854808][T28991] tty_register_device+0x3c/0x50 [ 631.855890][T28991] gsm_activate_mux+0x9c/0x1f4 00:10:31 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960900000800", 0x0, 0x2}) [ 631.856932][T28991] gsmld_ioctl+0x6cc/0x764 [ 631.856943][T28991] tty_ioctl+0x6c0/0x9dc [ 631.856951][T28991] __arm64_sys_ioctl+0xd0/0x140 [ 631.856961][T28991] el0_svc_common+0x138/0x220 [ 631.856971][T28991] do_el0_svc+0x48/0x164 [ 631.856979][T28991] el0_svc+0x58/0x150 [ 631.856988][T28991] el0t_64_sync_handler+0x84/0xf0 [ 631.856998][T28991] el0t_64_sync+0x18c/0x190 [ 631.868131][T28991] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:31 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960a00000800", 0x0, 0x2}) 00:10:32 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001200000000960000000800", 0x0, 0x2}) 00:10:32 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000000)={0x2, 0x0, 0x0, 0xffffffff, 0xb6, "ebef00", 0x3, 0x1}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:32 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960b00000800", 0x0, 0x2}) 00:10:32 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012470000960000000800", 0x0, 0x2}) 00:10:32 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000740800", 0x0, 0x2}) 00:10:32 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000002500000000960000000800", 0x0, 0x2}) 00:10:32 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960c00000800", 0x0, 0x2}) 00:10:32 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001288000000960000000800", 0x0, 0x2}) 00:10:32 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960d00000800", 0x0, 0x2}) 00:10:32 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600007a0800", 0x0, 0x2}) [ 632.414627][T29026] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 632.416664][T29026] CPU: 1 PID: 29026 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 632.416716][T29027] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 632.418848][T29026] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 632.418856][T29026] Call trace: [ 632.418858][T29026] dump_backtrace+0x1c4/0x1f0 [ 632.418871][T29026] show_stack+0x2c/0x54 [ 632.418878][T29026] dump_stack_lvl+0x104/0x16c [ 632.426747][T29026] dump_stack+0x1c/0x58 [ 632.426758][T29026] sysfs_create_dir_ns+0x148/0x168 [ 632.426769][T29026] kobject_add_internal+0x244/0x530 [ 632.426778][T29026] kobject_add+0xb8/0x130 00:10:32 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000ff0800", 0x0, 0x2}) [ 632.426784][T29026] device_add+0x248/0x958 [ 632.426792][T29026] device_register+0x28/0x38 [ 632.426799][T29026] tty_register_device_attr+0x1a8/0x320 [ 632.426808][T29026] tty_register_device+0x3c/0x50 [ 632.426816][T29026] gsm_activate_mux+0x9c/0x1f4 [ 632.426825][T29026] gsmld_ioctl+0x6cc/0x764 [ 632.426832][T29026] tty_ioctl+0x6c0/0x9dc [ 632.426840][T29026] __arm64_sys_ioctl+0xd0/0x140 [ 632.426849][T29026] el0_svc_common+0x138/0x220 [ 632.426858][T29026] do_el0_svc+0x48/0x164 [ 632.426866][T29026] el0_svc+0x58/0x150 [ 632.426874][T29026] el0t_64_sync_handler+0x84/0xf0 [ 632.426883][T29026] el0t_64_sync+0x18c/0x190 [ 632.428027][T29027] CPU: 0 PID: 29027 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 632.428038][T29027] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 632.428044][T29027] Call trace: [ 632.428046][T29027] dump_backtrace+0x1c4/0x1f0 [ 632.428055][T29027] show_stack+0x2c/0x54 [ 632.428062][T29027] dump_stack_lvl+0x104/0x16c [ 632.428071][T29027] dump_stack+0x1c/0x58 [ 632.428078][T29027] sysfs_create_dir_ns+0x148/0x168 [ 632.428087][T29027] kobject_add_internal+0x244/0x530 [ 632.428095][T29027] kobject_add+0xb8/0x130 [ 632.428102][T29027] device_add+0x248/0x958 [ 632.428109][T29027] device_register+0x28/0x38 [ 632.428116][T29027] tty_register_device_attr+0x1a8/0x320 [ 632.428125][T29027] tty_register_device+0x3c/0x50 [ 632.428132][T29027] gsm_activate_mux+0x9c/0x1f4 [ 632.428141][T29027] gsmld_ioctl+0x6cc/0x764 [ 632.428148][T29027] tty_ioctl+0x6c0/0x9dc [ 632.428156][T29027] __arm64_sys_ioctl+0xd0/0x140 [ 632.428165][T29027] el0_svc_common+0x138/0x220 [ 632.428173][T29027] do_el0_svc+0x48/0x164 [ 632.428181][T29027] el0_svc+0x58/0x150 [ 632.428189][T29027] el0t_64_sync_handler+0x84/0xf0 [ 632.428197][T29027] el0t_64_sync+0x18c/0x190 [ 632.428210][T29027] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. [ 632.455175][T29026] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:32 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960e00000800", 0x0, 0x2}) 00:10:32 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000500", 0x0, 0x2}) 00:10:32 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) ioctl$TIOCMGET(r1, 0x5415, &(0x7f0000000000)) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:32 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000700", 0x0, 0x2}) 00:10:32 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000480000960000000800", 0x0, 0x2}) 00:10:32 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000961000000800", 0x0, 0x2}) 00:10:32 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) ioctl$TIOCMGET(r1, 0x5415, &(0x7f0000000000)) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:32 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000004800000000960000000800", 0x0, 0x2}) 00:10:32 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000ff000000960000000800", 0x0, 0x2}) [ 632.954678][T29049] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 632.961329][T29049] CPU: 0 PID: 29049 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 632.963613][T29049] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 632.965785][T29049] Call trace: [ 632.966609][T29049] dump_backtrace+0x1c4/0x1f0 [ 632.967667][T29049] show_stack+0x2c/0x54 [ 632.968600][T29049] dump_stack_lvl+0x104/0x16c [ 632.969613][T29049] dump_stack+0x1c/0x58 [ 632.970493][T29049] sysfs_create_dir_ns+0x148/0x168 [ 632.971605][T29049] kobject_add_internal+0x244/0x530 [ 632.972796][T29049] kobject_add+0xb8/0x130 [ 632.973819][T29049] device_add+0x248/0x958 [ 632.973829][T29049] device_register+0x28/0x38 [ 632.973836][T29049] tty_register_device_attr+0x1a8/0x320 [ 632.973845][T29049] tty_register_device+0x3c/0x50 [ 632.973853][T29049] gsm_activate_mux+0x9c/0x1f4 [ 632.979321][T29049] gsmld_ioctl+0x6cc/0x764 [ 632.980345][T29049] tty_ioctl+0x6c0/0x9dc [ 632.981290][T29049] __arm64_sys_ioctl+0xd0/0x140 [ 632.982367][T29049] el0_svc_common+0x138/0x220 [ 632.983317][T29049] do_el0_svc+0x48/0x164 [ 632.984266][T29049] el0_svc+0x58/0x150 [ 632.985164][T29049] el0t_64_sync_handler+0x84/0xf0 [ 632.986374][T29049] el0t_64_sync+0x18c/0x190 00:10:32 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000961100000800", 0x0, 0x2}) [ 632.996541][T29053] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 632.998542][T29053] CPU: 1 PID: 29053 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 633.000807][T29053] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 633.003040][T29053] Call trace: [ 633.003044][T29053] dump_backtrace+0x1c4/0x1f0 [ 633.003053][T29053] show_stack+0x2c/0x54 [ 633.003060][T29053] dump_stack_lvl+0x104/0x16c [ 633.003068][T29053] dump_stack+0x1c/0x58 [ 633.003076][T29053] sysfs_create_dir_ns+0x148/0x168 [ 633.003086][T29053] kobject_add_internal+0x244/0x530 [ 633.003094][T29053] kobject_add+0xb8/0x130 [ 633.003101][T29053] device_add+0x248/0x958 [ 633.012036][T29053] device_register+0x28/0x38 [ 633.012047][T29053] tty_register_device_attr+0x1a8/0x320 [ 633.014305][T29053] tty_register_device+0x3c/0x50 [ 633.015312][T29053] gsm_activate_mux+0x9c/0x1f4 [ 633.016241][T29053] gsmld_ioctl+0x6cc/0x764 [ 633.017197][T29053] tty_ioctl+0x6c0/0x9dc [ 633.018281][T29053] __arm64_sys_ioctl+0xd0/0x140 [ 633.019115][T29053] el0_svc_common+0x138/0x220 [ 633.020055][T29053] do_el0_svc+0x48/0x164 [ 633.020847][T29053] el0_svc+0x58/0x150 [ 633.021697][T29053] el0t_64_sync_handler+0x84/0xf0 [ 633.022766][T29053] el0t_64_sync+0x18c/0x190 00:10:33 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000961200000800", 0x0, 0x2}) [ 633.029487][T29059] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 633.032994][T29059] CPU: 0 PID: 29059 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 633.035232][T29059] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 633.037348][T29059] Call trace: [ 633.038075][T29059] dump_backtrace+0x1c4/0x1f0 [ 633.039189][T29059] show_stack+0x2c/0x54 [ 633.039961][T29059] dump_stack_lvl+0x104/0x16c [ 633.040873][T29059] dump_stack+0x1c/0x58 [ 633.041765][T29059] sysfs_create_dir_ns+0x148/0x168 [ 633.042878][T29059] kobject_add_internal+0x244/0x530 [ 633.044021][T29059] kobject_add+0xb8/0x130 [ 633.044930][T29059] device_add+0x248/0x958 [ 633.045869][T29059] device_register+0x28/0x38 [ 633.046864][T29059] tty_register_device_attr+0x1a8/0x320 [ 633.048113][T29059] tty_register_device+0x3c/0x50 [ 633.049160][T29059] gsm_activate_mux+0x9c/0x1f4 [ 633.050196][T29059] gsmld_ioctl+0x6cc/0x764 [ 633.051088][T29059] tty_ioctl+0x6c0/0x9dc [ 633.051969][T29059] __arm64_sys_ioctl+0xd0/0x140 [ 633.052934][T29059] el0_svc_common+0x138/0x220 [ 633.053949][T29059] do_el0_svc+0x48/0x164 [ 633.054891][T29059] el0_svc+0x58/0x150 [ 633.055774][T29059] el0t_64_sync_handler+0x84/0xf0 [ 633.056789][T29059] el0t_64_sync+0x18c/0x190 00:10:33 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012480000960000000800", 0x0, 0x2}) [ 633.077180][T29053] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. [ 633.077299][T29049] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:33 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000962500000800", 0x0, 0x2}) [ 633.115148][T29059] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:33 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000965c00000800", 0x0, 0x2}) 00:10:33 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012490000960000000800", 0x0, 0x2}) 00:10:33 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000020800", 0x0, 0x2}) 00:10:33 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960003000800", 0x0, 0x2}) 00:10:33 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000124a0000960000000800", 0x0, 0x2}) 00:10:33 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) ioctl$TIOCMGET(r1, 0x5415, &(0x7f0000000000)) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:33 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000004c00000000960000000800", 0x0, 0x2}) 00:10:33 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960005000800", 0x0, 0x2}) 00:10:33 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000030800", 0x0, 0x2}) 00:10:33 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000ffffe00000960000000800", 0x0, 0x2}) 00:10:33 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960006000800", 0x0, 0x2}) 00:10:33 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960007000800", 0x0, 0x2}) 00:10:33 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000005c00000000960000000800", 0x0, 0x2}) 00:10:33 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960009000800", 0x0, 0x2}) 00:10:33 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000006800000000960000000800", 0x0, 0x2}) 00:10:33 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000a000800", 0x0, 0x2}) 00:10:33 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000124b0000960000000800", 0x0, 0x2}) 00:10:33 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCL_PASTESEL(r0, 0x541c, &(0x7f0000000000)) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TCSETSF2(r1, 0x402c542d, &(0x7f00000000c0)={0xffffff68, 0x4, 0x0, 0x7, 0x7f, "64c433f0e09964ce808aa107987fccb81ed717", 0x1b7}) 00:10:33 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000b000800", 0x0, 0x2}) 00:10:33 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000006c00000000960000000800", 0x0, 0x2}) [ 633.995231][T29112] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 634.001836][T29112] CPU: 1 PID: 29112 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 634.004035][T29112] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 634.006101][T29112] Call trace: [ 634.006781][T29112] dump_backtrace+0x1c4/0x1f0 [ 634.007822][T29112] show_stack+0x2c/0x54 [ 634.008779][T29112] dump_stack_lvl+0x104/0x16c [ 634.009829][T29112] dump_stack+0x1c/0x58 [ 634.010707][T29112] sysfs_create_dir_ns+0x148/0x168 [ 634.011795][T29112] kobject_add_internal+0x244/0x530 [ 634.012872][T29112] kobject_add+0xb8/0x130 [ 634.013815][T29112] device_add+0x248/0x958 [ 634.014705][T29112] device_register+0x28/0x38 [ 634.015700][T29112] tty_register_device_attr+0x1a8/0x320 [ 634.016927][T29112] tty_register_device+0x3c/0x50 [ 634.018032][T29112] gsm_activate_mux+0x9c/0x1f4 [ 634.019012][T29112] gsmld_ioctl+0x6cc/0x764 [ 634.019982][T29112] tty_ioctl+0x6c0/0x9dc [ 634.020927][T29112] __arm64_sys_ioctl+0xd0/0x140 [ 634.022012][T29112] el0_svc_common+0x138/0x220 [ 634.022984][T29112] do_el0_svc+0x48/0x164 [ 634.023895][T29112] el0_svc+0x58/0x150 [ 634.024785][T29112] el0t_64_sync_handler+0x84/0xf0 [ 634.025839][T29112] el0t_64_sync+0x18c/0x190 [ 634.037869][T29112] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:34 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000040800", 0x0, 0x2}) 00:10:34 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000c000800", 0x0, 0x2}) 00:10:34 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCL_PASTESEL(r0, 0x541c, &(0x7f0000000000)) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TCSETSF2(r1, 0x402c542d, &(0x7f00000000c0)={0xffffff68, 0x4, 0x0, 0x7, 0x7f, "64c433f0e09964ce808aa107987fccb81ed717", 0x1b7}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCL_PASTESEL(r0, 0x541c, &(0x7f0000000000)) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TCSETSF2(r1, 0x402c542d, &(0x7f00000000c0)={0xffffff68, 0x4, 0x0, 0x7, 0x7f, "64c433f0e09964ce808aa107987fccb81ed717", 0x1b7}) (async) 00:10:34 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000100960000000800", 0x0, 0x2}) 00:10:34 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000200960000000800", 0x0, 0x2}) 00:10:34 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000d000800", 0x0, 0x2}) [ 634.219468][T29125] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 634.222130][T29125] CPU: 0 PID: 29125 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 634.224484][T29125] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 634.226723][T29125] Call trace: [ 634.226727][T29125] dump_backtrace+0x1c4/0x1f0 [ 634.226738][T29125] show_stack+0x2c/0x54 [ 634.226745][T29125] dump_stack_lvl+0x104/0x16c [ 634.230449][T29125] dump_stack+0x1c/0x58 [ 634.231415][T29125] sysfs_create_dir_ns+0x148/0x168 [ 634.232483][T29125] kobject_add_internal+0x244/0x530 [ 634.233674][T29125] kobject_add+0xb8/0x130 [ 634.234593][T29125] device_add+0x248/0x958 [ 634.235573][T29125] device_register+0x28/0x38 [ 634.236573][T29125] tty_register_device_attr+0x1a8/0x320 [ 634.237726][T29125] tty_register_device+0x3c/0x50 [ 634.238869][T29125] gsm_activate_mux+0x9c/0x1f4 [ 634.239938][T29125] gsmld_ioctl+0x6cc/0x764 [ 634.240957][T29125] tty_ioctl+0x6c0/0x9dc [ 634.242021][T29125] __arm64_sys_ioctl+0xd0/0x140 [ 634.243051][T29125] el0_svc_common+0x138/0x220 [ 634.244086][T29125] do_el0_svc+0x48/0x164 [ 634.244999][T29125] el0_svc+0x58/0x150 [ 634.245830][T29125] el0t_64_sync_handler+0x84/0xf0 [ 634.246980][T29125] el0t_64_sync+0x18c/0x190 00:10:34 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000300960000000800", 0x0, 0x2}) [ 634.256872][T29125] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:34 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000e000800", 0x0, 0x2}) 00:10:34 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000004c0000960000000800", 0x0, 0x2}) 00:10:34 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000400960000000800", 0x0, 0x2}) 00:10:34 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000007400000000960000000800", 0x0, 0x2}) 00:10:34 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960011000800", 0x0, 0x2}) [ 634.654530][T29148] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 634.659719][T29148] CPU: 0 PID: 29148 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 634.662150][T29148] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 634.664260][T29148] Call trace: [ 634.664935][T29148] dump_backtrace+0x1c4/0x1f0 [ 634.665982][T29148] show_stack+0x2c/0x54 [ 634.666884][T29148] dump_stack_lvl+0x104/0x16c [ 634.667914][T29148] dump_stack+0x1c/0x58 [ 634.668872][T29148] sysfs_create_dir_ns+0x148/0x168 [ 634.669973][T29148] kobject_add_internal+0x244/0x530 [ 634.671112][T29148] kobject_add+0xb8/0x130 [ 634.672115][T29148] device_add+0x248/0x958 [ 634.673122][T29148] device_register+0x28/0x38 [ 634.674095][T29148] tty_register_device_attr+0x1a8/0x320 [ 634.675280][T29148] tty_register_device+0x3c/0x50 [ 634.676366][T29148] gsm_activate_mux+0x9c/0x1f4 [ 634.677334][T29148] gsmld_ioctl+0x6cc/0x764 [ 634.678308][T29148] tty_ioctl+0x6c0/0x9dc [ 634.679232][T29148] __arm64_sys_ioctl+0xd0/0x140 [ 634.680302][T29148] el0_svc_common+0x138/0x220 [ 634.681293][T29148] do_el0_svc+0x48/0x164 [ 634.682267][T29148] el0_svc+0x58/0x150 [ 634.683142][T29148] el0t_64_sync_handler+0x84/0xf0 [ 634.684323][T29148] el0t_64_sync+0x18c/0x190 [ 634.697332][T29148] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:34 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000050800", 0x0, 0x2}) 00:10:34 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000124c0000960000000800", 0x0, 0x2}) 00:10:34 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960012000800", 0x0, 0x2}) 00:10:34 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCL_PASTESEL(r0, 0x541c, &(0x7f0000000000)) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TCSETSF2(r1, 0x402c542d, &(0x7f00000000c0)={0xffffff68, 0x4, 0x0, 0x7, 0x7f, "64c433f0e09964ce808aa107987fccb81ed717", 0x1b7}) 00:10:34 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960025000800", 0x0, 0x2}) 00:10:34 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000060800", 0x0, 0x2}) 00:10:34 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096005c000800", 0x0, 0x2}) 00:10:34 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000070800", 0x0, 0x2}) 00:10:34 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000500960000000800", 0x0, 0x2}) 00:10:34 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960002000800", 0x0, 0x2}) 00:10:35 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000007a00000000960000000800", 0x0, 0x2}) 00:10:35 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000080800", 0x0, 0x2}) 00:10:35 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960003000800", 0x0, 0x2}) [ 635.245250][T29181] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 635.248269][T29181] CPU: 0 PID: 29181 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 635.250610][T29181] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 635.252826][T29181] Call trace: [ 635.253568][T29181] dump_backtrace+0x1c4/0x1f0 [ 635.254492][T29181] show_stack+0x2c/0x54 [ 635.255347][T29181] dump_stack_lvl+0x104/0x16c [ 635.256339][T29181] dump_stack+0x1c/0x58 [ 635.257218][T29181] sysfs_create_dir_ns+0x148/0x168 [ 635.258177][T29181] kobject_add_internal+0x244/0x530 [ 635.259344][T29181] kobject_add+0xb8/0x130 [ 635.260272][T29181] device_add+0x248/0x958 [ 635.261161][T29181] device_register+0x28/0x38 [ 635.262129][T29181] tty_register_device_attr+0x1a8/0x320 [ 635.263379][T29181] tty_register_device+0x3c/0x50 [ 635.264440][T29181] gsm_activate_mux+0x9c/0x1f4 [ 635.265486][T29181] gsmld_ioctl+0x6cc/0x764 [ 635.266415][T29181] tty_ioctl+0x6c0/0x9dc [ 635.267316][T29181] __arm64_sys_ioctl+0xd0/0x140 [ 635.268341][T29181] el0_svc_common+0x138/0x220 [ 635.269390][T29181] do_el0_svc+0x48/0x164 [ 635.270300][T29181] el0_svc+0x58/0x150 [ 635.271135][T29181] el0t_64_sync_handler+0x84/0xf0 [ 635.272332][T29181] el0t_64_sync+0x18c/0x190 00:10:35 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000124d0000960000000800", 0x0, 0x2}) 00:10:35 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x800, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x5}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) r2 = syz_init_net_socket$bt_l2cap(0x1f, 0x1, 0x0) setsockopt$sock_attach_bpf(r2, 0x1, 0x32, &(0x7f00000000c0), 0x4) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000000)={0x2, 0x2000000, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0xf2, 0x2}) 00:10:35 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960004000800", 0x0, 0x2}) [ 635.286073][T29181] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:35 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x800, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x5}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) r2 = syz_init_net_socket$bt_l2cap(0x1f, 0x1, 0x0) setsockopt$sock_attach_bpf(r2, 0x1, 0x32, &(0x7f00000000c0), 0x4) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000000)={0x2, 0x2000000, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0xf2, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x800, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x5}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) syz_init_net_socket$bt_l2cap(0x1f, 0x1, 0x0) (async) setsockopt$sock_attach_bpf(r2, 0x1, 0x32, &(0x7f00000000c0), 0x4) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000000)={0x2, 0x2000000, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0xf2, 0x2}) (async) 00:10:35 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960005000800", 0x0, 0x2}) 00:10:35 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960006000800", 0x0, 0x2}) 00:10:35 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960007000800", 0x0, 0x2}) 00:10:35 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000600960000000800", 0x0, 0x2}) 00:10:35 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async, rerun: 32) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) (rerun: 32) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async, rerun: 64) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x800, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x5}) (async, rerun: 64) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async, rerun: 32) r2 = syz_init_net_socket$bt_l2cap(0x1f, 0x1, 0x0) (rerun: 32) setsockopt$sock_attach_bpf(r2, 0x1, 0x32, &(0x7f00000000c0), 0x4) (async, rerun: 64) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (rerun: 64) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000000)={0x2, 0x2000000, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0xf2, 0x2}) 00:10:35 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000003000000960000000800", 0x0, 0x2}) 00:10:35 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000090800", 0x0, 0x2}) 00:10:35 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960008000800", 0x0, 0x2}) [ 635.745776][T29217] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 635.749797][T29217] CPU: 1 PID: 29217 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 635.752114][T29217] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 635.754255][T29217] Call trace: [ 635.755005][T29217] dump_backtrace+0x1c4/0x1f0 [ 635.756007][T29217] show_stack+0x2c/0x54 [ 635.756910][T29217] dump_stack_lvl+0x104/0x16c [ 635.757920][T29217] dump_stack+0x1c/0x58 [ 635.758917][T29217] sysfs_create_dir_ns+0x148/0x168 [ 635.760066][T29217] kobject_add_internal+0x244/0x530 [ 635.761212][T29217] kobject_add+0xb8/0x130 [ 635.762138][T29217] device_add+0x248/0x958 [ 635.763103][T29217] device_register+0x28/0x38 [ 635.764123][T29217] tty_register_device_attr+0x1a8/0x320 [ 635.765269][T29217] tty_register_device+0x3c/0x50 [ 635.766442][T29217] gsm_activate_mux+0x9c/0x1f4 [ 635.767450][T29217] gsmld_ioctl+0x6cc/0x764 [ 635.768283][T29217] tty_ioctl+0x6c0/0x9dc [ 635.769186][T29217] __arm64_sys_ioctl+0xd0/0x140 [ 635.770260][T29217] el0_svc_common+0x138/0x220 [ 635.771224][T29217] do_el0_svc+0x48/0x164 [ 635.772154][T29217] el0_svc+0x58/0x150 [ 635.773047][T29217] el0t_64_sync_handler+0x84/0xf0 [ 635.774170][T29217] el0t_64_sync+0x18c/0x190 [ 635.784257][T29217] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:35 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000140)=0x20000015) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r3, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r3, 0x5412, &(0x7f0000000000)) ioctl$TIOCL_GETMOUSEREPORTING(r3, 0x541c, &(0x7f00000000c0)) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) openat$ptmx(0xffffffffffffff9c, &(0x7f0000000000), 0x4080, 0x0) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000100)=0xf) 00:10:35 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960009000800", 0x0, 0x2}) 00:10:35 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000124e0000960000000800", 0x0, 0x2}) 00:10:35 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000a000800", 0x0, 0x2}) 00:10:35 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000124f0000960000000800", 0x0, 0x2}) [ 635.946531][T29227] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 635.949319][T29227] CPU: 0 PID: 29227 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 635.951558][T29227] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 635.953683][T29227] Call trace: [ 635.954408][T29227] dump_backtrace+0x1c4/0x1f0 [ 635.955465][T29227] show_stack+0x2c/0x54 [ 635.956328][T29227] dump_stack_lvl+0x104/0x16c [ 635.957297][T29227] dump_stack+0x1c/0x58 [ 635.958132][T29227] sysfs_create_dir_ns+0x148/0x168 [ 635.959162][T29227] kobject_add_internal+0x244/0x530 [ 635.960241][T29227] kobject_add+0xb8/0x130 [ 635.961134][T29227] device_add+0x248/0x958 [ 635.961145][T29227] device_register+0x28/0x38 [ 635.961152][T29227] tty_register_device_attr+0x1a8/0x320 [ 635.961162][T29227] tty_register_device+0x3c/0x50 [ 635.961171][T29227] gsm_activate_mux+0x9c/0x1f4 [ 635.966166][T29227] gsmld_ioctl+0x6cc/0x764 [ 635.966177][T29227] tty_ioctl+0x6c0/0x9dc [ 635.966185][T29227] __arm64_sys_ioctl+0xd0/0x140 [ 635.969058][T29227] el0_svc_common+0x138/0x220 [ 635.970059][T29227] do_el0_svc+0x48/0x164 [ 635.970983][T29227] el0_svc+0x58/0x150 [ 635.971781][T29227] el0t_64_sync_handler+0x84/0xf0 [ 635.972882][T29227] el0t_64_sync+0x18c/0x190 00:10:35 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012500000960000000800", 0x0, 0x2}) 00:10:35 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000b000800", 0x0, 0x2}) [ 635.995784][T29227] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:36 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000700960000000800", 0x0, 0x2}) 00:10:36 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000c000800", 0x0, 0x2}) 00:10:36 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000005000000960000000800", 0x0, 0x2}) 00:10:36 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000d000800", 0x0, 0x2}) 00:10:36 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000800960000000800", 0x0, 0x2}) 00:10:36 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async, rerun: 32) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) (rerun: 32) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000140)=0x20000015) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r3, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r3, 0x5412, &(0x7f0000000000)) (async) ioctl$TIOCL_GETMOUSEREPORTING(r3, 0x541c, &(0x7f00000000c0)) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) openat$ptmx(0xffffffffffffff9c, &(0x7f0000000000), 0x4080, 0x0) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000100)=0xf) 00:10:36 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000a0800", 0x0, 0x2}) 00:10:36 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000e000800", 0x0, 0x2}) [ 636.391462][T29247] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 636.395783][T29247] CPU: 1 PID: 29247 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 636.398046][T29247] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 636.400405][T29247] Call trace: [ 636.401123][T29247] dump_backtrace+0x1c4/0x1f0 [ 636.402167][T29247] show_stack+0x2c/0x54 [ 636.403063][T29247] dump_stack_lvl+0x104/0x16c [ 636.404147][T29247] dump_stack+0x1c/0x58 [ 636.405127][T29247] sysfs_create_dir_ns+0x148/0x168 [ 636.406242][T29247] kobject_add_internal+0x244/0x530 [ 636.406254][T29247] kobject_add+0xb8/0x130 [ 636.406261][T29247] device_add+0x248/0x958 [ 636.406269][T29247] device_register+0x28/0x38 [ 636.406276][T29247] tty_register_device_attr+0x1a8/0x320 [ 636.406286][T29247] tty_register_device+0x3c/0x50 [ 636.406295][T29247] gsm_activate_mux+0x9c/0x1f4 [ 636.406304][T29247] gsmld_ioctl+0x6cc/0x764 [ 636.406312][T29247] tty_ioctl+0x6c0/0x9dc [ 636.406320][T29247] __arm64_sys_ioctl+0xd0/0x140 [ 636.406329][T29247] el0_svc_common+0x138/0x220 [ 636.406339][T29247] do_el0_svc+0x48/0x164 [ 636.406347][T29247] el0_svc+0x58/0x150 [ 636.406365][T29247] el0t_64_sync_handler+0x84/0xf0 [ 636.406374][T29247] el0t_64_sync+0x18c/0x190 [ 636.425851][T29247] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:36 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960010000800", 0x0, 0x2}) 00:10:36 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960011000800", 0x0, 0x2}) 00:10:36 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000140)=0x20000015) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async, rerun: 32) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) (rerun: 32) ioctl$TIOCSETD(r3, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r3, 0x5412, &(0x7f0000000000)) ioctl$TIOCL_GETMOUSEREPORTING(r3, 0x541c, &(0x7f00000000c0)) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async, rerun: 32) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (rerun: 32) openat$ptmx(0xffffffffffffff9c, &(0x7f0000000000), 0x4080, 0x0) (async) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000100)=0xf) 00:10:36 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960012000800", 0x0, 0x2}) 00:10:36 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012510000960000000800", 0x0, 0x2}) 00:10:36 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960025000800", 0x0, 0x2}) [ 636.619406][T29270] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 636.625339][T29270] CPU: 0 PID: 29270 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 636.627621][T29270] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 636.629916][T29270] Call trace: [ 636.630678][T29270] dump_backtrace+0x1c4/0x1f0 [ 636.631707][T29270] show_stack+0x2c/0x54 [ 636.632547][T29270] dump_stack_lvl+0x104/0x16c [ 636.633549][T29270] dump_stack+0x1c/0x58 [ 636.634374][T29270] sysfs_create_dir_ns+0x148/0x168 [ 636.635585][T29270] kobject_add_internal+0x244/0x530 [ 636.636709][T29270] kobject_add+0xb8/0x130 [ 636.637640][T29270] device_add+0x248/0x958 [ 636.638564][T29270] device_register+0x28/0x38 [ 636.639596][T29270] tty_register_device_attr+0x1a8/0x320 [ 636.640857][T29270] tty_register_device+0x3c/0x50 [ 636.641900][T29270] gsm_activate_mux+0x9c/0x1f4 [ 636.642896][T29270] gsmld_ioctl+0x6cc/0x764 [ 636.643862][T29270] tty_ioctl+0x6c0/0x9dc [ 636.644793][T29270] __arm64_sys_ioctl+0xd0/0x140 [ 636.645811][T29270] el0_svc_common+0x138/0x220 [ 636.646817][T29270] do_el0_svc+0x48/0x164 [ 636.647820][T29270] el0_svc+0x58/0x150 [ 636.648728][T29270] el0t_64_sync_handler+0x84/0xf0 [ 636.649885][T29270] el0t_64_sync+0x18c/0x190 [ 636.660198][T29270] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. [ 636.689637][T29270] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 636.692322][T29270] CPU: 1 PID: 29270 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 636.694605][T29270] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 636.696881][T29270] Call trace: [ 636.697617][T29270] dump_backtrace+0x1c4/0x1f0 [ 636.698553][T29270] show_stack+0x2c/0x54 [ 636.699443][T29270] dump_stack_lvl+0x104/0x16c [ 636.700406][T29270] dump_stack+0x1c/0x58 [ 636.701324][T29270] sysfs_create_dir_ns+0x148/0x168 [ 636.702405][T29270] kobject_add_internal+0x244/0x530 [ 636.703473][T29270] kobject_add+0xb8/0x130 [ 636.704430][T29270] device_add+0x248/0x958 [ 636.705341][T29270] device_register+0x28/0x38 [ 636.706264][T29270] tty_register_device_attr+0x1a8/0x320 [ 636.707608][T29270] tty_register_device+0x3c/0x50 [ 636.708650][T29270] gsm_activate_mux+0x9c/0x1f4 [ 636.709604][T29270] gsmld_ioctl+0x6cc/0x764 [ 636.710524][T29270] tty_ioctl+0x6c0/0x9dc [ 636.711434][T29270] __arm64_sys_ioctl+0xd0/0x140 [ 636.712437][T29270] el0_svc_common+0x138/0x220 [ 636.713427][T29270] do_el0_svc+0x48/0x164 [ 636.714336][T29270] el0_svc+0x58/0x150 [ 636.715175][T29270] el0t_64_sync_handler+0x84/0xf0 [ 636.716149][T29270] el0t_64_sync+0x18c/0x190 [ 636.723049][T29270] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:37 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000006000000960000000800", 0x0, 0x2}) 00:10:37 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096005c000800", 0x0, 0x2}) 00:10:37 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012520000960000000800", 0x0, 0x2}) 00:10:37 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000900960000000800", 0x0, 0x2}) 00:10:37 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000b0800", 0x0, 0x2}) 00:10:37 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000030800", 0x0, 0x2}) 00:10:37 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000050800", 0x0, 0x2}) 00:10:37 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000007000000960000000800", 0x0, 0x2}) 00:10:37 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(0xffffffffffffffff, 0x402c542d, &(0x7f0000000000)={0xfffffffc, 0x0, 0x6, 0x0, 0x20, "ca915a6b9b27cb70856c644b25078818cc37e6", 0x7, 0x3}) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCL_GETSHIFTSTATE(r0, 0x541c, &(0x7f00000000c0)={0x6, 0xe7}) 00:10:37 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000009000000960000000800", 0x0, 0x2}) 00:10:37 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000060800", 0x0, 0x2}) 00:10:37 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000a000000960000000800", 0x0, 0x2}) 00:10:37 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000070800", 0x0, 0x2}) 00:10:37 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000b000000960000000800", 0x0, 0x2}) [ 637.333557][T29302] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 637.335614][T29302] CPU: 0 PID: 29302 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 637.337776][T29302] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 637.339878][T29302] Call trace: [ 637.340559][T29302] dump_backtrace+0x1c4/0x1f0 [ 637.341544][T29302] show_stack+0x2c/0x54 [ 637.342423][T29302] dump_stack_lvl+0x104/0x16c [ 637.343426][T29302] dump_stack+0x1c/0x58 [ 637.344308][T29302] sysfs_create_dir_ns+0x148/0x168 [ 637.345421][T29302] kobject_add_internal+0x244/0x530 [ 637.346488][T29302] kobject_add+0xb8/0x130 [ 637.346497][T29302] device_add+0x248/0x958 [ 637.346506][T29302] device_register+0x28/0x38 [ 637.346513][T29302] tty_register_device_attr+0x1a8/0x320 [ 637.346523][T29302] tty_register_device+0x3c/0x50 [ 637.346531][T29302] gsm_activate_mux+0x9c/0x1f4 [ 637.346540][T29302] gsmld_ioctl+0x6cc/0x764 [ 637.346548][T29302] tty_ioctl+0x6c0/0x9dc [ 637.346556][T29302] __arm64_sys_ioctl+0xd0/0x140 [ 637.346566][T29302] el0_svc_common+0x138/0x220 [ 637.346575][T29302] do_el0_svc+0x48/0x164 [ 637.346584][T29302] el0_svc+0x58/0x150 [ 637.346592][T29302] el0t_64_sync_handler+0x84/0xf0 [ 637.346601][T29302] el0t_64_sync+0x18c/0x190 [ 637.354329][T29302] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:37 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012530000960000000800", 0x0, 0x2}) 00:10:37 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000a00960000000800", 0x0, 0x2}) 00:10:37 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000090800", 0x0, 0x2}) 00:10:37 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000c000000960000000800", 0x0, 0x2}) 00:10:37 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000c0800", 0x0, 0x2}) 00:10:37 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000d0800", 0x0, 0x2}) [ 637.736455][T29317] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 637.739271][T29317] CPU: 1 PID: 29317 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 637.741477][T29317] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 637.743575][T29317] Call trace: [ 637.744263][T29317] dump_backtrace+0x1c4/0x1f0 [ 637.745240][T29317] show_stack+0x2c/0x54 [ 637.746140][T29317] dump_stack_lvl+0x104/0x16c [ 637.747149][T29317] dump_stack+0x1c/0x58 [ 637.748027][T29317] sysfs_create_dir_ns+0x148/0x168 [ 637.749161][T29317] kobject_add_internal+0x244/0x530 [ 637.750301][T29317] kobject_add+0xb8/0x130 [ 637.751204][T29317] device_add+0x248/0x958 [ 637.752138][T29317] device_register+0x28/0x38 [ 637.753110][T29317] tty_register_device_attr+0x1a8/0x320 [ 637.754257][T29317] tty_register_device+0x3c/0x50 [ 637.755279][T29317] gsm_activate_mux+0x9c/0x1f4 [ 637.756281][T29317] gsmld_ioctl+0x6cc/0x764 [ 637.757220][T29317] tty_ioctl+0x6c0/0x9dc [ 637.758140][T29317] __arm64_sys_ioctl+0xd0/0x140 [ 637.759224][T29317] el0_svc_common+0x138/0x220 [ 637.760231][T29317] do_el0_svc+0x48/0x164 [ 637.761141][T29317] el0_svc+0x58/0x150 [ 637.762018][T29317] el0t_64_sync_handler+0x84/0xf0 [ 637.763069][T29317] el0t_64_sync+0x18c/0x190 [ 637.774419][T29317] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:37 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(0xffffffffffffffff, 0x402c542d, &(0x7f0000000000)={0xfffffffc, 0x0, 0x6, 0x0, 0x20, "ca915a6b9b27cb70856c644b25078818cc37e6", 0x7, 0x3}) (async, rerun: 32) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async, rerun: 32) ioctl$TIOCL_GETSHIFTSTATE(r0, 0x541c, &(0x7f00000000c0)={0x6, 0xe7}) 00:10:37 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000a0800", 0x0, 0x2}) 00:10:37 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000e0800", 0x0, 0x2}) 00:10:37 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000b0800", 0x0, 0x2}) 00:10:37 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000100800", 0x0, 0x2}) 00:10:37 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(0xffffffffffffffff, 0x402c542d, &(0x7f0000000000)={0xfffffffc, 0x0, 0x6, 0x0, 0x20, "ca915a6b9b27cb70856c644b25078818cc37e6", 0x7, 0x3}) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCL_GETSHIFTSTATE(r0, 0x541c, &(0x7f00000000c0)={0x6, 0xe7}) 00:10:38 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000c0800", 0x0, 0x2}) 00:10:38 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000b00960000000800", 0x0, 0x2}) 00:10:38 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) setsockopt$inet_sctp_SCTP_SOCKOPT_CONNECTX_OLD(0xffffffffffffffff, 0x84, 0x6b, &(0x7f00000000c0)=[@in={0x2, 0x4e24, @dev={0xac, 0x14, 0x14, 0x3a}}, @in6={0xa, 0x4e22, 0x7, @rand_addr=' \x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02', 0x5}, @in={0x2, 0x4e23, @private=0xa010100}, @in={0x2, 0x4e21, @empty}, @in={0x2, 0x4e22, @loopback}, @in={0x2, 0x4e21, @multicast1}, @in={0x2, 0x4e21, @empty}, @in6={0xa, 0x4e21, 0x1d, @local}, @in6={0xa, 0x4e24, 0x7fffffff, @dev={0xfe, 0x80, '\x00', 0x22}}], 0xb4) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000000)=0x10) r1 = syz_init_net_socket$bt_l2cap(0x1f, 0x1, 0x0) ioctl$BTRFS_IOC_GET_SUPPORTED_FEATURES(r1, 0x80489439, &(0x7f0000000180)) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) openat$proc_capi20ncci(0xffffffffffffff9c, &(0x7f0000000200), 0x6740, 0x0) r3 = syz_open_dev$ttys(0xc, 0x2, 0x1) ioctl$TIOCSETD(r3, 0x5423, &(0x7f0000000240)=0xa) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:38 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012540000960000000800", 0x0, 0x2}) 00:10:38 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000d0800", 0x0, 0x2}) 00:10:38 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000d000000960000000800", 0x0, 0x2}) 00:10:38 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000e0800", 0x0, 0x2}) 00:10:38 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000e000000960000000800", 0x0, 0x2}) 00:10:38 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000110800", 0x0, 0x2}) 00:10:38 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000011000000960000000800", 0x0, 0x2}) 00:10:38 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000110800", 0x0, 0x2}) 00:10:38 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000120800", 0x0, 0x2}) 00:10:38 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012000000960000000800", 0x0, 0x2}) [ 638.501016][T29366] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 638.506505][T29366] CPU: 1 PID: 29366 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 638.508736][T29366] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 638.510982][T29366] Call trace: [ 638.511619][T29366] dump_backtrace+0x1c4/0x1f0 [ 638.512642][T29366] show_stack+0x2c/0x54 [ 638.513505][T29366] dump_stack_lvl+0x104/0x16c [ 638.514540][T29366] dump_stack+0x1c/0x58 [ 638.515395][T29366] sysfs_create_dir_ns+0x148/0x168 [ 638.516479][T29366] kobject_add_internal+0x244/0x530 [ 638.517614][T29366] kobject_add+0xb8/0x130 [ 638.518535][T29366] device_add+0x248/0x958 [ 638.519517][T29366] device_register+0x28/0x38 [ 638.520540][T29366] tty_register_device_attr+0x1a8/0x320 [ 638.521743][T29366] tty_register_device+0x3c/0x50 [ 638.522802][T29366] gsm_activate_mux+0x9c/0x1f4 [ 638.523802][T29366] gsmld_ioctl+0x6cc/0x764 [ 638.524753][T29366] tty_ioctl+0x6c0/0x9dc [ 638.525651][T29366] __arm64_sys_ioctl+0xd0/0x140 [ 638.526677][T29366] el0_svc_common+0x138/0x220 [ 638.527726][T29366] do_el0_svc+0x48/0x164 [ 638.528704][T29366] el0_svc+0x58/0x150 [ 638.529568][T29366] el0t_64_sync_handler+0x84/0xf0 [ 638.530654][T29366] el0t_64_sync+0x18c/0x190 [ 638.537566][T29366] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:38 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000250800", 0x0, 0x2}) 00:10:38 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) setsockopt$inet_sctp_SCTP_SOCKOPT_CONNECTX_OLD(0xffffffffffffffff, 0x84, 0x6b, &(0x7f00000000c0)=[@in={0x2, 0x4e24, @dev={0xac, 0x14, 0x14, 0x3a}}, @in6={0xa, 0x4e22, 0x7, @rand_addr=' \x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02', 0x5}, @in={0x2, 0x4e23, @private=0xa010100}, @in={0x2, 0x4e21, @empty}, @in={0x2, 0x4e22, @loopback}, @in={0x2, 0x4e21, @multicast1}, @in={0x2, 0x4e21, @empty}, @in6={0xa, 0x4e21, 0x1d, @local}, @in6={0xa, 0x4e24, 0x7fffffff, @dev={0xfe, 0x80, '\x00', 0x22}}], 0xb4) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000000)=0x10) r1 = syz_init_net_socket$bt_l2cap(0x1f, 0x1, 0x0) ioctl$BTRFS_IOC_GET_SUPPORTED_FEATURES(r1, 0x80489439, &(0x7f0000000180)) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) openat$proc_capi20ncci(0xffffffffffffff9c, &(0x7f0000000200), 0x6740, 0x0) r3 = syz_open_dev$ttys(0xc, 0x2, 0x1) ioctl$TIOCSETD(r3, 0x5423, &(0x7f0000000240)=0xa) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) setsockopt$inet_sctp_SCTP_SOCKOPT_CONNECTX_OLD(0xffffffffffffffff, 0x84, 0x6b, &(0x7f00000000c0)=[@in={0x2, 0x4e24, @dev={0xac, 0x14, 0x14, 0x3a}}, @in6={0xa, 0x4e22, 0x7, @rand_addr=' \x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02', 0x5}, @in={0x2, 0x4e23, @private=0xa010100}, @in={0x2, 0x4e21, @empty}, @in={0x2, 0x4e22, @loopback}, @in={0x2, 0x4e21, @multicast1}, @in={0x2, 0x4e21, @empty}, @in6={0xa, 0x4e21, 0x1d, @local}, @in6={0xa, 0x4e24, 0x7fffffff, @dev={0xfe, 0x80, '\x00', 0x22}}], 0xb4) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000000)=0x10) (async) syz_init_net_socket$bt_l2cap(0x1f, 0x1, 0x0) (async) ioctl$BTRFS_IOC_GET_SUPPORTED_FEATURES(r1, 0x80489439, &(0x7f0000000180)) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) openat$proc_capi20ncci(0xffffffffffffff9c, &(0x7f0000000200), 0x6740, 0x0) (async) syz_open_dev$ttys(0xc, 0x2, 0x1) (async) ioctl$TIOCSETD(r3, 0x5423, &(0x7f0000000240)=0xa) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) 00:10:38 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012550000960000000800", 0x0, 0x2}) 00:10:38 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000120800", 0x0, 0x2}) 00:10:38 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000c00960000000800", 0x0, 0x2}) 00:10:38 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600005c0800", 0x0, 0x2}) 00:10:38 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000700", 0x0, 0x2}) 00:10:38 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) setsockopt$inet_sctp_SCTP_SOCKOPT_CONNECTX_OLD(0xffffffffffffffff, 0x84, 0x6b, &(0x7f00000000c0)=[@in={0x2, 0x4e24, @dev={0xac, 0x14, 0x14, 0x3a}}, @in6={0xa, 0x4e22, 0x7, @rand_addr=' \x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02', 0x5}, @in={0x2, 0x4e23, @private=0xa010100}, @in={0x2, 0x4e21, @empty}, @in={0x2, 0x4e22, @loopback}, @in={0x2, 0x4e21, @multicast1}, @in={0x2, 0x4e21, @empty}, @in6={0xa, 0x4e21, 0x1d, @local}, @in6={0xa, 0x4e24, 0x7fffffff, @dev={0xfe, 0x80, '\x00', 0x22}}], 0xb4) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000000)=0x10) r1 = syz_init_net_socket$bt_l2cap(0x1f, 0x1, 0x0) ioctl$BTRFS_IOC_GET_SUPPORTED_FEATURES(r1, 0x80489439, &(0x7f0000000180)) (async, rerun: 64) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) (rerun: 64) openat$proc_capi20ncci(0xffffffffffffff9c, &(0x7f0000000200), 0x6740, 0x0) (async) r3 = syz_open_dev$ttys(0xc, 0x2, 0x1) ioctl$TIOCSETD(r3, 0x5423, &(0x7f0000000240)=0xa) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:38 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000020800", 0x0, 0x2}) 00:10:38 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000030800", 0x0, 0x2}) 00:10:38 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000040800", 0x0, 0x2}) 00:10:39 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000009f12000000960000000800", 0x0, 0x2}) 00:10:39 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TIOCVHANGUP(r0, 0x5437, 0x0) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x2, 0x1, 0x0, "ebeed70000000000000000960000000800", 0xbb1, 0x100002}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x3, 0x0, 0x20000, 0x0, 0x4, "ebeed70000000744000100960000000800", 0x10001, 0x4}) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f00000001c0)=0x1) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSW(r2, 0x5403, &(0x7f0000000140)={0x4, 0x101, 0xffffffff, 0x3, 0x15, "03c1d0ea92d7cef7f85bd82bda4c9eace85fef"}) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700960000100800", 0x0, 0x2}) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(0xffffffffffffffff, 0x404c4701, &(0x7f0000000040)={0x2, 0x80000000, 0x0, 0x0, 0x0, "ebeed700000081010000010000000100", 0x0, 0x2}) ioctl$TIOCSTI(0xffffffffffffffff, 0x5412, &(0x7f0000000000)) ioctl$TCSETA(0xffffffffffffffff, 0x5406, &(0x7f0000000180)={0xfff, 0x5, 0x0, 0x8, 0x1, "63b91f70821382d5"}) ioctl$TIOCL_SETSEL(r2, 0x541c, &(0x7f0000000000)={0x2, {0x2, 0x3f, 0x8, 0x1, 0x6, 0x3}}) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000100)=0x3) 00:10:39 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000050800", 0x0, 0x2}) [ 639.171532][T29410] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 639.175792][T29410] CPU: 1 PID: 29410 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 639.178044][T29410] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 639.180302][T29410] Call trace: [ 639.181012][T29410] dump_backtrace+0x1c4/0x1f0 [ 639.181952][T29410] show_stack+0x2c/0x54 [ 639.182884][T29410] dump_stack_lvl+0x104/0x16c [ 639.183876][T29410] dump_stack+0x1c/0x58 [ 639.184825][T29410] sysfs_create_dir_ns+0x148/0x168 [ 639.185872][T29410] kobject_add_internal+0x244/0x530 [ 639.187022][T29410] kobject_add+0xb8/0x130 [ 639.187941][T29410] device_add+0x248/0x958 [ 639.188836][T29410] device_register+0x28/0x38 [ 639.189855][T29410] tty_register_device_attr+0x1a8/0x320 [ 639.191040][T29410] tty_register_device+0x3c/0x50 [ 639.192164][T29410] gsm_activate_mux+0x9c/0x1f4 [ 639.193160][T29410] gsmld_ioctl+0x6cc/0x764 [ 639.194119][T29410] tty_ioctl+0x6c0/0x9dc [ 639.195003][T29410] __arm64_sys_ioctl+0xd0/0x140 [ 639.196034][T29410] el0_svc_common+0x138/0x220 [ 639.197109][T29410] do_el0_svc+0x48/0x164 [ 639.198027][T29410] el0_svc+0x58/0x150 [ 639.198913][T29410] el0t_64_sync_handler+0x84/0xf0 [ 639.200058][T29410] el0t_64_sync+0x18c/0x190 [ 639.233016][T29410] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:39 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012560000960000000800", 0x0, 0x2}) 00:10:39 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000250800", 0x0, 0x2}) 00:10:39 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000d00960000000800", 0x0, 0x2}) 00:10:39 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000060800", 0x0, 0x2}) 00:10:39 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async, rerun: 32) r0 = syz_open_dev$tty20(0xc, 0x4, 0x0) (rerun: 32) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TIOCVHANGUP(r0, 0x5437, 0x0) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x2, 0x1, 0x0, "ebeed70000000000000000960000000800", 0xbb1, 0x100002}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x3, 0x0, 0x20000, 0x0, 0x4, "ebeed70000000744000100960000000800", 0x10001, 0x4}) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f00000001c0)=0x1) (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSW(r2, 0x5403, &(0x7f0000000140)={0x4, 0x101, 0xffffffff, 0x3, 0x15, "03c1d0ea92d7cef7f85bd82bda4c9eace85fef"}) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700960000100800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) (async, rerun: 32) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async, rerun: 32) ioctl$TCSETSF2(0xffffffffffffffff, 0x404c4701, &(0x7f0000000040)={0x2, 0x80000000, 0x0, 0x0, 0x0, "ebeed700000081010000010000000100", 0x0, 0x2}) (async, rerun: 32) ioctl$TIOCSTI(0xffffffffffffffff, 0x5412, &(0x7f0000000000)) (async, rerun: 32) ioctl$TCSETA(0xffffffffffffffff, 0x5406, &(0x7f0000000180)={0xfff, 0x5, 0x0, 0x8, 0x1, "63b91f70821382d5"}) (async) ioctl$TIOCL_SETSEL(r2, 0x541c, &(0x7f0000000000)={0x2, {0x2, 0x3f, 0x8, 0x1, 0x6, 0x3}}) (async) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000100)=0x3) 00:10:39 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000070800", 0x0, 0x2}) 00:10:39 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TIOCVHANGUP(r0, 0x5437, 0x0) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x2, 0x1, 0x0, "ebeed70000000000000000960000000800", 0xbb1, 0x100002}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x3, 0x0, 0x20000, 0x0, 0x4, "ebeed70000000744000100960000000800", 0x10001, 0x4}) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f00000001c0)=0x1) (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSW(r2, 0x5403, &(0x7f0000000140)={0x4, 0x101, 0xffffffff, 0x3, 0x15, "03c1d0ea92d7cef7f85bd82bda4c9eace85fef"}) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700960000100800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(0xffffffffffffffff, 0x404c4701, &(0x7f0000000040)={0x2, 0x80000000, 0x0, 0x0, 0x0, "ebeed700000081010000010000000100", 0x0, 0x2}) (async) ioctl$TIOCSTI(0xffffffffffffffff, 0x5412, &(0x7f0000000000)) ioctl$TCSETA(0xffffffffffffffff, 0x5406, &(0x7f0000000180)={0xfff, 0x5, 0x0, 0x8, 0x1, "63b91f70821382d5"}) (async) ioctl$TIOCL_SETSEL(r2, 0x541c, &(0x7f0000000000)={0x2, {0x2, 0x3f, 0x8, 0x1, 0x6, 0x3}}) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000100)=0x3) 00:10:39 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000080800", 0x0, 0x2}) 00:10:39 executing program 1: ioctl$BTRFS_IOC_QGROUP_CREATE(0xffffffffffffffff, 0x4010942a, &(0x7f0000000000)={0x0, 0x1}) r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$EXT4_IOC_GETFSUUID(r0, 0x8008662c, &(0x7f00000000c0)) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x8, 0x7f, "ebeed700000000003d415f9c00", 0x0, 0x2}) 00:10:39 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000090800", 0x0, 0x2}) 00:10:39 executing program 1: ioctl$BTRFS_IOC_QGROUP_CREATE(0xffffffffffffffff, 0x4010942a, &(0x7f0000000000)={0x0, 0x1}) r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$EXT4_IOC_GETFSUUID(r0, 0x8008662c, &(0x7f00000000c0)) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x8, 0x7f, "ebeed700000000003d415f9c00", 0x0, 0x2}) ioctl$BTRFS_IOC_QGROUP_CREATE(0xffffffffffffffff, 0x4010942a, &(0x7f0000000000)={0x0, 0x1}) (async) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$EXT4_IOC_GETFSUUID(r0, 0x8008662c, &(0x7f00000000c0)) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x8, 0x7f, "ebeed700000000003d415f9c00", 0x0, 0x2}) (async) 00:10:39 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000a012000000960000000800", 0x0, 0x2}) 00:10:39 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000a0800", 0x0, 0x2}) 00:10:39 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000480800", 0x0, 0x2}) 00:10:39 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000e00960000000800", 0x0, 0x2}) 00:10:39 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012570000960000000800", 0x0, 0x2}) 00:10:39 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000a112000000960000000800", 0x0, 0x2}) 00:10:39 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000b0800", 0x0, 0x2}) 00:10:40 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000c0800", 0x0, 0x2}) [ 640.059485][T29467] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 640.061335][T29467] CPU: 0 PID: 29467 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 640.063466][T29467] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 640.065476][T29467] Call trace: [ 640.066196][T29467] dump_backtrace+0x1c4/0x1f0 00:10:40 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000d0800", 0x0, 0x2}) [ 640.067218][T29467] show_stack+0x2c/0x54 [ 640.068098][T29467] dump_stack_lvl+0x104/0x16c [ 640.069166][T29467] dump_stack+0x1c/0x58 [ 640.070156][T29467] sysfs_create_dir_ns+0x148/0x168 [ 640.071208][T29467] kobject_add_internal+0x244/0x530 [ 640.072331][T29467] kobject_add+0xb8/0x130 [ 640.073359][T29467] device_add+0x248/0x958 [ 640.074381][T29467] device_register+0x28/0x38 [ 640.075382][T29467] tty_register_device_attr+0x1a8/0x320 [ 640.076639][T29467] tty_register_device+0x3c/0x50 [ 640.077759][T29467] gsm_activate_mux+0x9c/0x1f4 [ 640.078858][T29467] gsmld_ioctl+0x6cc/0x764 [ 640.079848][T29467] tty_ioctl+0x6c0/0x9dc [ 640.080886][T29467] __arm64_sys_ioctl+0xd0/0x140 [ 640.081985][T29467] el0_svc_common+0x138/0x220 [ 640.083077][T29467] do_el0_svc+0x48/0x164 [ 640.084015][T29467] el0_svc+0x58/0x150 [ 640.084883][T29467] el0t_64_sync_handler+0x84/0xf0 [ 640.086015][T29467] el0t_64_sync+0x18c/0x190 00:10:40 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000001000960000000800", 0x0, 0x2}) [ 640.096181][T29467] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:40 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000e0800", 0x0, 0x2}) 00:10:40 executing program 1: ioctl$BTRFS_IOC_QGROUP_CREATE(0xffffffffffffffff, 0x4010942a, &(0x7f0000000000)={0x0, 0x1}) r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$EXT4_IOC_GETFSUUID(r0, 0x8008662c, &(0x7f00000000c0)) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x8, 0x7f, "ebeed700000000003d415f9c00", 0x0, 0x2}) ioctl$BTRFS_IOC_QGROUP_CREATE(0xffffffffffffffff, 0x4010942a, &(0x7f0000000000)={0x0, 0x1}) (async) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$EXT4_IOC_GETFSUUID(r0, 0x8008662c, &(0x7f00000000c0)) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x8, 0x7f, "ebeed700000000003d415f9c00", 0x0, 0x2}) (async) 00:10:40 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000100800", 0x0, 0x2}) 00:10:40 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = socket(0x10, 0x3, 0x0) r1 = socket$nl_route(0x10, 0x3, 0x0) r2 = socket(0x10, 0x803, 0x0) sendmsg$ETHTOOL_MSG_LINKSTATE_GET(r2, &(0x7f00000004c0)={0x0, 0x0, &(0x7f0000000480)={0x0, 0x14}}, 0x0) getsockname$packet(r2, &(0x7f0000000300)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000200)=0x14) sendmsg$nl_route(r1, &(0x7f0000000000)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000040)=ANY=[@ANYBLOB="3c0000001000010400eeffffffffffffff000000", @ANYRES32=r3, @ANYBLOB="01000000010000001c0012000c000100627269646765"], 0x3c}}, 0x0) ioctl$sock_kcm_SIOCKCMCLONE(r0, 0x89e2, &(0x7f0000000100)={r0}) sendmsg$IPVS_CMD_DEL_DEST(r4, &(0x7f00000002c0)={&(0x7f0000000180)={0x10, 0x0, 0x0, 0x40201868}, 0xc, &(0x7f0000000240)={&(0x7f00000001c0)={0x20, 0x0, 0x200, 0x70bd28, 0x25dfdbfd, {}, [@IPVS_CMD_ATTR_DEST={0xc, 0x2, 0x0, 0x1, [@IPVS_DEST_ATTR_WEIGHT={0x8, 0x4, 0x7}]}]}, 0x20}, 0x1, 0x0, 0x0, 0x10}, 0x8000) sendmsg$nl_route_sched(r0, &(0x7f00000007c0)={0x0, 0x0, &(0x7f0000000780)={&(0x7f0000000280)=@newqdisc={0x38, 0x24, 0xe0b, 0x0, 0x0, {0x0, 0x0, 0x0, r3, {}, {0xffff, 0xffff}}, [@qdisc_kind_options=@q_pie={{0x8}, {0xc, 0x2, [@TCA_PIE_TUPDATE={0x8, 0x8, 0xffffff7f}]}}]}, 0x38}}, 0x0) bind$packet(0xffffffffffffffff, &(0x7f0000000000)={0x11, 0xf6, r3, 0x1, 0x2, 0x6, @multicast}, 0x14) r5 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r5, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r5, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x3, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r6 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TIOCSTI(r6, 0x5412, &(0x7f00000000c0)=0xc6) ioctl$TCSETSF2(r6, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$AUTOFS_DEV_IOCTL_VERSION(0xffffffffffffffff, 0xc0189371, &(0x7f0000000340)={{0x1, 0x1, 0x18, 0xffffffffffffffff}, './file0\x00'}) ioctl$KDDELIO(r7, 0x4b35, 0x2) [ 640.222706][T29486] netlink: 12 bytes leftover after parsing attributes in process `syz-executor.1'. 00:10:40 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600004c0800", 0x0, 0x2}) 00:10:40 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000110800", 0x0, 0x2}) 00:10:40 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012580000960000000800", 0x0, 0x2}) 00:10:40 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000a212000000960000000800", 0x0, 0x2}) 00:10:40 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = socket(0x10, 0x3, 0x0) r1 = socket$nl_route(0x10, 0x3, 0x0) r2 = socket(0x10, 0x803, 0x0) sendmsg$ETHTOOL_MSG_LINKSTATE_GET(r2, &(0x7f00000004c0)={0x0, 0x0, &(0x7f0000000480)={0x0, 0x14}}, 0x0) getsockname$packet(r2, &(0x7f0000000300)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000200)=0x14) sendmsg$nl_route(r1, &(0x7f0000000000)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000040)=ANY=[@ANYBLOB="3c0000001000010400eeffffffffffffff000000", @ANYRES32=r3, @ANYBLOB="01000000010000001c0012000c000100627269646765"], 0x3c}}, 0x0) ioctl$sock_kcm_SIOCKCMCLONE(r0, 0x89e2, &(0x7f0000000100)={r0}) sendmsg$IPVS_CMD_DEL_DEST(r4, &(0x7f00000002c0)={&(0x7f0000000180)={0x10, 0x0, 0x0, 0x40201868}, 0xc, &(0x7f0000000240)={&(0x7f00000001c0)={0x20, 0x0, 0x200, 0x70bd28, 0x25dfdbfd, {}, [@IPVS_CMD_ATTR_DEST={0xc, 0x2, 0x0, 0x1, [@IPVS_DEST_ATTR_WEIGHT={0x8, 0x4, 0x7}]}]}, 0x20}, 0x1, 0x0, 0x0, 0x10}, 0x8000) sendmsg$nl_route_sched(r0, &(0x7f00000007c0)={0x0, 0x0, &(0x7f0000000780)={&(0x7f0000000280)=@newqdisc={0x38, 0x24, 0xe0b, 0x0, 0x0, {0x0, 0x0, 0x0, r3, {}, {0xffff, 0xffff}}, [@qdisc_kind_options=@q_pie={{0x8}, {0xc, 0x2, [@TCA_PIE_TUPDATE={0x8, 0x8, 0xffffff7f}]}}]}, 0x38}}, 0x0) bind$packet(0xffffffffffffffff, &(0x7f0000000000)={0x11, 0xf6, r3, 0x1, 0x2, 0x6, @multicast}, 0x14) r5 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r5, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r5, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x3, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r6 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TIOCSTI(r6, 0x5412, &(0x7f00000000c0)=0xc6) ioctl$TCSETSF2(r6, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$AUTOFS_DEV_IOCTL_VERSION(0xffffffffffffffff, 0xc0189371, &(0x7f0000000340)={{0x1, 0x1, 0x18, 0xffffffffffffffff}, './file0\x00'}) ioctl$KDDELIO(r7, 0x4b35, 0x2) socket$inet_udp(0x2, 0x2, 0x0) (async) socket(0x10, 0x3, 0x0) (async) socket$nl_route(0x10, 0x3, 0x0) (async) socket(0x10, 0x803, 0x0) (async) sendmsg$ETHTOOL_MSG_LINKSTATE_GET(r2, &(0x7f00000004c0)={0x0, 0x0, &(0x7f0000000480)={0x0, 0x14}}, 0x0) (async) getsockname$packet(r2, &(0x7f0000000300)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000200)=0x14) (async) sendmsg$nl_route(r1, &(0x7f0000000000)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000040)=ANY=[@ANYBLOB="3c0000001000010400eeffffffffffffff000000", @ANYRES32=r3, @ANYBLOB="01000000010000001c0012000c000100627269646765"], 0x3c}}, 0x0) (async) ioctl$sock_kcm_SIOCKCMCLONE(r0, 0x89e2, &(0x7f0000000100)={r0}) (async) sendmsg$IPVS_CMD_DEL_DEST(r4, &(0x7f00000002c0)={&(0x7f0000000180)={0x10, 0x0, 0x0, 0x40201868}, 0xc, &(0x7f0000000240)={&(0x7f00000001c0)={0x20, 0x0, 0x200, 0x70bd28, 0x25dfdbfd, {}, [@IPVS_CMD_ATTR_DEST={0xc, 0x2, 0x0, 0x1, [@IPVS_DEST_ATTR_WEIGHT={0x8, 0x4, 0x7}]}]}, 0x20}, 0x1, 0x0, 0x0, 0x10}, 0x8000) (async) sendmsg$nl_route_sched(r0, &(0x7f00000007c0)={0x0, 0x0, &(0x7f0000000780)={&(0x7f0000000280)=@newqdisc={0x38, 0x24, 0xe0b, 0x0, 0x0, {0x0, 0x0, 0x0, r3, {}, {0xffff, 0xffff}}, [@qdisc_kind_options=@q_pie={{0x8}, {0xc, 0x2, [@TCA_PIE_TUPDATE={0x8, 0x8, 0xffffff7f}]}}]}, 0x38}}, 0x0) (async) bind$packet(0xffffffffffffffff, &(0x7f0000000000)={0x11, 0xf6, r3, 0x1, 0x2, 0x6, @multicast}, 0x14) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r5, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r5, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x3, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TIOCSTI(r6, 0x5412, &(0x7f00000000c0)=0xc6) (async) ioctl$TCSETSF2(r6, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$AUTOFS_DEV_IOCTL_VERSION(0xffffffffffffffff, 0xc0189371, &(0x7f0000000340)={{0x1, 0x1, 0x18}, './file0\x00'}) (async) ioctl$KDDELIO(r7, 0x4b35, 0x2) (async) 00:10:40 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000120800", 0x0, 0x2}) [ 640.552071][T29491] netlink: 12 bytes leftover after parsing attributes in process `syz-executor.1'. 00:10:40 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012590000960000000800", 0x0, 0x2}) [ 640.620638][T29501] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 640.623485][T29501] CPU: 1 PID: 29501 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 640.625607][T29501] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 640.627858][T29501] Call trace: [ 640.628612][T29501] dump_backtrace+0x1c4/0x1f0 [ 640.629497][T29503] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 640.629689][T29501] show_stack+0x2c/0x54 [ 640.632716][T29501] dump_stack_lvl+0x104/0x16c [ 640.633716][T29501] dump_stack+0x1c/0x58 [ 640.634586][T29501] sysfs_create_dir_ns+0x148/0x168 [ 640.635778][T29501] kobject_add_internal+0x244/0x530 [ 640.636907][T29501] kobject_add+0xb8/0x130 [ 640.637885][T29501] device_add+0x248/0x958 [ 640.638890][T29501] device_register+0x28/0x38 [ 640.639938][T29501] tty_register_device_attr+0x1a8/0x320 [ 640.641204][T29501] tty_register_device+0x3c/0x50 [ 640.642341][T29501] gsm_activate_mux+0x9c/0x1f4 [ 640.643378][T29501] gsmld_ioctl+0x6cc/0x764 [ 640.644358][T29501] tty_ioctl+0x6c0/0x9dc [ 640.645331][T29501] __arm64_sys_ioctl+0xd0/0x140 [ 640.646382][T29501] el0_svc_common+0x138/0x220 [ 640.647416][T29501] do_el0_svc+0x48/0x164 [ 640.648346][T29501] el0_svc+0x58/0x150 [ 640.649120][T29501] el0t_64_sync_handler+0x84/0xf0 [ 640.650239][T29501] el0t_64_sync+0x18c/0x190 [ 640.651263][T29503] CPU: 0 PID: 29503 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 640.653463][T29503] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 640.655622][T29503] Call trace: [ 640.656294][T29503] dump_backtrace+0x1c4/0x1f0 [ 640.657264][T29503] show_stack+0x2c/0x54 [ 640.658252][T29503] dump_stack_lvl+0x104/0x16c [ 640.659237][T29503] dump_stack+0x1c/0x58 [ 640.659399][T29501] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. [ 640.660094][T29503] sysfs_create_dir_ns+0x148/0x168 [ 640.660106][T29503] kobject_add_internal+0x244/0x530 [ 640.660113][T29503] kobject_add+0xb8/0x130 [ 640.666305][T29503] device_add+0x248/0x958 [ 640.667290][T29503] device_register+0x28/0x38 [ 640.668329][T29503] tty_register_device_attr+0x1a8/0x320 [ 640.669518][T29503] tty_register_device+0x3c/0x50 [ 640.670573][T29503] gsm_activate_mux+0x9c/0x1f4 [ 640.671633][T29503] gsmld_ioctl+0x6cc/0x764 [ 640.672518][T29503] tty_ioctl+0x6c0/0x9dc [ 640.673490][T29503] __arm64_sys_ioctl+0xd0/0x140 [ 640.674602][T29503] el0_svc_common+0x138/0x220 [ 640.675564][T29503] do_el0_svc+0x48/0x164 [ 640.676489][T29503] el0_svc+0x58/0x150 [ 640.677309][T29503] el0t_64_sync_handler+0x84/0xf0 [ 640.678408][T29503] el0t_64_sync+0x18c/0x190 [ 640.701640][T29503] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. [ 640.704841][T29504] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 640.706562][T29504] CPU: 0 PID: 29504 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 640.708880][T29504] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 640.711070][T29504] Call trace: [ 640.711762][T29504] dump_backtrace+0x1c4/0x1f0 [ 640.712798][T29504] show_stack+0x2c/0x54 [ 640.713681][T29504] dump_stack_lvl+0x104/0x16c [ 640.714763][T29504] dump_stack+0x1c/0x58 [ 640.715642][T29504] sysfs_create_dir_ns+0x148/0x168 [ 640.716742][T29504] kobject_add_internal+0x244/0x530 [ 640.717892][T29504] kobject_add+0xb8/0x130 [ 640.718838][T29504] device_add+0x248/0x958 [ 640.719811][T29504] device_register+0x28/0x38 [ 640.720818][T29504] tty_register_device_attr+0x1a8/0x320 [ 640.721997][T29504] tty_register_device+0x3c/0x50 [ 640.723072][T29504] gsm_activate_mux+0x9c/0x1f4 [ 640.724133][T29504] gsmld_ioctl+0x6cc/0x764 [ 640.725174][T29504] tty_ioctl+0x6c0/0x9dc [ 640.726111][T29504] __arm64_sys_ioctl+0xd0/0x140 [ 640.727274][T29504] el0_svc_common+0x138/0x220 [ 640.728244][T29504] do_el0_svc+0x48/0x164 [ 640.729292][T29504] el0_svc+0x58/0x150 [ 640.730167][T29504] el0t_64_sync_handler+0x84/0xf0 [ 640.731287][T29504] el0t_64_sync+0x18c/0x190 [ 640.746515][T29504] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:40 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000001100960000000800", 0x0, 0x2}) 00:10:40 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000250800", 0x0, 0x2}) 00:10:40 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000125a0000960000000800", 0x0, 0x2}) 00:10:40 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600005c0800", 0x0, 0x2}) 00:10:40 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000001200960000000800", 0x0, 0x2}) 00:10:41 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600005c0800", 0x0, 0x2}) 00:10:41 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000700", 0x0, 0x2}) 00:10:41 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000002500960000000800", 0x0, 0x2}) 00:10:41 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000a312000000960000000800", 0x0, 0x2}) 00:10:41 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = socket(0x10, 0x3, 0x0) r1 = socket$nl_route(0x10, 0x3, 0x0) r2 = socket(0x10, 0x803, 0x0) sendmsg$ETHTOOL_MSG_LINKSTATE_GET(r2, &(0x7f00000004c0)={0x0, 0x0, &(0x7f0000000480)={0x0, 0x14}}, 0x0) getsockname$packet(r2, &(0x7f0000000300)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000200)=0x14) sendmsg$nl_route(r1, &(0x7f0000000000)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000040)=ANY=[@ANYBLOB="3c0000001000010400eeffffffffffffff000000", @ANYRES32=r3, @ANYBLOB="01000000010000001c0012000c000100627269646765"], 0x3c}}, 0x0) ioctl$sock_kcm_SIOCKCMCLONE(r0, 0x89e2, &(0x7f0000000100)={r0}) sendmsg$IPVS_CMD_DEL_DEST(r4, &(0x7f00000002c0)={&(0x7f0000000180)={0x10, 0x0, 0x0, 0x40201868}, 0xc, &(0x7f0000000240)={&(0x7f00000001c0)={0x20, 0x0, 0x200, 0x70bd28, 0x25dfdbfd, {}, [@IPVS_CMD_ATTR_DEST={0xc, 0x2, 0x0, 0x1, [@IPVS_DEST_ATTR_WEIGHT={0x8, 0x4, 0x7}]}]}, 0x20}, 0x1, 0x0, 0x0, 0x10}, 0x8000) sendmsg$nl_route_sched(r0, &(0x7f00000007c0)={0x0, 0x0, &(0x7f0000000780)={&(0x7f0000000280)=@newqdisc={0x38, 0x24, 0xe0b, 0x0, 0x0, {0x0, 0x0, 0x0, r3, {}, {0xffff, 0xffff}}, [@qdisc_kind_options=@q_pie={{0x8}, {0xc, 0x2, [@TCA_PIE_TUPDATE={0x8, 0x8, 0xffffff7f}]}}]}, 0x38}}, 0x0) bind$packet(0xffffffffffffffff, &(0x7f0000000000)={0x11, 0xf6, r3, 0x1, 0x2, 0x6, @multicast}, 0x14) r5 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r5, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r5, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x3, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r6 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TIOCSTI(r6, 0x5412, &(0x7f00000000c0)=0xc6) ioctl$TCSETSF2(r6, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$AUTOFS_DEV_IOCTL_VERSION(0xffffffffffffffff, 0xc0189371, &(0x7f0000000340)={{0x1, 0x1, 0x18, 0xffffffffffffffff}, './file0\x00'}) ioctl$KDDELIO(r7, 0x4b35, 0x2) socket$inet_udp(0x2, 0x2, 0x0) (async) socket(0x10, 0x3, 0x0) (async) socket$nl_route(0x10, 0x3, 0x0) (async) socket(0x10, 0x803, 0x0) (async) sendmsg$ETHTOOL_MSG_LINKSTATE_GET(r2, &(0x7f00000004c0)={0x0, 0x0, &(0x7f0000000480)={0x0, 0x14}}, 0x0) (async) getsockname$packet(r2, &(0x7f0000000300)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000200)=0x14) (async) sendmsg$nl_route(r1, &(0x7f0000000000)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000040)=ANY=[@ANYBLOB="3c0000001000010400eeffffffffffffff000000", @ANYRES32=r3, @ANYBLOB="01000000010000001c0012000c000100627269646765"], 0x3c}}, 0x0) (async) ioctl$sock_kcm_SIOCKCMCLONE(r0, 0x89e2, &(0x7f0000000100)={r0}) (async) sendmsg$IPVS_CMD_DEL_DEST(r4, &(0x7f00000002c0)={&(0x7f0000000180)={0x10, 0x0, 0x0, 0x40201868}, 0xc, &(0x7f0000000240)={&(0x7f00000001c0)={0x20, 0x0, 0x200, 0x70bd28, 0x25dfdbfd, {}, [@IPVS_CMD_ATTR_DEST={0xc, 0x2, 0x0, 0x1, [@IPVS_DEST_ATTR_WEIGHT={0x8, 0x4, 0x7}]}]}, 0x20}, 0x1, 0x0, 0x0, 0x10}, 0x8000) (async) sendmsg$nl_route_sched(r0, &(0x7f00000007c0)={0x0, 0x0, &(0x7f0000000780)={&(0x7f0000000280)=@newqdisc={0x38, 0x24, 0xe0b, 0x0, 0x0, {0x0, 0x0, 0x0, r3, {}, {0xffff, 0xffff}}, [@qdisc_kind_options=@q_pie={{0x8}, {0xc, 0x2, [@TCA_PIE_TUPDATE={0x8, 0x8, 0xffffff7f}]}}]}, 0x38}}, 0x0) (async) bind$packet(0xffffffffffffffff, &(0x7f0000000000)={0x11, 0xf6, r3, 0x1, 0x2, 0x6, @multicast}, 0x14) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r5, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r5, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x3, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TIOCSTI(r6, 0x5412, &(0x7f00000000c0)=0xc6) (async) ioctl$TCSETSF2(r6, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$AUTOFS_DEV_IOCTL_VERSION(0xffffffffffffffff, 0xc0189371, &(0x7f0000000340)={{0x1, 0x1, 0x18}, './file0\x00'}) (async) ioctl$KDDELIO(r7, 0x4b35, 0x2) (async) 00:10:41 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080200", 0x0, 0x2}) [ 641.192914][T29539] netlink: 12 bytes leftover after parsing attributes in process `syz-executor.1'. [ 641.193206][T29541] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 641.198733][T29541] CPU: 1 PID: 29541 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 641.201108][T29541] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 641.203391][T29541] Call trace: [ 641.204079][T29541] dump_backtrace+0x1c4/0x1f0 [ 641.205187][T29541] show_stack+0x2c/0x54 [ 641.206138][T29541] dump_stack_lvl+0x104/0x16c [ 641.207242][T29541] dump_stack+0x1c/0x58 [ 641.208191][T29541] sysfs_create_dir_ns+0x148/0x168 [ 641.209280][T29541] kobject_add_internal+0x244/0x530 [ 641.210476][T29541] kobject_add+0xb8/0x130 [ 641.211443][T29541] device_add+0x248/0x958 [ 641.212456][T29541] device_register+0x28/0x38 [ 641.213432][T29541] tty_register_device_attr+0x1a8/0x320 [ 641.214667][T29541] tty_register_device+0x3c/0x50 [ 641.215724][T29541] gsm_activate_mux+0x9c/0x1f4 [ 641.216805][T29541] gsmld_ioctl+0x6cc/0x764 [ 641.217717][T29541] tty_ioctl+0x6c0/0x9dc [ 641.218653][T29541] __arm64_sys_ioctl+0xd0/0x140 [ 641.219665][T29541] el0_svc_common+0x138/0x220 00:10:41 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080300", 0x0, 0x2}) [ 641.219676][T29541] do_el0_svc+0x48/0x164 [ 641.219684][T29541] el0_svc+0x58/0x150 [ 641.219692][T29541] el0t_64_sync_handler+0x84/0xf0 [ 641.219701][T29541] el0t_64_sync+0x18c/0x190 [ 641.224174][T29541] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:41 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000125b0000960000000800", 0x0, 0x2}) 00:10:41 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080400", 0x0, 0x2}) [ 641.289575][T29548] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 641.291386][T29548] CPU: 0 PID: 29548 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 641.293728][T29548] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 641.295861][T29548] Call trace: [ 641.296495][T29548] dump_backtrace+0x1c4/0x1f0 [ 641.297442][T29548] show_stack+0x2c/0x54 [ 641.298362][T29548] dump_stack_lvl+0x104/0x16c [ 641.299370][T29548] dump_stack+0x1c/0x58 [ 641.300262][T29548] sysfs_create_dir_ns+0x148/0x168 [ 641.301318][T29548] kobject_add_internal+0x244/0x530 [ 641.302390][T29548] kobject_add+0xb8/0x130 [ 641.303361][T29548] device_add+0x248/0x958 [ 641.304332][T29548] device_register+0x28/0x38 00:10:41 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000005c0000960000000800", 0x0, 0x2}) [ 641.305294][T29548] tty_register_device_attr+0x1a8/0x320 [ 641.306636][T29548] tty_register_device+0x3c/0x50 [ 641.307762][T29548] gsm_activate_mux+0x9c/0x1f4 [ 641.308812][T29548] gsmld_ioctl+0x6cc/0x764 [ 641.309832][T29548] tty_ioctl+0x6c0/0x9dc [ 641.310733][T29548] __arm64_sys_ioctl+0xd0/0x140 [ 641.311832][T29548] el0_svc_common+0x138/0x220 [ 641.312939][T29548] do_el0_svc+0x48/0x164 [ 641.313909][T29548] el0_svc+0x58/0x150 [ 641.314827][T29548] el0t_64_sync_handler+0x84/0xf0 [ 641.315961][T29548] el0t_64_sync+0x18c/0x190 00:10:41 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080500", 0x0, 0x2}) [ 641.331732][T29548] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:41 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000680000960000000800", 0x0, 0x2}) 00:10:41 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000680800", 0x0, 0x2}) 00:10:41 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080600", 0x0, 0x2}) 00:10:41 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000006c0000960000000800", 0x0, 0x2}) 00:10:41 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000004800960000000800", 0x0, 0x2}) 00:10:41 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:41 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080700", 0x0, 0x2}) 00:10:41 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000a412000000960000000800", 0x0, 0x2}) 00:10:41 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080800", 0x0, 0x2}) 00:10:41 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 641.786521][T29593] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 641.794210][T29593] CPU: 1 PID: 29593 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 641.796376][T29593] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 641.796383][T29593] Call trace: [ 641.796385][T29593] dump_backtrace+0x1c4/0x1f0 [ 641.796397][T29593] show_stack+0x2c/0x54 [ 641.796405][T29593] dump_stack_lvl+0x104/0x16c [ 641.802288][T29593] dump_stack+0x1c/0x58 [ 641.802298][T29593] sysfs_create_dir_ns+0x148/0x168 [ 641.802308][T29593] kobject_add_internal+0x244/0x530 [ 641.802317][T29593] kobject_add+0xb8/0x130 [ 641.802324][T29593] device_add+0x248/0x958 [ 641.802332][T29593] device_register+0x28/0x38 [ 641.802339][T29593] tty_register_device_attr+0x1a8/0x320 [ 641.802348][T29593] tty_register_device+0x3c/0x50 [ 641.802363][T29593] gsm_activate_mux+0x9c/0x1f4 [ 641.802371][T29593] gsmld_ioctl+0x6cc/0x764 [ 641.802379][T29593] tty_ioctl+0x6c0/0x9dc [ 641.802386][T29593] __arm64_sys_ioctl+0xd0/0x140 [ 641.802396][T29593] el0_svc_common+0x138/0x220 [ 641.802406][T29593] do_el0_svc+0x48/0x164 [ 641.802414][T29593] el0_svc+0x58/0x150 [ 641.802421][T29593] el0t_64_sync_handler+0x84/0xf0 [ 641.802430][T29593] el0t_64_sync+0x18c/0x190 [ 641.824173][T29593] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:41 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080900", 0x0, 0x2}) 00:10:41 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) 00:10:41 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080a00", 0x0, 0x2}) 00:10:42 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = openat$binder_debug(0xffffffffffffff9c, &(0x7f0000000000)='/sys/kernel/debug/binder/transaction_log\x00', 0x0, 0x0) ioctl$TIOCSETD(r2, 0x5423, &(0x7f00000000c0)=0xb) 00:10:42 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600006c0800", 0x0, 0x2}) 00:10:42 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000126f0000960000000800", 0x0, 0x2}) 00:10:42 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080b00", 0x0, 0x2}) 00:10:42 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000004c00960000000800", 0x0, 0x2}) 00:10:42 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000a512000000960000000800", 0x0, 0x2}) 00:10:42 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080c00", 0x0, 0x2}) [ 642.335629][T29620] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 642.338960][T29620] CPU: 1 PID: 29620 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 642.341249][T29620] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 642.343301][T29620] Call trace: [ 642.343305][T29620] dump_backtrace+0x1c4/0x1f0 [ 642.343317][T29620] show_stack+0x2c/0x54 [ 642.345959][T29620] dump_stack_lvl+0x104/0x16c [ 642.345972][T29620] dump_stack+0x1c/0x58 [ 642.345980][T29620] sysfs_create_dir_ns+0x148/0x168 [ 642.345990][T29620] kobject_add_internal+0x244/0x530 [ 642.350203][T29620] kobject_add+0xb8/0x130 [ 642.351335][T29620] device_add+0x248/0x958 [ 642.352263][T29620] device_register+0x28/0x38 [ 642.353249][T29620] tty_register_device_attr+0x1a8/0x320 [ 642.354480][T29620] tty_register_device+0x3c/0x50 [ 642.355512][T29620] gsm_activate_mux+0x9c/0x1f4 [ 642.356597][T29620] gsmld_ioctl+0x6cc/0x764 [ 642.357587][T29620] tty_ioctl+0x6c0/0x9dc [ 642.358443][T29620] __arm64_sys_ioctl+0xd0/0x140 [ 642.359521][T29620] el0_svc_common+0x138/0x220 [ 642.360470][T29620] do_el0_svc+0x48/0x164 [ 642.361316][T29620] el0_svc+0x58/0x150 [ 642.362151][T29620] el0t_64_sync_handler+0x84/0xf0 [ 642.363221][T29620] el0t_64_sync+0x18c/0x190 00:10:42 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080d00", 0x0, 0x2}) 00:10:42 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080e00", 0x0, 0x2}) [ 642.391373][T29620] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:42 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000a612000000960000000800", 0x0, 0x2}) 00:10:42 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000081000", 0x0, 0x2}) 00:10:42 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000a712000000960000000800", 0x0, 0x2}) 00:10:42 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async, rerun: 32) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async, rerun: 32) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async, rerun: 64) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async, rerun: 64) r2 = openat$binder_debug(0xffffffffffffff9c, &(0x7f0000000000)='/sys/kernel/debug/binder/transaction_log\x00', 0x0, 0x0) ioctl$TIOCSETD(r2, 0x5423, &(0x7f00000000c0)=0xb) 00:10:42 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000740800", 0x0, 0x2}) 00:10:42 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000740000960000000800", 0x0, 0x2}) 00:10:42 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000081100", 0x0, 0x2}) 00:10:42 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000a812000000960000000800", 0x0, 0x2}) 00:10:42 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000005c00960000000800", 0x0, 0x2}) 00:10:42 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r2 = openat$binder_debug(0xffffffffffffff9c, &(0x7f0000000000)='/sys/kernel/debug/binder/transaction_log\x00', 0x0, 0x0) ioctl$TIOCSETD(r2, 0x5423, &(0x7f00000000c0)=0xb) 00:10:42 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TIOCL_GETMOUSEREPORTING(r0, 0x541c, &(0x7f0000000100)) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCL_GETSHIFTSTATE(0xffffffffffffffff, 0x541c, &(0x7f00000000c0)={0x6, 0x8}) ioctl$TCSETSF2(r0, 0x402c542d, &(0x7f0000000000)={0x1, 0x5, 0xffffffff, 0x6, 0xf1, "f4d628c894ceb58a34e1f4b900f031c340379e", 0x2, 0x689}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:42 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000081200", 0x0, 0x2}) 00:10:42 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async, rerun: 64) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) (rerun: 64) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TIOCL_GETMOUSEREPORTING(r0, 0x541c, &(0x7f0000000100)) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCL_GETSHIFTSTATE(0xffffffffffffffff, 0x541c, &(0x7f00000000c0)={0x6, 0x8}) (async, rerun: 64) ioctl$TCSETSF2(r0, 0x402c542d, &(0x7f0000000000)={0x1, 0x5, 0xffffffff, 0x6, 0xf1, "f4d628c894ceb58a34e1f4b900f031c340379e", 0x2, 0x689}) (async, rerun: 64) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 642.945481][T29663] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 642.947667][T29663] CPU: 1 PID: 29663 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 642.950047][T29663] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 642.952252][T29663] Call trace: [ 642.953009][T29663] dump_backtrace+0x1c4/0x1f0 [ 642.954001][T29663] show_stack+0x2c/0x54 [ 642.954949][T29663] dump_stack_lvl+0x104/0x16c [ 642.955957][T29663] dump_stack+0x1c/0x58 [ 642.956835][T29663] sysfs_create_dir_ns+0x148/0x168 [ 642.957896][T29663] kobject_add_internal+0x244/0x530 [ 642.958990][T29663] kobject_add+0xb8/0x130 [ 642.959950][T29663] device_add+0x248/0x958 [ 642.960854][T29663] device_register+0x28/0x38 [ 642.961824][T29663] tty_register_device_attr+0x1a8/0x320 [ 642.963038][T29663] tty_register_device+0x3c/0x50 [ 642.964091][T29663] gsm_activate_mux+0x9c/0x1f4 [ 642.965115][T29663] gsmld_ioctl+0x6cc/0x764 [ 642.966061][T29663] tty_ioctl+0x6c0/0x9dc [ 642.966976][T29663] __arm64_sys_ioctl+0xd0/0x140 [ 642.968051][T29663] el0_svc_common+0x138/0x220 [ 642.969036][T29663] do_el0_svc+0x48/0x164 [ 642.969974][T29663] el0_svc+0x58/0x150 [ 642.970876][T29663] el0t_64_sync_handler+0x84/0xf0 [ 642.972010][T29663] el0t_64_sync+0x18c/0x190 00:10:42 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000082500", 0x0, 0x2}) 00:10:42 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000085c00", 0x0, 0x2}) 00:10:43 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000300", 0x0, 0x2}) [ 643.049343][T29663] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:43 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TIOCL_GETMOUSEREPORTING(r0, 0x541c, &(0x7f0000000100)) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCL_GETSHIFTSTATE(0xffffffffffffffff, 0x541c, &(0x7f00000000c0)={0x6, 0x8}) ioctl$TCSETSF2(r0, 0x402c542d, &(0x7f0000000000)={0x1, 0x5, 0xffffffff, 0x6, 0xf1, "f4d628c894ceb58a34e1f4b900f031c340379e", 0x2, 0x689}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TIOCL_GETMOUSEREPORTING(r0, 0x541c, &(0x7f0000000100)) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCL_GETSHIFTSTATE(0xffffffffffffffff, 0x541c, &(0x7f00000000c0)={0x6, 0x8}) (async) ioctl$TCSETSF2(r0, 0x402c542d, &(0x7f0000000000)={0x1, 0x5, 0xffffffff, 0x6, 0xf1, "f4d628c894ceb58a34e1f4b900f031c340379e", 0x2, 0x689}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) [ 643.400641][T29679] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 643.402842][T29679] CPU: 1 PID: 29679 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 643.405126][T29679] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 643.407327][T29679] Call trace: [ 643.408072][T29679] dump_backtrace+0x1c4/0x1f0 [ 643.409072][T29679] show_stack+0x2c/0x54 [ 643.409980][T29679] dump_stack_lvl+0x104/0x16c [ 643.410978][T29679] dump_stack+0x1c/0x58 [ 643.411908][T29679] sysfs_create_dir_ns+0x148/0x168 [ 643.413029][T29679] kobject_add_internal+0x244/0x530 [ 643.414161][T29679] kobject_add+0xb8/0x130 [ 643.415047][T29679] device_add+0x248/0x958 [ 643.415984][T29679] device_register+0x28/0x38 [ 643.416920][T29679] tty_register_device_attr+0x1a8/0x320 [ 643.418072][T29679] tty_register_device+0x3c/0x50 [ 643.419178][T29679] gsm_activate_mux+0x9c/0x1f4 [ 643.420186][T29679] gsmld_ioctl+0x6cc/0x764 [ 643.421122][T29679] tty_ioctl+0x6c0/0x9dc [ 643.422096][T29679] __arm64_sys_ioctl+0xd0/0x140 [ 643.423157][T29679] el0_svc_common+0x138/0x220 [ 643.424224][T29679] do_el0_svc+0x48/0x164 [ 643.425201][T29679] el0_svc+0x58/0x150 [ 643.426123][T29679] el0t_64_sync_handler+0x84/0xf0 [ 643.427228][T29679] el0t_64_sync+0x18c/0x190 [ 643.440926][T29679] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:43 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600007a0800", 0x0, 0x2}) 00:10:43 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000500", 0x0, 0x2}) 00:10:43 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000a912000000960000000800", 0x0, 0x2}) 00:10:43 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000007a0000960000000800", 0x0, 0x2}) 00:10:43 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000600", 0x0, 0x2}) 00:10:43 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000006800960000000800", 0x0, 0x2}) 00:10:43 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000700", 0x0, 0x2}) 00:10:43 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000006c00960000000800", 0x0, 0x2}) 00:10:43 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000900", 0x0, 0x2}) [ 643.564529][T29708] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 643.570083][T29708] CPU: 0 PID: 29708 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 643.572298][T29708] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 643.574532][T29708] Call trace: [ 643.575298][T29708] dump_backtrace+0x1c4/0x1f0 [ 643.576370][T29708] show_stack+0x2c/0x54 [ 643.577320][T29708] dump_stack_lvl+0x104/0x16c [ 643.578360][T29708] dump_stack+0x1c/0x58 [ 643.579275][T29708] sysfs_create_dir_ns+0x148/0x168 [ 643.580378][T29708] kobject_add_internal+0x244/0x530 [ 643.581443][T29708] kobject_add+0xb8/0x130 [ 643.582366][T29708] device_add+0x248/0x958 [ 643.583266][T29708] device_register+0x28/0x38 [ 643.584279][T29708] tty_register_device_attr+0x1a8/0x320 [ 643.585416][T29708] tty_register_device+0x3c/0x50 [ 643.586497][T29708] gsm_activate_mux+0x9c/0x1f4 [ 643.587584][T29708] gsmld_ioctl+0x6cc/0x764 [ 643.588509][T29708] tty_ioctl+0x6c0/0x9dc [ 643.589400][T29708] __arm64_sys_ioctl+0xd0/0x140 [ 643.590464][T29708] el0_svc_common+0x138/0x220 [ 643.591524][T29708] do_el0_svc+0x48/0x164 [ 643.592502][T29708] el0_svc+0x58/0x150 [ 643.593331][T29708] el0t_64_sync_handler+0x84/0xf0 [ 643.594394][T29708] el0t_64_sync+0x18c/0x190 00:10:43 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000127000960000000800", 0x0, 0x2}) 00:10:43 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000a00", 0x0, 0x2}) [ 643.644661][T29708] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:43 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$PIO_UNISCRNMAP(r0, 0x4b6a, &(0x7f0000000000)="cef0343a169ade059d561b7c178eba651349da049d3d15e73d21c501c4e8a8d3456e0f47cf2ba57ce59ac4a9b74282ebc3") [ 643.906679][T29717] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 643.909389][T29717] CPU: 1 PID: 29717 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 643.911635][T29717] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 643.913890][T29717] Call trace: [ 643.914575][T29717] dump_backtrace+0x1c4/0x1f0 [ 643.915645][T29717] show_stack+0x2c/0x54 [ 643.916562][T29717] dump_stack_lvl+0x104/0x16c [ 643.917564][T29717] dump_stack+0x1c/0x58 [ 643.918433][T29717] sysfs_create_dir_ns+0x148/0x168 [ 643.919489][T29717] kobject_add_internal+0x244/0x530 [ 643.920610][T29717] kobject_add+0xb8/0x130 [ 643.921571][T29717] device_add+0x248/0x958 [ 643.922545][T29717] device_register+0x28/0x38 [ 643.923543][T29717] tty_register_device_attr+0x1a8/0x320 [ 643.924795][T29717] tty_register_device+0x3c/0x50 [ 643.925834][T29717] gsm_activate_mux+0x9c/0x1f4 [ 643.926911][T29717] gsmld_ioctl+0x6cc/0x764 [ 643.927891][T29717] tty_ioctl+0x6c0/0x9dc [ 643.928771][T29717] __arm64_sys_ioctl+0xd0/0x140 [ 643.929918][T29717] el0_svc_common+0x138/0x220 [ 643.930932][T29717] do_el0_svc+0x48/0x164 [ 643.931817][T29717] el0_svc+0x58/0x150 [ 643.932679][T29717] el0t_64_sync_handler+0x84/0xf0 [ 643.933684][T29717] el0t_64_sync+0x18c/0x190 [ 643.942772][T29717] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:44 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000b00", 0x0, 0x2}) 00:10:44 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000127100960000000800", 0x0, 0x2}) 00:10:44 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000aa12000000960000000800", 0x0, 0x2}) 00:10:44 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000c00", 0x0, 0x2}) 00:10:44 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000c00", 0x0, 0x2}) 00:10:44 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000ff0000960000000800", 0x0, 0x2}) 00:10:44 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000d00", 0x0, 0x2}) 00:10:44 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000f00", 0x0, 0x2}) 00:10:44 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000e00", 0x0, 0x2}) [ 644.171506][T29736] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' 00:10:44 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000002b00", 0x0, 0x2}) [ 644.173423][T29736] CPU: 1 PID: 29736 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 644.175574][T29736] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 644.177755][T29736] Call trace: [ 644.178477][T29736] dump_backtrace+0x1c4/0x1f0 [ 644.179494][T29736] show_stack+0x2c/0x54 [ 644.180441][T29736] dump_stack_lvl+0x104/0x16c [ 644.181479][T29736] dump_stack+0x1c/0x58 [ 644.182376][T29736] sysfs_create_dir_ns+0x148/0x168 [ 644.183483][T29736] kobject_add_internal+0x244/0x530 [ 644.184657][T29736] kobject_add+0xb8/0x130 [ 644.185579][T29736] device_add+0x248/0x958 [ 644.186557][T29736] device_register+0x28/0x38 [ 644.187526][T29736] tty_register_device_attr+0x1a8/0x320 [ 644.188732][T29736] tty_register_device+0x3c/0x50 [ 644.189788][T29736] gsm_activate_mux+0x9c/0x1f4 [ 644.190779][T29736] gsmld_ioctl+0x6cc/0x764 [ 644.191683][T29736] tty_ioctl+0x6c0/0x9dc [ 644.192582][T29736] __arm64_sys_ioctl+0xd0/0x140 [ 644.193634][T29736] el0_svc_common+0x138/0x220 [ 644.194708][T29736] do_el0_svc+0x48/0x164 [ 644.195591][T29736] el0_svc+0x58/0x150 [ 644.196474][T29736] el0t_64_sync_handler+0x84/0xf0 [ 644.197597][T29736] el0t_64_sync+0x18c/0x190 [ 644.204974][T29736] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:44 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008001100", 0x0, 0x2}) 00:10:44 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000005dc00", 0x0, 0x2}) 00:10:44 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008001200", 0x0, 0x2}) 00:10:44 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000127200960000000800", 0x0, 0x2}) 00:10:44 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000ab12000000960000000800", 0x0, 0x2}) 00:10:44 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$PIO_UNISCRNMAP(r0, 0x4b6a, &(0x7f0000000000)="cef0343a169ade059d561b7c178eba651349da049d3d15e73d21c501c4e8a8d3456e0f47cf2ba57ce59ac4a9b74282ebc3") socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$PIO_UNISCRNMAP(r0, 0x4b6a, &(0x7f0000000000)="cef0343a169ade059d561b7c178eba651349da049d3d15e73d21c501c4e8a8d3456e0f47cf2ba57ce59ac4a9b74282ebc3") (async) 00:10:44 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000200", 0x0, 0x2}) 00:10:44 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008002500", 0x0, 0x2}) 00:10:44 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000e0ffff0000960000000800", 0x0, 0x2}) 00:10:44 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008005c00", 0x0, 0x2}) 00:10:44 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000ac12000000960000000800", 0x0, 0x2}) [ 644.675959][T29763] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 644.683164][T29763] CPU: 1 PID: 29763 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 644.685463][T29763] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 644.687773][T29763] Call trace: [ 644.688515][T29763] dump_backtrace+0x1c4/0x1f0 [ 644.689570][T29763] show_stack+0x2c/0x54 [ 644.690480][T29763] dump_stack_lvl+0x104/0x16c [ 644.691552][T29763] dump_stack+0x1c/0x58 [ 644.692433][T29763] sysfs_create_dir_ns+0x148/0x168 [ 644.693639][T29763] kobject_add_internal+0x244/0x530 [ 644.694769][T29763] kobject_add+0xb8/0x130 [ 644.695728][T29763] device_add+0x248/0x958 [ 644.696706][T29763] device_register+0x28/0x38 [ 644.697715][T29763] tty_register_device_attr+0x1a8/0x320 [ 644.698967][T29763] tty_register_device+0x3c/0x50 [ 644.700049][T29763] gsm_activate_mux+0x9c/0x1f4 [ 644.701112][T29763] gsmld_ioctl+0x6cc/0x764 [ 644.702024][T29763] tty_ioctl+0x6c0/0x9dc [ 644.702896][T29763] __arm64_sys_ioctl+0xd0/0x140 [ 644.703959][T29763] el0_svc_common+0x138/0x220 [ 644.704994][T29763] do_el0_svc+0x48/0x164 [ 644.706010][T29763] el0_svc+0x58/0x150 [ 644.706955][T29763] el0t_64_sync_handler+0x84/0xf0 [ 644.708029][T29763] el0t_64_sync+0x18c/0x190 00:10:44 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:44 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000ad12000000960000000800", 0x0, 0x2}) [ 644.726518][T29763] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:44 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000ae12000000960000000800", 0x0, 0x2}) 00:10:44 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:45 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000127300960000000800", 0x0, 0x2}) 00:10:45 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000af12000000960000000800", 0x0, 0x2}) [ 645.130537][T29786] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 645.132301][T29786] CPU: 0 PID: 29786 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 645.134616][T29786] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 645.136669][T29786] Call trace: [ 645.137399][T29786] dump_backtrace+0x1c4/0x1f0 [ 645.138426][T29786] show_stack+0x2c/0x54 [ 645.139392][T29786] dump_stack_lvl+0x104/0x16c [ 645.140411][T29786] dump_stack+0x1c/0x58 [ 645.141346][T29786] sysfs_create_dir_ns+0x148/0x168 [ 645.142419][T29786] kobject_add_internal+0x244/0x530 [ 645.143487][T29786] kobject_add+0xb8/0x130 [ 645.144429][T29786] device_add+0x248/0x958 [ 645.145419][T29786] device_register+0x28/0x38 [ 645.146435][T29786] tty_register_device_attr+0x1a8/0x320 [ 645.147607][T29786] tty_register_device+0x3c/0x50 [ 645.148699][T29786] gsm_activate_mux+0x9c/0x1f4 [ 645.149748][T29786] gsmld_ioctl+0x6cc/0x764 [ 645.150652][T29786] tty_ioctl+0x6c0/0x9dc [ 645.151631][T29786] __arm64_sys_ioctl+0xd0/0x140 [ 645.152671][T29786] el0_svc_common+0x138/0x220 [ 645.153706][T29786] do_el0_svc+0x48/0x164 [ 645.154687][T29786] el0_svc+0x58/0x150 [ 645.155671][T29786] el0t_64_sync_handler+0x84/0xf0 [ 645.156703][T29786] el0t_64_sync+0x18c/0x190 [ 645.201719][T29786] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:45 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$PIO_UNISCRNMAP(r0, 0x4b6a, &(0x7f0000000000)="cef0343a169ade059d561b7c178eba651349da049d3d15e73d21c501c4e8a8d3456e0f47cf2ba57ce59ac4a9b74282ebc3") 00:10:45 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:45 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000007400960000000800", 0x0, 0x2}) 00:10:45 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000500", 0x0, 0x2}) 00:10:45 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000200000000960000000800", 0x0, 0x2}) 00:10:45 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000300000000960000000800", 0x0, 0x2}) 00:10:45 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x13) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x3, 0x0, 0xff, "eb0800", 0x0, 0x2}) r1 = socket$inet_udplite(0x2, 0x2, 0x88) accept4(0xffffffffffffffff, 0x0, 0x0, 0x0) r2 = socket(0x10, 0x3, 0x0) r3 = socket$nl_route(0x10, 0x3, 0x0) r4 = socket(0x10, 0x803, 0x0) sendmsg$ETHTOOL_MSG_LINKSTATE_GET(r4, &(0x7f00000004c0)={0x0, 0x0, &(0x7f0000000480)={0x0, 0x14}}, 0x0) getsockname$packet(r4, &(0x7f0000000300)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000200)=0x14) sendmsg$nl_route(r3, &(0x7f0000000000)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000040)=ANY=[@ANYBLOB="3c0000001000010400eeffffffffffffff000000", @ANYRES32=r5, @ANYBLOB="01000000010000001c0012000c000100627269646765"], 0x3c}}, 0x0) sendmsg$nl_route_sched(r2, &(0x7f00000007c0)={0x0, 0x0, &(0x7f0000000780)={&(0x7f0000000280)=@newqdisc={0x38, 0x24, 0xe0b, 0x0, 0x0, {0x0, 0x0, 0x0, r5, {}, {0xffff, 0xffff}}, [@qdisc_kind_options=@q_pie={{0x8}, {0xc, 0x2, [@TCA_PIE_TUPDATE={0x8, 0x8, 0xffffff7f}]}}]}, 0x38}}, 0x0) ioctl$sock_SIOCADDRT(0xffffffffffffffff, 0x890b, &(0x7f0000000240)={0x0, @xdp={0x2c, 0x2, r5, 0x27}, @rc={0x1f, @none, 0xfb}, @nfc={0x27, 0x0, 0x2, 0x1}, 0x5488, 0x0, 0x0, 0x0, 0x1, 0x0, 0x100000001, 0x1, 0x8}) sendto$inet(r1, &(0x7f0000000140)="032d6428e3036b796628d128f903414564f27cc6f08aa42a2b4b47c0314eb1ba036c85109a0314d8bbf36ad780e60ab0271bf1efd14a0f2e4d6ce978e5a7f4894bfaa6c6e879efa226dee4a0ca6ace3271b3b5eac261fc9e58c401e2a2bb99e1abd7b946657a92ff2b010b04192b384476c578e819a37f2fbfbf41a2a7767a1348b4cf980b997c042e770100000000000000c42a659409b0200000003eafc8", 0x9f, 0x40010, &(0x7f0000000000)={0x2, 0x4e22, @local}, 0x10) r6 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCMBIS(r6, 0x5416, &(0x7f0000000200)=0x1000) read(0xffffffffffffffff, &(0x7f00000000c0)=""/109, 0x6d) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r6, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000961500000800", 0x0, 0x6}) 00:10:45 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000400000000960000000800", 0x0, 0x2}) 00:10:45 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000500000000960000000800", 0x0, 0x2}) [ 645.428579][T29804] netlink: 12 bytes leftover after parsing attributes in process `syz-executor.1'. 00:10:45 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x13) (async, rerun: 64) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x3, 0x0, 0xff, "eb0800", 0x0, 0x2}) (rerun: 64) r1 = socket$inet_udplite(0x2, 0x2, 0x88) accept4(0xffffffffffffffff, 0x0, 0x0, 0x0) (async, rerun: 32) r2 = socket(0x10, 0x3, 0x0) (async, rerun: 32) r3 = socket$nl_route(0x10, 0x3, 0x0) (async, rerun: 32) r4 = socket(0x10, 0x803, 0x0) (rerun: 32) sendmsg$ETHTOOL_MSG_LINKSTATE_GET(r4, &(0x7f00000004c0)={0x0, 0x0, &(0x7f0000000480)={0x0, 0x14}}, 0x0) (async) getsockname$packet(r4, &(0x7f0000000300)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000200)=0x14) sendmsg$nl_route(r3, &(0x7f0000000000)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000040)=ANY=[@ANYBLOB="3c0000001000010400eeffffffffffffff000000", @ANYRES32=r5, @ANYBLOB="01000000010000001c0012000c000100627269646765"], 0x3c}}, 0x0) (async, rerun: 32) sendmsg$nl_route_sched(r2, &(0x7f00000007c0)={0x0, 0x0, &(0x7f0000000780)={&(0x7f0000000280)=@newqdisc={0x38, 0x24, 0xe0b, 0x0, 0x0, {0x0, 0x0, 0x0, r5, {}, {0xffff, 0xffff}}, [@qdisc_kind_options=@q_pie={{0x8}, {0xc, 0x2, [@TCA_PIE_TUPDATE={0x8, 0x8, 0xffffff7f}]}}]}, 0x38}}, 0x0) (async, rerun: 32) ioctl$sock_SIOCADDRT(0xffffffffffffffff, 0x890b, &(0x7f0000000240)={0x0, @xdp={0x2c, 0x2, r5, 0x27}, @rc={0x1f, @none, 0xfb}, @nfc={0x27, 0x0, 0x2, 0x1}, 0x5488, 0x0, 0x0, 0x0, 0x1, 0x0, 0x100000001, 0x1, 0x8}) (async) sendto$inet(r1, &(0x7f0000000140)="032d6428e3036b796628d128f903414564f27cc6f08aa42a2b4b47c0314eb1ba036c85109a0314d8bbf36ad780e60ab0271bf1efd14a0f2e4d6ce978e5a7f4894bfaa6c6e879efa226dee4a0ca6ace3271b3b5eac261fc9e58c401e2a2bb99e1abd7b946657a92ff2b010b04192b384476c578e819a37f2fbfbf41a2a7767a1348b4cf980b997c042e770100000000000000c42a659409b0200000003eafc8", 0x9f, 0x40010, &(0x7f0000000000)={0x2, 0x4e22, @local}, 0x10) r6 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCMBIS(r6, 0x5416, &(0x7f0000000200)=0x1000) (async) read(0xffffffffffffffff, &(0x7f00000000c0)=""/109, 0x6d) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async, rerun: 64) ioctl$TCSETSF2(r6, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000961500000800", 0x0, 0x6}) (rerun: 64) 00:10:45 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000600000000960000000800", 0x0, 0x2}) 00:10:45 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x13) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x3, 0x0, 0xff, "eb0800", 0x0, 0x2}) (async) r1 = socket$inet_udplite(0x2, 0x2, 0x88) (async) accept4(0xffffffffffffffff, 0x0, 0x0, 0x0) (async) r2 = socket(0x10, 0x3, 0x0) r3 = socket$nl_route(0x10, 0x3, 0x0) (async) r4 = socket(0x10, 0x803, 0x0) sendmsg$ETHTOOL_MSG_LINKSTATE_GET(r4, &(0x7f00000004c0)={0x0, 0x0, &(0x7f0000000480)={0x0, 0x14}}, 0x0) (async) getsockname$packet(r4, &(0x7f0000000300)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000200)=0x14) sendmsg$nl_route(r3, &(0x7f0000000000)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000040)=ANY=[@ANYBLOB="3c0000001000010400eeffffffffffffff000000", @ANYRES32=r5, @ANYBLOB="01000000010000001c0012000c000100627269646765"], 0x3c}}, 0x0) (async) sendmsg$nl_route_sched(r2, &(0x7f00000007c0)={0x0, 0x0, &(0x7f0000000780)={&(0x7f0000000280)=@newqdisc={0x38, 0x24, 0xe0b, 0x0, 0x0, {0x0, 0x0, 0x0, r5, {}, {0xffff, 0xffff}}, [@qdisc_kind_options=@q_pie={{0x8}, {0xc, 0x2, [@TCA_PIE_TUPDATE={0x8, 0x8, 0xffffff7f}]}}]}, 0x38}}, 0x0) (async) ioctl$sock_SIOCADDRT(0xffffffffffffffff, 0x890b, &(0x7f0000000240)={0x0, @xdp={0x2c, 0x2, r5, 0x27}, @rc={0x1f, @none, 0xfb}, @nfc={0x27, 0x0, 0x2, 0x1}, 0x5488, 0x0, 0x0, 0x0, 0x1, 0x0, 0x100000001, 0x1, 0x8}) sendto$inet(r1, &(0x7f0000000140)="032d6428e3036b796628d128f903414564f27cc6f08aa42a2b4b47c0314eb1ba036c85109a0314d8bbf36ad780e60ab0271bf1efd14a0f2e4d6ce978e5a7f4894bfaa6c6e879efa226dee4a0ca6ace3271b3b5eac261fc9e58c401e2a2bb99e1abd7b946657a92ff2b010b04192b384476c578e819a37f2fbfbf41a2a7767a1348b4cf980b997c042e770100000000000000c42a659409b0200000003eafc8", 0x9f, 0x40010, &(0x7f0000000000)={0x2, 0x4e22, @local}, 0x10) (async) r6 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCMBIS(r6, 0x5416, &(0x7f0000000200)=0x1000) (async) read(0xffffffffffffffff, &(0x7f00000000c0)=""/109, 0x6d) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r6, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000961500000800", 0x0, 0x6}) 00:10:45 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000b012000000960000000800", 0x0, 0x2}) [ 645.772478][T29828] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 645.774442][T29828] CPU: 0 PID: 29828 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 645.776670][T29828] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 645.778786][T29828] Call trace: [ 645.779468][T29828] dump_backtrace+0x1c4/0x1f0 [ 645.780503][T29828] show_stack+0x2c/0x54 [ 645.781419][T29828] dump_stack_lvl+0x104/0x16c [ 645.782519][T29828] dump_stack+0x1c/0x58 [ 645.783413][T29828] sysfs_create_dir_ns+0x148/0x168 [ 645.784529][T29828] kobject_add_internal+0x244/0x530 [ 645.785666][T29828] kobject_add+0xb8/0x130 [ 645.786594][T29828] device_add+0x248/0x958 [ 645.787554][T29828] device_register+0x28/0x38 [ 645.788536][T29828] tty_register_device_attr+0x1a8/0x320 [ 645.789845][T29828] tty_register_device+0x3c/0x50 [ 645.790937][T29828] gsm_activate_mux+0x9c/0x1f4 [ 645.791994][T29828] gsmld_ioctl+0x6cc/0x764 [ 645.792949][T29828] tty_ioctl+0x6c0/0x9dc [ 645.793814][T29828] __arm64_sys_ioctl+0xd0/0x140 [ 645.794877][T29828] el0_svc_common+0x138/0x220 [ 645.795884][T29828] do_el0_svc+0x48/0x164 [ 645.796784][T29828] el0_svc+0x58/0x150 [ 645.797682][T29828] el0t_64_sync_handler+0x84/0xf0 [ 645.798746][T29828] el0t_64_sync+0x18c/0x190 [ 645.807373][T29828] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:45 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:45 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000700000000960000000800", 0x0, 0x2}) 00:10:45 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) ioctl$ifreq_SIOCGIFINDEX_batadv_hard(r0, 0x8933, &(0x7f0000000000)={'batadv_slave_0\x00'}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:45 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000700", 0x0, 0x2}) 00:10:45 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000127400960000000800", 0x0, 0x2}) 00:10:45 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000127500960000000800", 0x0, 0x2}) 00:10:45 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:45 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000127600960000000800", 0x0, 0x2}) [ 645.912627][T29842] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 645.914571][T29842] CPU: 1 PID: 29842 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 645.917041][T29842] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 645.919224][T29842] Call trace: [ 645.919802][T29843] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 645.919924][T29842] dump_backtrace+0x1c4/0x1f0 [ 645.922730][T29842] show_stack+0x2c/0x54 [ 645.923731][T29842] dump_stack_lvl+0x104/0x16c [ 645.924754][T29842] dump_stack+0x1c/0x58 [ 645.925755][T29842] sysfs_create_dir_ns+0x148/0x168 [ 645.926869][T29842] kobject_add_internal+0x244/0x530 [ 645.928119][T29842] kobject_add+0xb8/0x130 [ 645.929167][T29842] device_add+0x248/0x958 [ 645.930100][T29842] device_register+0x28/0x38 [ 645.931134][T29842] tty_register_device_attr+0x1a8/0x320 [ 645.932415][T29842] tty_register_device+0x3c/0x50 [ 645.933455][T29842] gsm_activate_mux+0x9c/0x1f4 [ 645.934511][T29842] gsmld_ioctl+0x6cc/0x764 [ 645.935567][T29842] tty_ioctl+0x6c0/0x9dc [ 645.936518][T29842] __arm64_sys_ioctl+0xd0/0x140 [ 645.937658][T29842] el0_svc_common+0x138/0x220 [ 645.938599][T29842] do_el0_svc+0x48/0x164 [ 645.939530][T29842] el0_svc+0x58/0x150 [ 645.940367][T29842] el0t_64_sync_handler+0x84/0xf0 [ 645.941423][T29842] el0t_64_sync+0x18c/0x190 [ 645.942382][T29843] CPU: 0 PID: 29843 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 645.944611][T29843] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 645.946859][T29843] Call trace: [ 645.947557][T29843] dump_backtrace+0x1c4/0x1f0 [ 645.948496][T29843] show_stack+0x2c/0x54 [ 645.949469][T29843] dump_stack_lvl+0x104/0x16c [ 645.950401][T29843] dump_stack+0x1c/0x58 [ 645.951280][T29843] sysfs_create_dir_ns+0x148/0x168 [ 645.952432][T29843] kobject_add_internal+0x244/0x530 [ 645.953664][T29843] kobject_add+0xb8/0x130 [ 645.954549][T29843] device_add+0x248/0x958 [ 645.955443][T29843] device_register+0x28/0x38 [ 645.956486][T29843] tty_register_device_attr+0x1a8/0x320 [ 645.957646][T29843] tty_register_device+0x3c/0x50 [ 645.958648][T29843] gsm_activate_mux+0x9c/0x1f4 [ 645.959656][T29843] gsmld_ioctl+0x6cc/0x764 [ 645.960582][T29843] tty_ioctl+0x6c0/0x9dc [ 645.961504][T29843] __arm64_sys_ioctl+0xd0/0x140 [ 645.962575][T29843] el0_svc_common+0x138/0x220 [ 645.963578][T29843] do_el0_svc+0x48/0x164 [ 645.964490][T29843] el0_svc+0x58/0x150 [ 645.965207][T29843] el0t_64_sync_handler+0x84/0xf0 [ 645.966096][T29843] el0t_64_sync+0x18c/0x190 00:10:45 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:45 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000127700960000000800", 0x0, 0x2}) 00:10:46 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000127800960000000800", 0x0, 0x2}) [ 646.020492][T29843] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. [ 646.053928][T29842] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:46 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000b112000000960000000800", 0x0, 0x2}) 00:10:46 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:46 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000127900960000000800", 0x0, 0x2}) 00:10:46 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) ioctl$ifreq_SIOCGIFINDEX_batadv_hard(r0, 0x8933, &(0x7f0000000000)={'batadv_slave_0\x00'}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async, rerun: 64) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (rerun: 64) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:46 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000800000000960000000800", 0x0, 0x2}) 00:10:46 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000b212000000960000000800", 0x0, 0x2}) 00:10:46 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000c00", 0x0, 0x2}) 00:10:46 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000b312000000960000000800", 0x0, 0x2}) [ 646.495934][T29871] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 646.499032][T29871] CPU: 0 PID: 29871 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 646.501247][T29871] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 646.503490][T29871] Call trace: [ 646.504227][T29871] dump_backtrace+0x1c4/0x1f0 [ 646.505370][T29871] show_stack+0x2c/0x54 [ 646.506285][T29871] dump_stack_lvl+0x104/0x16c [ 646.507310][T29871] dump_stack+0x1c/0x58 [ 646.508280][T29871] sysfs_create_dir_ns+0x148/0x168 [ 646.509499][T29871] kobject_add_internal+0x244/0x530 [ 646.509512][T29871] kobject_add+0xb8/0x130 [ 646.509520][T29871] device_add+0x248/0x958 [ 646.509528][T29871] device_register+0x28/0x38 [ 646.509535][T29871] tty_register_device_attr+0x1a8/0x320 [ 646.509545][T29871] tty_register_device+0x3c/0x50 [ 646.509554][T29871] gsm_activate_mux+0x9c/0x1f4 [ 646.509562][T29871] gsmld_ioctl+0x6cc/0x764 [ 646.509571][T29871] tty_ioctl+0x6c0/0x9dc [ 646.509579][T29871] __arm64_sys_ioctl+0xd0/0x140 [ 646.509589][T29871] el0_svc_common+0x138/0x220 [ 646.509598][T29871] do_el0_svc+0x48/0x164 [ 646.509606][T29871] el0_svc+0x58/0x150 [ 646.509615][T29871] el0t_64_sync_handler+0x84/0xf0 [ 646.509624][T29871] el0t_64_sync+0x18c/0x190 [ 646.537844][T29871] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. [ 646.550868][T29874] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 646.552814][T29874] CPU: 1 PID: 29874 Comm: syz-executor.2 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 646.555099][T29874] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 646.557246][T29874] Call trace: [ 646.557975][T29874] dump_backtrace+0x1c4/0x1f0 [ 646.558986][T29874] show_stack+0x2c/0x54 [ 646.559875][T29874] dump_stack_lvl+0x104/0x16c [ 646.560889][T29874] dump_stack+0x1c/0x58 [ 646.561731][T29874] sysfs_create_dir_ns+0x148/0x168 [ 646.562801][T29874] kobject_add_internal+0x244/0x530 [ 646.563930][T29874] kobject_add+0xb8/0x130 [ 646.564881][T29874] device_add+0x248/0x958 [ 646.565870][T29874] device_register+0x28/0x38 [ 646.566876][T29874] tty_register_device_attr+0x1a8/0x320 [ 646.568065][T29874] tty_register_device+0x3c/0x50 [ 646.569094][T29874] gsm_activate_mux+0x9c/0x1f4 [ 646.570126][T29874] gsmld_ioctl+0x6cc/0x764 [ 646.571080][T29874] tty_ioctl+0x6c0/0x9dc [ 646.571978][T29874] __arm64_sys_ioctl+0xd0/0x140 [ 646.573079][T29874] el0_svc_common+0x138/0x220 [ 646.574214][T29874] do_el0_svc+0x48/0x164 [ 646.574225][T29874] el0_svc+0x58/0x150 [ 646.574234][T29874] el0t_64_sync_handler+0x84/0xf0 [ 646.574244][T29874] el0t_64_sync+0x18c/0x190 [ 646.583841][T29874] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:46 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) ioctl$ifreq_SIOCGIFINDEX_batadv_hard(r0, 0x8933, &(0x7f0000000000)={'batadv_slave_0\x00'}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:46 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000b412000000960000000800", 0x0, 0x2}) 00:10:46 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) ioctl$AUTOFS_IOC_READY(r1, 0x9360, 0xffffffffffffff7f) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x0) syz_open_dev$ttys(0xc, 0x2, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000000)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) sendmsg$nl_route(0xffffffffffffffff, &(0x7f00000001c0)={&(0x7f00000000c0)={0x10, 0x0, 0x0, 0x80}, 0xc, &(0x7f0000000180)={&(0x7f0000000100)=@newlink={0x5c, 0x10, 0x100, 0x70bd28, 0x25dfdbff, {0x0, 0x0, 0x0, 0x0, 0x62049, 0x10000}, [@IFLA_EXT_MASK={0x8, 0x1d, 0x3}, @IFLA_VF_PORTS={0x10, 0x18, 0x0, 0x1, [{0xc, 0x1, 0x0, 0x1, [@IFLA_PORT_REQUEST={0x5, 0x6, 0x1a}]}]}, @IFLA_TXQLEN={0x8, 0xd, 0x4}, @IFLA_CARRIER_CHANGES={0x8}, @IFLA_MASTER={0x8}, @IFLA_ADDRESS={0xa, 0x1, @multicast}]}, 0x5c}, 0x1, 0x0, 0x0, 0x20004010}, 0x0) 00:10:46 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000b512000000960000000800", 0x0, 0x2}) 00:10:46 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000b612000000960000000800", 0x0, 0x2}) 00:10:46 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:46 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) ioctl$AUTOFS_IOC_READY(r1, 0x9360, 0xffffffffffffff7f) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x0) syz_open_dev$ttys(0xc, 0x2, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000000)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) sendmsg$nl_route(0xffffffffffffffff, &(0x7f00000001c0)={&(0x7f00000000c0)={0x10, 0x0, 0x0, 0x80}, 0xc, &(0x7f0000000180)={&(0x7f0000000100)=@newlink={0x5c, 0x10, 0x100, 0x70bd28, 0x25dfdbff, {0x0, 0x0, 0x0, 0x0, 0x62049, 0x10000}, [@IFLA_EXT_MASK={0x8, 0x1d, 0x3}, @IFLA_VF_PORTS={0x10, 0x18, 0x0, 0x1, [{0xc, 0x1, 0x0, 0x1, [@IFLA_PORT_REQUEST={0x5, 0x6, 0x1a}]}]}, @IFLA_TXQLEN={0x8, 0xd, 0x4}, @IFLA_CARRIER_CHANGES={0x8}, @IFLA_MASTER={0x8}, @IFLA_ADDRESS={0xa, 0x1, @multicast}]}, 0x5c}, 0x1, 0x0, 0x0, 0x20004010}, 0x0) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) (async) ioctl$AUTOFS_IOC_READY(r1, 0x9360, 0xffffffffffffff7f) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x0) (async) syz_open_dev$ttys(0xc, 0x2, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000000)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) sendmsg$nl_route(0xffffffffffffffff, &(0x7f00000001c0)={&(0x7f00000000c0)={0x10, 0x0, 0x0, 0x80}, 0xc, &(0x7f0000000180)={&(0x7f0000000100)=@newlink={0x5c, 0x10, 0x100, 0x70bd28, 0x25dfdbff, {0x0, 0x0, 0x0, 0x0, 0x62049, 0x10000}, [@IFLA_EXT_MASK={0x8, 0x1d, 0x3}, @IFLA_VF_PORTS={0x10, 0x18, 0x0, 0x1, [{0xc, 0x1, 0x0, 0x1, [@IFLA_PORT_REQUEST={0x5, 0x6, 0x1a}]}]}, @IFLA_TXQLEN={0x8, 0xd, 0x4}, @IFLA_CARRIER_CHANGES={0x8}, @IFLA_MASTER={0x8}, @IFLA_ADDRESS={0xa, 0x1, @multicast}]}, 0x5c}, 0x1, 0x0, 0x0, 0x20004010}, 0x0) (async) 00:10:46 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000b712000000960000000800", 0x0, 0x2}) [ 646.993620][T29892] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 646.997589][T29893] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 646.997935][T29892] CPU: 1 PID: 29892 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 647.001759][T29892] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 647.003941][T29892] Call trace: [ 647.004663][T29892] dump_backtrace+0x1c4/0x1f0 [ 647.005738][T29892] show_stack+0x2c/0x54 [ 647.006765][T29892] dump_stack_lvl+0x104/0x16c [ 647.007764][T29892] dump_stack+0x1c/0x58 [ 647.008695][T29892] sysfs_create_dir_ns+0x148/0x168 [ 647.009815][T29892] kobject_add_internal+0x244/0x530 [ 647.010907][T29892] kobject_add+0xb8/0x130 [ 647.011813][T29892] device_add+0x248/0x958 [ 647.012750][T29892] device_register+0x28/0x38 [ 647.013731][T29892] tty_register_device_attr+0x1a8/0x320 [ 647.015008][T29892] tty_register_device+0x3c/0x50 [ 647.016120][T29892] gsm_activate_mux+0x9c/0x1f4 [ 647.017134][T29892] gsmld_ioctl+0x6cc/0x764 [ 647.018059][T29892] tty_ioctl+0x6c0/0x9dc [ 647.019013][T29892] __arm64_sys_ioctl+0xd0/0x140 [ 647.020129][T29892] el0_svc_common+0x138/0x220 [ 647.021105][T29892] do_el0_svc+0x48/0x164 [ 647.022021][T29892] el0_svc+0x58/0x150 [ 647.022847][T29892] el0t_64_sync_handler+0x84/0xf0 [ 647.023920][T29892] el0t_64_sync+0x18c/0x190 [ 647.024883][T29893] CPU: 0 PID: 29893 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 647.026853][T29893] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 647.028946][T29893] Call trace: [ 647.029661][T29893] dump_backtrace+0x1c4/0x1f0 [ 647.030633][T29893] show_stack+0x2c/0x54 [ 647.031604][T29893] dump_stack_lvl+0x104/0x16c [ 647.032575][T29893] dump_stack+0x1c/0x58 [ 647.033431][T29893] sysfs_create_dir_ns+0x148/0x168 [ 647.034580][T29893] kobject_add_internal+0x244/0x530 [ 647.035754][T29893] kobject_add+0xb8/0x130 [ 647.036697][T29893] device_add+0x248/0x958 [ 647.037475][T29892] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. [ 647.037672][T29893] device_register+0x28/0x38 [ 647.041512][T29893] tty_register_device_attr+0x1a8/0x320 [ 647.042719][T29893] tty_register_device+0x3c/0x50 [ 647.043876][T29893] gsm_activate_mux+0x9c/0x1f4 [ 647.044969][T29893] gsmld_ioctl+0x6cc/0x764 [ 647.045817][T29893] tty_ioctl+0x6c0/0x9dc [ 647.046622][T29893] __arm64_sys_ioctl+0xd0/0x140 [ 647.047508][T29893] el0_svc_common+0x138/0x220 [ 647.048382][T29893] do_el0_svc+0x48/0x164 [ 647.049078][T29893] el0_svc+0x58/0x150 [ 647.050012][T29893] el0t_64_sync_handler+0x84/0xf0 [ 647.051085][T29893] el0t_64_sync+0x18c/0x190 00:10:47 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000900000000960000000800", 0x0, 0x2}) 00:10:47 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000007a00960000000800", 0x0, 0x2}) [ 647.102664][T29893] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:47 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000f00", 0x0, 0x2}) 00:10:47 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:47 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000a00000000960000000800", 0x0, 0x2}) 00:10:47 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:47 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000002b00", 0x0, 0x2}) 00:10:47 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 647.172551][T29918] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 647.174305][T29918] CPU: 1 PID: 29918 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 647.176783][T29918] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 647.179007][T29918] Call trace: [ 647.179721][T29918] dump_backtrace+0x1c4/0x1f0 [ 647.180823][T29918] show_stack+0x2c/0x54 [ 647.181753][T29918] dump_stack_lvl+0x104/0x16c [ 647.182769][T29918] dump_stack+0x1c/0x58 [ 647.183656][T29918] sysfs_create_dir_ns+0x148/0x168 [ 647.184801][T29918] kobject_add_internal+0x244/0x530 [ 647.185935][T29918] kobject_add+0xb8/0x130 [ 647.186858][T29918] device_add+0x248/0x958 [ 647.187813][T29918] device_register+0x28/0x38 [ 647.188837][T29918] tty_register_device_attr+0x1a8/0x320 [ 647.190085][T29918] tty_register_device+0x3c/0x50 [ 647.191254][T29918] gsm_activate_mux+0x9c/0x1f4 [ 647.191266][T29918] gsmld_ioctl+0x6cc/0x764 [ 647.191275][T29918] tty_ioctl+0x6c0/0x9dc [ 647.191283][T29918] __arm64_sys_ioctl+0xd0/0x140 [ 647.191292][T29918] el0_svc_common+0x138/0x220 [ 647.191302][T29918] do_el0_svc+0x48/0x164 [ 647.191310][T29918] el0_svc+0x58/0x150 [ 647.191319][T29918] el0t_64_sync_handler+0x84/0xf0 [ 647.191329][T29918] el0t_64_sync+0x18c/0x190 [ 647.193138][T29918] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:47 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000dc0500", 0x0, 0x2}) 00:10:47 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:47 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) ioctl$AUTOFS_IOC_READY(r1, 0x9360, 0xffffffffffffff7f) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x0) syz_open_dev$ttys(0xc, 0x2, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000000)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) sendmsg$nl_route(0xffffffffffffffff, &(0x7f00000001c0)={&(0x7f00000000c0)={0x10, 0x0, 0x0, 0x80}, 0xc, &(0x7f0000000180)={&(0x7f0000000100)=@newlink={0x5c, 0x10, 0x100, 0x70bd28, 0x25dfdbff, {0x0, 0x0, 0x0, 0x0, 0x62049, 0x10000}, [@IFLA_EXT_MASK={0x8, 0x1d, 0x3}, @IFLA_VF_PORTS={0x10, 0x18, 0x0, 0x1, [{0xc, 0x1, 0x0, 0x1, [@IFLA_PORT_REQUEST={0x5, 0x6, 0x1a}]}]}, @IFLA_TXQLEN={0x8, 0xd, 0x4}, @IFLA_CARRIER_CHANGES={0x8}, @IFLA_MASTER={0x8}, @IFLA_ADDRESS={0xa, 0x1, @multicast}]}, 0x5c}, 0x1, 0x0, 0x0, 0x20004010}, 0x0) 00:10:47 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080200", 0x0, 0x2}) 00:10:47 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:47 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000127a00960000000800", 0x0, 0x2}) 00:10:47 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000025000000960000000800", 0x0, 0x2}) 00:10:47 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000000)=0x6) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 647.703531][T29938] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 647.705375][T29938] CPU: 1 PID: 29938 Comm: syz-executor.2 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 647.707505][T29938] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 647.709785][T29938] Call trace: [ 647.709790][T29938] dump_backtrace+0x1c4/0x1f0 [ 647.709801][T29938] show_stack+0x2c/0x54 [ 647.709808][T29938] dump_stack_lvl+0x104/0x16c [ 647.709818][T29938] dump_stack+0x1c/0x58 [ 647.709826][T29938] sysfs_create_dir_ns+0x148/0x168 [ 647.709837][T29938] kobject_add_internal+0x244/0x530 [ 647.709846][T29938] kobject_add+0xb8/0x130 [ 647.709853][T29938] device_add+0x248/0x958 [ 647.709860][T29938] device_register+0x28/0x38 [ 647.709867][T29938] tty_register_device_attr+0x1a8/0x320 [ 647.709877][T29938] tty_register_device+0x3c/0x50 [ 647.709885][T29938] gsm_activate_mux+0x9c/0x1f4 [ 647.709894][T29938] gsmld_ioctl+0x6cc/0x764 [ 647.709902][T29938] tty_ioctl+0x6c0/0x9dc [ 647.709910][T29938] __arm64_sys_ioctl+0xd0/0x140 [ 647.709920][T29938] el0_svc_common+0x138/0x220 [ 647.709929][T29938] do_el0_svc+0x48/0x164 [ 647.709938][T29938] el0_svc+0x58/0x150 [ 647.709946][T29938] el0t_64_sync_handler+0x84/0xf0 [ 647.709956][T29938] el0t_64_sync+0x18c/0x190 [ 647.710707][T29938] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. [ 647.785912][T29942] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' 00:10:47 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000b00000000960000000800", 0x0, 0x2}) [ 647.793929][T29942] CPU: 1 PID: 29942 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 647.796223][T29942] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 647.798432][T29942] Call trace: [ 647.799161][T29942] dump_backtrace+0x1c4/0x1f0 [ 647.800153][T29942] show_stack+0x2c/0x54 [ 647.801016][T29942] dump_stack_lvl+0x104/0x16c [ 647.802102][T29942] dump_stack+0x1c/0x58 [ 647.802967][T29942] sysfs_create_dir_ns+0x148/0x168 [ 647.804072][T29942] kobject_add_internal+0x244/0x530 [ 647.805213][T29942] kobject_add+0xb8/0x130 [ 647.806173][T29942] device_add+0x248/0x958 [ 647.807163][T29942] device_register+0x28/0x38 [ 647.808148][T29942] tty_register_device_attr+0x1a8/0x320 [ 647.809377][T29942] tty_register_device+0x3c/0x50 [ 647.810449][T29942] gsm_activate_mux+0x9c/0x1f4 [ 647.811450][T29942] gsmld_ioctl+0x6cc/0x764 [ 647.811461][T29942] tty_ioctl+0x6c0/0x9dc [ 647.811469][T29942] __arm64_sys_ioctl+0xd0/0x140 [ 647.811479][T29942] el0_svc_common+0x138/0x220 [ 647.815388][T29942] do_el0_svc+0x48/0x164 [ 647.815400][T29942] el0_svc+0x58/0x150 [ 647.815410][T29942] el0t_64_sync_handler+0x84/0xf0 [ 647.815419][T29942] el0t_64_sync+0x18c/0x190 00:10:47 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000c00000000960000000800", 0x0, 0x2}) 00:10:47 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000127b00960000000800", 0x0, 0x2}) [ 647.830308][T29942] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:47 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000d00000000960000000800", 0x0, 0x2}) 00:10:47 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000127c00960000000800", 0x0, 0x2}) 00:10:47 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000e00000000960000000800", 0x0, 0x2}) [ 647.895060][T29957] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 647.897432][T29957] CPU: 0 PID: 29957 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 647.899813][T29957] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 647.901997][T29957] Call trace: [ 647.902715][T29957] dump_backtrace+0x1c4/0x1f0 [ 647.903774][T29957] show_stack+0x2c/0x54 [ 647.904755][T29957] dump_stack_lvl+0x104/0x16c [ 647.905705][T29957] dump_stack+0x1c/0x58 [ 647.906664][T29957] sysfs_create_dir_ns+0x148/0x168 [ 647.907783][T29957] kobject_add_internal+0x244/0x530 [ 647.908986][T29957] kobject_add+0xb8/0x130 [ 647.909920][T29957] device_add+0x248/0x958 [ 647.910923][T29957] device_register+0x28/0x38 [ 647.911900][T29957] tty_register_device_attr+0x1a8/0x320 [ 647.913056][T29957] tty_register_device+0x3c/0x50 00:10:47 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000127d00960000000800", 0x0, 0x2}) [ 647.914179][T29957] gsm_activate_mux+0x9c/0x1f4 [ 647.914192][T29957] gsmld_ioctl+0x6cc/0x764 [ 647.914200][T29957] tty_ioctl+0x6c0/0x9dc [ 647.914209][T29957] __arm64_sys_ioctl+0xd0/0x140 [ 647.914218][T29957] el0_svc_common+0x138/0x220 [ 647.914228][T29957] do_el0_svc+0x48/0x164 [ 647.914236][T29957] el0_svc+0x58/0x150 [ 647.914245][T29957] el0t_64_sync_handler+0x84/0xf0 [ 647.914254][T29957] el0t_64_sync+0x18c/0x190 [ 647.951477][T29957] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:48 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080300", 0x0, 0x2}) 00:10:48 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001000000000960000000800", 0x0, 0x2}) 00:10:48 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000127f00960000000800", 0x0, 0x2}) [ 648.362544][T29967] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 648.365275][T29967] CPU: 0 PID: 29967 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 648.367585][T29967] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 648.369692][T29967] Call trace: [ 648.370402][T29967] dump_backtrace+0x1c4/0x1f0 [ 648.371486][T29967] show_stack+0x2c/0x54 [ 648.372481][T29967] dump_stack_lvl+0x104/0x16c [ 648.373580][T29967] dump_stack+0x1c/0x58 [ 648.374472][T29967] sysfs_create_dir_ns+0x148/0x168 [ 648.375527][T29967] kobject_add_internal+0x244/0x530 [ 648.376571][T29967] kobject_add+0xb8/0x130 [ 648.377499][T29967] device_add+0x248/0x958 [ 648.378448][T29967] device_register+0x28/0x38 [ 648.379417][T29967] tty_register_device_attr+0x1a8/0x320 [ 648.380634][T29967] tty_register_device+0x3c/0x50 [ 648.381718][T29967] gsm_activate_mux+0x9c/0x1f4 [ 648.382784][T29967] gsmld_ioctl+0x6cc/0x764 00:10:48 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000048000000960000000800", 0x0, 0x2}) [ 648.383722][T29967] tty_ioctl+0x6c0/0x9dc [ 648.383732][T29967] __arm64_sys_ioctl+0xd0/0x140 [ 648.383742][T29967] el0_svc_common+0x138/0x220 [ 648.383752][T29967] do_el0_svc+0x48/0x164 [ 648.383760][T29967] el0_svc+0x58/0x150 [ 648.383769][T29967] el0t_64_sync_handler+0x84/0xf0 [ 648.383778][T29967] el0t_64_sync+0x18c/0x190 [ 648.395094][T29967] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:48 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) (async) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000000)=0x6) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:48 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:48 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080400", 0x0, 0x2}) [ 648.455105][T29971] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 648.459993][T29971] CPU: 0 PID: 29971 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 648.462142][T29971] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 648.464226][T29971] Call trace: [ 648.464934][T29971] dump_backtrace+0x1c4/0x1f0 [ 648.465903][T29971] show_stack+0x2c/0x54 [ 648.466861][T29971] dump_stack_lvl+0x104/0x16c [ 648.467894][T29971] dump_stack+0x1c/0x58 [ 648.468825][T29971] sysfs_create_dir_ns+0x148/0x168 [ 648.469912][T29971] kobject_add_internal+0x244/0x530 [ 648.471100][T29971] kobject_add+0xb8/0x130 [ 648.471109][T29971] device_add+0x248/0x958 [ 648.471117][T29971] device_register+0x28/0x38 [ 648.471124][T29971] tty_register_device_attr+0x1a8/0x320 [ 648.471134][T29971] tty_register_device+0x3c/0x50 [ 648.471142][T29971] gsm_activate_mux+0x9c/0x1f4 [ 648.471151][T29971] gsmld_ioctl+0x6cc/0x764 [ 648.471159][T29971] tty_ioctl+0x6c0/0x9dc [ 648.471168][T29971] __arm64_sys_ioctl+0xd0/0x140 [ 648.471177][T29971] el0_svc_common+0x138/0x220 [ 648.471187][T29971] do_el0_svc+0x48/0x164 [ 648.471195][T29971] el0_svc+0x58/0x150 [ 648.471204][T29971] el0t_64_sync_handler+0x84/0xf0 [ 648.471213][T29971] el0t_64_sync+0x18c/0x190 [ 648.486054][T29971] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:48 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080500", 0x0, 0x2}) 00:10:48 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async, rerun: 32) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async, rerun: 32) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000000)=0x6) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:48 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080600", 0x0, 0x2}) 00:10:48 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = openat$sysfs(0xffffffffffffff9c, &(0x7f00000002c0)='/sys/module/virtio_net', 0x400400, 0x100) ioctl$TIOCSTI(r1, 0x5412, &(0x7f00000000c0)=0x4) r2 = openat$nullb(0xffffffffffffff9c, &(0x7f00000001c0), 0x100, 0x0) write$cgroup_netprio_ifpriomap(r1, &(0x7f00000003c0)=ANY=[@ANYBLOB="626f6e6430323800781dff356ce101c6e37e53dd2a16d8eaa28e83403c5ec85685ec0400"/52], 0x8) read(r2, &(0x7f0000000200)=""/171, 0xab) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) socket$alg(0x26, 0x5, 0x0) r4 = accept4$bt_l2cap(0xffffffffffffffff, &(0x7f0000000400), &(0x7f0000000440)=0xffffffffffffff2d, 0x0) fsetxattr$security_ima(r4, &(0x7f0000000480), &(0x7f00000004c0)=@md5={0x1, "848d8ed5177c72e9e524ade80268282b"}, 0x11, 0x2) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TIOCSTI(r0, 0x5412, &(0x7f0000000000)=0x81) bpf$BPF_RAW_TRACEPOINT_OPEN(0x11, &(0x7f0000000140)={&(0x7f0000000100)='mem_disconnect\x00', r1}, 0x10) ioctl$AUTOFS_DEV_IOCTL_ISMOUNTPOINT(r1, 0xc018937e, &(0x7f0000000180)={{0x1, 0x1, 0x18, r0, {0x4}}, './file0\x00'}) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r5 = openat$damon_kdamond_pid(0xffffffffffffff9c, &(0x7f0000000300), 0x400000, 0x102) fsconfig$FSCONFIG_SET_STRING(r5, 0x1, &(0x7f0000000340)='{:\'+\x00', &(0x7f0000000380)='\x00', 0x0) 00:10:48 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080700", 0x0, 0x2}) 00:10:48 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = openat$sysfs(0xffffffffffffff9c, &(0x7f00000002c0)='/sys/module/virtio_net', 0x400400, 0x100) ioctl$TIOCSTI(r1, 0x5412, &(0x7f00000000c0)=0x4) r2 = openat$nullb(0xffffffffffffff9c, &(0x7f00000001c0), 0x100, 0x0) write$cgroup_netprio_ifpriomap(r1, &(0x7f00000003c0)=ANY=[@ANYBLOB="626f6e6430323800781dff356ce101c6e37e53dd2a16d8eaa28e83403c5ec85685ec0400"/52], 0x8) read(r2, &(0x7f0000000200)=""/171, 0xab) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) socket$alg(0x26, 0x5, 0x0) r4 = accept4$bt_l2cap(0xffffffffffffffff, &(0x7f0000000400), &(0x7f0000000440)=0xffffffffffffff2d, 0x0) fsetxattr$security_ima(r4, &(0x7f0000000480), &(0x7f00000004c0)=@md5={0x1, "848d8ed5177c72e9e524ade80268282b"}, 0x11, 0x2) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TIOCSTI(r0, 0x5412, &(0x7f0000000000)=0x81) bpf$BPF_RAW_TRACEPOINT_OPEN(0x11, &(0x7f0000000140)={&(0x7f0000000100)='mem_disconnect\x00', r1}, 0x10) ioctl$AUTOFS_DEV_IOCTL_ISMOUNTPOINT(r1, 0xc018937e, &(0x7f0000000180)={{0x1, 0x1, 0x18, r0, {0x4}}, './file0\x00'}) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r5 = openat$damon_kdamond_pid(0xffffffffffffff9c, &(0x7f0000000300), 0x400000, 0x102) fsconfig$FSCONFIG_SET_STRING(r5, 0x1, &(0x7f0000000340)='{:\'+\x00', &(0x7f0000000380)='\x00', 0x0) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) openat$sysfs(0xffffffffffffff9c, &(0x7f00000002c0)='/sys/module/virtio_net', 0x400400, 0x100) (async) ioctl$TIOCSTI(r1, 0x5412, &(0x7f00000000c0)=0x4) (async) openat$nullb(0xffffffffffffff9c, &(0x7f00000001c0), 0x100, 0x0) (async) write$cgroup_netprio_ifpriomap(r1, &(0x7f00000003c0)=ANY=[@ANYBLOB="626f6e6430323800781dff356ce101c6e37e53dd2a16d8eaa28e83403c5ec85685ec0400"/52], 0x8) (async) read(r2, &(0x7f0000000200)=""/171, 0xab) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) socket$alg(0x26, 0x5, 0x0) (async) accept4$bt_l2cap(0xffffffffffffffff, &(0x7f0000000400), &(0x7f0000000440)=0xffffffffffffff2d, 0x0) (async) fsetxattr$security_ima(r4, &(0x7f0000000480), &(0x7f00000004c0)=@md5={0x1, "848d8ed5177c72e9e524ade80268282b"}, 0x11, 0x2) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TIOCSTI(r0, 0x5412, &(0x7f0000000000)=0x81) (async) bpf$BPF_RAW_TRACEPOINT_OPEN(0x11, &(0x7f0000000140)={&(0x7f0000000100)='mem_disconnect\x00', r1}, 0x10) (async) ioctl$AUTOFS_DEV_IOCTL_ISMOUNTPOINT(r1, 0xc018937e, &(0x7f0000000180)={{0x1, 0x1, 0x18, r0, {0x4}}, './file0\x00'}) (async) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) openat$damon_kdamond_pid(0xffffffffffffff9c, &(0x7f0000000300), 0x400000, 0x102) (async) fsconfig$FSCONFIG_SET_STRING(r5, 0x1, &(0x7f0000000340)='{:\'+\x00', &(0x7f0000000380)='\x00', 0x0) (async) 00:10:48 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001100000000960000000800", 0x0, 0x2}) 00:10:48 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080800", 0x0, 0x2}) 00:10:48 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000004c000000960000000800", 0x0, 0x2}) 00:10:48 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async, rerun: 64) r1 = openat$sysfs(0xffffffffffffff9c, &(0x7f00000002c0)='/sys/module/virtio_net', 0x400400, 0x100) (rerun: 64) ioctl$TIOCSTI(r1, 0x5412, &(0x7f00000000c0)=0x4) (async) r2 = openat$nullb(0xffffffffffffff9c, &(0x7f00000001c0), 0x100, 0x0) (async) write$cgroup_netprio_ifpriomap(r1, &(0x7f00000003c0)=ANY=[@ANYBLOB="626f6e6430323800781dff356ce101c6e37e53dd2a16d8eaa28e83403c5ec85685ec0400"/52], 0x8) read(r2, &(0x7f0000000200)=""/171, 0xab) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) socket$alg(0x26, 0x5, 0x0) (async, rerun: 32) r4 = accept4$bt_l2cap(0xffffffffffffffff, &(0x7f0000000400), &(0x7f0000000440)=0xffffffffffffff2d, 0x0) (rerun: 32) fsetxattr$security_ima(r4, &(0x7f0000000480), &(0x7f00000004c0)=@md5={0x1, "848d8ed5177c72e9e524ade80268282b"}, 0x11, 0x2) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TIOCSTI(r0, 0x5412, &(0x7f0000000000)=0x81) (async, rerun: 64) bpf$BPF_RAW_TRACEPOINT_OPEN(0x11, &(0x7f0000000140)={&(0x7f0000000100)='mem_disconnect\x00', r1}, 0x10) (async, rerun: 64) ioctl$AUTOFS_DEV_IOCTL_ISMOUNTPOINT(r1, 0xc018937e, &(0x7f0000000180)={{0x1, 0x1, 0x18, r0, {0x4}}, './file0\x00'}) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async, rerun: 64) r5 = openat$damon_kdamond_pid(0xffffffffffffff9c, &(0x7f0000000300), 0x400000, 0x102) (rerun: 64) fsconfig$FSCONFIG_SET_STRING(r5, 0x1, &(0x7f0000000340)='{:\'+\x00', &(0x7f0000000380)='\x00', 0x0) 00:10:48 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:48 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000128000960000000800", 0x0, 0x2}) 00:10:48 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 649.013517][T30022] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 649.016619][T30022] CPU: 1 PID: 30022 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 649.018748][T30022] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 649.020884][T30022] Call trace: [ 649.021586][T30022] dump_backtrace+0x1c4/0x1f0 [ 649.022602][T30022] show_stack+0x2c/0x54 [ 649.023533][T30022] dump_stack_lvl+0x104/0x16c [ 649.024543][T30022] dump_stack+0x1c/0x58 [ 649.025474][T30022] sysfs_create_dir_ns+0x148/0x168 [ 649.026526][T30022] kobject_add_internal+0x244/0x530 [ 649.027810][T30022] kobject_add+0xb8/0x130 [ 649.028736][T30022] device_add+0x248/0x958 [ 649.029668][T30022] device_register+0x28/0x38 [ 649.030666][T30022] tty_register_device_attr+0x1a8/0x320 [ 649.031864][T30022] tty_register_device+0x3c/0x50 [ 649.032957][T30022] gsm_activate_mux+0x9c/0x1f4 [ 649.032970][T30022] gsmld_ioctl+0x6cc/0x764 [ 649.032978][T30022] tty_ioctl+0x6c0/0x9dc 00:10:49 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000005c000000960000000800", 0x0, 0x2}) [ 649.036098][T30022] __arm64_sys_ioctl+0xd0/0x140 [ 649.036111][T30022] el0_svc_common+0x138/0x220 [ 649.036122][T30022] do_el0_svc+0x48/0x164 [ 649.036130][T30022] el0_svc+0x58/0x150 [ 649.036139][T30022] el0t_64_sync_handler+0x84/0xf0 [ 649.036148][T30022] el0t_64_sync+0x18c/0x190 00:10:49 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000068000000960000000800", 0x0, 0x2}) 00:10:49 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 649.076331][T30022] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:49 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000006c000000960000000800", 0x0, 0x2}) 00:10:49 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:49 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001200000000960000000800", 0x0, 0x2}) 00:10:49 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000074000000960000000800", 0x0, 0x2}) 00:10:49 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:49 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080900", 0x0, 0x2}) 00:10:49 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) r1 = syz_init_net_socket$nfc_llcp(0x27, 0x1, 0x1) fsetxattr$smack_xattr_label(r1, &(0x7f0000000000)='security.SMACK64MMAP\x00', &(0x7f0000000100)=ANY=[@ANYBLOB="40296df97cd1bd5536ab2a265e2c5b2c402700"], 0xb, 0x3) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$LOOP_SET_FD(0xffffffffffffffff, 0x4c00, r0) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) syz_open_pts(r2, 0x100) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:49 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000128100960000000800", 0x0, 0x2}) 00:10:49 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000128200960000000800", 0x0, 0x2}) 00:10:49 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000002500000000960000000800", 0x0, 0x2}) 00:10:49 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000004800000000960000000800", 0x0, 0x2}) [ 649.562031][T30053] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 649.564103][T30053] CPU: 0 PID: 30053 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 649.566273][T30053] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 649.568474][T30053] Call trace: [ 649.569194][T30053] dump_backtrace+0x1c4/0x1f0 [ 649.570154][T30053] show_stack+0x2c/0x54 [ 649.571081][T30053] dump_stack_lvl+0x104/0x16c [ 649.572006][T30053] dump_stack+0x1c/0x58 [ 649.572922][T30053] sysfs_create_dir_ns+0x148/0x168 [ 649.574088][T30053] kobject_add_internal+0x244/0x530 [ 649.575177][T30053] kobject_add+0xb8/0x130 [ 649.576155][T30053] device_add+0x248/0x958 [ 649.577108][T30053] device_register+0x28/0x38 [ 649.578017][T30053] tty_register_device_attr+0x1a8/0x320 00:10:49 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000128300960000000800", 0x0, 0x2}) [ 649.579105][T30053] tty_register_device+0x3c/0x50 [ 649.579115][T30053] gsm_activate_mux+0x9c/0x1f4 [ 649.579124][T30053] gsmld_ioctl+0x6cc/0x764 [ 649.579132][T30053] tty_ioctl+0x6c0/0x9dc [ 649.579140][T30053] __arm64_sys_ioctl+0xd0/0x140 [ 649.579150][T30053] el0_svc_common+0x138/0x220 [ 649.579160][T30053] do_el0_svc+0x48/0x164 [ 649.579168][T30053] el0_svc+0x58/0x150 [ 649.579177][T30053] el0t_64_sync_handler+0x84/0xf0 [ 649.579186][T30053] el0t_64_sync+0x18c/0x190 [ 649.582102][T30054] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 649.582113][T30054] CPU: 0 PID: 30054 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 649.582123][T30054] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 649.582128][T30054] Call trace: [ 649.582130][T30054] dump_backtrace+0x1c4/0x1f0 [ 649.582144][T30054] show_stack+0x2c/0x54 [ 649.582151][T30054] dump_stack_lvl+0x104/0x16c [ 649.582160][T30054] dump_stack+0x1c/0x58 [ 649.582168][T30054] sysfs_create_dir_ns+0x148/0x168 [ 649.582177][T30054] kobject_add_internal+0x244/0x530 [ 649.582185][T30054] kobject_add+0xb8/0x130 [ 649.582192][T30054] device_add+0x248/0x958 [ 649.582199][T30054] device_register+0x28/0x38 [ 649.582206][T30054] tty_register_device_attr+0x1a8/0x320 [ 649.582215][T30054] tty_register_device+0x3c/0x50 [ 649.582223][T30054] gsm_activate_mux+0x9c/0x1f4 [ 649.582232][T30054] gsmld_ioctl+0x6cc/0x764 [ 649.582240][T30054] tty_ioctl+0x6c0/0x9dc [ 649.582247][T30054] __arm64_sys_ioctl+0xd0/0x140 [ 649.582257][T30054] el0_svc_common+0x138/0x220 [ 649.582266][T30054] do_el0_svc+0x48/0x164 [ 649.582274][T30054] el0_svc+0x58/0x150 [ 649.582283][T30054] el0t_64_sync_handler+0x84/0xf0 [ 649.582292][T30054] el0t_64_sync+0x18c/0x190 [ 649.582332][T30054] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. [ 649.613482][T30053] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:49 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000128400960000000800", 0x0, 0x2}) 00:10:49 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000004c00000000960000000800", 0x0, 0x2}) 00:10:49 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000128800960000000800", 0x0, 0x2}) 00:10:50 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000007a000000960000000800", 0x0, 0x2}) 00:10:50 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000005c00000000960000000800", 0x0, 0x2}) 00:10:50 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000ff00960000000800", 0x0, 0x2}) 00:10:50 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:50 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) r1 = syz_init_net_socket$nfc_llcp(0x27, 0x1, 0x1) fsetxattr$smack_xattr_label(r1, &(0x7f0000000000)='security.SMACK64MMAP\x00', &(0x7f0000000100)=ANY=[@ANYBLOB="40296df97cd1bd5536ab2a265e2c5b2c402700"], 0xb, 0x3) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$LOOP_SET_FD(0xffffffffffffffff, 0x4c00, r0) (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) syz_open_pts(r2, 0x100) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:50 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080a00", 0x0, 0x2}) 00:10:50 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000129f000000960000000800", 0x0, 0x2}) 00:10:50 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080b00", 0x0, 0x2}) [ 650.169816][T30073] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 650.171589][T30073] CPU: 0 PID: 30073 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 650.173454][T30083] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 650.173858][T30073] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 650.173865][T30073] Call trace: [ 650.173867][T30073] dump_backtrace+0x1c4/0x1f0 [ 650.173879][T30073] show_stack+0x2c/0x54 [ 650.180413][T30073] dump_stack_lvl+0x104/0x16c [ 650.181468][T30073] dump_stack+0x1c/0x58 [ 650.182428][T30073] sysfs_create_dir_ns+0x148/0x168 [ 650.183611][T30073] kobject_add_internal+0x244/0x530 [ 650.184853][T30073] kobject_add+0xb8/0x130 [ 650.185863][T30073] device_add+0x248/0x958 [ 650.186818][T30073] device_register+0x28/0x38 [ 650.187832][T30073] tty_register_device_attr+0x1a8/0x320 [ 650.189006][T30073] tty_register_device+0x3c/0x50 [ 650.190096][T30073] gsm_activate_mux+0x9c/0x1f4 [ 650.191129][T30073] gsmld_ioctl+0x6cc/0x764 [ 650.192115][T30073] tty_ioctl+0x6c0/0x9dc [ 650.193050][T30073] __arm64_sys_ioctl+0xd0/0x140 [ 650.194232][T30073] el0_svc_common+0x138/0x220 [ 650.195284][T30073] do_el0_svc+0x48/0x164 [ 650.196209][T30073] el0_svc+0x58/0x150 [ 650.196909][T30073] el0t_64_sync_handler+0x84/0xf0 [ 650.197990][T30073] el0t_64_sync+0x18c/0x190 [ 650.206434][T30083] CPU: 1 PID: 30083 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 650.208580][T30083] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 650.210721][T30083] Call trace: [ 650.211174][T30073] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. [ 650.211466][T30083] dump_backtrace+0x1c4/0x1f0 [ 650.211478][T30083] show_stack+0x2c/0x54 [ 650.211485][T30083] dump_stack_lvl+0x104/0x16c [ 650.211493][T30083] dump_stack+0x1c/0x58 [ 650.218168][T30083] sysfs_create_dir_ns+0x148/0x168 [ 650.219264][T30083] kobject_add_internal+0x244/0x530 [ 650.220421][T30083] kobject_add+0xb8/0x130 [ 650.221386][T30083] device_add+0x248/0x958 [ 650.222302][T30083] device_register+0x28/0x38 [ 650.223233][T30083] tty_register_device_attr+0x1a8/0x320 [ 650.224470][T30083] tty_register_device+0x3c/0x50 [ 650.225581][T30083] gsm_activate_mux+0x9c/0x1f4 [ 650.226655][T30083] gsmld_ioctl+0x6cc/0x764 [ 650.227602][T30083] tty_ioctl+0x6c0/0x9dc [ 650.228501][T30083] __arm64_sys_ioctl+0xd0/0x140 [ 650.229601][T30083] el0_svc_common+0x138/0x220 [ 650.230651][T30083] do_el0_svc+0x48/0x164 [ 650.231556][T30083] el0_svc+0x58/0x150 [ 650.232506][T30083] el0t_64_sync_handler+0x84/0xf0 [ 650.233529][T30083] el0t_64_sync+0x18c/0x190 00:10:50 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080c00", 0x0, 0x2}) [ 650.243967][T30083] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:50 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000012a0000000960000000800", 0x0, 0x2}) 00:10:50 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080d00", 0x0, 0x2}) 00:10:50 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000012a1000000960000000800", 0x0, 0x2}) 00:10:50 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000080e00", 0x0, 0x2}) 00:10:50 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000006800000000960000000800", 0x0, 0x2}) 00:10:50 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000e0ffff00960000000800", 0x0, 0x2}) 00:10:50 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000012a2000000960000000800", 0x0, 0x2}) 00:10:50 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000081000", 0x0, 0x2}) 00:10:50 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:50 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) r1 = syz_init_net_socket$nfc_llcp(0x27, 0x1, 0x1) fsetxattr$smack_xattr_label(r1, &(0x7f0000000000)='security.SMACK64MMAP\x00', &(0x7f0000000100)=ANY=[@ANYBLOB="40296df97cd1bd5536ab2a265e2c5b2c402700"], 0xb, 0x3) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$LOOP_SET_FD(0xffffffffffffffff, 0x4c00, r0) (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) syz_open_pts(r2, 0x100) (async, rerun: 32) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async, rerun: 32) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:50 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 650.765231][T30114] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' 00:10:50 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000002000000960000000800", 0x0, 0x2}) [ 650.773185][T30114] CPU: 0 PID: 30114 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 650.775586][T30114] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 650.777713][T30114] Call trace: [ 650.778446][T30114] dump_backtrace+0x1c4/0x1f0 [ 650.779488][T30114] show_stack+0x2c/0x54 [ 650.780411][T30114] dump_stack_lvl+0x104/0x16c [ 650.781415][T30114] dump_stack+0x1c/0x58 [ 650.782320][T30114] sysfs_create_dir_ns+0x148/0x168 [ 650.783454][T30114] kobject_add_internal+0x244/0x530 [ 650.784646][T30114] kobject_add+0xb8/0x130 [ 650.785636][T30114] device_add+0x248/0x958 [ 650.786675][T30114] device_register+0x28/0x38 [ 650.787817][T30114] tty_register_device_attr+0x1a8/0x320 [ 650.788971][T30114] tty_register_device+0x3c/0x50 [ 650.790072][T30114] gsm_activate_mux+0x9c/0x1f4 [ 650.791108][T30114] gsmld_ioctl+0x6cc/0x764 [ 650.792070][T30114] tty_ioctl+0x6c0/0x9dc [ 650.793021][T30114] __arm64_sys_ioctl+0xd0/0x140 [ 650.794064][T30114] el0_svc_common+0x138/0x220 [ 650.795123][T30114] do_el0_svc+0x48/0x164 [ 650.796023][T30114] el0_svc+0x58/0x150 [ 650.796924][T30114] el0t_64_sync_handler+0x84/0xf0 [ 650.798243][T30114] el0t_64_sync+0x18c/0x190 [ 650.799783][T30117] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 650.801602][T30117] CPU: 1 PID: 30117 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 650.803853][T30117] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 650.806158][T30117] Call trace: [ 650.806910][T30117] dump_backtrace+0x1c4/0x1f0 [ 650.807915][T30117] show_stack+0x2c/0x54 [ 650.808841][T30117] dump_stack_lvl+0x104/0x16c [ 650.809842][T30117] dump_stack+0x1c/0x58 [ 650.810230][T30114] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. [ 650.810804][T30117] sysfs_create_dir_ns+0x148/0x168 [ 650.810818][T30117] kobject_add_internal+0x244/0x530 [ 650.810827][T30117] kobject_add+0xb8/0x130 [ 650.810834][T30117] device_add+0x248/0x958 [ 650.817740][T30117] device_register+0x28/0x38 [ 650.818781][T30117] tty_register_device_attr+0x1a8/0x320 [ 650.819919][T30117] tty_register_device+0x3c/0x50 [ 650.821066][T30117] gsm_activate_mux+0x9c/0x1f4 [ 650.822084][T30117] gsmld_ioctl+0x6cc/0x764 [ 650.823053][T30117] tty_ioctl+0x6c0/0x9dc [ 650.823932][T30117] __arm64_sys_ioctl+0xd0/0x140 [ 650.824934][T30117] el0_svc_common+0x138/0x220 [ 650.825943][T30117] do_el0_svc+0x48/0x164 [ 650.826838][T30117] el0_svc+0x58/0x150 [ 650.827719][T30117] el0t_64_sync_handler+0x84/0xf0 [ 650.828741][T30117] el0t_64_sync+0x18c/0x190 00:10:50 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:50 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000003000000960000000800", 0x0, 0x2}) 00:10:50 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 650.882646][T30117] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:50 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000004000000960000000800", 0x0, 0x2}) 00:10:51 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000006c00000000960000000800", 0x0, 0x2}) 00:10:51 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:51 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000007400000000960000000800", 0x0, 0x2}) 00:10:51 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000081100", 0x0, 0x2}) 00:10:51 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000012a3000000960000000800", 0x0, 0x2}) 00:10:51 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSW2(0xffffffffffffffff, 0x402c542c, &(0x7f0000000000)={0xfffffff7, 0x7ff, 0x100, 0x8, 0x40, "75a11763368f81f9319461460eab60303f6cbc", 0xfffffb97, 0x3}) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:51 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000005000000960000000800", 0x0, 0x2}) [ 651.444926][T30141] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 651.451523][T30141] CPU: 0 PID: 30141 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 651.453772][T30141] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 651.455910][T30141] Call trace: [ 651.456812][T30141] dump_backtrace+0x1c4/0x1f0 [ 651.457885][T30141] show_stack+0x2c/0x54 [ 651.458798][T30141] dump_stack_lvl+0x104/0x16c [ 651.459798][T30141] dump_stack+0x1c/0x58 [ 651.460746][T30141] sysfs_create_dir_ns+0x148/0x168 [ 651.461921][T30141] kobject_add_internal+0x244/0x530 [ 651.463137][T30141] kobject_add+0xb8/0x130 [ 651.464051][T30141] device_add+0x248/0x958 [ 651.464967][T30141] device_register+0x28/0x38 [ 651.465974][T30141] tty_register_device_attr+0x1a8/0x320 [ 651.467166][T30141] tty_register_device+0x3c/0x50 [ 651.468253][T30141] gsm_activate_mux+0x9c/0x1f4 [ 651.469343][T30141] gsmld_ioctl+0x6cc/0x764 [ 651.470378][T30141] tty_ioctl+0x6c0/0x9dc [ 651.471306][T30141] __arm64_sys_ioctl+0xd0/0x140 [ 651.472418][T30141] el0_svc_common+0x138/0x220 [ 651.473422][T30141] do_el0_svc+0x48/0x164 [ 651.474374][T30141] el0_svc+0x58/0x150 [ 651.475294][T30141] el0t_64_sync_handler+0x84/0xf0 [ 651.476549][T30141] el0t_64_sync+0x18c/0x190 00:10:51 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000081200", 0x0, 0x2}) [ 651.482628][T30143] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 651.484441][T30143] CPU: 1 PID: 30143 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 00:10:51 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000006000000960000000800", 0x0, 0x2}) [ 651.486802][T30143] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 651.488932][T30143] Call trace: [ 651.489694][T30143] dump_backtrace+0x1c4/0x1f0 [ 651.490737][T30143] show_stack+0x2c/0x54 [ 651.491686][T30143] dump_stack_lvl+0x104/0x16c [ 651.492688][T30143] dump_stack+0x1c/0x58 [ 651.493626][T30143] sysfs_create_dir_ns+0x148/0x168 [ 651.494789][T30143] kobject_add_internal+0x244/0x530 [ 651.495966][T30143] kobject_add+0xb8/0x130 [ 651.496985][T30143] device_add+0x248/0x958 [ 651.496997][T30143] device_register+0x28/0x38 [ 651.497004][T30143] tty_register_device_attr+0x1a8/0x320 [ 651.497015][T30143] tty_register_device+0x3c/0x50 [ 651.497023][T30143] gsm_activate_mux+0x9c/0x1f4 [ 651.497032][T30143] gsmld_ioctl+0x6cc/0x764 [ 651.497040][T30143] tty_ioctl+0x6c0/0x9dc [ 651.497048][T30143] __arm64_sys_ioctl+0xd0/0x140 [ 651.497058][T30143] el0_svc_common+0x138/0x220 [ 651.497067][T30143] do_el0_svc+0x48/0x164 [ 651.497076][T30143] el0_svc+0x58/0x150 [ 651.497084][T30143] el0t_64_sync_handler+0x84/0xf0 [ 651.497094][T30143] el0t_64_sync+0x18c/0x190 [ 651.513787][T30141] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. [ 651.526116][T30143] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. [ 651.544594][T30146] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 651.546738][T30146] CPU: 1 PID: 30146 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 651.549009][T30146] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 651.551314][T30146] Call trace: [ 651.552035][T30146] dump_backtrace+0x1c4/0x1f0 00:10:51 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000007000000960000000800", 0x0, 0x2}) [ 651.553158][T30146] show_stack+0x2c/0x54 [ 651.554023][T30146] dump_stack_lvl+0x104/0x16c [ 651.555061][T30146] dump_stack+0x1c/0x58 [ 651.556029][T30146] sysfs_create_dir_ns+0x148/0x168 [ 651.556972][T30146] kobject_add_internal+0x244/0x530 [ 651.558076][T30146] kobject_add+0xb8/0x130 [ 651.558992][T30146] device_add+0x248/0x958 [ 651.559970][T30146] device_register+0x28/0x38 [ 651.560947][T30146] tty_register_device_attr+0x1a8/0x320 [ 651.562176][T30146] tty_register_device+0x3c/0x50 [ 651.563253][T30146] gsm_activate_mux+0x9c/0x1f4 [ 651.564355][T30146] gsmld_ioctl+0x6cc/0x764 [ 651.565362][T30146] tty_ioctl+0x6c0/0x9dc [ 651.566284][T30146] __arm64_sys_ioctl+0xd0/0x140 [ 651.567326][T30146] el0_svc_common+0x138/0x220 [ 651.568384][T30146] do_el0_svc+0x48/0x164 [ 651.569277][T30146] el0_svc+0x58/0x150 [ 651.570176][T30146] el0t_64_sync_handler+0x84/0xf0 [ 651.571317][T30146] el0t_64_sync+0x18c/0x190 00:10:51 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000082500", 0x0, 0x2}) 00:10:51 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000008000000960000000800", 0x0, 0x2}) 00:10:51 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000084800", 0x0, 0x2}) [ 651.622936][T30146] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:51 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:51 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000009000000960000000800", 0x0, 0x2}) 00:10:51 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000007a00000000960000000800", 0x0, 0x2}) 00:10:52 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000012a4000000960000000800", 0x0, 0x2}) [ 652.065432][T30163] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 652.075315][T30163] CPU: 0 PID: 30163 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 652.077534][T30163] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 652.079800][T30163] Call trace: [ 652.080526][T30163] dump_backtrace+0x1c4/0x1f0 [ 652.081581][T30163] show_stack+0x2c/0x54 [ 652.082459][T30163] dump_stack_lvl+0x104/0x16c [ 652.083492][T30163] dump_stack+0x1c/0x58 [ 652.084342][T30163] sysfs_create_dir_ns+0x148/0x168 [ 652.085210][T30163] kobject_add_internal+0x244/0x530 [ 652.086333][T30163] kobject_add+0xb8/0x130 [ 652.087295][T30163] device_add+0x248/0x958 [ 652.088227][T30163] device_register+0x28/0x38 [ 652.089252][T30163] tty_register_device_attr+0x1a8/0x320 [ 652.090524][T30163] tty_register_device+0x3c/0x50 [ 652.091711][T30163] gsm_activate_mux+0x9c/0x1f4 [ 652.092799][T30163] gsmld_ioctl+0x6cc/0x764 [ 652.093764][T30163] tty_ioctl+0x6c0/0x9dc [ 652.094698][T30163] __arm64_sys_ioctl+0xd0/0x140 [ 652.095775][T30163] el0_svc_common+0x138/0x220 [ 652.096893][T30163] do_el0_svc+0x48/0x164 [ 652.097820][T30163] el0_svc+0x58/0x150 [ 652.098685][T30163] el0t_64_sync_handler+0x84/0xf0 [ 652.099715][T30163] el0t_64_sync+0x18c/0x190 00:10:52 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSW2(0xffffffffffffffff, 0x402c542c, &(0x7f0000000000)={0xfffffff7, 0x7ff, 0x100, 0x8, 0x40, "75a11763368f81f9319461460eab60303f6cbc", 0xfffffb97, 0x3}) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:52 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000084c00", 0x0, 0x2}) 00:10:52 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000003000000960000000800", 0x0, 0x2}) [ 652.116155][T30163] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. [ 652.121501][T30170] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 652.123393][T30170] CPU: 1 PID: 30170 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 652.125599][T30170] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 652.127760][T30170] Call trace: [ 652.128452][T30170] dump_backtrace+0x1c4/0x1f0 [ 652.129501][T30170] show_stack+0x2c/0x54 [ 652.130442][T30170] dump_stack_lvl+0x104/0x16c [ 652.131542][T30170] dump_stack+0x1c/0x58 [ 652.132454][T30170] sysfs_create_dir_ns+0x148/0x168 [ 652.133623][T30170] kobject_add_internal+0x244/0x530 [ 652.134801][T30170] kobject_add+0xb8/0x130 [ 652.135801][T30170] device_add+0x248/0x958 [ 652.135812][T30170] device_register+0x28/0x38 [ 652.135819][T30170] tty_register_device_attr+0x1a8/0x320 [ 652.135829][T30170] tty_register_device+0x3c/0x50 [ 652.135837][T30170] gsm_activate_mux+0x9c/0x1f4 [ 652.135846][T30170] gsmld_ioctl+0x6cc/0x764 [ 652.135854][T30170] tty_ioctl+0x6c0/0x9dc [ 652.135862][T30170] __arm64_sys_ioctl+0xd0/0x140 [ 652.135872][T30170] el0_svc_common+0x138/0x220 [ 652.135881][T30170] do_el0_svc+0x48/0x164 [ 652.135890][T30170] el0_svc+0x58/0x150 [ 652.135898][T30170] el0t_64_sync_handler+0x84/0xf0 [ 652.135908][T30170] el0t_64_sync+0x18c/0x190 [ 652.145109][T30170] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. [ 652.174312][T30174] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 652.176210][T30174] CPU: 0 PID: 30174 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 652.178536][T30174] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 652.180729][T30174] Call trace: [ 652.181492][T30174] dump_backtrace+0x1c4/0x1f0 [ 652.182497][T30174] show_stack+0x2c/0x54 [ 652.183458][T30174] dump_stack_lvl+0x104/0x16c [ 652.184440][T30174] dump_stack+0x1c/0x58 [ 652.185331][T30174] sysfs_create_dir_ns+0x148/0x168 [ 652.186511][T30174] kobject_add_internal+0x244/0x530 [ 652.187704][T30174] kobject_add+0xb8/0x130 [ 652.188592][T30174] device_add+0x248/0x958 [ 652.189615][T30174] device_register+0x28/0x38 [ 652.190647][T30174] tty_register_device_attr+0x1a8/0x320 00:10:52 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000085c00", 0x0, 0x2}) [ 652.192002][T30174] tty_register_device+0x3c/0x50 [ 652.192013][T30174] gsm_activate_mux+0x9c/0x1f4 [ 652.192022][T30174] gsmld_ioctl+0x6cc/0x764 [ 652.192030][T30174] tty_ioctl+0x6c0/0x9dc [ 652.192038][T30174] __arm64_sys_ioctl+0xd0/0x140 [ 652.192048][T30174] el0_svc_common+0x138/0x220 [ 652.192057][T30174] do_el0_svc+0x48/0x164 [ 652.192065][T30174] el0_svc+0x58/0x150 [ 652.192074][T30174] el0t_64_sync_handler+0x84/0xf0 [ 652.192083][T30174] el0t_64_sync+0x18c/0x190 [ 652.207409][T30174] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:52 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000086800", 0x0, 0x2}) 00:10:52 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async, rerun: 64) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) (rerun: 64) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSW2(0xffffffffffffffff, 0x402c542c, &(0x7f0000000000)={0xfffffff7, 0x7ff, 0x100, 0x8, 0x40, "75a11763368f81f9319461460eab60303f6cbc", 0xfffffb97, 0x3}) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:52 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000086c00", 0x0, 0x2}) 00:10:52 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$sock_ipv4_tunnel_SIOCGETTUNNEL(r0, 0x89f0, &(0x7f0000000000)={'erspan0\x00', &(0x7f00000000c0)={'sit0\x00', 0x0, 0x20, 0x8000, 0x1, 0x80000001, {{0x1a, 0x4, 0x2, 0x37, 0x68, 0x65, 0x0, 0x5, 0x2f, 0x0, @broadcast, @dev={0xac, 0x14, 0x14, 0x2b}, {[@timestamp={0x44, 0x18, 0x84, 0x0, 0x8, [0x78f0800, 0x6, 0x5, 0x9, 0xff]}, @ra={0x94, 0x4}, @lsrr={0x83, 0xb, 0x19, [@multicast2, @initdev={0xac, 0x1e, 0x1, 0x0}]}, @end, @end, @timestamp={0x44, 0x8, 0x9c, 0x0, 0xa, [0x80000000]}, @lsrr={0x83, 0x23, 0x9f, [@loopback, @loopback, @empty, @local, @rand_addr=0x64010101, @private=0xa010102, @dev={0xac, 0x14, 0x14, 0x3a}, @loopback]}]}}}}}) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:52 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:52 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000a000000960000000800", 0x0, 0x2}) 00:10:52 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000087400", 0x0, 0x2}) 00:10:52 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) (async, rerun: 64) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (rerun: 64) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async, rerun: 64) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) (rerun: 64) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$sock_ipv4_tunnel_SIOCGETTUNNEL(r0, 0x89f0, &(0x7f0000000000)={'erspan0\x00', &(0x7f00000000c0)={'sit0\x00', 0x0, 0x20, 0x8000, 0x1, 0x80000001, {{0x1a, 0x4, 0x2, 0x37, 0x68, 0x65, 0x0, 0x5, 0x2f, 0x0, @broadcast, @dev={0xac, 0x14, 0x14, 0x2b}, {[@timestamp={0x44, 0x18, 0x84, 0x0, 0x8, [0x78f0800, 0x6, 0x5, 0x9, 0xff]}, @ra={0x94, 0x4}, @lsrr={0x83, 0xb, 0x19, [@multicast2, @initdev={0xac, 0x1e, 0x1, 0x0}]}, @end, @end, @timestamp={0x44, 0x8, 0x9c, 0x0, 0xa, [0x80000000]}, @lsrr={0x83, 0x23, 0x9f, [@loopback, @loopback, @empty, @local, @rand_addr=0x64010101, @private=0xa010102, @dev={0xac, 0x14, 0x14, 0x3a}, @loopback]}]}}}}}) (async, rerun: 64) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (rerun: 64) 00:10:52 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000012a5000000960000000800", 0x0, 0x2}) 00:10:52 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000005000000960000000800", 0x0, 0x2}) [ 652.686700][T30201] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 652.688775][T30201] CPU: 1 PID: 30201 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 652.691013][T30201] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 652.693195][T30201] Call trace: [ 652.693949][T30201] dump_backtrace+0x1c4/0x1f0 [ 652.694958][T30201] show_stack+0x2c/0x54 [ 652.695867][T30201] dump_stack_lvl+0x104/0x16c [ 652.696915][T30201] dump_stack+0x1c/0x58 [ 652.697841][T30201] sysfs_create_dir_ns+0x148/0x168 [ 652.699132][T30201] kobject_add_internal+0x244/0x530 [ 652.700339][T30201] kobject_add+0xb8/0x130 [ 652.701339][T30201] device_add+0x248/0x958 [ 652.702329][T30201] device_register+0x28/0x38 [ 652.703413][T30201] tty_register_device_attr+0x1a8/0x320 [ 652.703426][T30201] tty_register_device+0x3c/0x50 [ 652.703434][T30201] gsm_activate_mux+0x9c/0x1f4 [ 652.703443][T30201] gsmld_ioctl+0x6cc/0x764 [ 652.703452][T30201] tty_ioctl+0x6c0/0x9dc [ 652.703460][T30201] __arm64_sys_ioctl+0xd0/0x140 [ 652.703470][T30201] el0_svc_common+0x138/0x220 [ 652.703480][T30201] do_el0_svc+0x48/0x164 [ 652.703488][T30201] el0_svc+0x58/0x150 [ 652.703497][T30201] el0t_64_sync_handler+0x84/0xf0 [ 652.703506][T30201] el0t_64_sync+0x18c/0x190 [ 652.709368][T30201] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. [ 652.743147][T30205] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 652.745265][T30205] CPU: 0 PID: 30205 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 652.747864][T30205] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 652.750177][T30205] Call trace: [ 652.750917][T30205] dump_backtrace+0x1c4/0x1f0 [ 652.751963][T30205] show_stack+0x2c/0x54 [ 652.752861][T30205] dump_stack_lvl+0x104/0x16c [ 652.753864][T30205] dump_stack+0x1c/0x58 [ 652.754792][T30205] sysfs_create_dir_ns+0x148/0x168 [ 652.755935][T30205] kobject_add_internal+0x244/0x530 [ 652.757118][T30205] kobject_add+0xb8/0x130 [ 652.758143][T30205] device_add+0x248/0x958 [ 652.759071][T30205] device_register+0x28/0x38 [ 652.760111][T30205] tty_register_device_attr+0x1a8/0x320 [ 652.761380][T30205] tty_register_device+0x3c/0x50 [ 652.762483][T30205] gsm_activate_mux+0x9c/0x1f4 [ 652.763536][T30205] gsmld_ioctl+0x6cc/0x764 [ 652.764530][T30205] tty_ioctl+0x6c0/0x9dc [ 652.765535][T30205] __arm64_sys_ioctl+0xd0/0x140 [ 652.766608][T30205] el0_svc_common+0x138/0x220 [ 652.767623][T30205] do_el0_svc+0x48/0x164 [ 652.768651][T30205] el0_svc+0x58/0x150 [ 652.769645][T30205] el0t_64_sync_handler+0x84/0xf0 [ 652.770750][T30205] el0t_64_sync+0x18c/0x190 [ 652.790584][T30205] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:52 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000012a6000000960000000800", 0x0, 0x2}) 00:10:52 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000012a7000000960000000800", 0x0, 0x2}) 00:10:52 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$sock_ipv4_tunnel_SIOCGETTUNNEL(r0, 0x89f0, &(0x7f0000000000)={'erspan0\x00', &(0x7f00000000c0)={'sit0\x00', 0x0, 0x20, 0x8000, 0x1, 0x80000001, {{0x1a, 0x4, 0x2, 0x37, 0x68, 0x65, 0x0, 0x5, 0x2f, 0x0, @broadcast, @dev={0xac, 0x14, 0x14, 0x2b}, {[@timestamp={0x44, 0x18, 0x84, 0x0, 0x8, [0x78f0800, 0x6, 0x5, 0x9, 0xff]}, @ra={0x94, 0x4}, @lsrr={0x83, 0xb, 0x19, [@multicast2, @initdev={0xac, 0x1e, 0x1, 0x0}]}, @end, @end, @timestamp={0x44, 0x8, 0x9c, 0x0, 0xa, [0x80000000]}, @lsrr={0x83, 0x23, 0x9f, [@loopback, @loopback, @empty, @local, @rand_addr=0x64010101, @private=0xa010102, @dev={0xac, 0x14, 0x14, 0x3a}, @loopback]}]}}}}}) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:52 executing program 1: ioctl$TIOCSIG(0xffffffffffffffff, 0x40045436, 0x3a) socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) ioctl$TCXONC(r1, 0x540a, 0x3) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:52 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000012a8000000960000000800", 0x0, 0x2}) 00:10:52 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:52 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000012a9000000960000000800", 0x0, 0x2}) [ 652.956571][T30222] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 652.959495][T30222] CPU: 0 PID: 30222 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 652.961697][T30222] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 652.963956][T30222] Call trace: [ 652.964672][T30222] dump_backtrace+0x1c4/0x1f0 [ 652.965683][T30222] show_stack+0x2c/0x54 [ 652.966634][T30222] dump_stack_lvl+0x104/0x16c [ 652.967592][T30222] dump_stack+0x1c/0x58 [ 652.968515][T30222] sysfs_create_dir_ns+0x148/0x168 [ 652.969734][T30222] kobject_add_internal+0x244/0x530 [ 652.970898][T30222] kobject_add+0xb8/0x130 [ 652.971935][T30222] device_add+0x248/0x958 [ 652.972850][T30222] device_register+0x28/0x38 [ 652.974046][T30222] tty_register_device_attr+0x1a8/0x320 [ 652.975176][T30222] tty_register_device+0x3c/0x50 [ 652.976218][T30222] gsm_activate_mux+0x9c/0x1f4 [ 652.977256][T30222] gsmld_ioctl+0x6cc/0x764 [ 652.978231][T30222] tty_ioctl+0x6c0/0x9dc [ 652.979199][T30222] __arm64_sys_ioctl+0xd0/0x140 [ 652.980277][T30222] el0_svc_common+0x138/0x220 [ 652.981320][T30222] do_el0_svc+0x48/0x164 [ 652.982311][T30222] el0_svc+0x58/0x150 [ 652.983177][T30222] el0t_64_sync_handler+0x84/0xf0 [ 652.984300][T30222] el0t_64_sync+0x18c/0x190 [ 652.992263][T30222] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. [ 652.996444][T30222] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 652.998623][T30222] CPU: 0 PID: 30222 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 653.000911][T30222] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 653.003164][T30222] Call trace: [ 653.003849][T30222] dump_backtrace+0x1c4/0x1f0 [ 653.004739][T30222] show_stack+0x2c/0x54 [ 653.005570][T30222] dump_stack_lvl+0x104/0x16c [ 653.006426][T30222] dump_stack+0x1c/0x58 [ 653.007363][T30222] sysfs_create_dir_ns+0x148/0x168 [ 653.008466][T30222] kobject_add_internal+0x244/0x530 [ 653.009614][T30222] kobject_add+0xb8/0x130 [ 653.010531][T30222] device_add+0x248/0x958 [ 653.011439][T30222] device_register+0x28/0x38 [ 653.012462][T30222] tty_register_device_attr+0x1a8/0x320 [ 653.013609][T30222] tty_register_device+0x3c/0x50 [ 653.014669][T30222] gsm_activate_mux+0x9c/0x1f4 [ 653.015812][T30222] gsmld_ioctl+0x6cc/0x764 [ 653.016766][T30222] tty_ioctl+0x6c0/0x9dc [ 653.017665][T30222] __arm64_sys_ioctl+0xd0/0x140 [ 653.018739][T30222] el0_svc_common+0x138/0x220 [ 653.019684][T30222] do_el0_svc+0x48/0x164 [ 653.020655][T30222] el0_svc+0x58/0x150 [ 653.021555][T30222] el0t_64_sync_handler+0x84/0xf0 [ 653.022609][T30222] el0t_64_sync+0x18c/0x190 [ 653.024172][T30222] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:53 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000b000000960000000800", 0x0, 0x2}) 00:10:53 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000000096000000087a00", 0x0, 0x2}) 00:10:53 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:53 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000012aa000000960000000800", 0x0, 0x2}) [ 653.267540][T30230] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 653.269320][T30230] CPU: 1 PID: 30230 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 653.271565][T30230] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 653.273679][T30230] Call trace: [ 653.274320][T30230] dump_backtrace+0x1c4/0x1f0 [ 653.275261][T30230] show_stack+0x2c/0x54 [ 653.276125][T30230] dump_stack_lvl+0x104/0x16c [ 653.277148][T30230] dump_stack+0x1c/0x58 [ 653.277158][T30230] sysfs_create_dir_ns+0x148/0x168 [ 653.277168][T30230] kobject_add_internal+0x244/0x530 [ 653.277177][T30230] kobject_add+0xb8/0x130 [ 653.277184][T30230] device_add+0x248/0x958 [ 653.277192][T30230] device_register+0x28/0x38 [ 653.277199][T30230] tty_register_device_attr+0x1a8/0x320 [ 653.277209][T30230] tty_register_device+0x3c/0x50 [ 653.277218][T30230] gsm_activate_mux+0x9c/0x1f4 [ 653.277227][T30230] gsmld_ioctl+0x6cc/0x764 [ 653.277235][T30230] tty_ioctl+0x6c0/0x9dc [ 653.277244][T30230] __arm64_sys_ioctl+0xd0/0x140 [ 653.277253][T30230] el0_svc_common+0x138/0x220 [ 653.277263][T30230] do_el0_svc+0x48/0x164 [ 653.277271][T30230] el0_svc+0x58/0x150 [ 653.277280][T30230] el0t_64_sync_handler+0x84/0xf0 [ 653.277289][T30230] el0t_64_sync+0x18c/0x190 [ 653.292089][T30230] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:53 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000006000000960000000800", 0x0, 0x2}) 00:10:53 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000012ab000000960000000800", 0x0, 0x2}) 00:10:53 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000300", 0x0, 0x2}) 00:10:53 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000007000000960000000800", 0x0, 0x2}) [ 653.424381][T30237] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 653.426201][T30237] CPU: 1 PID: 30237 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 653.428572][T30237] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 653.430781][T30237] Call trace: [ 653.431530][T30237] dump_backtrace+0x1c4/0x1f0 [ 653.432494][T30237] show_stack+0x2c/0x54 [ 653.433450][T30237] dump_stack_lvl+0x104/0x16c [ 653.434499][T30237] dump_stack+0x1c/0x58 [ 653.435330][T30237] sysfs_create_dir_ns+0x148/0x168 [ 653.436377][T30237] kobject_add_internal+0x244/0x530 [ 653.437465][T30237] kobject_add+0xb8/0x130 [ 653.438491][T30237] device_add+0x248/0x958 [ 653.439391][T30237] device_register+0x28/0x38 [ 653.440177][T30237] tty_register_device_attr+0x1a8/0x320 [ 653.441094][T30237] tty_register_device+0x3c/0x50 [ 653.441903][T30237] gsm_activate_mux+0x9c/0x1f4 [ 653.442715][T30237] gsmld_ioctl+0x6cc/0x764 [ 653.443618][T30237] tty_ioctl+0x6c0/0x9dc [ 653.443628][T30237] __arm64_sys_ioctl+0xd0/0x140 [ 653.443638][T30237] el0_svc_common+0x138/0x220 [ 653.446622][T30237] do_el0_svc+0x48/0x164 [ 653.446633][T30237] el0_svc+0x58/0x150 [ 653.446643][T30237] el0t_64_sync_handler+0x84/0xf0 [ 653.449639][T30237] el0t_64_sync+0x18c/0x190 [ 653.476469][T30237] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:53 executing program 1: ioctl$TIOCSIG(0xffffffffffffffff, 0x40045436, 0x3a) socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) ioctl$TCXONC(r1, 0x540a, 0x3) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSIG(0xffffffffffffffff, 0x40045436, 0x3a) (async) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) (async) ioctl$TCXONC(r1, 0x540a, 0x3) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) 00:10:53 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000500", 0x0, 0x2}) 00:10:53 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000009000000960000000800", 0x0, 0x2}) 00:10:53 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000a000000960000000800", 0x0, 0x2}) 00:10:53 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000c000000960000000800", 0x0, 0x2}) 00:10:53 executing program 1: ioctl$TIOCSIG(0xffffffffffffffff, 0x40045436, 0x3a) (async) socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) (async) ioctl$TCXONC(r1, 0x540a, 0x3) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:53 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:53 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000b000000960000000800", 0x0, 0x2}) 00:10:53 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000d000000960000000800", 0x0, 0x2}) [ 653.814285][T30276] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 653.816136][T30276] CPU: 1 PID: 30276 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 653.818378][T30276] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 653.820534][T30276] Call trace: [ 653.821271][T30276] dump_backtrace+0x1c4/0x1f0 [ 653.822308][T30276] show_stack+0x2c/0x54 [ 653.823184][T30276] dump_stack_lvl+0x104/0x16c [ 653.824197][T30276] dump_stack+0x1c/0x58 [ 653.825240][T30276] sysfs_create_dir_ns+0x148/0x168 [ 653.826365][T30276] kobject_add_internal+0x244/0x530 [ 653.827466][T30276] kobject_add+0xb8/0x130 [ 653.828405][T30276] device_add+0x248/0x958 [ 653.829371][T30276] device_register+0x28/0x38 [ 653.830324][T30276] tty_register_device_attr+0x1a8/0x320 [ 653.831684][T30276] tty_register_device+0x3c/0x50 [ 653.832800][T30276] gsm_activate_mux+0x9c/0x1f4 [ 653.833848][T30276] gsmld_ioctl+0x6cc/0x764 [ 653.834905][T30276] tty_ioctl+0x6c0/0x9dc [ 653.835847][T30276] __arm64_sys_ioctl+0xd0/0x140 [ 653.836934][T30276] el0_svc_common+0x138/0x220 [ 653.838096][T30276] do_el0_svc+0x48/0x164 [ 653.839060][T30276] el0_svc+0x58/0x150 [ 653.839958][T30276] el0t_64_sync_handler+0x84/0xf0 [ 653.841098][T30276] el0t_64_sync+0x18c/0x190 [ 653.856641][T30276] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:53 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:53 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000e000000960000000800", 0x0, 0x2}) 00:10:53 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000012ac000000960000000800", 0x0, 0x2}) 00:10:53 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 653.996493][T30285] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 654.002707][T30285] CPU: 1 PID: 30285 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 654.004834][T30285] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 654.006777][T30285] Call trace: [ 654.007591][T30285] dump_backtrace+0x1c4/0x1f0 [ 654.008572][T30285] show_stack+0x2c/0x54 [ 654.009560][T30285] dump_stack_lvl+0x104/0x16c [ 654.010627][T30285] dump_stack+0x1c/0x58 [ 654.011532][T30285] sysfs_create_dir_ns+0x148/0x168 [ 654.012721][T30285] kobject_add_internal+0x244/0x530 [ 654.013856][T30285] kobject_add+0xb8/0x130 [ 654.014805][T30285] device_add+0x248/0x958 [ 654.015772][T30285] device_register+0x28/0x38 [ 654.016735][T30285] tty_register_device_attr+0x1a8/0x320 [ 654.018091][T30285] tty_register_device+0x3c/0x50 [ 654.019101][T30285] gsm_activate_mux+0x9c/0x1f4 [ 654.020309][T30285] gsmld_ioctl+0x6cc/0x764 [ 654.021360][T30285] tty_ioctl+0x6c0/0x9dc [ 654.022264][T30285] __arm64_sys_ioctl+0xd0/0x140 [ 654.023398][T30285] el0_svc_common+0x138/0x220 [ 654.024459][T30285] do_el0_svc+0x48/0x164 [ 654.025292][T30285] el0_svc+0x58/0x150 [ 654.026103][T30285] el0t_64_sync_handler+0x84/0xf0 [ 654.027228][T30285] el0t_64_sync+0x18c/0x190 [ 654.035811][T30285] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:54 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000012ad000000960000000800", 0x0, 0x2}) 00:10:54 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:54 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000600", 0x0, 0x2}) 00:10:54 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 654.149448][T30294] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 654.152049][T30294] CPU: 0 PID: 30294 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 654.154327][T30294] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 654.156550][T30294] Call trace: [ 654.157295][T30294] dump_backtrace+0x1c4/0x1f0 [ 654.158399][T30294] show_stack+0x2c/0x54 [ 654.159492][T30294] dump_stack_lvl+0x104/0x16c [ 654.160495][T30294] dump_stack+0x1c/0x58 [ 654.161398][T30294] sysfs_create_dir_ns+0x148/0x168 [ 654.162539][T30294] kobject_add_internal+0x244/0x530 [ 654.163702][T30294] kobject_add+0xb8/0x130 [ 654.164709][T30294] device_add+0x248/0x958 [ 654.165622][T30294] device_register+0x28/0x38 [ 654.166597][T30294] tty_register_device_attr+0x1a8/0x320 [ 654.167781][T30294] tty_register_device+0x3c/0x50 [ 654.168866][T30294] gsm_activate_mux+0x9c/0x1f4 [ 654.169957][T30294] gsmld_ioctl+0x6cc/0x764 [ 654.170978][T30294] tty_ioctl+0x6c0/0x9dc [ 654.171944][T30294] __arm64_sys_ioctl+0xd0/0x140 [ 654.172991][T30294] el0_svc_common+0x138/0x220 [ 654.174107][T30294] do_el0_svc+0x48/0x164 [ 654.175140][T30294] el0_svc+0x58/0x150 [ 654.175999][T30294] el0t_64_sync_handler+0x84/0xf0 [ 654.177185][T30294] el0t_64_sync+0x18c/0x190 [ 654.180100][T30294] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:54 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000700", 0x0, 0x2}) 00:10:54 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000100)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) r2 = accept4$vsock_stream(0xffffffffffffffff, &(0x7f0000000000)={0x28, 0x0, 0x2711, @host}, 0x10, 0x80800) fcntl$getownex(r2, 0x10, &(0x7f00000000c0)) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "eb61d7088000", 0x6, 0x5}) 00:10:54 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000c000000960000000800", 0x0, 0x2}) 00:10:54 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:54 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async, rerun: 32) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) (rerun: 32) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000100)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) r2 = accept4$vsock_stream(0xffffffffffffffff, &(0x7f0000000000)={0x28, 0x0, 0x2711, @host}, 0x10, 0x80800) fcntl$getownex(r2, 0x10, &(0x7f00000000c0)) (async, rerun: 64) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "eb61d7088000", 0x6, 0x5}) (rerun: 64) 00:10:54 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000010000000960000000800", 0x0, 0x2}) 00:10:54 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000d000000960000000800", 0x0, 0x2}) 00:10:54 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000100)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async, rerun: 32) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async, rerun: 32) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async, rerun: 32) r2 = accept4$vsock_stream(0xffffffffffffffff, &(0x7f0000000000)={0x28, 0x0, 0x2711, @host}, 0x10, 0x80800) (rerun: 32) fcntl$getownex(r2, 0x10, &(0x7f00000000c0)) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "eb61d7088000", 0x6, 0x5}) [ 654.573648][T30319] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 654.581682][T30319] CPU: 1 PID: 30319 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 654.584051][T30319] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 654.586327][T30319] Call trace: [ 654.587046][T30319] dump_backtrace+0x1c4/0x1f0 [ 654.588025][T30319] show_stack+0x2c/0x54 [ 654.588905][T30319] dump_stack_lvl+0x104/0x16c [ 654.590128][T30319] dump_stack+0x1c/0x58 [ 654.591032][T30319] sysfs_create_dir_ns+0x148/0x168 [ 654.592089][T30319] kobject_add_internal+0x244/0x530 [ 654.593179][T30319] kobject_add+0xb8/0x130 [ 654.594087][T30319] device_add+0x248/0x958 [ 654.594984][T30319] device_register+0x28/0x38 [ 654.595892][T30319] tty_register_device_attr+0x1a8/0x320 [ 654.597335][T30319] tty_register_device+0x3c/0x50 [ 654.598365][T30319] gsm_activate_mux+0x9c/0x1f4 [ 654.599301][T30319] gsmld_ioctl+0x6cc/0x764 [ 654.600258][T30319] tty_ioctl+0x6c0/0x9dc [ 654.601132][T30319] __arm64_sys_ioctl+0xd0/0x140 [ 654.602193][T30319] el0_svc_common+0x138/0x220 [ 654.603223][T30319] do_el0_svc+0x48/0x164 [ 654.604288][T30319] el0_svc+0x58/0x150 [ 654.605293][T30319] el0t_64_sync_handler+0x84/0xf0 [ 654.606532][T30319] el0t_64_sync+0x18c/0x190 [ 654.622046][T30319] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:54 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000012ae000000960000000800", 0x0, 0x2}) 00:10:54 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = socket(0x10, 0x3, 0x0) r2 = socket$nl_route(0x10, 0x3, 0x0) r3 = socket(0x10, 0x803, 0x0) sendmsg$ETHTOOL_MSG_LINKSTATE_GET(r3, &(0x7f00000004c0)={0x0, 0x0, &(0x7f0000000480)={0x0, 0x14}}, 0x0) getsockname$packet(r3, &(0x7f0000000300)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000200)=0x14) sendmsg$nl_route(r2, &(0x7f0000000000)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000040)=ANY=[@ANYBLOB="3c0000001000010400eeffffffffffffff000000", @ANYRES32=r4, @ANYBLOB="01000000010000001c0012000c000100627269646765"], 0x3c}}, 0x0) sendmsg$nl_route_sched(r1, &(0x7f00000007c0)={0x0, 0x0, &(0x7f0000000780)={&(0x7f0000000280)=@newqdisc={0x38, 0x24, 0xe0b, 0x0, 0x0, {0x0, 0x0, 0x0, r4, {}, {0xffff, 0xffff}}, [@qdisc_kind_options=@q_pie={{0x8}, {0xc, 0x2, [@TCA_PIE_TUPDATE={0x8, 0x8, 0xffffff7f}]}}]}, 0x38}}, 0x0) sendmsg(r0, &(0x7f0000001700)={&(0x7f00000000c0)=@xdp={0x2c, 0x9, r4, 0x2c}, 0x80, &(0x7f00000015c0)=[{&(0x7f0000000140)="cfe521f8438312b9eec94bdb81d7d0f28851853f6bc343c5107c9bcf117e62992f3e4bda985248cd84e07331ae66f767e3304c027f2d71f18461cc2a294df5b357a3dbbf84b00585deb02a6982cecbe4e633ed47e8d664173602ab11eb477d065b980051e1db0fd3202d5a6d9f5adac1472dbe67129732fc1a220590e0a4ec9e51ec6022662db16fe2f52a28bc9c356c5c610d535ad95de06b43708d378e5b0b741bb246d948ac4dbd71f93cb15884132fc0d1f5ff0598b59969af1690a336e365ff40d5b3dd39d51b706886b3c63c6244f7a05f6b7a3efaff14a5c6e382c1ac03538460f0cb229e0a7f8867e2315d2a2a38d2b6710c4e1c0b8e8c", 0xfb}, {&(0x7f0000000000)="31e00cf60dda9faff0fad16631c0efa3a51759c1bdb44ae1aa8be54bb26b376b89fa3d201cd1fa85c41c25d9aa3497a6da88ba78670b77f3e99ee3a0", 0x3c}, {&(0x7f0000000240)="8742064d6f87bf82ab1729610152b683ce05080a8b558daff5ecee04888ae45e70c876f8cf04499e46d8c195437fea6764ebae6cd5dd796674917749d5f7469a093b4961f47d201b96ebf9571684c374106e195ede022832758d8a4ea59844e835255ec3b7ca9504271d464e8b5f47a923d954e8ce43f8bd124116b345a03e050c1496013633ec75f775c1e3c7405e560e4c6fe1de88e206bcc19d0e46bb001dd374ce2a6ecd5bb2b9e9c2b4", 0xac}, {&(0x7f0000000300)="a071311bd4a2d6a04c4e974fe80c9adc0c4f06660fcdcac69af0939a77e875b39cb97e707c4757259b170850db5071abfd366ac20c0b4eeec6990e1c64caccfd110cbff2a786fcb80666bca288a8ec428c9603ddeb7f85d9a79d3aa3356afb93ac398d905a7b161a1670b08a480b5374460dcad5ee2c839810c2afdbb75063", 0x7f}, {&(0x7f0000000380)="6250c77d0e700ce20be83e30139068cafe1aedb8af75ccae411557bd07a6ad92701e79aef6fc4e8c87705b2341ae10", 0x2f}, {&(0x7f00000003c0)="bd3a9d86d938fa6c3a790e1a13b41a0c91b1ffb36b693e5449fa9c4b8f262934ece91f24d3cce662430eb24098dfce5cc4c09e4583a7f48fe4e957200242ac9e5b4100ef10b72ca493386e779d533fd03038c127340f9955052483a60dfb7da53787e9b0e8f89b55c0e1484c3491623627e1c2cacc32a62c0326fe0656d29ce370bd1c0b03d4ed23c044d625713a98afbaad6bba6805930e310a90b080d3b8c2462be6ec832904c6211010ce74e9c12d16bd36f6e5f5ba4631c18738d0dd1a9a866856b5c906", 0xc6}, {&(0x7f00000004c0)="7acc4318ec242496ace0ce7abb4e94266abb9b77452a9f70e44f09f6d1fe31c2e865ab374352b89255c32669b64c25b55f2db32def99bd8e006d78a866b5e971addac47d1571ce5112c74c7cc626fff4c55e6d8adb2b12db96fa9ef9432ad498c8e404af7ad5960ac962869964432f373a544d49d428305041e1b9db6fa04ca669accc30715c0b7c5e6a33649e427b4a2b7d57acc3b10388facdc64f5156e7e0656c2ccae65065737b7fa6c3290e4f9a611f4d584928646d5bcd37c141f38af444855414a3417ec1f89f22c7c572fb697b45f4f8e508c31d87081d7351c74804a0893122b1ee8d651dcb333b1b78ecd2", 0xf0}, {&(0x7f00000005c0)="1e7b50d0fbe084d0e7798f312ea77523f14f4e96e1de8ef2cdd25646d26225c97983ae312fe59aa66789d7b35ef367cca73638d1266d9c556fb27386d9ae2bf1413a203e38182e6ac3a3598290b0f3d9ecbb80f339a41b84e958f0fdf4c52221d147ea60fad5abd80f2ba1de5058d11a9cec2bf290e9070780052c6805ab594dcead95c24eb93f2e34db7a9bed3ee002dfb9f3a2de473e304563dffc6fe717bd35f43819451ae4446c5f0a7df55845900cc7cf43b488ae392f8ea6a0e27cb0fc52f31b3c4e93a05373a98c525d4da1b82d27a5ed250ba151dfb6d1d7734c658797c1429dbfc2e8b0daf4690534d8f2e24738b639fcdeae3d2d0ca6cd6d8846962d9f5626144ecdb42cd77039ce1a0821ae81b277b1bdaa50038da693582cadccf58e32be54fde991c6baf6178ba9879704123268de9a9f03acfa9709bdefa3e7a05ff97efd0d5a207e73789596e97d9fda026837fc6f0f14607de98a4417e9c4b70755075c8f5ae58a54dae178c0083a0df56b810cdba326935dbfc8490bf34860c68c9cd6dff3fdd97e36ee506a5691902166281812dfa8e4810030fb1af20ef2797781a34cc0e797fa4c51aa4aab95d2a7c28a2b0d67600b935ffe4253c6d06c37d9abd9af26a77c5a623e69c6815f76288a2506b11939b8b7d9c38cb29aea8c5657f62f06c47dc0800278411f1896f9f3ccbefb2af64c4e1d70b430b22f9fa6f93b3f34caa5fd8f84f48732d9b4107d7d05caa194f490dd3b260b9aee68616ad7e520d37ff56c92f6179bd7dd80c270370cf4b7f420b15639b65f93d09e807d0dd64fefe7b8135574429ca94720c5988fed5e9bc941953cf7604b5183069b1a2bd363188040f68eefaf1731b93bdb13069e37e5ea8128b8e19bad449d8a82bebc279b67a7820ab06b101ebbb0d89b7f9898b30a733563af4c05109d7b5b98ccb1609f40477da34c3d0390e1eff3dfc9726db026bed0aa4087f84116cc6b7cddbd07bd5fd7e5768bad71af57146e62bd972a6994e1b6a6ada8c267e9c314500d0cebd9df46e04e143352c6026db47aa47ff8353e6d370ae09f7c725f58dd4e8a310c12d8df6f62ac589a650d76423c66763cf0c8e203d58b3524d603e2d6070498ba545d41e86839698d84583ba6958810c40b2b74d0d42264ce8be83c651884b2d4ccb79fa4fba5c03fea3886b3e5b93446d32e9e24e520fc41b025f0dd4e64efb501ad697d6e6cad302f6559a5b51ccda28521c2d1438434820744df86316946c5f235ce7b48e3aef92657cc358f95f024053507aa2e054875ce0d5f9878fb791795c16494b3d628e29cfa1b1b369b34e95c0e505bdd2135c847a7cbb3abe61f79c93f80a45aff1b6971021f077872483f139803fd79d34b75babb4a5cce284934014988de8f25e49713d14054a571733503ebbeefc4cf14634de0f47ba6f31b019b81fe55ce052df126bc0aeeaff54dbc381f3f407af50b57dcb9d346af734021169fee8a7f2fed738d9d84424c308ebec105767ba11f132d1a37f32533ebdf06f312f0f1915425dc0fab01d35e0c5071cff6adecf2181574709c682559dff4737b9dd39bb46a1483738ad9005bcb69b95796a2f95ba993b8ca1dceba108c02ed7504162f643a9cd05ae4c4a1f668753a7ce6557fd281990e8cf7f54db29c6c4014edee1a00a248e41e152e243108e8d8b35e02f9d1aa3773331f00b636616e9801dd4e46e9ccd14df901e3a6c6b184575eb3c0a95c3c9ac8ad0e8da2c53599e4a7ba1a0eade5e46a316b94e6dc67c1fd3e757eeb8edc2af4358f2dd82057d112764a68623c02d3a5453cd4d3441960cb275a51a99556fe6f07f32787cb6dfc0b1b1005b6cc2767bbaef0273504469daab6f756953728f2555d50b1d450591b679d08e5c48fd471d92f87ec6dcab3e415446149fbd231d1973c68884f5d90186249af6610984ab27b81e6dfa48ccf1be53b5da1a927e98eeb875660e105f385bd16997f0a33c537181105c4634320500d18ead5eb51c80827b89649dd25a83d41f11c8a502593c0834612abdb06e6e33f6eb212d43afce3f8090ef37d8920bdea851cdc70667eda66d98dc5b6d30304f3b9c3af91ca1e4fd891d987140f0c76778c2d2f098c0a36c1207a441c37b6599f1aae654914f65ab37890040de1567e56bea20932c2b7bec6ee50aa637355402e21c6a6458472ca1b4d10f07fba6492290ba8feaca8b0bf6f7227faa0fa14ad0fa31f0e7e8a189d2277f94df65e4d7b9ef33ed5e5ba1bbf06279da55646c48e1e535cf7aa94a438bfba24029361e5b47f9643b61700ff22f75347573844ab4c518289f0e006a4a28f34552d8e18ccf131842ae821d8155d1c880c99ad1294b247c38d14202947f2524f042bf74e2327442009db664076a518d2b96aa8e976190c389f097d693b073020af3804bafa5a5edc424ec63e4f805782e30f4e48f3da15812716371afa37a583a748d542d6f07af8d0f313cb67eea9bd567b7e7d8547f35de1ad028a2518c3b915c7f6b9a3f66e8c08c965eb5cda78c8a6b53515ca2e32b5c09cdadcf92bf2e6ef07e0c4e1ed410b6f0d901255bfc41c30b6b7303ebbf1ddcc515be942796d7e00c9bfd594f854cabe2ebc636e82ce8e0bdf2a5e1f4bb913712964c2e410f4955475c5ad18d60469bcbe33ad674a7efc8ef747acc1b1dbdae8ec4c6dfe6f2aea7bce22a640b668618740bc086e5f50805c8a31d5b577a728dabf1f49ca6aba6d3ae1e9062dfb4f4fa852a4f59b2022da3b72f5ab32386ca56905ad98110ee1815b08c73902d963bc9fafa1c81bb78917ff53c5d4d5e095bc7eeb75b0cc3a07aee3c51442ceb1f0ae00314afc521249aa480b8bf693e40964cebb45dcd48ea7400734a127bac6380fe832d3954ba95fd564f0cddd9ce365219fdc0462cf55e487bc243f56d3b4b34e91310359b760047faba5dae3c9d5a605ba01d8ae622e519da444c6c4a6b5471f0dd5dd651f0499e7c21c01752f3312032f0742b2be21fa5f9218c180dc76095c1da3eb1b80abff4440b8e81aed46f8cb0f0142a57782978eed0db2ac3febbc84d99594fd2d6ee151e51cc937535059886f06cad5a590d649ce53e97f50546ae5fec0793b08d09158129127ad954c4fab4653e6492e5ada46ddcfd3db60b2cfb05c8105adba096128d8934c7285535bedac7fb6456aabecde458d6b92c50764bfa49fc48a0de8c3144790d7a8f415747ec2215b91eea4624ed6405aae1dd804123f35fbbc82ed6160aab01d1741c7ffd818659b0e9d7cc90e0e69abc837fbc0a770651a53e226d8c8970b6c3230e835db65c84bfd915de4acc781e8b1d343ce77f8cecd3f9d0beba81822c24b0b991329cd0f5f037ee2bdafafb8d6a56c9ec01bcc94f39f8c37eaa115c82e8baf0e2bcaf8f880e5467391ee4b207cca082f5168d89f1498653c9fc745a43df06731c988d5347ed7769aece11ba5f15d30a71a18b62c6a3857741fe229f9b109ca0968db0f62825e4cfc66e6cdd73f40849ab50b6a7a004e93ac57693e247b958c3c8db89ca9ee041ce4f3ddf7fb398d29eeb5e32d688824a5ba2c4869776221096d2f3f7fc4e88ff5c855fef5319604a444641dd16616f6b2117f9ec0cceb8de78a7e6d17edcd0dca636fbc6972e91ff1a4839e87ba2db7c52793c862d33d80a8ccb83e93e615e78eead4bb8eab4d3ae42196350db0c59e10da082cb752777c95dda79c333daba2cd454cf3dcba4a7c1244a9fc5ca0a4abacdeb821a07c957388d1c05ff7d0f7c2f571bea7c5541f0140635dbdfbfb5138454bf23d94260446a0ae340c69b04e76c6b7da430c0b68e4a6af50d65eb29a9edb1082aefe1c1b219142aa491ff9de285a52d3b2fbeb7a8e7fd466857ffb7d03094b41a69eb6f22d867d65c50dad2078d12a3b4476f0d1bb8049c0664d31a61c72fe36d9f9c0328cdd827625e9f73d2db47c04fa9c53f6b37673522dfff800f05f8720688f1dde2c50f4efab70b7af45508d575c6d94a74c3fb63adaee1d9a88162b8c4850b6e56f734d922f1e3e009862b106d956ce6503870d8c5cdd587023d052fe1c4c6554425058a058576841b4437228de6c120195549aefe7d12ef92d8f2fa5f6a3fad18b43111cc261f7af422775ecc78a4b45cd6f487930c51224dae9ce3955b2318650ea753ec38647f9e2952af7b9be7dd8d8896e262cdb37efec82b25ff366ce56747ebad91ee5beb5188198c03167d5c187c0525e77de12996b5f45f3e87b2976299dab9e5e7effe1c3769b3a8dc71b80fa5cd8e53d64214586b470f180e8b4e139ec4ad1959acb091db75fe0517eeb1e6234f79b2d51543095a1d45f2ef34e5cc1bdde4f629081564cedc66dee3fce5d63c606ff5a25710643f1a8f69680e9293488cc6ed783dd22b76d0a09834389430e5d2930c098a662a5528efa7050b9f06f70b74c0b21c5e766ec2650f44de26af986b47671bf6d5ef4c5c211e9ab589fe81fd20807d49f3cc491feec0e688d1ac22fc6b0a47c8fae7469bb3e4f9bc8cced9a27860d16dbfab3c4be89c801ff6c6a7280ab4b734be509bd9d56af0c36fa6db5300b596a86d9bd31cea53cadb04a68b827b635be8a6961f63aba60aefd484a5880b25548d5d58edc1eecb83c9a2bb68cfb69995ad038260e68d9cfb3cc6121a990e54feeb3980b3d8eb3fd8c519888e83d202f48346ae42e3a0dde6d990cafa5df41ba262f7c8be775865a196ddcdc952364cf5d0d8560982f6c0ca532fbe3e02ccb0c0746e9d76d2cec6c8652a4aa7d4933bb092afa94b5a3e3024476162191d34e1ab7d6d41722578997c3476c66e2c3e54b0421b646ed0c8edf112c0fbbed755fe7296fb2af811c1e7e7d53a4de9f59adf7256f2752f01e463cc44dfc8d10c2f6cfe27c2711266f94941d01cb54fa2784646587ffca05c3dad52d5641bcc313d902b3b5ff287ce57cc2c10ecb4e08a517dc8864b469edd7c449367e3b8e7ad5ea182d6dcc90d7e30144abf3cab793d1b077686cafbe5c16749eeac3eb152ccbbeefe153b3cd510622984d8ba4ea8fcfbdc086dda01abd9d811acce3c61742c25b06edfd4deb7dee6b75b32f20cc0203571fcdc09bdcd0da5d0184909779883481e2cf3ed1fbfcd2bc3427252c57bcc56a302e4dcd9d475eadd520678b90f44fdecd871247b1f395f461ed63d94b182c01a06ee86b75eb81857de520082944322675cd5b6da40d5bfbceae6e90d5c1edd0855830b2a45777b29f68a6872cab0d3131d44726945cf9a28ac6085b59b640828e7544227aa021dfe54e0e703c0b4632a52a4cedebf155b728b89850c7713a84997011a9c4ea8dce271a60f6ea2110adec7cc4284667d9e62dd650416b552b7966a8dbe2354c15339d0c78e164df19dec753621f747ce6de769e572e5d96d816323bc65d706ba7b62fce47f95a1b9a2828475f9bd2e963da2fca174c7e3ff9f81990575f4425374e1a72fc7a794cb4599ff4a24e77fbbd939a9cb0472375f1cedcb30765e064d6a270008947d6e8a11558e3c7580b2cfb5c3927b9f074ce157f2602f2f675eb017462fafa137f2b5ae628d0eb7353eb71db9eeac1fd9e4ca901848352bc05d47967a000a95271028dfad7cc410720d143e339f10c510475dec93a5bcfdcdc3840fbe601dd29ec2d055b3a654a5c45d229b8a22cbb745300f09237c6e193dbf87f35c855c8533e3dd021ae0823c02ae1080c4b7abf3f9544ce07d25ba3171865ae16ab7bd3de512d4bfa5ce3d0ed08a4e0aa519ed8ccdb", 0x1000}], 0x8, &(0x7f0000001640)=[{0xc0, 0x9b, 0x4, "11ae06a5c654291125875de83728277bfa0d3db40d4bfd2cc20ba460ab8e705b7e5e87c573ee34e1af2f66d4b6e7866eeffca574d6a5a6619b3684e216a8ae15291cedd03236291b6d2450dd7463577628921bc615838279b4e86bc8442e4973602f823b85d3ce8cd0c3554db8d890ad8fc62d010e376cbd292499df4f7f7e1904a17c9d455454ac514ca280d0712ca1e849db2942192fa5ca22d1c047c658a69ec335e4b98527665f933485"}], 0xc0}, 0x4000) r5 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r5, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r5, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r6 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r6, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:54 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000011000000960000000800", 0x0, 0x2}) [ 654.688251][T30322] netlink: 12 bytes leftover after parsing attributes in process `syz-executor.1'. 00:10:54 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = socket(0x10, 0x3, 0x0) (async) r2 = socket$nl_route(0x10, 0x3, 0x0) (async) r3 = socket(0x10, 0x803, 0x0) sendmsg$ETHTOOL_MSG_LINKSTATE_GET(r3, &(0x7f00000004c0)={0x0, 0x0, &(0x7f0000000480)={0x0, 0x14}}, 0x0) getsockname$packet(r3, &(0x7f0000000300)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000200)=0x14) sendmsg$nl_route(r2, &(0x7f0000000000)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000040)=ANY=[@ANYBLOB="3c0000001000010400eeffffffffffffff000000", @ANYRES32=r4, @ANYBLOB="01000000010000001c0012000c000100627269646765"], 0x3c}}, 0x0) sendmsg$nl_route_sched(r1, &(0x7f00000007c0)={0x0, 0x0, &(0x7f0000000780)={&(0x7f0000000280)=@newqdisc={0x38, 0x24, 0xe0b, 0x0, 0x0, {0x0, 0x0, 0x0, r4, {}, {0xffff, 0xffff}}, [@qdisc_kind_options=@q_pie={{0x8}, {0xc, 0x2, [@TCA_PIE_TUPDATE={0x8, 0x8, 0xffffff7f}]}}]}, 0x38}}, 0x0) (async) sendmsg(r0, &(0x7f0000001700)={&(0x7f00000000c0)=@xdp={0x2c, 0x9, r4, 0x2c}, 0x80, &(0x7f00000015c0)=[{&(0x7f0000000140)="cfe521f8438312b9eec94bdb81d7d0f28851853f6bc343c5107c9bcf117e62992f3e4bda985248cd84e07331ae66f767e3304c027f2d71f18461cc2a294df5b357a3dbbf84b00585deb02a6982cecbe4e633ed47e8d664173602ab11eb477d065b980051e1db0fd3202d5a6d9f5adac1472dbe67129732fc1a220590e0a4ec9e51ec6022662db16fe2f52a28bc9c356c5c610d535ad95de06b43708d378e5b0b741bb246d948ac4dbd71f93cb15884132fc0d1f5ff0598b59969af1690a336e365ff40d5b3dd39d51b706886b3c63c6244f7a05f6b7a3efaff14a5c6e382c1ac03538460f0cb229e0a7f8867e2315d2a2a38d2b6710c4e1c0b8e8c", 0xfb}, {&(0x7f0000000000)="31e00cf60dda9faff0fad16631c0efa3a51759c1bdb44ae1aa8be54bb26b376b89fa3d201cd1fa85c41c25d9aa3497a6da88ba78670b77f3e99ee3a0", 0x3c}, {&(0x7f0000000240)="8742064d6f87bf82ab1729610152b683ce05080a8b558daff5ecee04888ae45e70c876f8cf04499e46d8c195437fea6764ebae6cd5dd796674917749d5f7469a093b4961f47d201b96ebf9571684c374106e195ede022832758d8a4ea59844e835255ec3b7ca9504271d464e8b5f47a923d954e8ce43f8bd124116b345a03e050c1496013633ec75f775c1e3c7405e560e4c6fe1de88e206bcc19d0e46bb001dd374ce2a6ecd5bb2b9e9c2b4", 0xac}, {&(0x7f0000000300)="a071311bd4a2d6a04c4e974fe80c9adc0c4f06660fcdcac69af0939a77e875b39cb97e707c4757259b170850db5071abfd366ac20c0b4eeec6990e1c64caccfd110cbff2a786fcb80666bca288a8ec428c9603ddeb7f85d9a79d3aa3356afb93ac398d905a7b161a1670b08a480b5374460dcad5ee2c839810c2afdbb75063", 0x7f}, {&(0x7f0000000380)="6250c77d0e700ce20be83e30139068cafe1aedb8af75ccae411557bd07a6ad92701e79aef6fc4e8c87705b2341ae10", 0x2f}, {&(0x7f00000003c0)="bd3a9d86d938fa6c3a790e1a13b41a0c91b1ffb36b693e5449fa9c4b8f262934ece91f24d3cce662430eb24098dfce5cc4c09e4583a7f48fe4e957200242ac9e5b4100ef10b72ca493386e779d533fd03038c127340f9955052483a60dfb7da53787e9b0e8f89b55c0e1484c3491623627e1c2cacc32a62c0326fe0656d29ce370bd1c0b03d4ed23c044d625713a98afbaad6bba6805930e310a90b080d3b8c2462be6ec832904c6211010ce74e9c12d16bd36f6e5f5ba4631c18738d0dd1a9a866856b5c906", 0xc6}, {&(0x7f00000004c0)="7acc4318ec242496ace0ce7abb4e94266abb9b77452a9f70e44f09f6d1fe31c2e865ab374352b89255c32669b64c25b55f2db32def99bd8e006d78a866b5e971addac47d1571ce5112c74c7cc626fff4c55e6d8adb2b12db96fa9ef9432ad498c8e404af7ad5960ac962869964432f373a544d49d428305041e1b9db6fa04ca669accc30715c0b7c5e6a33649e427b4a2b7d57acc3b10388facdc64f5156e7e0656c2ccae65065737b7fa6c3290e4f9a611f4d584928646d5bcd37c141f38af444855414a3417ec1f89f22c7c572fb697b45f4f8e508c31d87081d7351c74804a0893122b1ee8d651dcb333b1b78ecd2", 0xf0}, {&(0x7f00000005c0)="1e7b50d0fbe084d0e7798f312ea77523f14f4e96e1de8ef2cdd25646d26225c97983ae312fe59aa66789d7b35ef367cca73638d1266d9c556fb27386d9ae2bf1413a203e38182e6ac3a3598290b0f3d9ecbb80f339a41b84e958f0fdf4c52221d147ea60fad5abd80f2ba1de5058d11a9cec2bf290e9070780052c6805ab594dcead95c24eb93f2e34db7a9bed3ee002dfb9f3a2de473e304563dffc6fe717bd35f43819451ae4446c5f0a7df55845900cc7cf43b488ae392f8ea6a0e27cb0fc52f31b3c4e93a05373a98c525d4da1b82d27a5ed250ba151dfb6d1d7734c658797c1429dbfc2e8b0daf4690534d8f2e24738b639fcdeae3d2d0ca6cd6d8846962d9f5626144ecdb42cd77039ce1a0821ae81b277b1bdaa50038da693582cadccf58e32be54fde991c6baf6178ba9879704123268de9a9f03acfa9709bdefa3e7a05ff97efd0d5a207e73789596e97d9fda026837fc6f0f14607de98a4417e9c4b70755075c8f5ae58a54dae178c0083a0df56b810cdba326935dbfc8490bf34860c68c9cd6dff3fdd97e36ee506a5691902166281812dfa8e4810030fb1af20ef2797781a34cc0e797fa4c51aa4aab95d2a7c28a2b0d67600b935ffe4253c6d06c37d9abd9af26a77c5a623e69c6815f76288a2506b11939b8b7d9c38cb29aea8c5657f62f06c47dc0800278411f1896f9f3ccbefb2af64c4e1d70b430b22f9fa6f93b3f34caa5fd8f84f48732d9b4107d7d05caa194f490dd3b260b9aee68616ad7e520d37ff56c92f6179bd7dd80c270370cf4b7f420b15639b65f93d09e807d0dd64fefe7b8135574429ca94720c5988fed5e9bc941953cf7604b5183069b1a2bd363188040f68eefaf1731b93bdb13069e37e5ea8128b8e19bad449d8a82bebc279b67a7820ab06b101ebbb0d89b7f9898b30a733563af4c05109d7b5b98ccb1609f40477da34c3d0390e1eff3dfc9726db026bed0aa4087f84116cc6b7cddbd07bd5fd7e5768bad71af57146e62bd972a6994e1b6a6ada8c267e9c314500d0cebd9df46e04e143352c6026db47aa47ff8353e6d370ae09f7c725f58dd4e8a310c12d8df6f62ac589a650d76423c66763cf0c8e203d58b3524d603e2d6070498ba545d41e86839698d84583ba6958810c40b2b74d0d42264ce8be83c651884b2d4ccb79fa4fba5c03fea3886b3e5b93446d32e9e24e520fc41b025f0dd4e64efb501ad697d6e6cad302f6559a5b51ccda28521c2d1438434820744df86316946c5f235ce7b48e3aef92657cc358f95f024053507aa2e054875ce0d5f9878fb791795c16494b3d628e29cfa1b1b369b34e95c0e505bdd2135c847a7cbb3abe61f79c93f80a45aff1b6971021f077872483f139803fd79d34b75babb4a5cce284934014988de8f25e49713d14054a571733503ebbeefc4cf14634de0f47ba6f31b019b81fe55ce052df126bc0aeeaff54dbc381f3f407af50b57dcb9d346af734021169fee8a7f2fed738d9d84424c308ebec105767ba11f132d1a37f32533ebdf06f312f0f1915425dc0fab01d35e0c5071cff6adecf2181574709c682559dff4737b9dd39bb46a1483738ad9005bcb69b95796a2f95ba993b8ca1dceba108c02ed7504162f643a9cd05ae4c4a1f668753a7ce6557fd281990e8cf7f54db29c6c4014edee1a00a248e41e152e243108e8d8b35e02f9d1aa3773331f00b636616e9801dd4e46e9ccd14df901e3a6c6b184575eb3c0a95c3c9ac8ad0e8da2c53599e4a7ba1a0eade5e46a316b94e6dc67c1fd3e757eeb8edc2af4358f2dd82057d112764a68623c02d3a5453cd4d3441960cb275a51a99556fe6f07f32787cb6dfc0b1b1005b6cc2767bbaef0273504469daab6f756953728f2555d50b1d450591b679d08e5c48fd471d92f87ec6dcab3e415446149fbd231d1973c68884f5d90186249af6610984ab27b81e6dfa48ccf1be53b5da1a927e98eeb875660e105f385bd16997f0a33c537181105c4634320500d18ead5eb51c80827b89649dd25a83d41f11c8a502593c0834612abdb06e6e33f6eb212d43afce3f8090ef37d8920bdea851cdc70667eda66d98dc5b6d30304f3b9c3af91ca1e4fd891d987140f0c76778c2d2f098c0a36c1207a441c37b6599f1aae654914f65ab37890040de1567e56bea20932c2b7bec6ee50aa637355402e21c6a6458472ca1b4d10f07fba6492290ba8feaca8b0bf6f7227faa0fa14ad0fa31f0e7e8a189d2277f94df65e4d7b9ef33ed5e5ba1bbf06279da55646c48e1e535cf7aa94a438bfba24029361e5b47f9643b61700ff22f75347573844ab4c518289f0e006a4a28f34552d8e18ccf131842ae821d8155d1c880c99ad1294b247c38d14202947f2524f042bf74e2327442009db664076a518d2b96aa8e976190c389f097d693b073020af3804bafa5a5edc424ec63e4f805782e30f4e48f3da15812716371afa37a583a748d542d6f07af8d0f313cb67eea9bd567b7e7d8547f35de1ad028a2518c3b915c7f6b9a3f66e8c08c965eb5cda78c8a6b53515ca2e32b5c09cdadcf92bf2e6ef07e0c4e1ed410b6f0d901255bfc41c30b6b7303ebbf1ddcc515be942796d7e00c9bfd594f854cabe2ebc636e82ce8e0bdf2a5e1f4bb913712964c2e410f4955475c5ad18d60469bcbe33ad674a7efc8ef747acc1b1dbdae8ec4c6dfe6f2aea7bce22a640b668618740bc086e5f50805c8a31d5b577a728dabf1f49ca6aba6d3ae1e9062dfb4f4fa852a4f59b2022da3b72f5ab32386ca56905ad98110ee1815b08c73902d963bc9fafa1c81bb78917ff53c5d4d5e095bc7eeb75b0cc3a07aee3c51442ceb1f0ae00314afc521249aa480b8bf693e40964cebb45dcd48ea7400734a127bac6380fe832d3954ba95fd564f0cddd9ce365219fdc0462cf55e487bc243f56d3b4b34e91310359b760047faba5dae3c9d5a605ba01d8ae622e519da444c6c4a6b5471f0dd5dd651f0499e7c21c01752f3312032f0742b2be21fa5f9218c180dc76095c1da3eb1b80abff4440b8e81aed46f8cb0f0142a57782978eed0db2ac3febbc84d99594fd2d6ee151e51cc937535059886f06cad5a590d649ce53e97f50546ae5fec0793b08d09158129127ad954c4fab4653e6492e5ada46ddcfd3db60b2cfb05c8105adba096128d8934c7285535bedac7fb6456aabecde458d6b92c50764bfa49fc48a0de8c3144790d7a8f415747ec2215b91eea4624ed6405aae1dd804123f35fbbc82ed6160aab01d1741c7ffd818659b0e9d7cc90e0e69abc837fbc0a770651a53e226d8c8970b6c3230e835db65c84bfd915de4acc781e8b1d343ce77f8cecd3f9d0beba81822c24b0b991329cd0f5f037ee2bdafafb8d6a56c9ec01bcc94f39f8c37eaa115c82e8baf0e2bcaf8f880e5467391ee4b207cca082f5168d89f1498653c9fc745a43df06731c988d5347ed7769aece11ba5f15d30a71a18b62c6a3857741fe229f9b109ca0968db0f62825e4cfc66e6cdd73f40849ab50b6a7a004e93ac57693e247b958c3c8db89ca9ee041ce4f3ddf7fb398d29eeb5e32d688824a5ba2c4869776221096d2f3f7fc4e88ff5c855fef5319604a444641dd16616f6b2117f9ec0cceb8de78a7e6d17edcd0dca636fbc6972e91ff1a4839e87ba2db7c52793c862d33d80a8ccb83e93e615e78eead4bb8eab4d3ae42196350db0c59e10da082cb752777c95dda79c333daba2cd454cf3dcba4a7c1244a9fc5ca0a4abacdeb821a07c957388d1c05ff7d0f7c2f571bea7c5541f0140635dbdfbfb5138454bf23d94260446a0ae340c69b04e76c6b7da430c0b68e4a6af50d65eb29a9edb1082aefe1c1b219142aa491ff9de285a52d3b2fbeb7a8e7fd466857ffb7d03094b41a69eb6f22d867d65c50dad2078d12a3b4476f0d1bb8049c0664d31a61c72fe36d9f9c0328cdd827625e9f73d2db47c04fa9c53f6b37673522dfff800f05f8720688f1dde2c50f4efab70b7af45508d575c6d94a74c3fb63adaee1d9a88162b8c4850b6e56f734d922f1e3e009862b106d956ce6503870d8c5cdd587023d052fe1c4c6554425058a058576841b4437228de6c120195549aefe7d12ef92d8f2fa5f6a3fad18b43111cc261f7af422775ecc78a4b45cd6f487930c51224dae9ce3955b2318650ea753ec38647f9e2952af7b9be7dd8d8896e262cdb37efec82b25ff366ce56747ebad91ee5beb5188198c03167d5c187c0525e77de12996b5f45f3e87b2976299dab9e5e7effe1c3769b3a8dc71b80fa5cd8e53d64214586b470f180e8b4e139ec4ad1959acb091db75fe0517eeb1e6234f79b2d51543095a1d45f2ef34e5cc1bdde4f629081564cedc66dee3fce5d63c606ff5a25710643f1a8f69680e9293488cc6ed783dd22b76d0a09834389430e5d2930c098a662a5528efa7050b9f06f70b74c0b21c5e766ec2650f44de26af986b47671bf6d5ef4c5c211e9ab589fe81fd20807d49f3cc491feec0e688d1ac22fc6b0a47c8fae7469bb3e4f9bc8cced9a27860d16dbfab3c4be89c801ff6c6a7280ab4b734be509bd9d56af0c36fa6db5300b596a86d9bd31cea53cadb04a68b827b635be8a6961f63aba60aefd484a5880b25548d5d58edc1eecb83c9a2bb68cfb69995ad038260e68d9cfb3cc6121a990e54feeb3980b3d8eb3fd8c519888e83d202f48346ae42e3a0dde6d990cafa5df41ba262f7c8be775865a196ddcdc952364cf5d0d8560982f6c0ca532fbe3e02ccb0c0746e9d76d2cec6c8652a4aa7d4933bb092afa94b5a3e3024476162191d34e1ab7d6d41722578997c3476c66e2c3e54b0421b646ed0c8edf112c0fbbed755fe7296fb2af811c1e7e7d53a4de9f59adf7256f2752f01e463cc44dfc8d10c2f6cfe27c2711266f94941d01cb54fa2784646587ffca05c3dad52d5641bcc313d902b3b5ff287ce57cc2c10ecb4e08a517dc8864b469edd7c449367e3b8e7ad5ea182d6dcc90d7e30144abf3cab793d1b077686cafbe5c16749eeac3eb152ccbbeefe153b3cd510622984d8ba4ea8fcfbdc086dda01abd9d811acce3c61742c25b06edfd4deb7dee6b75b32f20cc0203571fcdc09bdcd0da5d0184909779883481e2cf3ed1fbfcd2bc3427252c57bcc56a302e4dcd9d475eadd520678b90f44fdecd871247b1f395f461ed63d94b182c01a06ee86b75eb81857de520082944322675cd5b6da40d5bfbceae6e90d5c1edd0855830b2a45777b29f68a6872cab0d3131d44726945cf9a28ac6085b59b640828e7544227aa021dfe54e0e703c0b4632a52a4cedebf155b728b89850c7713a84997011a9c4ea8dce271a60f6ea2110adec7cc4284667d9e62dd650416b552b7966a8dbe2354c15339d0c78e164df19dec753621f747ce6de769e572e5d96d816323bc65d706ba7b62fce47f95a1b9a2828475f9bd2e963da2fca174c7e3ff9f81990575f4425374e1a72fc7a794cb4599ff4a24e77fbbd939a9cb0472375f1cedcb30765e064d6a270008947d6e8a11558e3c7580b2cfb5c3927b9f074ce157f2602f2f675eb017462fafa137f2b5ae628d0eb7353eb71db9eeac1fd9e4ca901848352bc05d47967a000a95271028dfad7cc410720d143e339f10c510475dec93a5bcfdcdc3840fbe601dd29ec2d055b3a654a5c45d229b8a22cbb745300f09237c6e193dbf87f35c855c8533e3dd021ae0823c02ae1080c4b7abf3f9544ce07d25ba3171865ae16ab7bd3de512d4bfa5ce3d0ed08a4e0aa519ed8ccdb", 0x1000}], 0x8, &(0x7f0000001640)=[{0xc0, 0x9b, 0x4, "11ae06a5c654291125875de83728277bfa0d3db40d4bfd2cc20ba460ab8e705b7e5e87c573ee34e1af2f66d4b6e7866eeffca574d6a5a6619b3684e216a8ae15291cedd03236291b6d2450dd7463577628921bc615838279b4e86bc8442e4973602f823b85d3ce8cd0c3554db8d890ad8fc62d010e376cbd292499df4f7f7e1904a17c9d455454ac514ca280d0712ca1e849db2942192fa5ca22d1c047c658a69ec335e4b98527665f933485"}], 0xc0}, 0x4000) (async) r5 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r5, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r5, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r6 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r6, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 654.743535][T30326] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 654.745822][T30326] CPU: 1 PID: 30326 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 654.747915][T30326] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 654.750125][T30326] Call trace: [ 654.750880][T30326] dump_backtrace+0x1c4/0x1f0 [ 654.752009][T30326] show_stack+0x2c/0x54 [ 654.752973][T30326] dump_stack_lvl+0x104/0x16c [ 654.753974][T30326] dump_stack+0x1c/0x58 [ 654.754876][T30326] sysfs_create_dir_ns+0x148/0x168 [ 654.756079][T30326] kobject_add_internal+0x244/0x530 [ 654.757217][T30326] kobject_add+0xb8/0x130 [ 654.758280][T30326] device_add+0x248/0x958 [ 654.759185][T30326] device_register+0x28/0x38 [ 654.760111][T30326] tty_register_device_attr+0x1a8/0x320 [ 654.761364][T30326] tty_register_device+0x3c/0x50 [ 654.762486][T30326] gsm_activate_mux+0x9c/0x1f4 [ 654.763494][T30326] gsmld_ioctl+0x6cc/0x764 [ 654.764566][T30326] tty_ioctl+0x6c0/0x9dc [ 654.765323][T30326] __arm64_sys_ioctl+0xd0/0x140 [ 654.766334][T30326] el0_svc_common+0x138/0x220 [ 654.767364][T30326] do_el0_svc+0x48/0x164 [ 654.768313][T30326] el0_svc+0x58/0x150 [ 654.769205][T30326] el0t_64_sync_handler+0x84/0xf0 [ 654.770297][T30326] el0t_64_sync+0x18c/0x190 [ 654.779880][T30326] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:54 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000900", 0x0, 0x2}) 00:10:54 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000012af000000960000000800", 0x0, 0x2}) 00:10:54 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = socket(0x10, 0x3, 0x0) r2 = socket$nl_route(0x10, 0x3, 0x0) (async, rerun: 32) r3 = socket(0x10, 0x803, 0x0) (rerun: 32) sendmsg$ETHTOOL_MSG_LINKSTATE_GET(r3, &(0x7f00000004c0)={0x0, 0x0, &(0x7f0000000480)={0x0, 0x14}}, 0x0) (async) getsockname$packet(r3, &(0x7f0000000300)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000200)=0x14) sendmsg$nl_route(r2, &(0x7f0000000000)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000040)=ANY=[@ANYBLOB="3c0000001000010400eeffffffffffffff000000", @ANYRES32=r4, @ANYBLOB="01000000010000001c0012000c000100627269646765"], 0x3c}}, 0x0) (async) sendmsg$nl_route_sched(r1, &(0x7f00000007c0)={0x0, 0x0, &(0x7f0000000780)={&(0x7f0000000280)=@newqdisc={0x38, 0x24, 0xe0b, 0x0, 0x0, {0x0, 0x0, 0x0, r4, {}, {0xffff, 0xffff}}, [@qdisc_kind_options=@q_pie={{0x8}, {0xc, 0x2, [@TCA_PIE_TUPDATE={0x8, 0x8, 0xffffff7f}]}}]}, 0x38}}, 0x0) (async) sendmsg(r0, &(0x7f0000001700)={&(0x7f00000000c0)=@xdp={0x2c, 0x9, r4, 0x2c}, 0x80, &(0x7f00000015c0)=[{&(0x7f0000000140)="cfe521f8438312b9eec94bdb81d7d0f28851853f6bc343c5107c9bcf117e62992f3e4bda985248cd84e07331ae66f767e3304c027f2d71f18461cc2a294df5b357a3dbbf84b00585deb02a6982cecbe4e633ed47e8d664173602ab11eb477d065b980051e1db0fd3202d5a6d9f5adac1472dbe67129732fc1a220590e0a4ec9e51ec6022662db16fe2f52a28bc9c356c5c610d535ad95de06b43708d378e5b0b741bb246d948ac4dbd71f93cb15884132fc0d1f5ff0598b59969af1690a336e365ff40d5b3dd39d51b706886b3c63c6244f7a05f6b7a3efaff14a5c6e382c1ac03538460f0cb229e0a7f8867e2315d2a2a38d2b6710c4e1c0b8e8c", 0xfb}, {&(0x7f0000000000)="31e00cf60dda9faff0fad16631c0efa3a51759c1bdb44ae1aa8be54bb26b376b89fa3d201cd1fa85c41c25d9aa3497a6da88ba78670b77f3e99ee3a0", 0x3c}, {&(0x7f0000000240)="8742064d6f87bf82ab1729610152b683ce05080a8b558daff5ecee04888ae45e70c876f8cf04499e46d8c195437fea6764ebae6cd5dd796674917749d5f7469a093b4961f47d201b96ebf9571684c374106e195ede022832758d8a4ea59844e835255ec3b7ca9504271d464e8b5f47a923d954e8ce43f8bd124116b345a03e050c1496013633ec75f775c1e3c7405e560e4c6fe1de88e206bcc19d0e46bb001dd374ce2a6ecd5bb2b9e9c2b4", 0xac}, {&(0x7f0000000300)="a071311bd4a2d6a04c4e974fe80c9adc0c4f06660fcdcac69af0939a77e875b39cb97e707c4757259b170850db5071abfd366ac20c0b4eeec6990e1c64caccfd110cbff2a786fcb80666bca288a8ec428c9603ddeb7f85d9a79d3aa3356afb93ac398d905a7b161a1670b08a480b5374460dcad5ee2c839810c2afdbb75063", 0x7f}, {&(0x7f0000000380)="6250c77d0e700ce20be83e30139068cafe1aedb8af75ccae411557bd07a6ad92701e79aef6fc4e8c87705b2341ae10", 0x2f}, {&(0x7f00000003c0)="bd3a9d86d938fa6c3a790e1a13b41a0c91b1ffb36b693e5449fa9c4b8f262934ece91f24d3cce662430eb24098dfce5cc4c09e4583a7f48fe4e957200242ac9e5b4100ef10b72ca493386e779d533fd03038c127340f9955052483a60dfb7da53787e9b0e8f89b55c0e1484c3491623627e1c2cacc32a62c0326fe0656d29ce370bd1c0b03d4ed23c044d625713a98afbaad6bba6805930e310a90b080d3b8c2462be6ec832904c6211010ce74e9c12d16bd36f6e5f5ba4631c18738d0dd1a9a866856b5c906", 0xc6}, {&(0x7f00000004c0)="7acc4318ec242496ace0ce7abb4e94266abb9b77452a9f70e44f09f6d1fe31c2e865ab374352b89255c32669b64c25b55f2db32def99bd8e006d78a866b5e971addac47d1571ce5112c74c7cc626fff4c55e6d8adb2b12db96fa9ef9432ad498c8e404af7ad5960ac962869964432f373a544d49d428305041e1b9db6fa04ca669accc30715c0b7c5e6a33649e427b4a2b7d57acc3b10388facdc64f5156e7e0656c2ccae65065737b7fa6c3290e4f9a611f4d584928646d5bcd37c141f38af444855414a3417ec1f89f22c7c572fb697b45f4f8e508c31d87081d7351c74804a0893122b1ee8d651dcb333b1b78ecd2", 0xf0}, {&(0x7f00000005c0)="1e7b50d0fbe084d0e7798f312ea77523f14f4e96e1de8ef2cdd25646d26225c97983ae312fe59aa66789d7b35ef367cca73638d1266d9c556fb27386d9ae2bf1413a203e38182e6ac3a3598290b0f3d9ecbb80f339a41b84e958f0fdf4c52221d147ea60fad5abd80f2ba1de5058d11a9cec2bf290e9070780052c6805ab594dcead95c24eb93f2e34db7a9bed3ee002dfb9f3a2de473e304563dffc6fe717bd35f43819451ae4446c5f0a7df55845900cc7cf43b488ae392f8ea6a0e27cb0fc52f31b3c4e93a05373a98c525d4da1b82d27a5ed250ba151dfb6d1d7734c658797c1429dbfc2e8b0daf4690534d8f2e24738b639fcdeae3d2d0ca6cd6d8846962d9f5626144ecdb42cd77039ce1a0821ae81b277b1bdaa50038da693582cadccf58e32be54fde991c6baf6178ba9879704123268de9a9f03acfa9709bdefa3e7a05ff97efd0d5a207e73789596e97d9fda026837fc6f0f14607de98a4417e9c4b70755075c8f5ae58a54dae178c0083a0df56b810cdba326935dbfc8490bf34860c68c9cd6dff3fdd97e36ee506a5691902166281812dfa8e4810030fb1af20ef2797781a34cc0e797fa4c51aa4aab95d2a7c28a2b0d67600b935ffe4253c6d06c37d9abd9af26a77c5a623e69c6815f76288a2506b11939b8b7d9c38cb29aea8c5657f62f06c47dc0800278411f1896f9f3ccbefb2af64c4e1d70b430b22f9fa6f93b3f34caa5fd8f84f48732d9b4107d7d05caa194f490dd3b260b9aee68616ad7e520d37ff56c92f6179bd7dd80c270370cf4b7f420b15639b65f93d09e807d0dd64fefe7b8135574429ca94720c5988fed5e9bc941953cf7604b5183069b1a2bd363188040f68eefaf1731b93bdb13069e37e5ea8128b8e19bad449d8a82bebc279b67a7820ab06b101ebbb0d89b7f9898b30a733563af4c05109d7b5b98ccb1609f40477da34c3d0390e1eff3dfc9726db026bed0aa4087f84116cc6b7cddbd07bd5fd7e5768bad71af57146e62bd972a6994e1b6a6ada8c267e9c314500d0cebd9df46e04e143352c6026db47aa47ff8353e6d370ae09f7c725f58dd4e8a310c12d8df6f62ac589a650d76423c66763cf0c8e203d58b3524d603e2d6070498ba545d41e86839698d84583ba6958810c40b2b74d0d42264ce8be83c651884b2d4ccb79fa4fba5c03fea3886b3e5b93446d32e9e24e520fc41b025f0dd4e64efb501ad697d6e6cad302f6559a5b51ccda28521c2d1438434820744df86316946c5f235ce7b48e3aef92657cc358f95f024053507aa2e054875ce0d5f9878fb791795c16494b3d628e29cfa1b1b369b34e95c0e505bdd2135c847a7cbb3abe61f79c93f80a45aff1b6971021f077872483f139803fd79d34b75babb4a5cce284934014988de8f25e49713d14054a571733503ebbeefc4cf14634de0f47ba6f31b019b81fe55ce052df126bc0aeeaff54dbc381f3f407af50b57dcb9d346af734021169fee8a7f2fed738d9d84424c308ebec105767ba11f132d1a37f32533ebdf06f312f0f1915425dc0fab01d35e0c5071cff6adecf2181574709c682559dff4737b9dd39bb46a1483738ad9005bcb69b95796a2f95ba993b8ca1dceba108c02ed7504162f643a9cd05ae4c4a1f668753a7ce6557fd281990e8cf7f54db29c6c4014edee1a00a248e41e152e243108e8d8b35e02f9d1aa3773331f00b636616e9801dd4e46e9ccd14df901e3a6c6b184575eb3c0a95c3c9ac8ad0e8da2c53599e4a7ba1a0eade5e46a316b94e6dc67c1fd3e757eeb8edc2af4358f2dd82057d112764a68623c02d3a5453cd4d3441960cb275a51a99556fe6f07f32787cb6dfc0b1b1005b6cc2767bbaef0273504469daab6f756953728f2555d50b1d450591b679d08e5c48fd471d92f87ec6dcab3e415446149fbd231d1973c68884f5d90186249af6610984ab27b81e6dfa48ccf1be53b5da1a927e98eeb875660e105f385bd16997f0a33c537181105c4634320500d18ead5eb51c80827b89649dd25a83d41f11c8a502593c0834612abdb06e6e33f6eb212d43afce3f8090ef37d8920bdea851cdc70667eda66d98dc5b6d30304f3b9c3af91ca1e4fd891d987140f0c76778c2d2f098c0a36c1207a441c37b6599f1aae654914f65ab37890040de1567e56bea20932c2b7bec6ee50aa637355402e21c6a6458472ca1b4d10f07fba6492290ba8feaca8b0bf6f7227faa0fa14ad0fa31f0e7e8a189d2277f94df65e4d7b9ef33ed5e5ba1bbf06279da55646c48e1e535cf7aa94a438bfba24029361e5b47f9643b61700ff22f75347573844ab4c518289f0e006a4a28f34552d8e18ccf131842ae821d8155d1c880c99ad1294b247c38d14202947f2524f042bf74e2327442009db664076a518d2b96aa8e976190c389f097d693b073020af3804bafa5a5edc424ec63e4f805782e30f4e48f3da15812716371afa37a583a748d542d6f07af8d0f313cb67eea9bd567b7e7d8547f35de1ad028a2518c3b915c7f6b9a3f66e8c08c965eb5cda78c8a6b53515ca2e32b5c09cdadcf92bf2e6ef07e0c4e1ed410b6f0d901255bfc41c30b6b7303ebbf1ddcc515be942796d7e00c9bfd594f854cabe2ebc636e82ce8e0bdf2a5e1f4bb913712964c2e410f4955475c5ad18d60469bcbe33ad674a7efc8ef747acc1b1dbdae8ec4c6dfe6f2aea7bce22a640b668618740bc086e5f50805c8a31d5b577a728dabf1f49ca6aba6d3ae1e9062dfb4f4fa852a4f59b2022da3b72f5ab32386ca56905ad98110ee1815b08c73902d963bc9fafa1c81bb78917ff53c5d4d5e095bc7eeb75b0cc3a07aee3c51442ceb1f0ae00314afc521249aa480b8bf693e40964cebb45dcd48ea7400734a127bac6380fe832d3954ba95fd564f0cddd9ce365219fdc0462cf55e487bc243f56d3b4b34e91310359b760047faba5dae3c9d5a605ba01d8ae622e519da444c6c4a6b5471f0dd5dd651f0499e7c21c01752f3312032f0742b2be21fa5f9218c180dc76095c1da3eb1b80abff4440b8e81aed46f8cb0f0142a57782978eed0db2ac3febbc84d99594fd2d6ee151e51cc937535059886f06cad5a590d649ce53e97f50546ae5fec0793b08d09158129127ad954c4fab4653e6492e5ada46ddcfd3db60b2cfb05c8105adba096128d8934c7285535bedac7fb6456aabecde458d6b92c50764bfa49fc48a0de8c3144790d7a8f415747ec2215b91eea4624ed6405aae1dd804123f35fbbc82ed6160aab01d1741c7ffd818659b0e9d7cc90e0e69abc837fbc0a770651a53e226d8c8970b6c3230e835db65c84bfd915de4acc781e8b1d343ce77f8cecd3f9d0beba81822c24b0b991329cd0f5f037ee2bdafafb8d6a56c9ec01bcc94f39f8c37eaa115c82e8baf0e2bcaf8f880e5467391ee4b207cca082f5168d89f1498653c9fc745a43df06731c988d5347ed7769aece11ba5f15d30a71a18b62c6a3857741fe229f9b109ca0968db0f62825e4cfc66e6cdd73f40849ab50b6a7a004e93ac57693e247b958c3c8db89ca9ee041ce4f3ddf7fb398d29eeb5e32d688824a5ba2c4869776221096d2f3f7fc4e88ff5c855fef5319604a444641dd16616f6b2117f9ec0cceb8de78a7e6d17edcd0dca636fbc6972e91ff1a4839e87ba2db7c52793c862d33d80a8ccb83e93e615e78eead4bb8eab4d3ae42196350db0c59e10da082cb752777c95dda79c333daba2cd454cf3dcba4a7c1244a9fc5ca0a4abacdeb821a07c957388d1c05ff7d0f7c2f571bea7c5541f0140635dbdfbfb5138454bf23d94260446a0ae340c69b04e76c6b7da430c0b68e4a6af50d65eb29a9edb1082aefe1c1b219142aa491ff9de285a52d3b2fbeb7a8e7fd466857ffb7d03094b41a69eb6f22d867d65c50dad2078d12a3b4476f0d1bb8049c0664d31a61c72fe36d9f9c0328cdd827625e9f73d2db47c04fa9c53f6b37673522dfff800f05f8720688f1dde2c50f4efab70b7af45508d575c6d94a74c3fb63adaee1d9a88162b8c4850b6e56f734d922f1e3e009862b106d956ce6503870d8c5cdd587023d052fe1c4c6554425058a058576841b4437228de6c120195549aefe7d12ef92d8f2fa5f6a3fad18b43111cc261f7af422775ecc78a4b45cd6f487930c51224dae9ce3955b2318650ea753ec38647f9e2952af7b9be7dd8d8896e262cdb37efec82b25ff366ce56747ebad91ee5beb5188198c03167d5c187c0525e77de12996b5f45f3e87b2976299dab9e5e7effe1c3769b3a8dc71b80fa5cd8e53d64214586b470f180e8b4e139ec4ad1959acb091db75fe0517eeb1e6234f79b2d51543095a1d45f2ef34e5cc1bdde4f629081564cedc66dee3fce5d63c606ff5a25710643f1a8f69680e9293488cc6ed783dd22b76d0a09834389430e5d2930c098a662a5528efa7050b9f06f70b74c0b21c5e766ec2650f44de26af986b47671bf6d5ef4c5c211e9ab589fe81fd20807d49f3cc491feec0e688d1ac22fc6b0a47c8fae7469bb3e4f9bc8cced9a27860d16dbfab3c4be89c801ff6c6a7280ab4b734be509bd9d56af0c36fa6db5300b596a86d9bd31cea53cadb04a68b827b635be8a6961f63aba60aefd484a5880b25548d5d58edc1eecb83c9a2bb68cfb69995ad038260e68d9cfb3cc6121a990e54feeb3980b3d8eb3fd8c519888e83d202f48346ae42e3a0dde6d990cafa5df41ba262f7c8be775865a196ddcdc952364cf5d0d8560982f6c0ca532fbe3e02ccb0c0746e9d76d2cec6c8652a4aa7d4933bb092afa94b5a3e3024476162191d34e1ab7d6d41722578997c3476c66e2c3e54b0421b646ed0c8edf112c0fbbed755fe7296fb2af811c1e7e7d53a4de9f59adf7256f2752f01e463cc44dfc8d10c2f6cfe27c2711266f94941d01cb54fa2784646587ffca05c3dad52d5641bcc313d902b3b5ff287ce57cc2c10ecb4e08a517dc8864b469edd7c449367e3b8e7ad5ea182d6dcc90d7e30144abf3cab793d1b077686cafbe5c16749eeac3eb152ccbbeefe153b3cd510622984d8ba4ea8fcfbdc086dda01abd9d811acce3c61742c25b06edfd4deb7dee6b75b32f20cc0203571fcdc09bdcd0da5d0184909779883481e2cf3ed1fbfcd2bc3427252c57bcc56a302e4dcd9d475eadd520678b90f44fdecd871247b1f395f461ed63d94b182c01a06ee86b75eb81857de520082944322675cd5b6da40d5bfbceae6e90d5c1edd0855830b2a45777b29f68a6872cab0d3131d44726945cf9a28ac6085b59b640828e7544227aa021dfe54e0e703c0b4632a52a4cedebf155b728b89850c7713a84997011a9c4ea8dce271a60f6ea2110adec7cc4284667d9e62dd650416b552b7966a8dbe2354c15339d0c78e164df19dec753621f747ce6de769e572e5d96d816323bc65d706ba7b62fce47f95a1b9a2828475f9bd2e963da2fca174c7e3ff9f81990575f4425374e1a72fc7a794cb4599ff4a24e77fbbd939a9cb0472375f1cedcb30765e064d6a270008947d6e8a11558e3c7580b2cfb5c3927b9f074ce157f2602f2f675eb017462fafa137f2b5ae628d0eb7353eb71db9eeac1fd9e4ca901848352bc05d47967a000a95271028dfad7cc410720d143e339f10c510475dec93a5bcfdcdc3840fbe601dd29ec2d055b3a654a5c45d229b8a22cbb745300f09237c6e193dbf87f35c855c8533e3dd021ae0823c02ae1080c4b7abf3f9544ce07d25ba3171865ae16ab7bd3de512d4bfa5ce3d0ed08a4e0aa519ed8ccdb", 0x1000}], 0x8, &(0x7f0000001640)=[{0xc0, 0x9b, 0x4, "11ae06a5c654291125875de83728277bfa0d3db40d4bfd2cc20ba460ab8e705b7e5e87c573ee34e1af2f66d4b6e7866eeffca574d6a5a6619b3684e216a8ae15291cedd03236291b6d2450dd7463577628921bc615838279b4e86bc8442e4973602f823b85d3ce8cd0c3554db8d890ad8fc62d010e376cbd292499df4f7f7e1904a17c9d455454ac514ca280d0712ca1e849db2942192fa5ca22d1c047c658a69ec335e4b98527665f933485"}], 0xc0}, 0x4000) (async) r5 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r5, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r5, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r6 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async, rerun: 64) ioctl$TCSETSF2(r6, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (rerun: 64) [ 654.917682][T30341] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 654.922257][T30341] CPU: 0 PID: 30341 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 654.924381][T30341] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 654.926547][T30341] Call trace: [ 654.927261][T30341] dump_backtrace+0x1c4/0x1f0 [ 654.928309][T30341] show_stack+0x2c/0x54 [ 654.929165][T30341] dump_stack_lvl+0x104/0x16c [ 654.930180][T30341] dump_stack+0x1c/0x58 [ 654.931093][T30341] sysfs_create_dir_ns+0x148/0x168 [ 654.932229][T30341] kobject_add_internal+0x244/0x530 [ 654.933307][T30341] kobject_add+0xb8/0x130 [ 654.934263][T30341] device_add+0x248/0x958 [ 654.935187][T30341] device_register+0x28/0x38 [ 654.936228][T30341] tty_register_device_attr+0x1a8/0x320 [ 654.937537][T30341] tty_register_device+0x3c/0x50 [ 654.938599][T30341] gsm_activate_mux+0x9c/0x1f4 [ 654.939613][T30341] gsmld_ioctl+0x6cc/0x764 [ 654.940628][T30341] tty_ioctl+0x6c0/0x9dc [ 654.941414][T30341] __arm64_sys_ioctl+0xd0/0x140 [ 654.942452][T30341] el0_svc_common+0x138/0x220 [ 654.943477][T30341] do_el0_svc+0x48/0x164 [ 654.944436][T30341] el0_svc+0x58/0x150 [ 654.945332][T30341] el0t_64_sync_handler+0x84/0xf0 [ 654.946543][T30341] el0t_64_sync+0x18c/0x190 [ 654.957502][T30341] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:54 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:54 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$sock_ifreq(r0, 0x891b, &(0x7f0000000140)={'ip_vti0\x00', @ifru_map={0x1, 0x9, 0x6, 0x6d, 0x1f, 0x9}}) ioctl$SW_SYNC_IOC_CREATE_FENCE(0xffffffffffffffff, 0xc0285700, &(0x7f0000000000)={0x0, "a8903c3d1f7bee7f75a41da8852cf5084cdc91ffd966240e85d93384b712ad1f", 0xffffffffffffffff}) read(r3, &(0x7f00000000c0)=""/67, 0x43) 00:10:54 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000a00", 0x0, 0x2}) 00:10:55 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000e000000960000000800", 0x0, 0x2}) 00:10:55 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$sock_ifreq(r0, 0x891b, &(0x7f0000000140)={'ip_vti0\x00', @ifru_map={0x1, 0x9, 0x6, 0x6d, 0x1f, 0x9}}) (async) ioctl$SW_SYNC_IOC_CREATE_FENCE(0xffffffffffffffff, 0xc0285700, &(0x7f0000000000)={0x0, "a8903c3d1f7bee7f75a41da8852cf5084cdc91ffd966240e85d93384b712ad1f", 0xffffffffffffffff}) read(r3, &(0x7f00000000c0)=""/67, 0x43) 00:10:55 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:55 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$sock_ifreq(r0, 0x891b, &(0x7f0000000140)={'ip_vti0\x00', @ifru_map={0x1, 0x9, 0x6, 0x6d, 0x1f, 0x9}}) (async) ioctl$SW_SYNC_IOC_CREATE_FENCE(0xffffffffffffffff, 0xc0285700, &(0x7f0000000000)={0x0, "a8903c3d1f7bee7f75a41da8852cf5084cdc91ffd966240e85d93384b712ad1f", 0xffffffffffffffff}) read(r3, &(0x7f00000000c0)=""/67, 0x43) 00:10:55 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012000000960000000800", 0x0, 0x2}) 00:10:55 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000011000000960000000800", 0x0, 0x2}) 00:10:55 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TIOCL_GETMOUSEREPORTING(r0, 0x541c, &(0x7f0000000000)) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) r3 = openat$urandom(0xffffffffffffff9c, &(0x7f00000000c0), 0x280, 0x0) copy_file_range(r2, 0x0, r3, &(0x7f0000000100)=0x20, 0x4, 0x0) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 655.313168][T30367] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 655.315090][T30367] CPU: 0 PID: 30367 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 655.317470][T30367] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 655.319720][T30367] Call trace: [ 655.320568][T30367] dump_backtrace+0x1c4/0x1f0 [ 655.321587][T30367] show_stack+0x2c/0x54 [ 655.322464][T30367] dump_stack_lvl+0x104/0x16c [ 655.323485][T30367] dump_stack+0x1c/0x58 [ 655.324370][T30367] sysfs_create_dir_ns+0x148/0x168 [ 655.325423][T30367] kobject_add_internal+0x244/0x530 [ 655.326541][T30367] kobject_add+0xb8/0x130 [ 655.327582][T30367] device_add+0x248/0x958 [ 655.328488][T30367] device_register+0x28/0x38 [ 655.329547][T30367] tty_register_device_attr+0x1a8/0x320 [ 655.330751][T30367] tty_register_device+0x3c/0x50 [ 655.331746][T30367] gsm_activate_mux+0x9c/0x1f4 [ 655.332795][T30367] gsmld_ioctl+0x6cc/0x764 [ 655.333996][T30367] tty_ioctl+0x6c0/0x9dc [ 655.334926][T30367] __arm64_sys_ioctl+0xd0/0x140 [ 655.335959][T30367] el0_svc_common+0x138/0x220 [ 655.337026][T30367] do_el0_svc+0x48/0x164 [ 655.338014][T30367] el0_svc+0x58/0x150 [ 655.338867][T30367] el0t_64_sync_handler+0x84/0xf0 [ 655.340134][T30367] el0t_64_sync+0x18c/0x190 [ 655.354106][T30367] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:55 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000012b0000000960000000800", 0x0, 0x2}) 00:10:55 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TIOCL_GETMOUSEREPORTING(r0, 0x541c, &(0x7f0000000000)) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) r3 = openat$urandom(0xffffffffffffff9c, &(0x7f00000000c0), 0x280, 0x0) copy_file_range(r2, 0x0, r3, &(0x7f0000000100)=0x20, 0x4, 0x0) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TIOCL_GETMOUSEREPORTING(r0, 0x541c, &(0x7f0000000000)) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) (async) openat$urandom(0xffffffffffffff9c, &(0x7f00000000c0), 0x280, 0x0) (async) copy_file_range(r2, 0x0, r3, &(0x7f0000000100)=0x20, 0x4, 0x0) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) 00:10:55 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000025000000960000000800", 0x0, 0x2}) 00:10:55 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000012b1000000960000000800", 0x0, 0x2}) [ 655.489514][T30384] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 655.491390][T30384] CPU: 1 PID: 30384 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 655.493752][T30384] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 655.493759][T30384] Call trace: [ 655.493762][T30384] dump_backtrace+0x1c4/0x1f0 [ 655.493773][T30384] show_stack+0x2c/0x54 [ 655.498705][T30384] dump_stack_lvl+0x104/0x16c [ 655.499655][T30384] dump_stack+0x1c/0x58 [ 655.500527][T30384] sysfs_create_dir_ns+0x148/0x168 [ 655.501633][T30384] kobject_add_internal+0x244/0x530 [ 655.502862][T30384] kobject_add+0xb8/0x130 [ 655.503771][T30384] device_add+0x248/0x958 [ 655.504738][T30384] device_register+0x28/0x38 [ 655.505730][T30384] tty_register_device_attr+0x1a8/0x320 [ 655.506878][T30384] tty_register_device+0x3c/0x50 [ 655.507920][T30384] gsm_activate_mux+0x9c/0x1f4 [ 655.508955][T30384] gsmld_ioctl+0x6cc/0x764 [ 655.509871][T30384] tty_ioctl+0x6c0/0x9dc [ 655.510804][T30384] __arm64_sys_ioctl+0xd0/0x140 [ 655.511908][T30384] el0_svc_common+0x138/0x220 [ 655.512957][T30384] do_el0_svc+0x48/0x164 [ 655.513934][T30384] el0_svc+0x58/0x150 [ 655.514807][T30384] el0t_64_sync_handler+0x84/0xf0 [ 655.515952][T30384] el0t_64_sync+0x18c/0x190 [ 655.522036][T30384] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:55 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TIOCL_GETMOUSEREPORTING(r0, 0x541c, &(0x7f0000000000)) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) (async) r3 = openat$urandom(0xffffffffffffff9c, &(0x7f00000000c0), 0x280, 0x0) copy_file_range(r2, 0x0, r3, &(0x7f0000000100)=0x20, 0x4, 0x0) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:55 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000012b2000000960000000800", 0x0, 0x2}) 00:10:55 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000b00", 0x0, 0x2}) 00:10:55 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)=0x3) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)=0x1) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:55 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 655.632197][T30398] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 655.634171][T30398] CPU: 1 PID: 30398 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 655.636478][T30398] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 655.638616][T30398] Call trace: 00:10:55 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000c00", 0x0, 0x2}) [ 655.639333][T30398] dump_backtrace+0x1c4/0x1f0 [ 655.640168][T30398] show_stack+0x2c/0x54 [ 655.641072][T30398] dump_stack_lvl+0x104/0x16c [ 655.642109][T30398] dump_stack+0x1c/0x58 [ 655.643048][T30398] sysfs_create_dir_ns+0x148/0x168 [ 655.644115][T30398] kobject_add_internal+0x244/0x530 [ 655.645261][T30398] kobject_add+0xb8/0x130 [ 655.646188][T30398] device_add+0x248/0x958 [ 655.647182][T30398] device_register+0x28/0x38 [ 655.648160][T30398] tty_register_device_attr+0x1a8/0x320 [ 655.649224][T30398] tty_register_device+0x3c/0x50 [ 655.650389][T30398] gsm_activate_mux+0x9c/0x1f4 [ 655.651493][T30398] gsmld_ioctl+0x6cc/0x764 [ 655.651504][T30398] tty_ioctl+0x6c0/0x9dc [ 655.651512][T30398] __arm64_sys_ioctl+0xd0/0x140 [ 655.651522][T30398] el0_svc_common+0x138/0x220 [ 655.651532][T30398] do_el0_svc+0x48/0x164 [ 655.651540][T30398] el0_svc+0x58/0x150 [ 655.651549][T30398] el0t_64_sync_handler+0x84/0xf0 [ 655.651559][T30398] el0t_64_sync+0x18c/0x190 [ 655.667540][T30398] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:55 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012000000960000000800", 0x0, 0x2}) 00:10:55 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:55 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000d00", 0x0, 0x2}) 00:10:55 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000e00", 0x0, 0x2}) 00:10:56 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000004412000000960000000800", 0x0, 0x2}) 00:10:56 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000048000000960000000800", 0x0, 0x2}) 00:10:56 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008001100", 0x0, 0x2}) 00:10:56 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000004512000000960000000800", 0x0, 0x2}) 00:10:56 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000004c000000960000000800", 0x0, 0x2}) 00:10:56 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) (async, rerun: 32) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async, rerun: 32) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) (async) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)=0x3) (async) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)=0x1) (async, rerun: 32) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) (rerun: 32) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:56 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000012b3000000960000000800", 0x0, 0x2}) 00:10:56 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)=0x3) (async, rerun: 64) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)=0x1) (rerun: 64) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:56 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000012b4000000960000000800", 0x0, 0x2}) [ 656.281460][T30438] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 656.283217][T30438] CPU: 1 PID: 30438 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 656.285284][T30438] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 656.287348][T30438] Call trace: [ 656.288072][T30438] dump_backtrace+0x1c4/0x1f0 [ 656.289160][T30438] show_stack+0x2c/0x54 [ 656.290160][T30438] dump_stack_lvl+0x104/0x16c [ 656.291155][T30438] dump_stack+0x1c/0x58 [ 656.292123][T30438] sysfs_create_dir_ns+0x148/0x168 [ 656.293194][T30438] kobject_add_internal+0x244/0x530 [ 656.294305][T30438] kobject_add+0xb8/0x130 [ 656.295483][T30438] device_add+0x248/0x958 [ 656.296480][T30438] device_register+0x28/0x38 [ 656.297502][T30438] tty_register_device_attr+0x1a8/0x320 [ 656.298716][T30438] tty_register_device+0x3c/0x50 [ 656.299938][T30438] gsm_activate_mux+0x9c/0x1f4 [ 656.301020][T30438] gsmld_ioctl+0x6cc/0x764 [ 656.302008][T30438] tty_ioctl+0x6c0/0x9dc [ 656.303058][T30438] __arm64_sys_ioctl+0xd0/0x140 [ 656.304159][T30438] el0_svc_common+0x138/0x220 [ 656.305148][T30438] do_el0_svc+0x48/0x164 [ 656.306111][T30438] el0_svc+0x58/0x150 [ 656.307010][T30438] el0t_64_sync_handler+0x84/0xf0 [ 656.308140][T30438] el0t_64_sync+0x18c/0x190 [ 656.310273][T30439] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 656.312242][T30439] CPU: 1 PID: 30439 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 656.314851][T30439] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 656.316928][T30439] Call trace: [ 656.317616][T30439] dump_backtrace+0x1c4/0x1f0 [ 656.318643][T30439] show_stack+0x2c/0x54 [ 656.319470][T30439] dump_stack_lvl+0x104/0x16c [ 656.320486][T30439] dump_stack+0x1c/0x58 [ 656.321333][T30439] sysfs_create_dir_ns+0x148/0x168 [ 656.322464][T30439] kobject_add_internal+0x244/0x530 [ 656.323656][T30439] kobject_add+0xb8/0x130 [ 656.324604][T30439] device_add+0x248/0x958 [ 656.325630][T30439] device_register+0x28/0x38 [ 656.326609][T30439] tty_register_device_attr+0x1a8/0x320 [ 656.327778][T30439] tty_register_device+0x3c/0x50 [ 656.328802][T30439] gsm_activate_mux+0x9c/0x1f4 [ 656.329955][T30439] gsmld_ioctl+0x6cc/0x764 [ 656.331000][T30439] tty_ioctl+0x6c0/0x9dc [ 656.331937][T30439] __arm64_sys_ioctl+0xd0/0x140 [ 656.332940][T30439] el0_svc_common+0x138/0x220 [ 656.333953][T30439] do_el0_svc+0x48/0x164 [ 656.334854][T30439] el0_svc+0x58/0x150 [ 656.335701][T30439] el0t_64_sync_handler+0x84/0xf0 [ 656.336807][T30439] el0t_64_sync+0x18c/0x190 [ 656.343213][T30438] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. [ 656.350802][T30439] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:56 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:56 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:56 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000012b5000000960000000800", 0x0, 0x2}) 00:10:56 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000012b6000000960000000800", 0x0, 0x2}) 00:10:56 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000200", 0x0, 0x2}) 00:10:56 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008001200", 0x0, 0x2}) 00:10:56 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000004612000000960000000800", 0x0, 0x2}) 00:10:56 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000012b7000000960000000800", 0x0, 0x2}) 00:10:56 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000300", 0x0, 0x2}) 00:10:56 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000005c000000960000000800", 0x0, 0x2}) 00:10:56 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000400", 0x0, 0x2}) 00:10:56 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000004712000000960000000800", 0x0, 0x2}) 00:10:56 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000500", 0x0, 0x2}) [ 656.857663][T30465] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 656.860300][T30466] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 656.862370][T30466] CPU: 1 PID: 30466 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 656.864542][T30466] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 656.866724][T30466] Call trace: [ 656.866728][T30466] dump_backtrace+0x1c4/0x1f0 [ 656.866740][T30466] show_stack+0x2c/0x54 [ 656.866748][T30466] dump_stack_lvl+0x104/0x16c [ 656.870226][T30466] dump_stack+0x1c/0x58 [ 656.871155][T30466] sysfs_create_dir_ns+0x148/0x168 [ 656.872222][T30466] kobject_add_internal+0x244/0x530 [ 656.873310][T30466] kobject_add+0xb8/0x130 [ 656.873319][T30466] device_add+0x248/0x958 [ 656.873328][T30466] device_register+0x28/0x38 [ 656.873335][T30466] tty_register_device_attr+0x1a8/0x320 [ 656.873345][T30466] tty_register_device+0x3c/0x50 [ 656.873360][T30466] gsm_activate_mux+0x9c/0x1f4 [ 656.873369][T30466] gsmld_ioctl+0x6cc/0x764 [ 656.873377][T30466] tty_ioctl+0x6c0/0x9dc [ 656.873385][T30466] __arm64_sys_ioctl+0xd0/0x140 [ 656.873395][T30466] el0_svc_common+0x138/0x220 [ 656.873405][T30466] do_el0_svc+0x48/0x164 [ 656.873413][T30466] el0_svc+0x58/0x150 [ 656.873422][T30466] el0t_64_sync_handler+0x84/0xf0 [ 656.873431][T30466] el0t_64_sync+0x18c/0x190 [ 656.874967][T30465] CPU: 1 PID: 30465 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 656.874979][T30465] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 656.874984][T30465] Call trace: [ 656.874986][T30465] dump_backtrace+0x1c4/0x1f0 [ 656.874994][T30465] show_stack+0x2c/0x54 [ 656.875001][T30465] dump_stack_lvl+0x104/0x16c [ 656.875009][T30465] dump_stack+0x1c/0x58 [ 656.875017][T30465] sysfs_create_dir_ns+0x148/0x168 [ 656.875026][T30465] kobject_add_internal+0x244/0x530 [ 656.875034][T30465] kobject_add+0xb8/0x130 [ 656.875041][T30465] device_add+0x248/0x958 [ 656.875048][T30465] device_register+0x28/0x38 [ 656.875054][T30465] tty_register_device_attr+0x1a8/0x320 [ 656.875064][T30465] tty_register_device+0x3c/0x50 [ 656.875072][T30465] gsm_activate_mux+0x9c/0x1f4 [ 656.875085][T30465] gsmld_ioctl+0x6cc/0x764 [ 656.875093][T30465] tty_ioctl+0x6c0/0x9dc [ 656.875101][T30465] __arm64_sys_ioctl+0xd0/0x140 [ 656.875110][T30465] el0_svc_common+0x138/0x220 [ 656.875119][T30465] do_el0_svc+0x48/0x164 [ 656.875128][T30465] el0_svc+0x58/0x150 [ 656.875136][T30465] el0t_64_sync_handler+0x84/0xf0 [ 656.875145][T30465] el0t_64_sync+0x18c/0x190 [ 656.875445][T30465] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. [ 656.885067][T30466] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:56 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) 00:10:56 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000004812000000960000000800", 0x0, 0x2}) 00:10:56 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000600", 0x0, 0x2}) 00:10:57 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000700", 0x0, 0x2}) [ 657.054545][T30478] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 657.058695][T30478] CPU: 1 PID: 30478 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 657.060815][T30478] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 657.063054][T30478] Call trace: [ 657.063787][T30478] dump_backtrace+0x1c4/0x1f0 [ 657.064790][T30478] show_stack+0x2c/0x54 [ 657.065676][T30478] dump_stack_lvl+0x104/0x16c [ 657.066699][T30478] dump_stack+0x1c/0x58 [ 657.067548][T30478] sysfs_create_dir_ns+0x148/0x168 [ 657.068696][T30478] kobject_add_internal+0x244/0x530 [ 657.069879][T30478] kobject_add+0xb8/0x130 [ 657.070780][T30478] device_add+0x248/0x958 [ 657.071716][T30478] device_register+0x28/0x38 [ 657.071725][T30478] tty_register_device_attr+0x1a8/0x320 [ 657.071734][T30478] tty_register_device+0x3c/0x50 [ 657.071742][T30478] gsm_activate_mux+0x9c/0x1f4 [ 657.071750][T30478] gsmld_ioctl+0x6cc/0x764 [ 657.071757][T30478] tty_ioctl+0x6c0/0x9dc [ 657.071764][T30478] __arm64_sys_ioctl+0xd0/0x140 [ 657.071772][T30478] el0_svc_common+0x138/0x220 [ 657.071781][T30478] do_el0_svc+0x48/0x164 [ 657.071788][T30478] el0_svc+0x58/0x150 [ 657.071796][T30478] el0t_64_sync_handler+0x84/0xf0 [ 657.071804][T30478] el0t_64_sync+0x18c/0x190 [ 657.088484][T30478] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:57 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008161200", 0x0, 0x2}) 00:10:57 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000004912000000960000000800", 0x0, 0x2}) [ 657.228576][T30489] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 657.230452][T30489] CPU: 1 PID: 30489 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 657.232455][T30489] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 657.234463][T30489] Call trace: [ 657.235151][T30489] dump_backtrace+0x1c4/0x1f0 [ 657.236159][T30489] show_stack+0x2c/0x54 [ 657.237082][T30489] dump_stack_lvl+0x104/0x16c [ 657.238096][T30489] dump_stack+0x1c/0x58 [ 657.238985][T30489] sysfs_create_dir_ns+0x148/0x168 [ 657.240087][T30489] kobject_add_internal+0x244/0x530 [ 657.241255][T30489] kobject_add+0xb8/0x130 [ 657.242219][T30489] device_add+0x248/0x958 [ 657.243203][T30489] device_register+0x28/0x38 [ 657.244142][T30489] tty_register_device_attr+0x1a8/0x320 [ 657.245264][T30489] tty_register_device+0x3c/0x50 [ 657.246266][T30489] gsm_activate_mux+0x9c/0x1f4 [ 657.247325][T30489] gsmld_ioctl+0x6cc/0x764 [ 657.248218][T30489] tty_ioctl+0x6c0/0x9dc [ 657.249166][T30489] __arm64_sys_ioctl+0xd0/0x140 [ 657.250022][T30489] el0_svc_common+0x138/0x220 [ 657.251043][T30489] do_el0_svc+0x48/0x164 [ 657.251971][T30489] el0_svc+0x58/0x150 [ 657.252767][T30489] el0t_64_sync_handler+0x84/0xf0 [ 657.253834][T30489] el0t_64_sync+0x18c/0x190 [ 657.259547][T30489] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:57 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000800", 0x0, 0x2}) 00:10:57 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008171200", 0x0, 0x2}) 00:10:57 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000ff000000960000000800", 0x0, 0x2}) 00:10:57 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000068000000960000000800", 0x0, 0x2}) 00:10:57 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000900", 0x0, 0x2}) 00:10:57 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000ffffe00000960000000800", 0x0, 0x2}) [ 657.422500][T30503] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 657.428344][T30503] CPU: 1 PID: 30503 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 657.430564][T30503] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 657.432733][T30503] Call trace: [ 657.433448][T30503] dump_backtrace+0x1c4/0x1f0 [ 657.434489][T30503] show_stack+0x2c/0x54 [ 657.435388][T30503] dump_stack_lvl+0x104/0x16c [ 657.436486][T30503] dump_stack+0x1c/0x58 [ 657.437426][T30503] sysfs_create_dir_ns+0x148/0x168 [ 657.438515][T30503] kobject_add_internal+0x244/0x530 [ 657.439736][T30503] kobject_add+0xb8/0x130 [ 657.440663][T30503] device_add+0x248/0x958 [ 657.441562][T30503] device_register+0x28/0x38 [ 657.442620][T30503] tty_register_device_attr+0x1a8/0x320 [ 657.443857][T30503] tty_register_device+0x3c/0x50 [ 657.444969][T30503] gsm_activate_mux+0x9c/0x1f4 [ 657.445990][T30503] gsmld_ioctl+0x6cc/0x764 [ 657.446986][T30503] tty_ioctl+0x6c0/0x9dc [ 657.447879][T30503] __arm64_sys_ioctl+0xd0/0x140 [ 657.448944][T30503] el0_svc_common+0x138/0x220 [ 657.449946][T30503] do_el0_svc+0x48/0x164 [ 657.450896][T30503] el0_svc+0x58/0x150 [ 657.451809][T30503] el0t_64_sync_handler+0x84/0xf0 [ 657.452822][T30503] el0t_64_sync+0x18c/0x190 [ 657.477195][T30503] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:57 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async, rerun: 64) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (rerun: 64) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async, rerun: 64) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (rerun: 64) 00:10:57 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000a00", 0x0, 0x2}) 00:10:57 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000100960000000800", 0x0, 0x2}) 00:10:57 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000b00", 0x0, 0x2}) 00:10:57 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000200960000000800", 0x0, 0x2}) 00:10:57 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000004a12000000960000000800", 0x0, 0x2}) 00:10:57 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000300960000000800", 0x0, 0x2}) 00:10:57 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008191200", 0x0, 0x2}) 00:10:57 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000c00", 0x0, 0x2}) 00:10:58 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000004b12000000960000000800", 0x0, 0x2}) 00:10:58 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000d00", 0x0, 0x2}) 00:10:58 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000006c000000960000000800", 0x0, 0x2}) 00:10:58 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) mmap(&(0x7f0000ffb000/0x2000)=nil, 0x2000, 0x8, 0x100010, r1, 0x33758000) 00:10:58 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000e00", 0x0, 0x2}) 00:10:58 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008001000", 0x0, 0x2}) [ 658.084450][T30536] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 658.086606][T30536] CPU: 1 PID: 30536 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 658.089002][T30536] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 658.091180][T30536] Call trace: [ 658.091835][T30536] dump_backtrace+0x1c4/0x1f0 [ 658.092910][T30536] show_stack+0x2c/0x54 [ 658.093862][T30536] dump_stack_lvl+0x104/0x16c [ 658.094922][T30536] dump_stack+0x1c/0x58 [ 658.095882][T30536] sysfs_create_dir_ns+0x148/0x168 [ 658.097010][T30536] kobject_add_internal+0x244/0x530 [ 658.098226][T30536] kobject_add+0xb8/0x130 [ 658.099150][T30536] device_add+0x248/0x958 [ 658.100120][T30536] device_register+0x28/0x38 [ 658.101132][T30536] tty_register_device_attr+0x1a8/0x320 [ 658.102335][T30536] tty_register_device+0x3c/0x50 [ 658.103445][T30536] gsm_activate_mux+0x9c/0x1f4 [ 658.104533][T30536] gsmld_ioctl+0x6cc/0x764 [ 658.105556][T30536] tty_ioctl+0x6c0/0x9dc [ 658.106523][T30536] __arm64_sys_ioctl+0xd0/0x140 [ 658.107622][T30536] el0_svc_common+0x138/0x220 [ 658.108657][T30536] do_el0_svc+0x48/0x164 [ 658.109493][T30536] el0_svc+0x58/0x150 [ 658.110952][T30536] el0t_64_sync_handler+0x84/0xf0 [ 658.112063][T30536] el0t_64_sync+0x18c/0x190 [ 658.114474][T30537] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 658.116151][T30537] CPU: 1 PID: 30537 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 658.118409][T30537] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 658.120491][T30537] Call trace: [ 658.121182][T30537] dump_backtrace+0x1c4/0x1f0 [ 658.122131][T30537] show_stack+0x2c/0x54 [ 658.123032][T30537] dump_stack_lvl+0x104/0x16c [ 658.124101][T30537] dump_stack+0x1c/0x58 [ 658.125000][T30537] sysfs_create_dir_ns+0x148/0x168 [ 658.126102][T30537] kobject_add_internal+0x244/0x530 [ 658.127277][T30537] kobject_add+0xb8/0x130 [ 658.128127][T30537] device_add+0x248/0x958 [ 658.129109][T30537] device_register+0x28/0x38 [ 658.130125][T30537] tty_register_device_attr+0x1a8/0x320 [ 658.131390][T30537] tty_register_device+0x3c/0x50 [ 658.132455][T30537] gsm_activate_mux+0x9c/0x1f4 [ 658.133563][T30537] gsmld_ioctl+0x6cc/0x764 [ 658.134554][T30537] tty_ioctl+0x6c0/0x9dc [ 658.135255][T30537] __arm64_sys_ioctl+0xd0/0x140 [ 658.136067][T30537] el0_svc_common+0x138/0x220 [ 658.136856][T30537] do_el0_svc+0x48/0x164 [ 658.137572][T30537] el0_svc+0x58/0x150 [ 658.138232][T30537] el0t_64_sync_handler+0x84/0xf0 [ 658.139462][T30537] el0t_64_sync+0x18c/0x190 00:10:58 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) mmap(&(0x7f0000ffb000/0x2000)=nil, 0x2000, 0x8, 0x100010, r1, 0x33758000) [ 658.147038][T30536] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. [ 658.166124][T30537] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:58 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) mmap(&(0x7f0000ffb000/0x2000)=nil, 0x2000, 0x8, 0x100010, r1, 0x33758000) 00:10:58 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000400960000000800", 0x0, 0x2}) 00:10:58 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008001100", 0x0, 0x2}) [ 658.257382][T30550] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 658.259468][T30550] CPU: 0 PID: 30550 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 658.261678][T30550] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 658.263898][T30550] Call trace: [ 658.264622][T30550] dump_backtrace+0x1c4/0x1f0 [ 658.265618][T30550] show_stack+0x2c/0x54 [ 658.266557][T30550] dump_stack_lvl+0x104/0x16c [ 658.267489][T30550] dump_stack+0x1c/0x58 [ 658.268327][T30550] sysfs_create_dir_ns+0x148/0x168 [ 658.269358][T30550] kobject_add_internal+0x244/0x530 [ 658.270532][T30550] kobject_add+0xb8/0x130 [ 658.271438][T30550] device_add+0x248/0x958 [ 658.272327][T30550] device_register+0x28/0x38 [ 658.273303][T30550] tty_register_device_attr+0x1a8/0x320 [ 658.274428][T30550] tty_register_device+0x3c/0x50 [ 658.275461][T30550] gsm_activate_mux+0x9c/0x1f4 [ 658.276469][T30550] gsmld_ioctl+0x6cc/0x764 [ 658.277549][T30550] tty_ioctl+0x6c0/0x9dc [ 658.278445][T30550] __arm64_sys_ioctl+0xd0/0x140 [ 658.279555][T30550] el0_svc_common+0x138/0x220 [ 658.280509][T30550] do_el0_svc+0x48/0x164 [ 658.281336][T30550] el0_svc+0x58/0x150 [ 658.282304][T30550] el0t_64_sync_handler+0x84/0xf0 [ 658.283333][T30550] el0t_64_sync+0x18c/0x190 [ 658.293443][T30550] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:58 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008121600", 0x0, 0x2}) 00:10:58 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008001200", 0x0, 0x2}) 00:10:58 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000500960000000800", 0x0, 0x2}) 00:10:58 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008002500", 0x0, 0x2}) 00:10:58 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000074000000960000000800", 0x0, 0x2}) 00:10:58 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000004c12000000960000000800", 0x0, 0x2}) 00:10:58 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000600960000000800", 0x0, 0x2}) 00:10:58 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008005c00", 0x0, 0x2}) [ 658.761394][T30568] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 658.763248][T30568] CPU: 1 PID: 30568 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 658.763259][T30568] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 658.763265][T30568] Call trace: [ 658.763267][T30568] dump_backtrace+0x1c4/0x1f0 [ 658.763279][T30568] show_stack+0x2c/0x54 [ 658.763286][T30568] dump_stack_lvl+0x104/0x16c [ 658.763296][T30568] dump_stack+0x1c/0x58 [ 658.763304][T30568] sysfs_create_dir_ns+0x148/0x168 [ 658.763314][T30568] kobject_add_internal+0x244/0x530 [ 658.763323][T30568] kobject_add+0xb8/0x130 [ 658.763330][T30568] device_add+0x248/0x958 [ 658.763337][T30568] device_register+0x28/0x38 [ 658.763344][T30568] tty_register_device_attr+0x1a8/0x320 [ 658.763364][T30568] tty_register_device+0x3c/0x50 [ 658.763372][T30568] gsm_activate_mux+0x9c/0x1f4 [ 658.763382][T30568] gsmld_ioctl+0x6cc/0x764 [ 658.763390][T30568] tty_ioctl+0x6c0/0x9dc [ 658.763398][T30568] __arm64_sys_ioctl+0xd0/0x140 [ 658.763408][T30568] el0_svc_common+0x138/0x220 [ 658.763417][T30568] do_el0_svc+0x48/0x164 [ 658.763425][T30568] el0_svc+0x58/0x150 [ 658.763434][T30568] el0t_64_sync_handler+0x84/0xf0 [ 658.763443][T30568] el0t_64_sync+0x18c/0x190 [ 658.763456][T30568] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. [ 658.820970][T30570] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 658.828002][T30570] CPU: 0 PID: 30570 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 658.830185][T30570] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 658.832437][T30570] Call trace: [ 658.833143][T30570] dump_backtrace+0x1c4/0x1f0 [ 658.834245][T30570] show_stack+0x2c/0x54 [ 658.835237][T30570] dump_stack_lvl+0x104/0x16c [ 658.836296][T30570] dump_stack+0x1c/0x58 [ 658.837225][T30570] sysfs_create_dir_ns+0x148/0x168 [ 658.838427][T30570] kobject_add_internal+0x244/0x530 [ 658.839497][T30570] kobject_add+0xb8/0x130 [ 658.840464][T30570] device_add+0x248/0x958 [ 658.841471][T30570] device_register+0x28/0x38 [ 658.842474][T30570] tty_register_device_attr+0x1a8/0x320 [ 658.843666][T30570] tty_register_device+0x3c/0x50 [ 658.844646][T30570] gsm_activate_mux+0x9c/0x1f4 [ 658.845860][T30570] gsmld_ioctl+0x6cc/0x764 [ 658.846771][T30570] tty_ioctl+0x6c0/0x9dc [ 658.847723][T30570] __arm64_sys_ioctl+0xd0/0x140 [ 658.848774][T30570] el0_svc_common+0x138/0x220 [ 658.849923][T30570] do_el0_svc+0x48/0x164 [ 658.850891][T30570] el0_svc+0x58/0x150 [ 658.851729][T30570] el0t_64_sync_handler+0x84/0xf0 [ 658.852924][T30570] el0t_64_sync+0x18c/0x190 00:10:58 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000700960000000800", 0x0, 0x2}) [ 658.881448][T30570] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:58 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) r1 = accept4$phonet_pipe(0xffffffffffffffff, &(0x7f0000000000), &(0x7f00000000c0)=0x10, 0x80000) r2 = bpf$OBJ_GET_PROG(0x7, &(0x7f0000000140)={&(0x7f0000000100)='./file0\x00', 0x0, 0x10}, 0x10) ioctl$F2FS_IOC_MOVE_RANGE(r1, 0xc020f509, &(0x7f0000000180)={r2, 0x93d6, 0x2, 0x800}) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:58 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000003", 0x0, 0x2}) 00:10:58 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000800960000000800", 0x0, 0x2}) 00:10:59 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008121700", 0x0, 0x2}) 00:10:59 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000005", 0x0, 0x2}) 00:10:59 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) r1 = accept4$phonet_pipe(0xffffffffffffffff, &(0x7f0000000000), &(0x7f00000000c0)=0x10, 0x80000) r2 = bpf$OBJ_GET_PROG(0x7, &(0x7f0000000140)={&(0x7f0000000100)='./file0\x00', 0x0, 0x10}, 0x10) ioctl$F2FS_IOC_MOVE_RANGE(r1, 0xc020f509, &(0x7f0000000180)={r2, 0x93d6, 0x2, 0x800}) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) accept4$phonet_pipe(0xffffffffffffffff, &(0x7f0000000000), &(0x7f00000000c0)=0x10, 0x80000) (async) bpf$OBJ_GET_PROG(0x7, &(0x7f0000000140)={&(0x7f0000000100)='./file0\x00', 0x0, 0x10}, 0x10) (async) ioctl$F2FS_IOC_MOVE_RANGE(r1, 0xc020f509, &(0x7f0000000180)={r2, 0x93d6, 0x2, 0x800}) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) 00:10:59 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000006", 0x0, 0x2}) [ 659.153459][T30589] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 659.173230][T30589] CPU: 0 PID: 30589 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 659.175655][T30589] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 659.177811][T30589] Call trace: [ 659.178532][T30589] dump_backtrace+0x1c4/0x1f0 [ 659.179514][T30589] show_stack+0x2c/0x54 [ 659.180442][T30589] dump_stack_lvl+0x104/0x16c [ 659.181451][T30589] dump_stack+0x1c/0x58 [ 659.182406][T30589] sysfs_create_dir_ns+0x148/0x168 [ 659.183608][T30589] kobject_add_internal+0x244/0x530 [ 659.184763][T30589] kobject_add+0xb8/0x130 [ 659.185688][T30589] device_add+0x248/0x958 [ 659.186722][T30589] device_register+0x28/0x38 [ 659.187791][T30589] tty_register_device_attr+0x1a8/0x320 [ 659.189038][T30589] tty_register_device+0x3c/0x50 [ 659.190159][T30589] gsm_activate_mux+0x9c/0x1f4 [ 659.191273][T30589] gsmld_ioctl+0x6cc/0x764 [ 659.192256][T30589] tty_ioctl+0x6c0/0x9dc [ 659.193131][T30589] __arm64_sys_ioctl+0xd0/0x140 [ 659.194192][T30589] el0_svc_common+0x138/0x220 [ 659.195279][T30589] do_el0_svc+0x48/0x164 [ 659.196192][T30589] el0_svc+0x58/0x150 [ 659.197115][T30589] el0t_64_sync_handler+0x84/0xf0 [ 659.198269][T30589] el0t_64_sync+0x18c/0x190 [ 659.207759][T30589] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:59 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000007a000000960000000800", 0x0, 0x2}) 00:10:59 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008121900", 0x0, 0x2}) 00:10:59 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000007", 0x0, 0x2}) 00:10:59 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000004d12000000960000000800", 0x0, 0x2}) [ 659.294498][T30598] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 659.296307][T30598] CPU: 1 PID: 30598 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 659.296318][T30598] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 659.296323][T30598] Call trace: [ 659.296326][T30598] dump_backtrace+0x1c4/0x1f0 [ 659.296335][T30598] show_stack+0x2c/0x54 [ 659.296342][T30598] dump_stack_lvl+0x104/0x16c [ 659.296358][T30598] dump_stack+0x1c/0x58 [ 659.296366][T30598] sysfs_create_dir_ns+0x148/0x168 [ 659.296376][T30598] kobject_add_internal+0x244/0x530 [ 659.296385][T30598] kobject_add+0xb8/0x130 [ 659.296391][T30598] device_add+0x248/0x958 [ 659.296399][T30598] device_register+0x28/0x38 [ 659.296406][T30598] tty_register_device_attr+0x1a8/0x320 [ 659.296416][T30598] tty_register_device+0x3c/0x50 [ 659.296424][T30598] gsm_activate_mux+0x9c/0x1f4 [ 659.296433][T30598] gsmld_ioctl+0x6cc/0x764 [ 659.296441][T30598] tty_ioctl+0x6c0/0x9dc [ 659.296449][T30598] __arm64_sys_ioctl+0xd0/0x140 [ 659.296459][T30598] el0_svc_common+0x138/0x220 [ 659.296468][T30598] do_el0_svc+0x48/0x164 [ 659.296477][T30598] el0_svc+0x58/0x150 [ 659.296485][T30598] el0t_64_sync_handler+0x84/0xf0 [ 659.296494][T30598] el0t_64_sync+0x18c/0x190 [ 659.296508][T30598] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:59 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008002500", 0x0, 0x2}) 00:10:59 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000004e12000000960000000800", 0x0, 0x2}) 00:10:59 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000009", 0x0, 0x2}) 00:10:59 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000900960000000800", 0x0, 0x2}) 00:10:59 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008004800", 0x0, 0x2}) [ 659.464607][T30611] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 659.466599][T30611] CPU: 1 PID: 30611 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 659.466611][T30611] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 659.466616][T30611] Call trace: [ 659.466618][T30611] dump_backtrace+0x1c4/0x1f0 [ 659.466629][T30611] show_stack+0x2c/0x54 [ 659.466636][T30611] dump_stack_lvl+0x104/0x16c [ 659.466646][T30611] dump_stack+0x1c/0x58 [ 659.466654][T30611] sysfs_create_dir_ns+0x148/0x168 [ 659.476706][T30611] kobject_add_internal+0x244/0x530 [ 659.477832][T30611] kobject_add+0xb8/0x130 [ 659.478783][T30611] device_add+0x248/0x958 [ 659.479636][T30611] device_register+0x28/0x38 [ 659.480644][T30611] tty_register_device_attr+0x1a8/0x320 00:10:59 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800000a", 0x0, 0x2}) [ 659.480656][T30611] tty_register_device+0x3c/0x50 [ 659.480664][T30611] gsm_activate_mux+0x9c/0x1f4 [ 659.480674][T30611] gsmld_ioctl+0x6cc/0x764 [ 659.480682][T30611] tty_ioctl+0x6c0/0x9dc [ 659.480689][T30611] __arm64_sys_ioctl+0xd0/0x140 [ 659.480699][T30611] el0_svc_common+0x138/0x220 [ 659.480708][T30611] do_el0_svc+0x48/0x164 [ 659.480716][T30611] el0_svc+0x58/0x150 [ 659.480724][T30611] el0t_64_sync_handler+0x84/0xf0 [ 659.480734][T30611] el0t_64_sync+0x18c/0x190 [ 659.503429][T30611] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:59 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) r1 = accept4$phonet_pipe(0xffffffffffffffff, &(0x7f0000000000), &(0x7f00000000c0)=0x10, 0x80000) r2 = bpf$OBJ_GET_PROG(0x7, &(0x7f0000000140)={&(0x7f0000000100)='./file0\x00', 0x0, 0x10}, 0x10) ioctl$F2FS_IOC_MOVE_RANGE(r1, 0xc020f509, &(0x7f0000000180)={r2, 0x93d6, 0x2, 0x800}) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:10:59 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800000b", 0x0, 0x2}) [ 659.622121][T30624] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 659.628992][T30624] CPU: 1 PID: 30624 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 659.631194][T30624] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 659.633569][T30624] Call trace: [ 659.634339][T30624] dump_backtrace+0x1c4/0x1f0 [ 659.635410][T30624] show_stack+0x2c/0x54 [ 659.636281][T30624] dump_stack_lvl+0x104/0x16c [ 659.637253][T30624] dump_stack+0x1c/0x58 [ 659.638218][T30624] sysfs_create_dir_ns+0x148/0x168 [ 659.639323][T30624] kobject_add_internal+0x244/0x530 [ 659.640406][T30624] kobject_add+0xb8/0x130 [ 659.641406][T30624] device_add+0x248/0x958 [ 659.642327][T30624] device_register+0x28/0x38 [ 659.643378][T30624] tty_register_device_attr+0x1a8/0x320 [ 659.644681][T30624] tty_register_device+0x3c/0x50 [ 659.645723][T30624] gsm_activate_mux+0x9c/0x1f4 [ 659.646796][T30624] gsmld_ioctl+0x6cc/0x764 [ 659.647830][T30624] tty_ioctl+0x6c0/0x9dc [ 659.648807][T30624] __arm64_sys_ioctl+0xd0/0x140 [ 659.649856][T30624] el0_svc_common+0x138/0x220 [ 659.650876][T30624] do_el0_svc+0x48/0x164 [ 659.651846][T30624] el0_svc+0x58/0x150 [ 659.652692][T30624] el0t_64_sync_handler+0x84/0xf0 [ 659.653766][T30624] el0t_64_sync+0x18c/0x190 [ 659.655846][T30624] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:10:59 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008004c00", 0x0, 0x2}) 00:10:59 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800000c", 0x0, 0x2}) 00:10:59 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000030000960000000800", 0x0, 0x2}) 00:10:59 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800000d", 0x0, 0x2}) 00:10:59 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000050000960000000800", 0x0, 0x2}) 00:10:59 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800000e", 0x0, 0x2}) 00:10:59 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000060000960000000800", 0x0, 0x2}) 00:11:00 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000004f12000000960000000800", 0x0, 0x2}) 00:11:00 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000011", 0x0, 0x2}) 00:11:00 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000a00960000000800", 0x0, 0x2}) [ 660.107743][T30647] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 660.109531][T30647] CPU: 0 PID: 30647 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 660.111584][T30647] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 660.113782][T30647] Call trace: [ 660.114434][T30647] dump_backtrace+0x1c4/0x1f0 [ 660.115388][T30647] show_stack+0x2c/0x54 [ 660.116315][T30647] dump_stack_lvl+0x104/0x16c [ 660.117212][T30647] dump_stack+0x1c/0x58 [ 660.118157][T30647] sysfs_create_dir_ns+0x148/0x168 [ 660.119252][T30647] kobject_add_internal+0x244/0x530 [ 660.120409][T30647] kobject_add+0xb8/0x130 [ 660.121372][T30647] device_add+0x248/0x958 [ 660.122320][T30647] device_register+0x28/0x38 [ 660.123267][T30647] tty_register_device_attr+0x1a8/0x320 [ 660.124427][T30647] tty_register_device+0x3c/0x50 [ 660.125600][T30647] gsm_activate_mux+0x9c/0x1f4 [ 660.126625][T30647] gsmld_ioctl+0x6cc/0x764 [ 660.127617][T30647] tty_ioctl+0x6c0/0x9dc [ 660.128501][T30647] __arm64_sys_ioctl+0xd0/0x140 [ 660.129592][T30647] el0_svc_common+0x138/0x220 [ 660.130555][T30647] do_el0_svc+0x48/0x164 [ 660.131556][T30647] el0_svc+0x58/0x150 [ 660.132366][T30647] el0t_64_sync_handler+0x84/0xf0 [ 660.133367][T30647] el0t_64_sync+0x18c/0x190 [ 660.136878][T30647] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:00 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000000)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800"}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:00 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000012", 0x0, 0x2}) 00:11:00 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008005c00", 0x0, 0x2}) 00:11:00 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000b00960000000800", 0x0, 0x2}) 00:11:00 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000025", 0x0, 0x2}) 00:11:00 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800005c", 0x0, 0x2}) 00:11:00 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:00 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008006800", 0x0, 0x2}) 00:11:00 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000070000960000000800", 0x0, 0x2}) 00:11:00 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000005012000000960000000800", 0x0, 0x2}) 00:11:00 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008006c00", 0x0, 0x2}) 00:11:00 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:00 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:00 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000005112000000960000000800", 0x0, 0x2}) 00:11:00 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000000)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800"}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000000)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800"}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) 00:11:00 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000c00960000000800", 0x0, 0x2}) 00:11:00 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000005212000000960000000800", 0x0, 0x2}) 00:11:00 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000000)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800"}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000000)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800"}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) 00:11:00 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000d00960000000800", 0x0, 0x2}) 00:11:00 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) r2 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000000), 0x80202, 0x0) ioctl$PIO_UNISCRNMAP(r2, 0x4b6a, &(0x7f00000000c0)="d6ce6683aa0840d5a4b960716af8637877f13a98de53187d82ce035d34342b3a2c4feec1d20da96837c0a32cfb50404d23cdf9b8eba748c7265a4e65654907fe93586b3ac1166a79684db67db6b1141e8732ffcc6884bed7c14ff127b0df1309cf20f97fa73c9ca0546dd1f2cf2787abb6cb4bab95f1c3f7b0bb3041817279e385190d0df7a83d9bf7bf1996626f7e0ac858d2eb3a55bbeeebdc39bd5de4249b89d4e4fc941337db80e02211457f8ecd") ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TCXONC(r2, 0x540a, 0x1) [ 660.816416][T30697] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 660.818440][T30697] CPU: 1 PID: 30697 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 660.820761][T30697] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 660.822815][T30697] Call trace: [ 660.823505][T30697] dump_backtrace+0x1c4/0x1f0 [ 660.824622][T30697] show_stack+0x2c/0x54 [ 660.825495][T30697] dump_stack_lvl+0x104/0x16c [ 660.826452][T30697] dump_stack+0x1c/0x58 [ 660.827386][T30697] sysfs_create_dir_ns+0x148/0x168 [ 660.828515][T30697] kobject_add_internal+0x244/0x530 [ 660.829644][T30697] kobject_add+0xb8/0x130 [ 660.830630][T30697] device_add+0x248/0x958 [ 660.830641][T30697] device_register+0x28/0x38 [ 660.830648][T30697] tty_register_device_attr+0x1a8/0x320 [ 660.830658][T30697] tty_register_device+0x3c/0x50 [ 660.830667][T30697] gsm_activate_mux+0x9c/0x1f4 [ 660.830676][T30697] gsmld_ioctl+0x6cc/0x764 [ 660.830684][T30697] tty_ioctl+0x6c0/0x9dc [ 660.830692][T30697] __arm64_sys_ioctl+0xd0/0x140 [ 660.830703][T30697] el0_svc_common+0x138/0x220 [ 660.830712][T30697] do_el0_svc+0x48/0x164 [ 660.830720][T30697] el0_svc+0x58/0x150 [ 660.830729][T30697] el0t_64_sync_handler+0x84/0xf0 [ 660.830738][T30697] el0t_64_sync+0x18c/0x190 [ 660.850887][T30697] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:01 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000090000960000000800", 0x0, 0x2}) 00:11:01 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) r2 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000000), 0x80202, 0x0) ioctl$PIO_UNISCRNMAP(r2, 0x4b6a, &(0x7f00000000c0)="d6ce6683aa0840d5a4b960716af8637877f13a98de53187d82ce035d34342b3a2c4feec1d20da96837c0a32cfb50404d23cdf9b8eba748c7265a4e65654907fe93586b3ac1166a79684db67db6b1141e8732ffcc6884bed7c14ff127b0df1309cf20f97fa73c9ca0546dd1f2cf2787abb6cb4bab95f1c3f7b0bb3041817279e385190d0df7a83d9bf7bf1996626f7e0ac858d2eb3a55bbeeebdc39bd5de4249b89d4e4fc941337db80e02211457f8ecd") ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TCXONC(r2, 0x540a, 0x1) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) openat$ptmx(0xffffffffffffff9c, &(0x7f0000000000), 0x80202, 0x0) (async) ioctl$PIO_UNISCRNMAP(r2, 0x4b6a, &(0x7f00000000c0)="d6ce6683aa0840d5a4b960716af8637877f13a98de53187d82ce035d34342b3a2c4feec1d20da96837c0a32cfb50404d23cdf9b8eba748c7265a4e65654907fe93586b3ac1166a79684db67db6b1141e8732ffcc6884bed7c14ff127b0df1309cf20f97fa73c9ca0546dd1f2cf2787abb6cb4bab95f1c3f7b0bb3041817279e385190d0df7a83d9bf7bf1996626f7e0ac858d2eb3a55bbeeebdc39bd5de4249b89d4e4fc941337db80e02211457f8ecd") (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TCXONC(r2, 0x540a, 0x1) (async) 00:11:01 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000e00960000000800", 0x0, 0x2}) 00:11:01 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008007400", 0x0, 0x2}) [ 661.141685][T30711] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 661.143705][T30711] CPU: 1 PID: 30711 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 661.146025][T30711] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 661.148231][T30711] Call trace: [ 661.149000][T30711] dump_backtrace+0x1c4/0x1f0 [ 661.149919][T30711] show_stack+0x2c/0x54 [ 661.150840][T30711] dump_stack_lvl+0x104/0x16c [ 661.151920][T30711] dump_stack+0x1c/0x58 [ 661.152851][T30711] sysfs_create_dir_ns+0x148/0x168 [ 661.153881][T30711] kobject_add_internal+0x244/0x530 [ 661.154954][T30711] kobject_add+0xb8/0x130 [ 661.155875][T30711] device_add+0x248/0x958 [ 661.156802][T30711] device_register+0x28/0x38 [ 661.157795][T30711] tty_register_device_attr+0x1a8/0x320 [ 661.158949][T30711] tty_register_device+0x3c/0x50 [ 661.159969][T30711] gsm_activate_mux+0x9c/0x1f4 [ 661.160939][T30711] gsmld_ioctl+0x6cc/0x764 [ 661.161913][T30711] tty_ioctl+0x6c0/0x9dc [ 661.162808][T30711] __arm64_sys_ioctl+0xd0/0x140 [ 661.163900][T30711] el0_svc_common+0x138/0x220 [ 661.164930][T30711] do_el0_svc+0x48/0x164 [ 661.165897][T30711] el0_svc+0x58/0x150 [ 661.166734][T30711] el0t_64_sync_handler+0x84/0xf0 [ 661.167870][T30711] el0t_64_sync+0x18c/0x190 [ 661.172782][T30711] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:01 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:01 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000a0000960000000800", 0x0, 0x2}) 00:11:01 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008007a00", 0x0, 0x2}) 00:11:01 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800ff00", 0x0, 0x2}) 00:11:01 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000005312000000960000000800", 0x0, 0x2}) 00:11:01 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:01 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008ffffe0", 0x0, 0x2}) 00:11:01 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:01 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000005412000000960000000800", 0x0, 0x2}) 00:11:01 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) r2 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000000), 0x80202, 0x0) ioctl$PIO_UNISCRNMAP(r2, 0x4b6a, &(0x7f00000000c0)="d6ce6683aa0840d5a4b960716af8637877f13a98de53187d82ce035d34342b3a2c4feec1d20da96837c0a32cfb50404d23cdf9b8eba748c7265a4e65654907fe93586b3ac1166a79684db67db6b1141e8732ffcc6884bed7c14ff127b0df1309cf20f97fa73c9ca0546dd1f2cf2787abb6cb4bab95f1c3f7b0bb3041817279e385190d0df7a83d9bf7bf1996626f7e0ac858d2eb3a55bbeeebdc39bd5de4249b89d4e4fc941337db80e02211457f8ecd") (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TCXONC(r2, 0x540a, 0x1) 00:11:01 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:01 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000005512000000960000000800", 0x0, 0x2}) 00:11:01 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000001000960000000800", 0x0, 0x2}) [ 661.778483][T30752] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 661.780239][T30752] CPU: 0 PID: 30752 Comm: syz-executor.2 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 00:11:01 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000b0000960000000800", 0x0, 0x2}) 00:11:01 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000001100960000000800", 0x0, 0x2}) 00:11:01 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$VT_OPENQRY(0xffffffffffffffff, 0x5600, &(0x7f00000000c0)) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 661.782333][T30752] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 661.784404][T30753] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 661.784476][T30752] Call trace: [ 661.784482][T30752] dump_backtrace+0x1c4/0x1f0 [ 661.788384][T30752] show_stack+0x2c/0x54 [ 661.789377][T30752] dump_stack_lvl+0x104/0x16c [ 661.790237][T30752] dump_stack+0x1c/0x58 [ 661.791141][T30752] sysfs_create_dir_ns+0x148/0x168 [ 661.792269][T30752] kobject_add_internal+0x244/0x530 [ 661.793484][T30752] kobject_add+0xb8/0x130 [ 661.794461][T30752] device_add+0x248/0x958 [ 661.795530][T30752] device_register+0x28/0x38 [ 661.796581][T30752] tty_register_device_attr+0x1a8/0x320 [ 661.796594][T30752] tty_register_device+0x3c/0x50 [ 661.796602][T30752] gsm_activate_mux+0x9c/0x1f4 [ 661.796612][T30752] gsmld_ioctl+0x6cc/0x764 [ 661.796620][T30752] tty_ioctl+0x6c0/0x9dc [ 661.796627][T30752] __arm64_sys_ioctl+0xd0/0x140 [ 661.796637][T30752] el0_svc_common+0x138/0x220 [ 661.796646][T30752] do_el0_svc+0x48/0x164 [ 661.796655][T30752] el0_svc+0x58/0x150 [ 661.796663][T30752] el0t_64_sync_handler+0x84/0xf0 [ 661.796672][T30752] el0t_64_sync+0x18c/0x190 [ 661.796681][T30753] CPU: 1 PID: 30753 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 661.796695][T30753] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 661.796700][T30753] Call trace: [ 661.796702][T30753] dump_backtrace+0x1c4/0x1f0 [ 661.796712][T30753] show_stack+0x2c/0x54 [ 661.796719][T30753] dump_stack_lvl+0x104/0x16c [ 661.796731][T30753] dump_stack+0x1c/0x58 [ 661.796738][T30753] sysfs_create_dir_ns+0x148/0x168 [ 661.796748][T30753] kobject_add_internal+0x244/0x530 [ 661.796756][T30753] kobject_add+0xb8/0x130 [ 661.796762][T30753] device_add+0x248/0x958 [ 661.796770][T30753] device_register+0x28/0x38 [ 661.796776][T30753] tty_register_device_attr+0x1a8/0x320 [ 661.796786][T30753] tty_register_device+0x3c/0x50 [ 661.796794][T30753] gsm_activate_mux+0x9c/0x1f4 [ 661.796804][T30753] gsmld_ioctl+0x6cc/0x764 [ 661.796812][T30753] tty_ioctl+0x6c0/0x9dc [ 661.796820][T30753] __arm64_sys_ioctl+0xd0/0x140 [ 661.796829][T30753] el0_svc_common+0x138/0x220 [ 661.796838][T30753] do_el0_svc+0x48/0x164 [ 661.796847][T30753] el0_svc+0x58/0x150 [ 661.796855][T30753] el0t_64_sync_handler+0x84/0xf0 [ 661.796864][T30753] el0t_64_sync+0x18c/0x190 [ 661.803155][T30753] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. [ 661.808634][T30752] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:01 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000c0000960000000800", 0x0, 0x2}) 00:11:01 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:01 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000001200960000000800", 0x0, 0x2}) [ 661.919269][T30766] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 661.921093][T30766] CPU: 0 PID: 30766 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 661.923431][T30766] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 661.925557][T30766] Call trace: [ 661.926230][T30766] dump_backtrace+0x1c4/0x1f0 [ 661.927261][T30766] show_stack+0x2c/0x54 [ 661.928193][T30766] dump_stack_lvl+0x104/0x16c [ 661.929182][T30766] dump_stack+0x1c/0x58 [ 661.930109][T30766] sysfs_create_dir_ns+0x148/0x168 [ 661.931232][T30766] kobject_add_internal+0x244/0x530 [ 661.932452][T30766] kobject_add+0xb8/0x130 [ 661.933435][T30766] device_add+0x248/0x958 [ 661.934341][T30766] device_register+0x28/0x38 [ 661.935365][T30766] tty_register_device_attr+0x1a8/0x320 [ 661.936513][T30766] tty_register_device+0x3c/0x50 [ 661.937573][T30766] gsm_activate_mux+0x9c/0x1f4 [ 661.938565][T30766] gsmld_ioctl+0x6cc/0x764 [ 661.939587][T30766] tty_ioctl+0x6c0/0x9dc [ 661.940429][T30766] __arm64_sys_ioctl+0xd0/0x140 [ 661.941535][T30766] el0_svc_common+0x138/0x220 [ 661.942507][T30766] do_el0_svc+0x48/0x164 [ 661.943478][T30766] el0_svc+0x58/0x150 [ 661.944348][T30766] el0t_64_sync_handler+0x84/0xf0 [ 661.945391][T30766] el0t_64_sync+0x18c/0x190 00:11:01 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000002500960000000800", 0x0, 0x2}) [ 661.958734][T30766] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:01 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:02 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:02 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:02 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000005612000000960000000800", 0x0, 0x2}) 00:11:02 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000004800960000000800", 0x0, 0x2}) 00:11:02 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:02 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 662.307755][T30782] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' 00:11:02 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$VT_OPENQRY(0xffffffffffffffff, 0x5600, &(0x7f00000000c0)) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$VT_OPENQRY(0xffffffffffffffff, 0x5600, &(0x7f00000000c0)) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) [ 662.311173][T30782] CPU: 0 PID: 30782 Comm: syz-executor.2 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 662.313445][T30782] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 662.315962][T30782] Call trace: [ 662.316736][T30782] dump_backtrace+0x1c4/0x1f0 [ 662.317804][T30782] show_stack+0x2c/0x54 [ 662.318749][T30782] dump_stack_lvl+0x104/0x16c [ 662.319742][T30782] dump_stack+0x1c/0x58 [ 662.320702][T30782] sysfs_create_dir_ns+0x148/0x168 [ 662.321828][T30782] kobject_add_internal+0x244/0x530 [ 662.322996][T30782] kobject_add+0xb8/0x130 [ 662.323956][T30782] device_add+0x248/0x958 [ 662.324924][T30782] device_register+0x28/0x38 [ 662.325948][T30782] tty_register_device_attr+0x1a8/0x320 [ 662.327193][T30782] tty_register_device+0x3c/0x50 [ 662.328328][T30782] gsm_activate_mux+0x9c/0x1f4 [ 662.328339][T30782] gsmld_ioctl+0x6cc/0x764 [ 662.328348][T30782] tty_ioctl+0x6c0/0x9dc [ 662.328363][T30782] __arm64_sys_ioctl+0xd0/0x140 [ 662.328373][T30782] el0_svc_common+0x138/0x220 [ 662.328383][T30782] do_el0_svc+0x48/0x164 [ 662.328392][T30782] el0_svc+0x58/0x150 [ 662.328400][T30782] el0t_64_sync_handler+0x84/0xf0 [ 662.328410][T30782] el0t_64_sync+0x18c/0x190 [ 662.335360][T30782] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:02 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000d0000960000000800", 0x0, 0x2}) 00:11:02 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$VT_OPENQRY(0xffffffffffffffff, 0x5600, &(0x7f00000000c0)) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:02 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000005712000000960000000800", 0x0, 0x2}) 00:11:02 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) ioctl$KDFONTOP_SET(r2, 0x4b72, &(0x7f00000004c0)={0x0, 0x0, 0xf, 0x17, 0xf, &(0x7f00000000c0)="87349af1b6f9da627a08c2e6ac5df182e52b1933d32d4f5c69d981eb3d2aa101f5542bc121a8c8ae652b3632a70698104b3809374b08f5b42204fccd29b1d1ea427cb9627ba05e161a237221963ad915091fd385569c9fa3a927d06dcf3c1e37380e969a62ddc7c15e8cebe4d5ed5f421c5e5a91f6eac85d591f1ce75188c5fc9fd58f5736b55931798633c1788d406da630dd2ed93cf17bfeb84cb62d42ea11b0f564601fc0f162803b77057faf64c6be245731c96d7c7f45e1db54ae876acd6e4d87915785f3fbbc032ab971de8e3f8071b97fbbbb3763d8bd21b99833b28ad7eb5c4854747ac1648830d75e6acf0c171077cfe88533518d8aeafb1742ce9e46a6d27695dd94f349b4a2604402acc2d634cad212e8320df8811e4fc1bbb0eab97b62c4e1de583d7a7a69397b5d21414e98d404f77a45c0a9a7b7ec8759a23f297fc7ddd8d16c883df387604233228d09cf809d0e67e699a74887cf768562326597fd6bfbd2c1a2f97e8bf85db5f3d6e199c3ab2271d0a5ba9966334b10934bf72c592f6018416326b7a4514810e4d9526b5736842084d9c7edb5f7ebb61d1a61c1fba520b060c39e7dfa6c977f97e90bd9dc03a98b897127701495c3e47aaa2ac1dc1c317a3bd002ea6849c3b389e8dd2b434009b12b104cbac69011155b7e64d2492fe3d2676bf68eef434deb9f2c9ca2271896ff63c1ec294350c9f8be3bbc0c05254ea15175dd9fa8859e33ba43bbe03f204a1f39ad0f642bb81abe2f920887b1adee13a6bf27dd9268603967682636f12c5de96c346339374ac79abcc4686266f762e3b7fc2ecb11ac7f38162c6329c75f45abe1d0763d8150838e3ba9c2a4c13797e9ca61a1692e342d6708475e7ecbd1994b2e2b7c7b6ac822ffb6e82b0c5be453eb2036d1f0cb0e39e320df840064a53855cc64682285ce031afa27560cced2d6e2369efc390e4b32c5cc263a35465242bf5309ea6feacaa9b5b6d0f8a1733fe0714de8fd1254e983232696088553d306f9d895ef1ed1bad189b028bd6c8379f662e2a596807c3f1e528201af4100236bd44d652442451d8538fc4f22000346d88861e4fd642fc3ff2ebe7d5f143dcf92cb209657b9f4560d08012990437197a63e1af6b1391e9c97a9feb003c2066c6825767f7c49962b9b13c33e53827e45a0d8aad0bc931196b596a7d4d4e0314e7d9534458718c729ee4dd75dd236a05c3dd99f2a85199ec5532f5112de8c76d31fc9f6c3e3c0b9f0efde52c2c3c042acaff188a9a5e5b5e526434005800011525f99accadd88dd5267db224a5e4bde3c76a4de0a57ef82c80125a804f6d6aadc3abd7cdee7830984d194f731bd37a0422404624d877667477f9c8c986abb4d96b0b017078163459ff9166e1dc361b5b4eb485dfe4c936f1acab663029314a307997b3baa924b7868f53b6de4"}) r3 = openat$btrfs_control(0xffffffffffffff9c, &(0x7f0000000500), 0x101, 0x0) ioctl$TIOCSIG(r3, 0x40045436, 0x16) r4 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r4, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r4, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r4, 0x5412, &(0x7f0000000000)) ioctl$KDADDIO(r4, 0x4b34, 0x7fffffffffffffff) ioctl$VT_RESIZEX(r0, 0x560a, &(0x7f0000000000)={0x4, 0x7, 0x80, 0x2, 0x3, 0x2}) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:02 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000e0000960000000800", 0x0, 0x2}) [ 662.512497][T30808] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 662.514427][T30808] CPU: 1 PID: 30808 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 662.516644][T30808] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 662.518838][T30808] Call trace: [ 662.519542][T30808] dump_backtrace+0x1c4/0x1f0 [ 662.520553][T30808] show_stack+0x2c/0x54 [ 662.521458][T30808] dump_stack_lvl+0x104/0x16c [ 662.522410][T30808] dump_stack+0x1c/0x58 [ 662.523439][T30808] sysfs_create_dir_ns+0x148/0x168 [ 662.524567][T30808] kobject_add_internal+0x244/0x530 [ 662.525701][T30808] kobject_add+0xb8/0x130 [ 662.526684][T30808] device_add+0x248/0x958 [ 662.527688][T30808] device_register+0x28/0x38 [ 662.528682][T30808] tty_register_device_attr+0x1a8/0x320 [ 662.529866][T30808] tty_register_device+0x3c/0x50 [ 662.531004][T30808] gsm_activate_mux+0x9c/0x1f4 [ 662.532058][T30808] gsmld_ioctl+0x6cc/0x764 [ 662.533024][T30808] tty_ioctl+0x6c0/0x9dc [ 662.534021][T30808] __arm64_sys_ioctl+0xd0/0x140 [ 662.535157][T30808] el0_svc_common+0x138/0x220 [ 662.536108][T30808] do_el0_svc+0x48/0x164 [ 662.536958][T30808] el0_svc+0x58/0x150 [ 662.537751][T30808] el0t_64_sync_handler+0x84/0xf0 [ 662.538949][T30808] el0t_64_sync+0x18c/0x190 00:11:02 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) ioctl$KDFONTOP_SET(r2, 0x4b72, &(0x7f00000004c0)={0x0, 0x0, 0xf, 0x17, 0xf, &(0x7f00000000c0)="87349af1b6f9da627a08c2e6ac5df182e52b1933d32d4f5c69d981eb3d2aa101f5542bc121a8c8ae652b3632a70698104b3809374b08f5b42204fccd29b1d1ea427cb9627ba05e161a237221963ad915091fd385569c9fa3a927d06dcf3c1e37380e969a62ddc7c15e8cebe4d5ed5f421c5e5a91f6eac85d591f1ce75188c5fc9fd58f5736b55931798633c1788d406da630dd2ed93cf17bfeb84cb62d42ea11b0f564601fc0f162803b77057faf64c6be245731c96d7c7f45e1db54ae876acd6e4d87915785f3fbbc032ab971de8e3f8071b97fbbbb3763d8bd21b99833b28ad7eb5c4854747ac1648830d75e6acf0c171077cfe88533518d8aeafb1742ce9e46a6d27695dd94f349b4a2604402acc2d634cad212e8320df8811e4fc1bbb0eab97b62c4e1de583d7a7a69397b5d21414e98d404f77a45c0a9a7b7ec8759a23f297fc7ddd8d16c883df387604233228d09cf809d0e67e699a74887cf768562326597fd6bfbd2c1a2f97e8bf85db5f3d6e199c3ab2271d0a5ba9966334b10934bf72c592f6018416326b7a4514810e4d9526b5736842084d9c7edb5f7ebb61d1a61c1fba520b060c39e7dfa6c977f97e90bd9dc03a98b897127701495c3e47aaa2ac1dc1c317a3bd002ea6849c3b389e8dd2b434009b12b104cbac69011155b7e64d2492fe3d2676bf68eef434deb9f2c9ca2271896ff63c1ec294350c9f8be3bbc0c05254ea15175dd9fa8859e33ba43bbe03f204a1f39ad0f642bb81abe2f920887b1adee13a6bf27dd9268603967682636f12c5de96c346339374ac79abcc4686266f762e3b7fc2ecb11ac7f38162c6329c75f45abe1d0763d8150838e3ba9c2a4c13797e9ca61a1692e342d6708475e7ecbd1994b2e2b7c7b6ac822ffb6e82b0c5be453eb2036d1f0cb0e39e320df840064a53855cc64682285ce031afa27560cced2d6e2369efc390e4b32c5cc263a35465242bf5309ea6feacaa9b5b6d0f8a1733fe0714de8fd1254e983232696088553d306f9d895ef1ed1bad189b028bd6c8379f662e2a596807c3f1e528201af4100236bd44d652442451d8538fc4f22000346d88861e4fd642fc3ff2ebe7d5f143dcf92cb209657b9f4560d08012990437197a63e1af6b1391e9c97a9feb003c2066c6825767f7c49962b9b13c33e53827e45a0d8aad0bc931196b596a7d4d4e0314e7d9534458718c729ee4dd75dd236a05c3dd99f2a85199ec5532f5112de8c76d31fc9f6c3e3c0b9f0efde52c2c3c042acaff188a9a5e5b5e526434005800011525f99accadd88dd5267db224a5e4bde3c76a4de0a57ef82c80125a804f6d6aadc3abd7cdee7830984d194f731bd37a0422404624d877667477f9c8c986abb4d96b0b017078163459ff9166e1dc361b5b4eb485dfe4c936f1acab663029314a307997b3baa924b7868f53b6de4"}) (async) r3 = openat$btrfs_control(0xffffffffffffff9c, &(0x7f0000000500), 0x101, 0x0) ioctl$TIOCSIG(r3, 0x40045436, 0x16) r4 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r4, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r4, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r4, 0x5412, &(0x7f0000000000)) ioctl$KDADDIO(r4, 0x4b34, 0x7fffffffffffffff) (async) ioctl$VT_RESIZEX(r0, 0x560a, &(0x7f0000000000)={0x4, 0x7, 0x80, 0x2, 0x3, 0x2}) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 662.599788][T30808] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:02 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:02 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000110000960000000800", 0x0, 0x2}) 00:11:02 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000004c00960000000800", 0x0, 0x2}) 00:11:02 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) ioctl$KDFONTOP_SET(r2, 0x4b72, &(0x7f00000004c0)={0x0, 0x0, 0xf, 0x17, 0xf, &(0x7f00000000c0)="87349af1b6f9da627a08c2e6ac5df182e52b1933d32d4f5c69d981eb3d2aa101f5542bc121a8c8ae652b3632a70698104b3809374b08f5b42204fccd29b1d1ea427cb9627ba05e161a237221963ad915091fd385569c9fa3a927d06dcf3c1e37380e969a62ddc7c15e8cebe4d5ed5f421c5e5a91f6eac85d591f1ce75188c5fc9fd58f5736b55931798633c1788d406da630dd2ed93cf17bfeb84cb62d42ea11b0f564601fc0f162803b77057faf64c6be245731c96d7c7f45e1db54ae876acd6e4d87915785f3fbbc032ab971de8e3f8071b97fbbbb3763d8bd21b99833b28ad7eb5c4854747ac1648830d75e6acf0c171077cfe88533518d8aeafb1742ce9e46a6d27695dd94f349b4a2604402acc2d634cad212e8320df8811e4fc1bbb0eab97b62c4e1de583d7a7a69397b5d21414e98d404f77a45c0a9a7b7ec8759a23f297fc7ddd8d16c883df387604233228d09cf809d0e67e699a74887cf768562326597fd6bfbd2c1a2f97e8bf85db5f3d6e199c3ab2271d0a5ba9966334b10934bf72c592f6018416326b7a4514810e4d9526b5736842084d9c7edb5f7ebb61d1a61c1fba520b060c39e7dfa6c977f97e90bd9dc03a98b897127701495c3e47aaa2ac1dc1c317a3bd002ea6849c3b389e8dd2b434009b12b104cbac69011155b7e64d2492fe3d2676bf68eef434deb9f2c9ca2271896ff63c1ec294350c9f8be3bbc0c05254ea15175dd9fa8859e33ba43bbe03f204a1f39ad0f642bb81abe2f920887b1adee13a6bf27dd9268603967682636f12c5de96c346339374ac79abcc4686266f762e3b7fc2ecb11ac7f38162c6329c75f45abe1d0763d8150838e3ba9c2a4c13797e9ca61a1692e342d6708475e7ecbd1994b2e2b7c7b6ac822ffb6e82b0c5be453eb2036d1f0cb0e39e320df840064a53855cc64682285ce031afa27560cced2d6e2369efc390e4b32c5cc263a35465242bf5309ea6feacaa9b5b6d0f8a1733fe0714de8fd1254e983232696088553d306f9d895ef1ed1bad189b028bd6c8379f662e2a596807c3f1e528201af4100236bd44d652442451d8538fc4f22000346d88861e4fd642fc3ff2ebe7d5f143dcf92cb209657b9f4560d08012990437197a63e1af6b1391e9c97a9feb003c2066c6825767f7c49962b9b13c33e53827e45a0d8aad0bc931196b596a7d4d4e0314e7d9534458718c729ee4dd75dd236a05c3dd99f2a85199ec5532f5112de8c76d31fc9f6c3e3c0b9f0efde52c2c3c042acaff188a9a5e5b5e526434005800011525f99accadd88dd5267db224a5e4bde3c76a4de0a57ef82c80125a804f6d6aadc3abd7cdee7830984d194f731bd37a0422404624d877667477f9c8c986abb4d96b0b017078163459ff9166e1dc361b5b4eb485dfe4c936f1acab663029314a307997b3baa924b7868f53b6de4"}) r3 = openat$btrfs_control(0xffffffffffffff9c, &(0x7f0000000500), 0x101, 0x0) ioctl$TIOCSIG(r3, 0x40045436, 0x16) r4 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r4, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r4, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r4, 0x5412, &(0x7f0000000000)) ioctl$KDADDIO(r4, 0x4b34, 0x7fffffffffffffff) ioctl$VT_RESIZEX(r0, 0x560a, &(0x7f0000000000)={0x4, 0x7, 0x80, 0x2, 0x3, 0x2}) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) (async) ioctl$KDFONTOP_SET(r2, 0x4b72, &(0x7f00000004c0)={0x0, 0x0, 0xf, 0x17, 0xf, &(0x7f00000000c0)="87349af1b6f9da627a08c2e6ac5df182e52b1933d32d4f5c69d981eb3d2aa101f5542bc121a8c8ae652b3632a70698104b3809374b08f5b42204fccd29b1d1ea427cb9627ba05e161a237221963ad915091fd385569c9fa3a927d06dcf3c1e37380e969a62ddc7c15e8cebe4d5ed5f421c5e5a91f6eac85d591f1ce75188c5fc9fd58f5736b55931798633c1788d406da630dd2ed93cf17bfeb84cb62d42ea11b0f564601fc0f162803b77057faf64c6be245731c96d7c7f45e1db54ae876acd6e4d87915785f3fbbc032ab971de8e3f8071b97fbbbb3763d8bd21b99833b28ad7eb5c4854747ac1648830d75e6acf0c171077cfe88533518d8aeafb1742ce9e46a6d27695dd94f349b4a2604402acc2d634cad212e8320df8811e4fc1bbb0eab97b62c4e1de583d7a7a69397b5d21414e98d404f77a45c0a9a7b7ec8759a23f297fc7ddd8d16c883df387604233228d09cf809d0e67e699a74887cf768562326597fd6bfbd2c1a2f97e8bf85db5f3d6e199c3ab2271d0a5ba9966334b10934bf72c592f6018416326b7a4514810e4d9526b5736842084d9c7edb5f7ebb61d1a61c1fba520b060c39e7dfa6c977f97e90bd9dc03a98b897127701495c3e47aaa2ac1dc1c317a3bd002ea6849c3b389e8dd2b434009b12b104cbac69011155b7e64d2492fe3d2676bf68eef434deb9f2c9ca2271896ff63c1ec294350c9f8be3bbc0c05254ea15175dd9fa8859e33ba43bbe03f204a1f39ad0f642bb81abe2f920887b1adee13a6bf27dd9268603967682636f12c5de96c346339374ac79abcc4686266f762e3b7fc2ecb11ac7f38162c6329c75f45abe1d0763d8150838e3ba9c2a4c13797e9ca61a1692e342d6708475e7ecbd1994b2e2b7c7b6ac822ffb6e82b0c5be453eb2036d1f0cb0e39e320df840064a53855cc64682285ce031afa27560cced2d6e2369efc390e4b32c5cc263a35465242bf5309ea6feacaa9b5b6d0f8a1733fe0714de8fd1254e983232696088553d306f9d895ef1ed1bad189b028bd6c8379f662e2a596807c3f1e528201af4100236bd44d652442451d8538fc4f22000346d88861e4fd642fc3ff2ebe7d5f143dcf92cb209657b9f4560d08012990437197a63e1af6b1391e9c97a9feb003c2066c6825767f7c49962b9b13c33e53827e45a0d8aad0bc931196b596a7d4d4e0314e7d9534458718c729ee4dd75dd236a05c3dd99f2a85199ec5532f5112de8c76d31fc9f6c3e3c0b9f0efde52c2c3c042acaff188a9a5e5b5e526434005800011525f99accadd88dd5267db224a5e4bde3c76a4de0a57ef82c80125a804f6d6aadc3abd7cdee7830984d194f731bd37a0422404624d877667477f9c8c986abb4d96b0b017078163459ff9166e1dc361b5b4eb485dfe4c936f1acab663029314a307997b3baa924b7868f53b6de4"}) (async) openat$btrfs_control(0xffffffffffffff9c, &(0x7f0000000500), 0x101, 0x0) (async) ioctl$TIOCSIG(r3, 0x40045436, 0x16) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r4, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r4, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r4, 0x5412, &(0x7f0000000000)) (async) ioctl$KDADDIO(r4, 0x4b34, 0x7fffffffffffffff) (async) ioctl$VT_RESIZEX(r0, 0x560a, &(0x7f0000000000)={0x4, 0x7, 0x80, 0x2, 0x3, 0x2}) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) 00:11:02 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:02 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:02 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000005c00960000000800", 0x0, 0x2}) 00:11:02 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000006800960000000800", 0x0, 0x2}) [ 662.933165][T30831] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 662.935198][T30831] CPU: 0 PID: 30831 Comm: syz-executor.2 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 662.937511][T30831] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 662.939780][T30831] Call trace: [ 662.940538][T30831] dump_backtrace+0x1c4/0x1f0 [ 662.941551][T30831] show_stack+0x2c/0x54 [ 662.942412][T30831] dump_stack_lvl+0x104/0x16c [ 662.943452][T30831] dump_stack+0x1c/0x58 [ 662.944280][T30831] sysfs_create_dir_ns+0x148/0x168 [ 662.945396][T30831] kobject_add_internal+0x244/0x530 [ 662.946511][T30831] kobject_add+0xb8/0x130 [ 662.947509][T30831] device_add+0x248/0x958 [ 662.948469][T30831] device_register+0x28/0x38 [ 662.949509][T30831] tty_register_device_attr+0x1a8/0x320 [ 662.950741][T30831] tty_register_device+0x3c/0x50 [ 662.951853][T30831] gsm_activate_mux+0x9c/0x1f4 [ 662.952872][T30831] gsmld_ioctl+0x6cc/0x764 [ 662.953782][T30831] tty_ioctl+0x6c0/0x9dc [ 662.954713][T30831] __arm64_sys_ioctl+0xd0/0x140 [ 662.955842][T30831] el0_svc_common+0x138/0x220 [ 662.956869][T30831] do_el0_svc+0x48/0x164 [ 662.957814][T30831] el0_svc+0x58/0x150 [ 662.958652][T30831] el0t_64_sync_handler+0x84/0xf0 [ 662.959695][T30831] el0t_64_sync+0x18c/0x190 [ 662.994705][T30831] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:02 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000005812000000960000000800", 0x0, 0x2}) 00:11:02 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:02 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000006c00960000000800", 0x0, 0x2}) 00:11:03 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000005912000000960000000800", 0x0, 0x2}) 00:11:03 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000007400960000000800", 0x0, 0x2}) 00:11:03 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000120000960000000800", 0x0, 0x2}) 00:11:03 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000005a12000000960000000800", 0x0, 0x2}) 00:11:03 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000000)={0x2, 0x3, 0x0, 0x0, 0x81, "ebeed70000000000000000960000000800", 0x4daf, 0x2}) 00:11:03 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000007a00960000000800", 0x0, 0x2}) [ 663.382653][T30852] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 663.384526][T30852] CPU: 0 PID: 30852 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 663.384538][T30852] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 663.384544][T30852] Call trace: [ 663.384546][T30852] dump_backtrace+0x1c4/0x1f0 [ 663.384558][T30852] show_stack+0x2c/0x54 [ 663.384566][T30852] dump_stack_lvl+0x104/0x16c [ 663.384575][T30852] dump_stack+0x1c/0x58 [ 663.384583][T30852] sysfs_create_dir_ns+0x148/0x168 [ 663.384594][T30852] kobject_add_internal+0x244/0x530 [ 663.384604][T30852] kobject_add+0xb8/0x130 [ 663.384611][T30852] device_add+0x248/0x958 [ 663.384618][T30852] device_register+0x28/0x38 [ 663.384626][T30852] tty_register_device_attr+0x1a8/0x320 [ 663.384636][T30852] tty_register_device+0x3c/0x50 [ 663.384645][T30852] gsm_activate_mux+0x9c/0x1f4 [ 663.384654][T30852] gsmld_ioctl+0x6cc/0x764 [ 663.384662][T30852] tty_ioctl+0x6c0/0x9dc [ 663.384670][T30852] __arm64_sys_ioctl+0xd0/0x140 [ 663.384681][T30852] el0_svc_common+0x138/0x220 [ 663.384690][T30852] do_el0_svc+0x48/0x164 [ 663.384699][T30852] el0_svc+0x58/0x150 [ 663.384708][T30852] el0t_64_sync_handler+0x84/0xf0 [ 663.384717][T30852] el0t_64_sync+0x18c/0x190 [ 663.384729][T30852] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:03 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:03 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000070120000960000000800", 0x0, 0x2}) 00:11:03 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:03 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000129f00960000000800", 0x0, 0x2}) 00:11:03 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:03 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000012a000960000000800", 0x0, 0x2}) [ 663.524549][T30868] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 663.526620][T30868] CPU: 0 PID: 30868 Comm: syz-executor.2 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 663.528875][T30868] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 663.530962][T30868] Call trace: [ 663.531640][T30868] dump_backtrace+0x1c4/0x1f0 [ 663.532695][T30868] show_stack+0x2c/0x54 [ 663.533562][T30868] dump_stack_lvl+0x104/0x16c [ 663.534552][T30868] dump_stack+0x1c/0x58 [ 663.535495][T30868] sysfs_create_dir_ns+0x148/0x168 [ 663.536638][T30868] kobject_add_internal+0x244/0x530 [ 663.537862][T30868] kobject_add+0xb8/0x130 [ 663.538798][T30868] device_add+0x248/0x958 [ 663.539708][T30868] device_register+0x28/0x38 [ 663.540750][T30868] tty_register_device_attr+0x1a8/0x320 [ 663.541988][T30868] tty_register_device+0x3c/0x50 [ 663.543068][T30868] gsm_activate_mux+0x9c/0x1f4 [ 663.544119][T30868] gsmld_ioctl+0x6cc/0x764 [ 663.545101][T30868] tty_ioctl+0x6c0/0x9dc [ 663.546052][T30868] __arm64_sys_ioctl+0xd0/0x140 [ 663.547138][T30868] el0_svc_common+0x138/0x220 [ 663.548144][T30868] do_el0_svc+0x48/0x164 [ 663.549152][T30868] el0_svc+0x58/0x150 [ 663.550006][T30868] el0t_64_sync_handler+0x84/0xf0 [ 663.551124][T30868] el0t_64_sync+0x18c/0x190 00:11:03 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:03 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000012a100960000000800", 0x0, 0x2}) [ 663.591841][T30868] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:03 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:03 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000005b12000000960000000800", 0x0, 0x2}) [ 663.952375][T30879] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 663.959737][T30879] CPU: 0 PID: 30879 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 663.961955][T30879] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 663.964215][T30879] Call trace: [ 663.964965][T30879] dump_backtrace+0x1c4/0x1f0 [ 663.966019][T30879] show_stack+0x2c/0x54 [ 663.966906][T30879] dump_stack_lvl+0x104/0x16c [ 663.968045][T30879] dump_stack+0x1c/0x58 [ 663.968978][T30879] sysfs_create_dir_ns+0x148/0x168 [ 663.970071][T30879] kobject_add_internal+0x244/0x530 [ 663.971242][T30879] kobject_add+0xb8/0x130 [ 663.972169][T30879] device_add+0x248/0x958 [ 663.973161][T30879] device_register+0x28/0x38 [ 663.974121][T30879] tty_register_device_attr+0x1a8/0x320 [ 663.975400][T30879] tty_register_device+0x3c/0x50 [ 663.976429][T30879] gsm_activate_mux+0x9c/0x1f4 [ 663.977478][T30879] gsmld_ioctl+0x6cc/0x764 [ 663.978501][T30879] tty_ioctl+0x6c0/0x9dc [ 663.979413][T30879] __arm64_sys_ioctl+0xd0/0x140 [ 663.980481][T30879] el0_svc_common+0x138/0x220 [ 663.981522][T30879] do_el0_svc+0x48/0x164 [ 663.982476][T30879] el0_svc+0x58/0x150 [ 663.983259][T30879] el0t_64_sync_handler+0x84/0xf0 [ 663.984391][T30879] el0t_64_sync+0x18c/0x190 [ 664.049754][T30879] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:04 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000000)={0x2, 0x3, 0x0, 0x0, 0x81, "ebeed70000000000000000960000000800", 0x4daf, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000000)={0x2, 0x3, 0x0, 0x0, 0x81, "ebeed70000000000000000960000000800", 0x4daf, 0x2}) (async) 00:11:04 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000012a200960000000800", 0x0, 0x2}) 00:11:04 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:04 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:04 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000071120000960000000800", 0x0, 0x2}) 00:11:04 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000072120000960000000800", 0x0, 0x2}) [ 664.190653][T30895] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 664.192839][T30895] CPU: 1 PID: 30895 Comm: syz-executor.2 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 664.195038][T30895] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 664.197268][T30895] Call trace: [ 664.197977][T30895] dump_backtrace+0x1c4/0x1f0 [ 664.198964][T30895] show_stack+0x2c/0x54 [ 664.199937][T30895] dump_stack_lvl+0x104/0x16c [ 664.200994][T30895] dump_stack+0x1c/0x58 [ 664.201938][T30895] sysfs_create_dir_ns+0x148/0x168 [ 664.202959][T30895] kobject_add_internal+0x244/0x530 [ 664.204142][T30895] kobject_add+0xb8/0x130 [ 664.205052][T30895] device_add+0x248/0x958 [ 664.206044][T30895] device_register+0x28/0x38 [ 664.206991][T30895] tty_register_device_attr+0x1a8/0x320 [ 664.208157][T30895] tty_register_device+0x3c/0x50 [ 664.209155][T30895] gsm_activate_mux+0x9c/0x1f4 [ 664.210163][T30895] gsmld_ioctl+0x6cc/0x764 [ 664.211116][T30895] tty_ioctl+0x6c0/0x9dc [ 664.211985][T30895] __arm64_sys_ioctl+0xd0/0x140 [ 664.213088][T30895] el0_svc_common+0x138/0x220 [ 664.214161][T30895] do_el0_svc+0x48/0x164 [ 664.215066][T30895] el0_svc+0x58/0x150 [ 664.215940][T30895] el0t_64_sync_handler+0x84/0xf0 [ 664.217052][T30895] el0t_64_sync+0x18c/0x190 00:11:04 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000000)={0x2, 0x3, 0x0, 0x0, 0x81, "ebeed70000000000000000960000000800", 0x4daf, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000000)={0x2, 0x3, 0x0, 0x0, 0x81, "ebeed70000000000000000960000000800", 0x4daf, 0x2}) (async) [ 664.249527][T30895] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:04 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000073120000960000000800", 0x0, 0x2}) 00:11:04 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) r2 = socket$alg(0x26, 0x5, 0x0) bind$alg(r2, &(0x7f00000000c0)={0x26, 'hash\x00', 0x0, 0x0, 'sha256\x00'}, 0x58) r3 = accept4(r2, 0x0, 0x0, 0x0) accept$alg(r3, 0x0, 0x0) setsockopt$inet_udp_encap(r3, 0x11, 0x64, &(0x7f0000000140)=0x3, 0x4) ioctl$TIOCPKT(r0, 0x5420, &(0x7f0000000000)=0x20) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x399, 0xffffdffe, 0x0, "ebeed70000000000000000960000000800", 0x8000, 0x2}) pipe2(&(0x7f00000000c0)={0xffffffffffffffff}, 0x100) ioctl$TCSETS2(r4, 0x402c542b, &(0x7f0000000100)={0x4, 0x80000001, 0x3, 0xf0000000, 0x7f, "ad80088da949bee4e06bf1dcf02c90e1b393c8", 0xf89, 0x7}) r5 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r5, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:04 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000074120000960000000800", 0x0, 0x2}) 00:11:04 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async, rerun: 64) r2 = socket$alg(0x26, 0x5, 0x0) (rerun: 64) bind$alg(r2, &(0x7f00000000c0)={0x26, 'hash\x00', 0x0, 0x0, 'sha256\x00'}, 0x58) (async) r3 = accept4(r2, 0x0, 0x0, 0x0) accept$alg(r3, 0x0, 0x0) (async) setsockopt$inet_udp_encap(r3, 0x11, 0x64, &(0x7f0000000140)=0x3, 0x4) ioctl$TIOCPKT(r0, 0x5420, &(0x7f0000000000)=0x20) (async, rerun: 32) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async, rerun: 32) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x399, 0xffffdffe, 0x0, "ebeed70000000000000000960000000800", 0x8000, 0x2}) (async) pipe2(&(0x7f00000000c0)={0xffffffffffffffff}, 0x100) ioctl$TCSETS2(r4, 0x402c542b, &(0x7f0000000100)={0x4, 0x80000001, 0x3, 0xf0000000, 0x7f, "ad80088da949bee4e06bf1dcf02c90e1b393c8", 0xf89, 0x7}) (async, rerun: 64) r5 = syz_open_dev$tty20(0xc, 0x4, 0x1) (rerun: 64) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r5, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:04 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000006f12000000960000000800", 0x0, 0x2}) 00:11:04 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000075120000960000000800", 0x0, 0x2}) 00:11:04 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000012a300960000000800", 0x0, 0x2}) 00:11:04 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) (async, rerun: 32) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async, rerun: 32) r2 = socket$alg(0x26, 0x5, 0x0) bind$alg(r2, &(0x7f00000000c0)={0x26, 'hash\x00', 0x0, 0x0, 'sha256\x00'}, 0x58) (async) r3 = accept4(r2, 0x0, 0x0, 0x0) accept$alg(r3, 0x0, 0x0) setsockopt$inet_udp_encap(r3, 0x11, 0x64, &(0x7f0000000140)=0x3, 0x4) (async) ioctl$TIOCPKT(r0, 0x5420, &(0x7f0000000000)=0x20) (async) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x399, 0xffffdffe, 0x0, "ebeed70000000000000000960000000800", 0x8000, 0x2}) (async) pipe2(&(0x7f00000000c0)={0xffffffffffffffff}, 0x100) ioctl$TCSETS2(r4, 0x402c542b, &(0x7f0000000100)={0x4, 0x80000001, 0x3, 0xf0000000, 0x7f, "ad80088da949bee4e06bf1dcf02c90e1b393c8", 0xf89, 0x7}) (async, rerun: 32) r5 = syz_open_dev$tty20(0xc, 0x4, 0x1) (rerun: 32) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r5, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:04 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:04 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000025000000960000000800", 0x0, 0x2}) 00:11:04 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:04 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$sock_ipv4_tunnel_SIOCDELTUNNEL(r0, 0x89f2, &(0x7f0000000000)={'syztnl2\x00', &(0x7f00000000c0)={'syztnl2\x00', 0x0, 0x10, 0x8000, 0x3ff, 0x637, {{0xd, 0x4, 0x0, 0x4, 0x34, 0x68, 0x0, 0x7, 0x3c6b8af2b96c1e22, 0x0, @dev={0xac, 0x14, 0x14, 0x38}, @broadcast, {[@rr={0x7, 0x17, 0xb7, [@multicast2, @broadcast, @dev={0xac, 0x14, 0x14, 0xa}, @multicast2, @remote]}, @rr={0x7, 0x7, 0xbe, [@loopback]}]}}}}}) 00:11:04 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001244000000960000000800", 0x0, 0x2}) 00:11:04 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 664.847876][T30940] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 664.850045][T30940] CPU: 1 PID: 30940 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 664.852272][T30940] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 664.854368][T30940] Call trace: [ 664.855052][T30940] dump_backtrace+0x1c4/0x1f0 [ 664.856095][T30940] show_stack+0x2c/0x54 [ 664.857074][T30940] dump_stack_lvl+0x104/0x16c [ 664.858100][T30940] dump_stack+0x1c/0x58 [ 664.859046][T30940] sysfs_create_dir_ns+0x148/0x168 [ 664.860133][T30940] kobject_add_internal+0x244/0x530 [ 664.861237][T30940] kobject_add+0xb8/0x130 [ 664.862250][T30940] device_add+0x248/0x958 [ 664.863211][T30940] device_register+0x28/0x38 [ 664.864155][T30940] tty_register_device_attr+0x1a8/0x320 [ 664.865437][T30940] tty_register_device+0x3c/0x50 [ 664.866467][T30940] gsm_activate_mux+0x9c/0x1f4 [ 664.867660][T30940] gsmld_ioctl+0x6cc/0x764 [ 664.868774][T30940] tty_ioctl+0x6c0/0x9dc [ 664.869702][T30940] __arm64_sys_ioctl+0xd0/0x140 [ 664.870804][T30940] el0_svc_common+0x138/0x220 [ 664.871803][T30940] do_el0_svc+0x48/0x164 [ 664.872762][T30940] el0_svc+0x58/0x150 [ 664.873636][T30940] el0t_64_sync_handler+0x84/0xf0 [ 664.874730][T30940] el0t_64_sync+0x18c/0x190 00:11:04 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:04 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001245000000960000000800", 0x0, 0x2}) 00:11:04 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001246000000960000000800", 0x0, 0x2}) [ 664.982204][T30940] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:05 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000076120000960000000800", 0x0, 0x2}) 00:11:05 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:05 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000012a400960000000800", 0x0, 0x2}) 00:11:05 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001247000000960000000800", 0x0, 0x2}) 00:11:05 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:05 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 665.350545][T30965] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 665.352253][T30965] CPU: 1 PID: 30965 Comm: syz-executor.2 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 665.352264][T30965] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 665.352269][T30965] Call trace: [ 665.352272][T30965] dump_backtrace+0x1c4/0x1f0 [ 665.352284][T30965] show_stack+0x2c/0x54 [ 665.352292][T30965] dump_stack_lvl+0x104/0x16c [ 665.352302][T30965] dump_stack+0x1c/0x58 [ 665.352309][T30965] sysfs_create_dir_ns+0x148/0x168 [ 665.352320][T30965] kobject_add_internal+0x244/0x530 [ 665.352329][T30965] kobject_add+0xb8/0x130 [ 665.352336][T30965] device_add+0x248/0x958 [ 665.352344][T30965] device_register+0x28/0x38 [ 665.352362][T30965] tty_register_device_attr+0x1a8/0x320 [ 665.352373][T30965] tty_register_device+0x3c/0x50 [ 665.352381][T30965] gsm_activate_mux+0x9c/0x1f4 [ 665.352390][T30965] gsmld_ioctl+0x6cc/0x764 [ 665.352398][T30965] tty_ioctl+0x6c0/0x9dc [ 665.352406][T30965] __arm64_sys_ioctl+0xd0/0x140 [ 665.352416][T30965] el0_svc_common+0x138/0x220 [ 665.352425][T30965] do_el0_svc+0x48/0x164 [ 665.352433][T30965] el0_svc+0x58/0x150 [ 665.352442][T30965] el0t_64_sync_handler+0x84/0xf0 [ 665.352451][T30965] el0t_64_sync+0x18c/0x190 [ 665.352464][T30965] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:05 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000012a500960000000800", 0x0, 0x2}) 00:11:05 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$sock_ipv4_tunnel_SIOCDELTUNNEL(r0, 0x89f2, &(0x7f0000000000)={'syztnl2\x00', &(0x7f00000000c0)={'syztnl2\x00', 0x0, 0x10, 0x8000, 0x3ff, 0x637, {{0xd, 0x4, 0x0, 0x4, 0x34, 0x68, 0x0, 0x7, 0x3c6b8af2b96c1e22, 0x0, @dev={0xac, 0x14, 0x14, 0x38}, @broadcast, {[@rr={0x7, 0x17, 0xb7, [@multicast2, @broadcast, @dev={0xac, 0x14, 0x14, 0xa}, @multicast2, @remote]}, @rr={0x7, 0x7, 0xbe, [@loopback]}]}}}}}) 00:11:05 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:05 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:05 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:05 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$sock_ipv4_tunnel_SIOCDELTUNNEL(r0, 0x89f2, &(0x7f0000000000)={'syztnl2\x00', &(0x7f00000000c0)={'syztnl2\x00', 0x0, 0x10, 0x8000, 0x3ff, 0x637, {{0xd, 0x4, 0x0, 0x4, 0x34, 0x68, 0x0, 0x7, 0x3c6b8af2b96c1e22, 0x0, @dev={0xac, 0x14, 0x14, 0x38}, @broadcast, {[@rr={0x7, 0x17, 0xb7, [@multicast2, @broadcast, @dev={0xac, 0x14, 0x14, 0xa}, @multicast2, @remote]}, @rr={0x7, 0x7, 0xbe, [@loopback]}]}}}}}) 00:11:05 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000077120000960000000800", 0x0, 0x2}) 00:11:05 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:05 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:05 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000048000000960000000800", 0x0, 0x2}) 00:11:05 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) sendmsg$nl_route(0xffffffffffffffff, &(0x7f0000000240)={&(0x7f0000000100)={0x10, 0x0, 0x0, 0x8}, 0xc, &(0x7f0000000200)={&(0x7f0000000140)=@ipv6_newnexthop={0xa4, 0x68, 0x20, 0x70bd2b, 0x25dfdbff, {0xa, 0x0, 0x4, 0x0, 0x4}, [@NHA_ENCAP={0xc, 0x8, 0x0, 0x1, @LWTUNNEL_IP_DST={0x8, 0x2, @multicast2}}, @NHA_ID={0x8}, @NHA_ENCAP={0xc, 0x8, 0x0, 0x1, @SEG6_LOCAL_ACTION={0x8, 0x1, 0xe}}, @NHA_GROUP={0x34, 0x2, [{0x2, 0xc2}, {0x0, 0x20}, {0x2, 0x1}, {0x0, 0x6}, {0x1, 0x1c}, {0x2, 0x3f}]}, @NHA_BLACKHOLE={0x4}, @NHA_BLACKHOLE={0x4}, @NHA_GATEWAY={0x14, 0x6, @in6_addr=@local}, @NHA_GATEWAY={0x14, 0x6, @in6_addr=@initdev={0xfe, 0x88, '\x00', 0x0, 0x0}}, @NHA_OIF={0x8}]}, 0xa4}, 0x1, 0x0, 0x0, 0x20000000}, 0x24000000) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)=0x4) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x10000, 0x100, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSETD(r0, 0x5423, &(0x7f00000000c0)=0x13) [ 665.902468][T31000] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 665.904583][T31000] CPU: 0 PID: 31000 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 665.906822][T31000] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 00:11:05 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 665.909006][T31000] Call trace: [ 665.909680][T31000] dump_backtrace+0x1c4/0x1f0 [ 665.910673][T31000] show_stack+0x2c/0x54 [ 665.911525][T31000] dump_stack_lvl+0x104/0x16c [ 665.912512][T31000] dump_stack+0x1c/0x58 [ 665.913469][T31000] sysfs_create_dir_ns+0x148/0x168 [ 665.914627][T31000] kobject_add_internal+0x244/0x530 [ 665.915791][T31000] kobject_add+0xb8/0x130 [ 665.916744][T31000] device_add+0x248/0x958 [ 665.917714][T31000] device_register+0x28/0x38 [ 665.918751][T31000] tty_register_device_attr+0x1a8/0x320 [ 665.919912][T31000] tty_register_device+0x3c/0x50 [ 665.921000][T31000] gsm_activate_mux+0x9c/0x1f4 [ 665.922081][T31000] gsmld_ioctl+0x6cc/0x764 [ 665.923118][T31000] tty_ioctl+0x6c0/0x9dc [ 665.924085][T31000] __arm64_sys_ioctl+0xd0/0x140 [ 665.925284][T31000] el0_svc_common+0x138/0x220 [ 665.926465][T31000] do_el0_svc+0x48/0x164 [ 665.927465][T31000] el0_svc+0x58/0x150 [ 665.928521][T31000] el0t_64_sync_handler+0x84/0xf0 [ 665.929675][T31000] el0t_64_sync+0x18c/0x190 [ 665.954061][T31000] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:05 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000012a600960000000800", 0x0, 0x2}) 00:11:05 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) sendmsg$nl_route(0xffffffffffffffff, &(0x7f0000000240)={&(0x7f0000000100)={0x10, 0x0, 0x0, 0x8}, 0xc, &(0x7f0000000200)={&(0x7f0000000140)=@ipv6_newnexthop={0xa4, 0x68, 0x20, 0x70bd2b, 0x25dfdbff, {0xa, 0x0, 0x4, 0x0, 0x4}, [@NHA_ENCAP={0xc, 0x8, 0x0, 0x1, @LWTUNNEL_IP_DST={0x8, 0x2, @multicast2}}, @NHA_ID={0x8}, @NHA_ENCAP={0xc, 0x8, 0x0, 0x1, @SEG6_LOCAL_ACTION={0x8, 0x1, 0xe}}, @NHA_GROUP={0x34, 0x2, [{0x2, 0xc2}, {0x0, 0x20}, {0x2, 0x1}, {0x0, 0x6}, {0x1, 0x1c}, {0x2, 0x3f}]}, @NHA_BLACKHOLE={0x4}, @NHA_BLACKHOLE={0x4}, @NHA_GATEWAY={0x14, 0x6, @in6_addr=@local}, @NHA_GATEWAY={0x14, 0x6, @in6_addr=@initdev={0xfe, 0x88, '\x00', 0x0, 0x0}}, @NHA_OIF={0x8}]}, 0xa4}, 0x1, 0x0, 0x0, 0x20000000}, 0x24000000) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async, rerun: 64) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (rerun: 64) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)=0x4) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x10000, 0x100, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async, rerun: 64) ioctl$TIOCSETD(r0, 0x5423, &(0x7f00000000c0)=0x13) (rerun: 64) 00:11:05 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:06 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) sendmsg$nl_route(0xffffffffffffffff, &(0x7f0000000240)={&(0x7f0000000100)={0x10, 0x0, 0x0, 0x8}, 0xc, &(0x7f0000000200)={&(0x7f0000000140)=@ipv6_newnexthop={0xa4, 0x68, 0x20, 0x70bd2b, 0x25dfdbff, {0xa, 0x0, 0x4, 0x0, 0x4}, [@NHA_ENCAP={0xc, 0x8, 0x0, 0x1, @LWTUNNEL_IP_DST={0x8, 0x2, @multicast2}}, @NHA_ID={0x8}, @NHA_ENCAP={0xc, 0x8, 0x0, 0x1, @SEG6_LOCAL_ACTION={0x8, 0x1, 0xe}}, @NHA_GROUP={0x34, 0x2, [{0x2, 0xc2}, {0x0, 0x20}, {0x2, 0x1}, {0x0, 0x6}, {0x1, 0x1c}, {0x2, 0x3f}]}, @NHA_BLACKHOLE={0x4}, @NHA_BLACKHOLE={0x4}, @NHA_GATEWAY={0x14, 0x6, @in6_addr=@local}, @NHA_GATEWAY={0x14, 0x6, @in6_addr=@initdev={0xfe, 0x88, '\x00', 0x0, 0x0}}, @NHA_OIF={0x8}]}, 0xa4}, 0x1, 0x0, 0x0, 0x20000000}, 0x24000000) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)=0x4) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x10000, 0x100, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSETD(r0, 0x5423, &(0x7f00000000c0)=0x13) socket$inet_udp(0x2, 0x2, 0x0) (async) sendmsg$nl_route(0xffffffffffffffff, &(0x7f0000000240)={&(0x7f0000000100)={0x10, 0x0, 0x0, 0x8}, 0xc, &(0x7f0000000200)={&(0x7f0000000140)=@ipv6_newnexthop={0xa4, 0x68, 0x20, 0x70bd2b, 0x25dfdbff, {0xa, 0x0, 0x4, 0x0, 0x4}, [@NHA_ENCAP={0xc, 0x8, 0x0, 0x1, @LWTUNNEL_IP_DST={0x8, 0x2, @multicast2}}, @NHA_ID={0x8}, @NHA_ENCAP={0xc, 0x8, 0x0, 0x1, @SEG6_LOCAL_ACTION={0x8, 0x1, 0xe}}, @NHA_GROUP={0x34, 0x2, [{0x2, 0xc2}, {0x0, 0x20}, {0x2, 0x1}, {0x0, 0x6}, {0x1, 0x1c}, {0x2, 0x3f}]}, @NHA_BLACKHOLE={0x4}, @NHA_BLACKHOLE={0x4}, @NHA_GATEWAY={0x14, 0x6, @in6_addr=@local}, @NHA_GATEWAY={0x14, 0x6, @in6_addr=@initdev={0xfe, 0x88, '\x00', 0x0, 0x0}}, @NHA_OIF={0x8}]}, 0xa4}, 0x1, 0x0, 0x0, 0x20000000}, 0x24000000) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)=0x4) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x10000, 0x100, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f00000000c0)=0x13) (async) [ 666.062556][T31012] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 666.065232][T31012] CPU: 1 PID: 31012 Comm: syz-executor.2 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 666.067483][T31012] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 666.069719][T31012] Call trace: [ 666.070427][T31012] dump_backtrace+0x1c4/0x1f0 [ 666.071434][T31012] show_stack+0x2c/0x54 [ 666.072265][T31012] dump_stack_lvl+0x104/0x16c [ 666.073203][T31012] dump_stack+0x1c/0x58 [ 666.074086][T31012] sysfs_create_dir_ns+0x148/0x168 [ 666.075184][T31012] kobject_add_internal+0x244/0x530 [ 666.076333][T31012] kobject_add+0xb8/0x130 [ 666.077302][T31012] device_add+0x248/0x958 [ 666.078221][T31012] device_register+0x28/0x38 [ 666.079278][T31012] tty_register_device_attr+0x1a8/0x320 [ 666.080417][T31012] tty_register_device+0x3c/0x50 [ 666.081481][T31012] gsm_activate_mux+0x9c/0x1f4 [ 666.082501][T31012] gsmld_ioctl+0x6cc/0x764 [ 666.083484][T31012] tty_ioctl+0x6c0/0x9dc [ 666.084426][T31012] __arm64_sys_ioctl+0xd0/0x140 [ 666.085464][T31012] el0_svc_common+0x138/0x220 [ 666.086504][T31012] do_el0_svc+0x48/0x164 [ 666.087378][T31012] el0_svc+0x58/0x150 [ 666.088229][T31012] el0t_64_sync_handler+0x84/0xf0 [ 666.089354][T31012] el0t_64_sync+0x18c/0x190 00:11:06 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000012a700960000000800", 0x0, 0x2}) 00:11:06 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000012a800960000000800", 0x0, 0x2}) [ 666.148035][T31012] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:06 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) socket$inet_udp(0x2, 0x2, 0x0) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 666.372899][T31028] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 666.376284][T31028] CPU: 0 PID: 31028 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 666.378429][T31028] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 666.380615][T31028] Call trace: [ 666.381312][T31028] dump_backtrace+0x1c4/0x1f0 [ 666.382342][T31028] show_stack+0x2c/0x54 [ 666.383287][T31028] dump_stack_lvl+0x104/0x16c [ 666.384258][T31028] dump_stack+0x1c/0x58 [ 666.384984][T31028] sysfs_create_dir_ns+0x148/0x168 [ 666.385933][T31028] kobject_add_internal+0x244/0x530 [ 666.387080][T31028] kobject_add+0xb8/0x130 [ 666.387989][T31028] device_add+0x248/0x958 [ 666.388924][T31028] device_register+0x28/0x38 [ 666.389965][T31028] tty_register_device_attr+0x1a8/0x320 [ 666.391182][T31028] tty_register_device+0x3c/0x50 [ 666.392314][T31028] gsm_activate_mux+0x9c/0x1f4 [ 666.393412][T31028] gsmld_ioctl+0x6cc/0x764 [ 666.394420][T31028] tty_ioctl+0x6c0/0x9dc [ 666.395354][T31028] __arm64_sys_ioctl+0xd0/0x140 [ 666.396448][T31028] el0_svc_common+0x138/0x220 [ 666.397546][T31028] do_el0_svc+0x48/0x164 [ 666.398531][T31028] el0_svc+0x58/0x150 [ 666.399319][T31028] el0t_64_sync_handler+0x84/0xf0 [ 666.400418][T31028] el0t_64_sync+0x18c/0x190 [ 666.409062][T31028] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:06 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000078120000960000000800", 0x0, 0x2}) 00:11:06 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:06 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001248000000960000000800", 0x0, 0x2}) 00:11:06 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000012a900960000000800", 0x0, 0x2}) 00:11:06 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000079120000960000000800", 0x0, 0x2}) 00:11:06 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 666.485563][T31040] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 666.488776][T31040] CPU: 0 PID: 31040 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 666.491006][T31040] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 666.493359][T31040] Call trace: [ 666.494066][T31040] dump_backtrace+0x1c4/0x1f0 [ 666.495201][T31040] show_stack+0x2c/0x54 [ 666.496219][T31040] dump_stack_lvl+0x104/0x16c [ 666.497344][T31040] dump_stack+0x1c/0x58 [ 666.498288][T31040] sysfs_create_dir_ns+0x148/0x168 [ 666.499399][T31040] kobject_add_internal+0x244/0x530 [ 666.500598][T31040] kobject_add+0xb8/0x130 [ 666.501484][T31040] device_add+0x248/0x958 [ 666.502440][T31040] device_register+0x28/0x38 [ 666.503429][T31040] tty_register_device_attr+0x1a8/0x320 [ 666.504526][T31040] tty_register_device+0x3c/0x50 [ 666.505624][T31040] gsm_activate_mux+0x9c/0x1f4 [ 666.506693][T31040] gsmld_ioctl+0x6cc/0x764 [ 666.507648][T31040] tty_ioctl+0x6c0/0x9dc [ 666.508532][T31040] __arm64_sys_ioctl+0xd0/0x140 [ 666.509529][T31040] el0_svc_common+0x138/0x220 [ 666.510568][T31040] do_el0_svc+0x48/0x164 [ 666.511565][T31040] el0_svc+0x58/0x150 [ 666.512521][T31040] el0t_64_sync_handler+0x84/0xf0 [ 666.513632][T31040] el0t_64_sync+0x18c/0x190 [ 666.524220][T31040] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:06 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000007a120000960000000800", 0x0, 0x2}) 00:11:06 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:06 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:06 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000007b120000960000000800", 0x0, 0x2}) 00:11:06 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:06 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) socket$inet_udp(0x2, 0x2, 0x0) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:06 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:06 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:06 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000012aa00960000000800", 0x0, 0x2}) 00:11:06 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001249000000960000000800", 0x0, 0x2}) 00:11:06 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) socket$inet_udp(0x2, 0x2, 0x0) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 666.953812][T31066] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 666.955886][T31066] CPU: 1 PID: 31066 Comm: syz-executor.2 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 666.958046][T31066] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 666.960199][T31066] Call trace: [ 666.960889][T31066] dump_backtrace+0x1c4/0x1f0 [ 666.961891][T31066] show_stack+0x2c/0x54 [ 666.962754][T31066] dump_stack_lvl+0x104/0x16c [ 666.963869][T31066] dump_stack+0x1c/0x58 [ 666.964772][T31066] sysfs_create_dir_ns+0x148/0x168 [ 666.965950][T31066] kobject_add_internal+0x244/0x530 [ 666.967178][T31066] kobject_add+0xb8/0x130 [ 666.968160][T31066] device_add+0x248/0x958 [ 666.969084][T31066] device_register+0x28/0x38 [ 666.970085][T31066] tty_register_device_attr+0x1a8/0x320 [ 666.971273][T31066] tty_register_device+0x3c/0x50 [ 666.972405][T31066] gsm_activate_mux+0x9c/0x1f4 [ 666.973478][T31066] gsmld_ioctl+0x6cc/0x764 [ 666.974385][T31066] tty_ioctl+0x6c0/0x9dc [ 666.975235][T31066] __arm64_sys_ioctl+0xd0/0x140 [ 666.976267][T31066] el0_svc_common+0x138/0x220 [ 666.977377][T31066] do_el0_svc+0x48/0x164 [ 666.978239][T31066] el0_svc+0x58/0x150 [ 666.979105][T31066] el0t_64_sync_handler+0x84/0xf0 [ 666.980273][T31066] el0t_64_sync+0x18c/0x190 [ 666.993694][T31069] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 666.996166][T31069] CPU: 0 PID: 31069 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 666.998403][T31069] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 667.000569][T31069] Call trace: [ 667.000572][T31069] dump_backtrace+0x1c4/0x1f0 [ 667.000583][T31069] show_stack+0x2c/0x54 [ 667.000590][T31069] dump_stack_lvl+0x104/0x16c [ 667.000599][T31069] dump_stack+0x1c/0x58 [ 667.000606][T31069] sysfs_create_dir_ns+0x148/0x168 [ 667.000616][T31069] kobject_add_internal+0x244/0x530 [ 667.000625][T31069] kobject_add+0xb8/0x130 [ 667.000632][T31069] device_add+0x248/0x958 [ 667.000639][T31069] device_register+0x28/0x38 [ 667.000646][T31069] tty_register_device_attr+0x1a8/0x320 [ 667.000656][T31069] tty_register_device+0x3c/0x50 [ 667.000664][T31069] gsm_activate_mux+0x9c/0x1f4 [ 667.000673][T31069] gsmld_ioctl+0x6cc/0x764 [ 667.000681][T31069] tty_ioctl+0x6c0/0x9dc [ 667.000689][T31069] __arm64_sys_ioctl+0xd0/0x140 [ 667.000699][T31069] el0_svc_common+0x138/0x220 [ 667.000708][T31069] do_el0_svc+0x48/0x164 [ 667.000716][T31069] el0_svc+0x58/0x150 [ 667.000725][T31069] el0t_64_sync_handler+0x84/0xf0 [ 667.000734][T31069] el0t_64_sync+0x18c/0x190 [ 667.009133][T31069] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:07 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) sendmsg$nl_route(0xffffffffffffffff, &(0x7f0000000140)={&(0x7f0000000000)={0x10, 0x0, 0x0, 0x20000000}, 0xc, &(0x7f0000000100)={&(0x7f00000000c0)=@getaddr={0x14, 0x16, 0x100, 0x70bd29, 0x25dfdbfb, {}, ["", "", ""]}, 0x14}, 0x1, 0x0, 0x0, 0x81}, 0x800) socket$inet_udp(0x2, 0x2, 0x0) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:07 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000012ab00960000000800", 0x0, 0x2}) 00:11:07 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000012ac00960000000800", 0x0, 0x2}) [ 667.126153][T31066] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:07 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async, rerun: 32) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (rerun: 32) sendmsg$nl_route(0xffffffffffffffff, &(0x7f0000000140)={&(0x7f0000000000)={0x10, 0x0, 0x0, 0x20000000}, 0xc, &(0x7f0000000100)={&(0x7f00000000c0)=@getaddr={0x14, 0x16, 0x100, 0x70bd29, 0x25dfdbfb, {}, ["", "", ""]}, 0x14}, 0x1, 0x0, 0x0, 0x81}, 0x800) (async) socket$inet_udp(0x2, 0x2, 0x0) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:07 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000007c120000960000000800", 0x0, 0x2}) 00:11:07 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000012ad00960000000800", 0x0, 0x2}) 00:11:07 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) sendmsg$nl_route(0xffffffffffffffff, &(0x7f0000000140)={&(0x7f0000000000)={0x10, 0x0, 0x0, 0x20000000}, 0xc, &(0x7f0000000100)={&(0x7f00000000c0)=@getaddr={0x14, 0x16, 0x100, 0x70bd29, 0x25dfdbfb, {}, ["", "", ""]}, 0x14}, 0x1, 0x0, 0x0, 0x81}, 0x800) socket$inet_udp(0x2, 0x2, 0x0) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:07 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:07 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000007d120000960000000800", 0x0, 0x2}) 00:11:07 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) r2 = socket$alg(0x26, 0x5, 0x0) ioctl$TCSETS(r0, 0x5402, &(0x7f0000001980)={0x0, 0xfffffff8, 0x1df, 0x8, 0x6, "432f83608326fcac46ba3fd9890e16314fb2fe"}) r3 = accept4(r2, 0x0, 0x0, 0x0) accept$alg(r3, 0x0, 0x0) r4 = socket(0x28, 0x80000, 0xab) sendmsg$DCCPDIAG_GETSOCK(r4, &(0x7f0000001940)={&(0x7f0000000400)={0x10, 0x0, 0x0, 0x20000000}, 0xc, &(0x7f0000001900)={&(0x7f0000000440)={0x1498, 0x13, 0x100, 0x70bd2a, 0x25dfdbff, {0x1e, 0x1f, 0x81, 0xfe, {0x4e20, 0x4e21, [0x5, 0x5, 0x20, 0x5], [0x8, 0x81, 0x1, 0x7fffffff], 0x0, [0x0, 0x1]}, 0x1, 0x1}, [@INET_DIAG_REQ_BYTECODE={0xf6, 0x1, "f6f8798db5318f00a79c6b54f8d524c6296381c9603f291802827eeb675dffff279d9561f63b7a0bebe968f28862cc066c120ba2cdcde3fa92cf8cb33741337fbd7cf94c20402be921efa8dfa8fc7268ca2ed999eddff7efaaac61476ef88330cc352ed76781b1204f3c1d8c8ebf3ccc3e1d89d578100b95bcb967220457ec6eed0bf1bb55980bc64f5ce38459e4fa61a37d88b63882093c9884b6a117dae617f27bc70de1db21ea7d0d39f843be33bbf95e157267bc0d07753e468594b38dfffaf9510c5060f930b42fb4c98c920910729704f6c66a3e92463f1e21e3051ace0e2d55ccc010cf0feb059ba5ad869f923a39"}, @INET_DIAG_REQ_BYTECODE={0x7e, 0x1, "8b4227be4fa7da4e86b919e31b72261a79bd46705d617052078fbdabcd681fc74e132eeb409699464b2904441d397a9db9faa5daf9914851bd8e20e36ea46d5319b1cbb6696076e4fe0d43ef7aeaf5d72c9d053da3fc1a436a544cdf8066b5c7139707df9583e4c18d904cae44dddcf9b7da0f8012936b236ddb"}, @INET_DIAG_REQ_BYTECODE={0x9f, 0x1, "2526cea201f8aeda2a158b93d4f5eac3b5a613b83505e4e35f43e73c60b55c37b1d4e47f79d75c17f10527515358e0c09f7fb1e30b107b2181bdc6ec0009d1b9f8f8d908d01d14520f7f9c5452e5c2d0618c20a7e6eb056ba019595f35f0404cea24bc8d73c01fa46124f5df862f12c85bab0905a7539c2bf62dfcc5370471de5e3cb2d956a3236fd7588bf1b9e460b04cd40ad34d99cee436ede9"}, @INET_DIAG_REQ_BYTECODE={0xda, 0x1, "dc73cf20ae600104b920e043f4ac0b45a1aa51787279c79ce5d0da39198a15228ba72c3c457aeeaab6280ed00732cd9ad5c3f173bf47bd48ec63af208425a7e4426798925dee113be4e202100f665d637fec00b4b9490e240f59acee6df6de7b36c576de119293c0023da47028b40f858d185704cdff1aed35b85860b7ef7c9341594bfa6984a2605990087d8c9e7e2759b38d7ceb402745cb9e15304a488b6c00c720dc8f404757b0952e6eb12a21f5168567c80cea536f985515645e7b7f89c8af24ffd25af37692d4aff740b790a8cda916716e21"}, @INET_DIAG_REQ_BYTECODE={0x66, 0x1, "8f6cab4d114d20df8e6b8ea7bd3bdea059eeefec9734f697895f1dcdedcbf3adc6ecd5ee93599f87db98c9de88f93ace31bad9948aa6ff622abed39808b0e64a8186f34a64c38e56934188f4f1b290eb0929751abe3055b3dbd8b5276940ca3fb081"}, @INET_DIAG_REQ_BYTECODE={0x1004, 0x1, "4d0ece7661cf7e22469f9e652ab3c4fa03b0f5a0f890b06b2fd7b570926a2c964d009438295377e5680ab0d92011bf0826634f21e1e6ab49dd7bcec1504482b77ab2fe2731253242568e1c19987ffd4715aceff7ad38106e3353b2152e38491060adceb79179e2f30d4300657c81dab448b2ad2305e443d7924c4f47c4b8866076e71568fa2b290a4e2230259d81e529e3b6b9375dce3564547869658c4c22edce8512c8493c2d8643500b2bfff559305aafed4c6da93be77212e7e8c5a00514acdb6e9d6a421ed870974e620e3b408b8d4639e237e72e2b0f7da5fd501719bf81ce20f78de736165d4ae29e53696be1f3be37b5f1b6e9945ce787b2cd9786f9d74bb00db25bf9afa060cd931a95e1ab673245bb60ce070946ab757bd8fad3725a04b4afc0d8d3a4173b1d561be3e39f0f149c7a08038c90707d2d3b804d4d0483140e0649efb6b27caa16a38442b742fe38faea8be045b668fd735f8031125b3526e7d4d9b04920d590b631012eec02596fd1dd103e684fe9ebbf362bf35fec46db72b060aa546b8ba2d1dd5f1bbc546091d54b21538ce0facbb5727ee87c4eae861613c7664bc103d29fc2191ac90e2ef5cbdd675f6d78cfcebd0cf31fd1e871a2079de29b17ed119308fd6d2c6812ffff4b06f27fa67c53ef201711333a12e581bccbb6e7df6fe39f2572a7668987e045f00bd1bb4ac6820897f3ec7448f94d8266f5f0cf5742834cd31ee6c32f0f58f4199ed9a508c09b764f61edba1dbc443010cdb59b9c38c41f400021d75cfd312d9dbd5fa722552b0a86811aa93a76e097088e2c98ef96b9e598eb6bd60029dd383c7846142e66333bbad73797db0550ccae5cb90a038c5607639e12452b150b2bc7df648a1b79f88a00499c2ec53a03eea7fb308823d15a99c4e048eafc854f96fc53960cf432e65a632222e2d337075eb806705396e26f16e44ef17b2f91fa9d7ec44cd8d47e14b5e8cefb622a29bbfcac5d5749527abccf343a8dcdd31a9a1fc50d812572aa3961daccb5f38ddff9146845321c8af59e8414bd98f65c1ec99fb81a99eb4b33e74c05b2bfca54570df30e3a47ff428d168e3496e845a4a3a83aced39f2cb6c9556a3498bfebd8dbebc69183e0f77e7857ead85e9c2d45aa027d1348b5e4c6abb6691d90183b97decb51242ba595bd809f0da9d9eb858b2d35184dfa45162d4c7e40986683f2cfd7748d45eed33fc3cfc701cfd56d1843433795880f2bc1134938cb823b98e5b88619c0db87b7382e33b416e01c2c7fcdd54e9f68afffbd18934e88d4452d95ef7f9a5e9c46434cbe71dcfdfde864da24d16f014844e7b50afee0e275657f03d665b8e172587495f9a90ecbe7e9fde86583998dd9bd9bbf993b667b055f2decb91af60ccf26b8d690fe4c0b3f3ae87248ed70cf608999befc84c154f792a614450aa4e0b28080e5ac4f06860e1fcd88d8824dd9d17599b577115cd49a27b6ba2e1645b0d7b06eb719c85c5d68a2c527fdd7da36cd84038673d1687801ea91d6402b2bbf49c92f9453a94bdcdcc5f7a1c37723bc5cf6e6ef5b40893700964d347ed8af9b0d3dc99c59b098515f7e2ab20228cc8d2b1f94db005f451762bc8f8ad5887448633daac8fad76978cca413f5e3e9b3b67d3a2fda8d593e3a98fbc567f5ad6c572e9548ee54d279e774401c2ebeccb7d6d6e35b71b3f2ac96d4347f40df759e1e5e024eea426005438188abaa19e2917fc1d6e2900ef2330f148317c222687240880a45bf90f4d52b5c4e4a297209b1f3606532ac087758b02d611cbba94f4b28d6d0dd2fa16c9ba6a2e90ed6a63fa823a4fe585563c105ee550a81f7b2937ef93628beeb3033e0900e28f58ad5c8350bbd59d6e1615229372a1d965306f7ec427cffa08e7c12567c369ae1eef409cae4d9e3b47ac83af5518f9b8f4bf9d06b31f6a4f5297c72cebdcee9dcf2d727137e6eac697f66ae1bcdea1e6a028deeee5d110b16125457491e76ffe9d435d705879018227074b0418709e4dfaad3ae3bd8e122cfec5b2d66e814838050942ac6b95173ac763ad213114ef732eb053359fdc5aa231e417bf47b6b424dc283170a262d89c461347a2c887f196d643032a26c07790e10c4c308142b4102e5977108dbf087c85e53df7caa7189e339a90c674e39a3b2f01de4745698923b408d1951946cbd86e72e814f110b22ede53c5e211b7b199452fe728cecd852f2e77b4b2058b7d2e8582797afe6ef3c14aea5cbd50431753067e0ae5e69711290de4076c64ccb15be9d133d674d0fdcaf26f999ea7d645ac861cacec104705c2468cd46a93ca68f5a6c3ad84668e584a30a081dd7ea2fdd638248c20c836fb04668da6725bbe215928ae4bccf4a0907d52aff61974f50bfad751ac08d1d4d0086a222f76a98cec8122b2de464677e62b8fe2944c5d3f71b100527d323739078aa3513d1c0851c5985237e87925737facd224af75f6e64d752be399ef3f82d920f504ee4e920a636549c6a02fda10ff1a8f89304c9377039751c30ccc7f0ea8db7a20561e33e31951566e3ca7b498b18d21bb52b38af96bba8c84834c5d099b7cd06c7cedde2f15daaa2443282a170f0141550ed8ba962fc91794cfcc20b343a6687b856be356a632138df395e8bca8ece3a2e8c9f9d1ca8455f09aee309361db35566a2bc8e7cbdaf2c22cfbc160ef153d6fb4c40e065657a8aa01a695490da0e78d33d28944405bfc4d572fa36a105034d60c6aaa1bb82a30f9c3a3806e5eaf6ca34ca467132053a75b010111cb9dc4b7f738d29613dc4f18f9dfba232505b548f263cc3347f619b76b342a00e92fb7b3723022fd291336cda7bc7a6085621cf03fa507eef878648c66f7b25fcdd0d3ce2ff89bdca437623afc9d0eb122590423d2359be1baa1cafb0ee44de15e81d78bdd55f5ea8e855b356e1d745e78cd8db5532c05266395b1cdc4375bc44ea071bfd386a3ae55c006d6e664d47aee373d5ac8659c87c302a5ae458c8a6339518730f9420a5f8d91d543f1d538ff71d05cf5b537f210c5aa39073e159bfef2b2302efb387bd38a8100fad9eafbc946901d9ce221ca4f7b24dbda22150015990a589b444a8425909746d9f7333db6b4931e344c3271275b7791fb64d038748e29411ef641e47aacbfa67044372148178de4419c61dcad0f097302b68e36387b7f4665dacfd27f212e2e4e339bfc610bfd863559f48bd11e724bd50974b12af102b4ccf6591a0cfae34fc6286fc9973fc63b05fda6a228b9356a150942e376974dd8f6c82e92cb536bb21d68412b76f8e92538c8f96e57b016e7832de742e7de25afb264d922fb73e8b19567b366dead7f9586ae2228be11bb09cd87163ee579f8b6b68b0509039b5a6468bb120b891c04dbb7970775fd68def833809999d1b0ff02185868c2fb8c7026bd8a7a62959a7f929cabd916aae9552b354e021512c857d1629bcaec606f343c6099ee45c3593f62d420a02deadbd2bad4cd8d1bfa5f9176b12d063c42f1efdd82965300dbe6595e9779221adc4687b2789d300882373ccb4406506fd2f356b22d146d138f462c66c399bd5926bf8d1a7ba5533f66715c225c41c4aea78948b345a8acf51f79a06f68099ab03d2d4e9a9ad729718524f47e323ec03cb5f4f84e53e4b366187c5c96cb5a8451dac17d132d5192420496a09ca768ebf6977af6d49f4f9847c859fb15df577cb81b63e865288d1a1334bf714dc57f49fedce583e6066a85c7613e7e2c98ec16e6b3b56655734d08f35a0af390b91d8cf1f472c4145650f4f802af3eb465446d9f26913e4dfaf4d64eb1460c3f76234f876c6af03c119a127cf349f5a2a9d82852af7304e271fd14518f24e0606c162affab8ca126bcaa068c9ddabc873bf91f1701ed2ae70b982252039e268859cfe4f5955d57729c6398f95f2254c9bd75d09feaf7df30d4422482ac89aec7ab0e2de2e9ce066711aed309f4098f906e9eb2fc0a2f2b341815e1218348babf65a9ee156cfcd3beded1f871991309461aa40b7d3bcf780b04d22afbe197c2c2719b3d0382f8efbb46b95df35df22ce5e69bf4cd1509b6dbee03f0c338db0ec81c287179b30ea3be9d8856a142fafa773b7c2162b8024fa8ff495e0c6eaf0764e4c77ee24a1f6783cdb4688ffc33202c69b28be4b21b6a57324d93ecd6284ee1193e6759030f42c3b5ae6bb4ec20eb82dd985c0d991774bdb327d8f7e6ec00bc3dbed13bee09d77dad93f8ad6d93f097f7638c18687a74e4a74633e83d9cdcc4efa4bc1aa38213e871860ac7ec7320c33422e69feefa888cc09e78abc1a703c7657852310f1f344fcac297e7ebdbfc72e85b3c18becc88db24aecadd69958030bd74daf5ede9fcadda6b26cd17eca7423887b4ca6be4af4c5c1eda8ab8c5de5d5c6b03ee609281a52f71e5aa421dfe966c2ee463c310136b50a9f8c464aa248927bb4a9c565dbcfc748b09103cd93a76c1b6d8ae9701a94e85c709dbd637792cb60bb8e767b050a38db2af6688bb45d2cf791959a3b73284d550067d16accfc79555a9135fa8f00996ca855c46c14e1e4885f682bcfb746b50dfc190746d7ea102179728f32d0d7b1848ef3a36650899a854a594e1446f5acab69752b86134b9a58465809b3c8edb35ac4e46877c4132094d33e2abd1d01edd57d4bc1de8a296f683ba42fadf269a26d31b6bf5b759adaf9dcb01a41401a63cef24170ccc4c6899135ad7a55ff335852b2b58a8162cbc29dc9bdce318d108460cbd2a5b3e74f1121d7d5a17b3673bbff51839ad0d9f8bd33d0aeed64fc365e743f49223e0d5a9949a11de21c977251a33b3fccdf44a9317eaa744cb7191d51265bc8c58f798a010bfcc459b7ac078207e4892feef8d83c0c178f4a6dfcb5575a8ae90fe4b7db76e0c7c9c529372794e2353547f4382b6638a22be2d1674de0d979dce2755895a46ba0fa99160aa01f3a781049b6ee4aa2d237a4f2b32c60cc466454de94dc9fd511736efa458c82d0f23368385e88d9e6c2179179c0583b118c999146ec66d5a70709646f1fe9585cd391cc0ecf97b703f4281536a7f8ce9c1ffdaf257f673875c70c9b90b8b81bf4a359c81ab0d6443dc252bb3421a449a7bc90368e574eb0c60e5e73f6f0701529e40d4a9ad8bf1a923f8ad6c44a04027ca28a0d9d0a0d50504256e0a0e0a8f9e288f3bd07e2063cdf4d0a2c0aaaaa49bc3d5011d925e350817f2d0953eb82f6c403922c468f039c127d57a382a4ac71c96fb08f158cd4ce9eed4afe9873874ead76b42e0aefcd1d9e652604fac660ec32346f7c80ea3ccba61be26890bda12f96916a7caa761cc5b012f6896bb3abf2fd8fd83574c048b9ab5d60ad20f8be653bf73dcce092f1099667a70eaa6d6edad8d15a05d2055b012f41544c8b08c0f1a8bae25dfe5bce4a5e066f353426669f6658ed9812e6baa7d97c66b747077faa522a13a115760901bdbf215bafd6ad64c65d18844f2dfb709c831a5b6efd0f57a46ba0f9ae526b6f449a4d893013f25deaa630ce2824022f83cde4ba83b6b4a66fad59496912a5e7492df27121e1fb0cc7d4c9648acba88fcd14fa858209de029c6ff2db933bf1a6ed4b3cfc3be1fc065690d538e02dde15beea52f91eb81767711af24b60ef8591016f9c386295a9e6c3edbfd76d184967663f8209209139b1906d743b5bc4936e49518f2e1fa9dbf255f1592f0b23001dd1add6504117bb2dfae11807246c9985c5c2ecab1b1cae15bfc5e04db1986d68e95e316c"}, @INET_DIAG_REQ_BYTECODE={0x11, 0x1, "06a2f90b31c239d16c361df256"}, @INET_DIAG_REQ_BYTECODE={0xd6, 0x1, "56f072b6fe01084c3ec785d9de69364e00305c791121596b73674bf1b67ff135f215df13302e1ba03c597e57f9c651e2d706e233b314941cc73920e43dfce7e5142812764efebca81a6c4e317c723f9dc0dc0523abe21a627c8450c66d5d7ec8d04a1aaf56c8832adafdefaf209de314600fe55120d02fa7265385be2ca68132e1ecb7b44cbf33ecabf626ea63da6f11a048715549c0164422ba9409fb2890566d3fd6d3584f3c180a8e8c6eb6aac6ba735428b4716b8cb4cadbf6eee17e4d613e1515ed775ae21aa2a09ff5e81ea0be0fc0"}]}, 0x1498}, 0x1, 0x0, 0x0, 0x20400d4}, 0x4000000) setsockopt$IPT_SO_SET_REPLACE(r3, 0x0, 0x40, &(0x7f00000000c0)=@filter={'filter\x00', 0xe, 0x4, 0x2c8, 0xffffffff, 0x0, 0x198, 0x198, 0xffffffff, 0xffffffff, 0x230, 0x230, 0x230, 0xffffffff, 0x4, &(0x7f0000000000), {[{{@uncond, 0x0, 0xa0, 0xc8, 0x0, {}, [@common=@addrtype={{0x30}, {0xa4, 0x230, 0x1, 0x1}}]}, @REJECT={0x28, 'REJECT\x00', 0x0, {0x6}}}, {{@uncond, 0x0, 0x70, 0xd0}, @common=@SET={0x60, 'SET\x00', 0x0, {{0x2, [0x1, 0x2, 0x4, 0x6, 0x1], 0x2, 0x1}, {0x1, [0x2, 0x7, 0x2, 0x3, 0x3, 0x7], 0x6, 0x3}}}}, {{@uncond, 0x0, 0x70, 0x98}, @REJECT={0x28, 'REJECT\x00', 0x0, {0x1}}}], {{'\x00', 0x0, 0x70, 0x98}, {0x28}}}}, 0x328) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:07 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:07 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000124a000000960000000800", 0x0, 0x2}) 00:11:07 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:07 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000012", 0x0, 0x2}) [ 667.540452][T31108] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 667.542379][T31108] CPU: 0 PID: 31108 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 667.544683][T31108] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 667.544690][T31108] Call trace: [ 667.544693][T31108] dump_backtrace+0x1c4/0x1f0 [ 667.544704][T31108] show_stack+0x2c/0x54 [ 667.544711][T31108] dump_stack_lvl+0x104/0x16c [ 667.550526][T31108] dump_stack+0x1c/0x58 [ 667.550537][T31108] sysfs_create_dir_ns+0x148/0x168 [ 667.550548][T31108] kobject_add_internal+0x244/0x530 [ 667.553801][T31108] kobject_add+0xb8/0x130 00:11:07 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000012", 0x0, 0x2}) [ 667.554790][T31108] device_add+0x248/0x958 [ 667.555819][T31108] device_register+0x28/0x38 [ 667.557015][T31108] tty_register_device_attr+0x1a8/0x320 [ 667.558281][T31108] tty_register_device+0x3c/0x50 [ 667.559469][T31108] gsm_activate_mux+0x9c/0x1f4 [ 667.560534][T31108] gsmld_ioctl+0x6cc/0x764 [ 667.561525][T31108] tty_ioctl+0x6c0/0x9dc [ 667.562535][T31108] __arm64_sys_ioctl+0xd0/0x140 [ 667.563670][T31108] el0_svc_common+0x138/0x220 [ 667.564863][T31108] do_el0_svc+0x48/0x164 [ 667.565858][T31108] el0_svc+0x58/0x150 [ 667.566842][T31108] el0t_64_sync_handler+0x84/0xf0 [ 667.566852][T31108] el0t_64_sync+0x18c/0x190 [ 667.575727][T31113] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 667.578279][T31113] CPU: 0 PID: 31113 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 667.580426][T31113] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 00:11:07 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 667.582743][T31113] Call trace: [ 667.583453][T31113] dump_backtrace+0x1c4/0x1f0 [ 667.584497][T31113] show_stack+0x2c/0x54 [ 667.585502][T31113] dump_stack_lvl+0x104/0x16c [ 667.586551][T31113] dump_stack+0x1c/0x58 [ 667.587479][T31113] sysfs_create_dir_ns+0x148/0x168 [ 667.588814][T31113] kobject_add_internal+0x244/0x530 00:11:07 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000012", 0x0, 0x2}) [ 667.589943][T31113] kobject_add+0xb8/0x130 [ 667.590933][T31113] device_add+0x248/0x958 [ 667.591873][T31113] device_register+0x28/0x38 [ 667.592973][T31113] tty_register_device_attr+0x1a8/0x320 [ 667.594238][T31113] tty_register_device+0x3c/0x50 [ 667.595395][T31113] gsm_activate_mux+0x9c/0x1f4 [ 667.596380][T31113] gsmld_ioctl+0x6cc/0x764 [ 667.597315][T31113] tty_ioctl+0x6c0/0x9dc [ 667.598328][T31113] __arm64_sys_ioctl+0xd0/0x140 [ 667.598340][T31113] el0_svc_common+0x138/0x220 [ 667.598356][T31113] do_el0_svc+0x48/0x164 [ 667.601479][T31113] el0_svc+0x58/0x150 [ 667.602383][T31113] el0t_64_sync_handler+0x84/0xf0 [ 667.603596][T31113] el0t_64_sync+0x18c/0x190 [ 667.646645][T31113] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:07 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000012ae00960000000800", 0x0, 0x2}) 00:11:07 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:07 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 667.660020][T31108] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:07 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000007f120000960000000800", 0x0, 0x2}) 00:11:08 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) r2 = socket$alg(0x26, 0x5, 0x0) ioctl$TCSETS(r0, 0x5402, &(0x7f0000001980)={0x0, 0xfffffff8, 0x1df, 0x8, 0x6, "432f83608326fcac46ba3fd9890e16314fb2fe"}) r3 = accept4(r2, 0x0, 0x0, 0x0) accept$alg(r3, 0x0, 0x0) r4 = socket(0x28, 0x80000, 0xab) sendmsg$DCCPDIAG_GETSOCK(r4, &(0x7f0000001940)={&(0x7f0000000400)={0x10, 0x0, 0x0, 0x20000000}, 0xc, &(0x7f0000001900)={&(0x7f0000000440)={0x1498, 0x13, 0x100, 0x70bd2a, 0x25dfdbff, {0x1e, 0x1f, 0x81, 0xfe, {0x4e20, 0x4e21, [0x5, 0x5, 0x20, 0x5], [0x8, 0x81, 0x1, 0x7fffffff], 0x0, [0x0, 0x1]}, 0x1, 0x1}, [@INET_DIAG_REQ_BYTECODE={0xf6, 0x1, "f6f8798db5318f00a79c6b54f8d524c6296381c9603f291802827eeb675dffff279d9561f63b7a0bebe968f28862cc066c120ba2cdcde3fa92cf8cb33741337fbd7cf94c20402be921efa8dfa8fc7268ca2ed999eddff7efaaac61476ef88330cc352ed76781b1204f3c1d8c8ebf3ccc3e1d89d578100b95bcb967220457ec6eed0bf1bb55980bc64f5ce38459e4fa61a37d88b63882093c9884b6a117dae617f27bc70de1db21ea7d0d39f843be33bbf95e157267bc0d07753e468594b38dfffaf9510c5060f930b42fb4c98c920910729704f6c66a3e92463f1e21e3051ace0e2d55ccc010cf0feb059ba5ad869f923a39"}, @INET_DIAG_REQ_BYTECODE={0x7e, 0x1, "8b4227be4fa7da4e86b919e31b72261a79bd46705d617052078fbdabcd681fc74e132eeb409699464b2904441d397a9db9faa5daf9914851bd8e20e36ea46d5319b1cbb6696076e4fe0d43ef7aeaf5d72c9d053da3fc1a436a544cdf8066b5c7139707df9583e4c18d904cae44dddcf9b7da0f8012936b236ddb"}, @INET_DIAG_REQ_BYTECODE={0x9f, 0x1, "2526cea201f8aeda2a158b93d4f5eac3b5a613b83505e4e35f43e73c60b55c37b1d4e47f79d75c17f10527515358e0c09f7fb1e30b107b2181bdc6ec0009d1b9f8f8d908d01d14520f7f9c5452e5c2d0618c20a7e6eb056ba019595f35f0404cea24bc8d73c01fa46124f5df862f12c85bab0905a7539c2bf62dfcc5370471de5e3cb2d956a3236fd7588bf1b9e460b04cd40ad34d99cee436ede9"}, @INET_DIAG_REQ_BYTECODE={0xda, 0x1, "dc73cf20ae600104b920e043f4ac0b45a1aa51787279c79ce5d0da39198a15228ba72c3c457aeeaab6280ed00732cd9ad5c3f173bf47bd48ec63af208425a7e4426798925dee113be4e202100f665d637fec00b4b9490e240f59acee6df6de7b36c576de119293c0023da47028b40f858d185704cdff1aed35b85860b7ef7c9341594bfa6984a2605990087d8c9e7e2759b38d7ceb402745cb9e15304a488b6c00c720dc8f404757b0952e6eb12a21f5168567c80cea536f985515645e7b7f89c8af24ffd25af37692d4aff740b790a8cda916716e21"}, @INET_DIAG_REQ_BYTECODE={0x66, 0x1, "8f6cab4d114d20df8e6b8ea7bd3bdea059eeefec9734f697895f1dcdedcbf3adc6ecd5ee93599f87db98c9de88f93ace31bad9948aa6ff622abed39808b0e64a8186f34a64c38e56934188f4f1b290eb0929751abe3055b3dbd8b5276940ca3fb081"}, @INET_DIAG_REQ_BYTECODE={0x1004, 0x1, "4d0ece7661cf7e22469f9e652ab3c4fa03b0f5a0f890b06b2fd7b570926a2c964d009438295377e5680ab0d92011bf0826634f21e1e6ab49dd7bcec1504482b77ab2fe2731253242568e1c19987ffd4715aceff7ad38106e3353b2152e38491060adceb79179e2f30d4300657c81dab448b2ad2305e443d7924c4f47c4b8866076e71568fa2b290a4e2230259d81e529e3b6b9375dce3564547869658c4c22edce8512c8493c2d8643500b2bfff559305aafed4c6da93be77212e7e8c5a00514acdb6e9d6a421ed870974e620e3b408b8d4639e237e72e2b0f7da5fd501719bf81ce20f78de736165d4ae29e53696be1f3be37b5f1b6e9945ce787b2cd9786f9d74bb00db25bf9afa060cd931a95e1ab673245bb60ce070946ab757bd8fad3725a04b4afc0d8d3a4173b1d561be3e39f0f149c7a08038c90707d2d3b804d4d0483140e0649efb6b27caa16a38442b742fe38faea8be045b668fd735f8031125b3526e7d4d9b04920d590b631012eec02596fd1dd103e684fe9ebbf362bf35fec46db72b060aa546b8ba2d1dd5f1bbc546091d54b21538ce0facbb5727ee87c4eae861613c7664bc103d29fc2191ac90e2ef5cbdd675f6d78cfcebd0cf31fd1e871a2079de29b17ed119308fd6d2c6812ffff4b06f27fa67c53ef201711333a12e581bccbb6e7df6fe39f2572a7668987e045f00bd1bb4ac6820897f3ec7448f94d8266f5f0cf5742834cd31ee6c32f0f58f4199ed9a508c09b764f61edba1dbc443010cdb59b9c38c41f400021d75cfd312d9dbd5fa722552b0a86811aa93a76e097088e2c98ef96b9e598eb6bd60029dd383c7846142e66333bbad73797db0550ccae5cb90a038c5607639e12452b150b2bc7df648a1b79f88a00499c2ec53a03eea7fb308823d15a99c4e048eafc854f96fc53960cf432e65a632222e2d337075eb806705396e26f16e44ef17b2f91fa9d7ec44cd8d47e14b5e8cefb622a29bbfcac5d5749527abccf343a8dcdd31a9a1fc50d812572aa3961daccb5f38ddff9146845321c8af59e8414bd98f65c1ec99fb81a99eb4b33e74c05b2bfca54570df30e3a47ff428d168e3496e845a4a3a83aced39f2cb6c9556a3498bfebd8dbebc69183e0f77e7857ead85e9c2d45aa027d1348b5e4c6abb6691d90183b97decb51242ba595bd809f0da9d9eb858b2d35184dfa45162d4c7e40986683f2cfd7748d45eed33fc3cfc701cfd56d1843433795880f2bc1134938cb823b98e5b88619c0db87b7382e33b416e01c2c7fcdd54e9f68afffbd18934e88d4452d95ef7f9a5e9c46434cbe71dcfdfde864da24d16f014844e7b50afee0e275657f03d665b8e172587495f9a90ecbe7e9fde86583998dd9bd9bbf993b667b055f2decb91af60ccf26b8d690fe4c0b3f3ae87248ed70cf608999befc84c154f792a614450aa4e0b28080e5ac4f06860e1fcd88d8824dd9d17599b577115cd49a27b6ba2e1645b0d7b06eb719c85c5d68a2c527fdd7da36cd84038673d1687801ea91d6402b2bbf49c92f9453a94bdcdcc5f7a1c37723bc5cf6e6ef5b40893700964d347ed8af9b0d3dc99c59b098515f7e2ab20228cc8d2b1f94db005f451762bc8f8ad5887448633daac8fad76978cca413f5e3e9b3b67d3a2fda8d593e3a98fbc567f5ad6c572e9548ee54d279e774401c2ebeccb7d6d6e35b71b3f2ac96d4347f40df759e1e5e024eea426005438188abaa19e2917fc1d6e2900ef2330f148317c222687240880a45bf90f4d52b5c4e4a297209b1f3606532ac087758b02d611cbba94f4b28d6d0dd2fa16c9ba6a2e90ed6a63fa823a4fe585563c105ee550a81f7b2937ef93628beeb3033e0900e28f58ad5c8350bbd59d6e1615229372a1d965306f7ec427cffa08e7c12567c369ae1eef409cae4d9e3b47ac83af5518f9b8f4bf9d06b31f6a4f5297c72cebdcee9dcf2d727137e6eac697f66ae1bcdea1e6a028deeee5d110b16125457491e76ffe9d435d705879018227074b0418709e4dfaad3ae3bd8e122cfec5b2d66e814838050942ac6b95173ac763ad213114ef732eb053359fdc5aa231e417bf47b6b424dc283170a262d89c461347a2c887f196d643032a26c07790e10c4c308142b4102e5977108dbf087c85e53df7caa7189e339a90c674e39a3b2f01de4745698923b408d1951946cbd86e72e814f110b22ede53c5e211b7b199452fe728cecd852f2e77b4b2058b7d2e8582797afe6ef3c14aea5cbd50431753067e0ae5e69711290de4076c64ccb15be9d133d674d0fdcaf26f999ea7d645ac861cacec104705c2468cd46a93ca68f5a6c3ad84668e584a30a081dd7ea2fdd638248c20c836fb04668da6725bbe215928ae4bccf4a0907d52aff61974f50bfad751ac08d1d4d0086a222f76a98cec8122b2de464677e62b8fe2944c5d3f71b100527d323739078aa3513d1c0851c5985237e87925737facd224af75f6e64d752be399ef3f82d920f504ee4e920a636549c6a02fda10ff1a8f89304c9377039751c30ccc7f0ea8db7a20561e33e31951566e3ca7b498b18d21bb52b38af96bba8c84834c5d099b7cd06c7cedde2f15daaa2443282a170f0141550ed8ba962fc91794cfcc20b343a6687b856be356a632138df395e8bca8ece3a2e8c9f9d1ca8455f09aee309361db35566a2bc8e7cbdaf2c22cfbc160ef153d6fb4c40e065657a8aa01a695490da0e78d33d28944405bfc4d572fa36a105034d60c6aaa1bb82a30f9c3a3806e5eaf6ca34ca467132053a75b010111cb9dc4b7f738d29613dc4f18f9dfba232505b548f263cc3347f619b76b342a00e92fb7b3723022fd291336cda7bc7a6085621cf03fa507eef878648c66f7b25fcdd0d3ce2ff89bdca437623afc9d0eb122590423d2359be1baa1cafb0ee44de15e81d78bdd55f5ea8e855b356e1d745e78cd8db5532c05266395b1cdc4375bc44ea071bfd386a3ae55c006d6e664d47aee373d5ac8659c87c302a5ae458c8a6339518730f9420a5f8d91d543f1d538ff71d05cf5b537f210c5aa39073e159bfef2b2302efb387bd38a8100fad9eafbc946901d9ce221ca4f7b24dbda22150015990a589b444a8425909746d9f7333db6b4931e344c3271275b7791fb64d038748e29411ef641e47aacbfa67044372148178de4419c61dcad0f097302b68e36387b7f4665dacfd27f212e2e4e339bfc610bfd863559f48bd11e724bd50974b12af102b4ccf6591a0cfae34fc6286fc9973fc63b05fda6a228b9356a150942e376974dd8f6c82e92cb536bb21d68412b76f8e92538c8f96e57b016e7832de742e7de25afb264d922fb73e8b19567b366dead7f9586ae2228be11bb09cd87163ee579f8b6b68b0509039b5a6468bb120b891c04dbb7970775fd68def833809999d1b0ff02185868c2fb8c7026bd8a7a62959a7f929cabd916aae9552b354e021512c857d1629bcaec606f343c6099ee45c3593f62d420a02deadbd2bad4cd8d1bfa5f9176b12d063c42f1efdd82965300dbe6595e9779221adc4687b2789d300882373ccb4406506fd2f356b22d146d138f462c66c399bd5926bf8d1a7ba5533f66715c225c41c4aea78948b345a8acf51f79a06f68099ab03d2d4e9a9ad729718524f47e323ec03cb5f4f84e53e4b366187c5c96cb5a8451dac17d132d5192420496a09ca768ebf6977af6d49f4f9847c859fb15df577cb81b63e865288d1a1334bf714dc57f49fedce583e6066a85c7613e7e2c98ec16e6b3b56655734d08f35a0af390b91d8cf1f472c4145650f4f802af3eb465446d9f26913e4dfaf4d64eb1460c3f76234f876c6af03c119a127cf349f5a2a9d82852af7304e271fd14518f24e0606c162affab8ca126bcaa068c9ddabc873bf91f1701ed2ae70b982252039e268859cfe4f5955d57729c6398f95f2254c9bd75d09feaf7df30d4422482ac89aec7ab0e2de2e9ce066711aed309f4098f906e9eb2fc0a2f2b341815e1218348babf65a9ee156cfcd3beded1f871991309461aa40b7d3bcf780b04d22afbe197c2c2719b3d0382f8efbb46b95df35df22ce5e69bf4cd1509b6dbee03f0c338db0ec81c287179b30ea3be9d8856a142fafa773b7c2162b8024fa8ff495e0c6eaf0764e4c77ee24a1f6783cdb4688ffc33202c69b28be4b21b6a57324d93ecd6284ee1193e6759030f42c3b5ae6bb4ec20eb82dd985c0d991774bdb327d8f7e6ec00bc3dbed13bee09d77dad93f8ad6d93f097f7638c18687a74e4a74633e83d9cdcc4efa4bc1aa38213e871860ac7ec7320c33422e69feefa888cc09e78abc1a703c7657852310f1f344fcac297e7ebdbfc72e85b3c18becc88db24aecadd69958030bd74daf5ede9fcadda6b26cd17eca7423887b4ca6be4af4c5c1eda8ab8c5de5d5c6b03ee609281a52f71e5aa421dfe966c2ee463c310136b50a9f8c464aa248927bb4a9c565dbcfc748b09103cd93a76c1b6d8ae9701a94e85c709dbd637792cb60bb8e767b050a38db2af6688bb45d2cf791959a3b73284d550067d16accfc79555a9135fa8f00996ca855c46c14e1e4885f682bcfb746b50dfc190746d7ea102179728f32d0d7b1848ef3a36650899a854a594e1446f5acab69752b86134b9a58465809b3c8edb35ac4e46877c4132094d33e2abd1d01edd57d4bc1de8a296f683ba42fadf269a26d31b6bf5b759adaf9dcb01a41401a63cef24170ccc4c6899135ad7a55ff335852b2b58a8162cbc29dc9bdce318d108460cbd2a5b3e74f1121d7d5a17b3673bbff51839ad0d9f8bd33d0aeed64fc365e743f49223e0d5a9949a11de21c977251a33b3fccdf44a9317eaa744cb7191d51265bc8c58f798a010bfcc459b7ac078207e4892feef8d83c0c178f4a6dfcb5575a8ae90fe4b7db76e0c7c9c529372794e2353547f4382b6638a22be2d1674de0d979dce2755895a46ba0fa99160aa01f3a781049b6ee4aa2d237a4f2b32c60cc466454de94dc9fd511736efa458c82d0f23368385e88d9e6c2179179c0583b118c999146ec66d5a70709646f1fe9585cd391cc0ecf97b703f4281536a7f8ce9c1ffdaf257f673875c70c9b90b8b81bf4a359c81ab0d6443dc252bb3421a449a7bc90368e574eb0c60e5e73f6f0701529e40d4a9ad8bf1a923f8ad6c44a04027ca28a0d9d0a0d50504256e0a0e0a8f9e288f3bd07e2063cdf4d0a2c0aaaaa49bc3d5011d925e350817f2d0953eb82f6c403922c468f039c127d57a382a4ac71c96fb08f158cd4ce9eed4afe9873874ead76b42e0aefcd1d9e652604fac660ec32346f7c80ea3ccba61be26890bda12f96916a7caa761cc5b012f6896bb3abf2fd8fd83574c048b9ab5d60ad20f8be653bf73dcce092f1099667a70eaa6d6edad8d15a05d2055b012f41544c8b08c0f1a8bae25dfe5bce4a5e066f353426669f6658ed9812e6baa7d97c66b747077faa522a13a115760901bdbf215bafd6ad64c65d18844f2dfb709c831a5b6efd0f57a46ba0f9ae526b6f449a4d893013f25deaa630ce2824022f83cde4ba83b6b4a66fad59496912a5e7492df27121e1fb0cc7d4c9648acba88fcd14fa858209de029c6ff2db933bf1a6ed4b3cfc3be1fc065690d538e02dde15beea52f91eb81767711af24b60ef8591016f9c386295a9e6c3edbfd76d184967663f8209209139b1906d743b5bc4936e49518f2e1fa9dbf255f1592f0b23001dd1add6504117bb2dfae11807246c9985c5c2ecab1b1cae15bfc5e04db1986d68e95e316c"}, @INET_DIAG_REQ_BYTECODE={0x11, 0x1, "06a2f90b31c239d16c361df256"}, @INET_DIAG_REQ_BYTECODE={0xd6, 0x1, "56f072b6fe01084c3ec785d9de69364e00305c791121596b73674bf1b67ff135f215df13302e1ba03c597e57f9c651e2d706e233b314941cc73920e43dfce7e5142812764efebca81a6c4e317c723f9dc0dc0523abe21a627c8450c66d5d7ec8d04a1aaf56c8832adafdefaf209de314600fe55120d02fa7265385be2ca68132e1ecb7b44cbf33ecabf626ea63da6f11a048715549c0164422ba9409fb2890566d3fd6d3584f3c180a8e8c6eb6aac6ba735428b4716b8cb4cadbf6eee17e4d613e1515ed775ae21aa2a09ff5e81ea0be0fc0"}]}, 0x1498}, 0x1, 0x0, 0x0, 0x20400d4}, 0x4000000) (async) setsockopt$IPT_SO_SET_REPLACE(r3, 0x0, 0x40, &(0x7f00000000c0)=@filter={'filter\x00', 0xe, 0x4, 0x2c8, 0xffffffff, 0x0, 0x198, 0x198, 0xffffffff, 0xffffffff, 0x230, 0x230, 0x230, 0xffffffff, 0x4, &(0x7f0000000000), {[{{@uncond, 0x0, 0xa0, 0xc8, 0x0, {}, [@common=@addrtype={{0x30}, {0xa4, 0x230, 0x1, 0x1}}]}, @REJECT={0x28, 'REJECT\x00', 0x0, {0x6}}}, {{@uncond, 0x0, 0x70, 0xd0}, @common=@SET={0x60, 'SET\x00', 0x0, {{0x2, [0x1, 0x2, 0x4, 0x6, 0x1], 0x2, 0x1}, {0x1, [0x2, 0x7, 0x2, 0x3, 0x3, 0x7], 0x6, 0x3}}}}, {{@uncond, 0x0, 0x70, 0x98}, @REJECT={0x28, 'REJECT\x00', 0x0, {0x1}}}], {{'\x00', 0x0, 0x70, 0x98}, {0x28}}}}, 0x328) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:08 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:08 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000124b000000960000000800", 0x0, 0x2}) 00:11:08 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000012af00960000000800", 0x0, 0x2}) 00:11:08 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) r2 = socket$alg(0x26, 0x5, 0x0) ioctl$TCSETS(r0, 0x5402, &(0x7f0000001980)={0x0, 0xfffffff8, 0x1df, 0x8, 0x6, "432f83608326fcac46ba3fd9890e16314fb2fe"}) (async) r3 = accept4(r2, 0x0, 0x0, 0x0) accept$alg(r3, 0x0, 0x0) (async) r4 = socket(0x28, 0x80000, 0xab) sendmsg$DCCPDIAG_GETSOCK(r4, &(0x7f0000001940)={&(0x7f0000000400)={0x10, 0x0, 0x0, 0x20000000}, 0xc, &(0x7f0000001900)={&(0x7f0000000440)={0x1498, 0x13, 0x100, 0x70bd2a, 0x25dfdbff, {0x1e, 0x1f, 0x81, 0xfe, {0x4e20, 0x4e21, [0x5, 0x5, 0x20, 0x5], [0x8, 0x81, 0x1, 0x7fffffff], 0x0, [0x0, 0x1]}, 0x1, 0x1}, [@INET_DIAG_REQ_BYTECODE={0xf6, 0x1, "f6f8798db5318f00a79c6b54f8d524c6296381c9603f291802827eeb675dffff279d9561f63b7a0bebe968f28862cc066c120ba2cdcde3fa92cf8cb33741337fbd7cf94c20402be921efa8dfa8fc7268ca2ed999eddff7efaaac61476ef88330cc352ed76781b1204f3c1d8c8ebf3ccc3e1d89d578100b95bcb967220457ec6eed0bf1bb55980bc64f5ce38459e4fa61a37d88b63882093c9884b6a117dae617f27bc70de1db21ea7d0d39f843be33bbf95e157267bc0d07753e468594b38dfffaf9510c5060f930b42fb4c98c920910729704f6c66a3e92463f1e21e3051ace0e2d55ccc010cf0feb059ba5ad869f923a39"}, @INET_DIAG_REQ_BYTECODE={0x7e, 0x1, "8b4227be4fa7da4e86b919e31b72261a79bd46705d617052078fbdabcd681fc74e132eeb409699464b2904441d397a9db9faa5daf9914851bd8e20e36ea46d5319b1cbb6696076e4fe0d43ef7aeaf5d72c9d053da3fc1a436a544cdf8066b5c7139707df9583e4c18d904cae44dddcf9b7da0f8012936b236ddb"}, @INET_DIAG_REQ_BYTECODE={0x9f, 0x1, "2526cea201f8aeda2a158b93d4f5eac3b5a613b83505e4e35f43e73c60b55c37b1d4e47f79d75c17f10527515358e0c09f7fb1e30b107b2181bdc6ec0009d1b9f8f8d908d01d14520f7f9c5452e5c2d0618c20a7e6eb056ba019595f35f0404cea24bc8d73c01fa46124f5df862f12c85bab0905a7539c2bf62dfcc5370471de5e3cb2d956a3236fd7588bf1b9e460b04cd40ad34d99cee436ede9"}, @INET_DIAG_REQ_BYTECODE={0xda, 0x1, "dc73cf20ae600104b920e043f4ac0b45a1aa51787279c79ce5d0da39198a15228ba72c3c457aeeaab6280ed00732cd9ad5c3f173bf47bd48ec63af208425a7e4426798925dee113be4e202100f665d637fec00b4b9490e240f59acee6df6de7b36c576de119293c0023da47028b40f858d185704cdff1aed35b85860b7ef7c9341594bfa6984a2605990087d8c9e7e2759b38d7ceb402745cb9e15304a488b6c00c720dc8f404757b0952e6eb12a21f5168567c80cea536f985515645e7b7f89c8af24ffd25af37692d4aff740b790a8cda916716e21"}, @INET_DIAG_REQ_BYTECODE={0x66, 0x1, "8f6cab4d114d20df8e6b8ea7bd3bdea059eeefec9734f697895f1dcdedcbf3adc6ecd5ee93599f87db98c9de88f93ace31bad9948aa6ff622abed39808b0e64a8186f34a64c38e56934188f4f1b290eb0929751abe3055b3dbd8b5276940ca3fb081"}, @INET_DIAG_REQ_BYTECODE={0x1004, 0x1, "4d0ece7661cf7e22469f9e652ab3c4fa03b0f5a0f890b06b2fd7b570926a2c964d009438295377e5680ab0d92011bf0826634f21e1e6ab49dd7bcec1504482b77ab2fe2731253242568e1c19987ffd4715aceff7ad38106e3353b2152e38491060adceb79179e2f30d4300657c81dab448b2ad2305e443d7924c4f47c4b8866076e71568fa2b290a4e2230259d81e529e3b6b9375dce3564547869658c4c22edce8512c8493c2d8643500b2bfff559305aafed4c6da93be77212e7e8c5a00514acdb6e9d6a421ed870974e620e3b408b8d4639e237e72e2b0f7da5fd501719bf81ce20f78de736165d4ae29e53696be1f3be37b5f1b6e9945ce787b2cd9786f9d74bb00db25bf9afa060cd931a95e1ab673245bb60ce070946ab757bd8fad3725a04b4afc0d8d3a4173b1d561be3e39f0f149c7a08038c90707d2d3b804d4d0483140e0649efb6b27caa16a38442b742fe38faea8be045b668fd735f8031125b3526e7d4d9b04920d590b631012eec02596fd1dd103e684fe9ebbf362bf35fec46db72b060aa546b8ba2d1dd5f1bbc546091d54b21538ce0facbb5727ee87c4eae861613c7664bc103d29fc2191ac90e2ef5cbdd675f6d78cfcebd0cf31fd1e871a2079de29b17ed119308fd6d2c6812ffff4b06f27fa67c53ef201711333a12e581bccbb6e7df6fe39f2572a7668987e045f00bd1bb4ac6820897f3ec7448f94d8266f5f0cf5742834cd31ee6c32f0f58f4199ed9a508c09b764f61edba1dbc443010cdb59b9c38c41f400021d75cfd312d9dbd5fa722552b0a86811aa93a76e097088e2c98ef96b9e598eb6bd60029dd383c7846142e66333bbad73797db0550ccae5cb90a038c5607639e12452b150b2bc7df648a1b79f88a00499c2ec53a03eea7fb308823d15a99c4e048eafc854f96fc53960cf432e65a632222e2d337075eb806705396e26f16e44ef17b2f91fa9d7ec44cd8d47e14b5e8cefb622a29bbfcac5d5749527abccf343a8dcdd31a9a1fc50d812572aa3961daccb5f38ddff9146845321c8af59e8414bd98f65c1ec99fb81a99eb4b33e74c05b2bfca54570df30e3a47ff428d168e3496e845a4a3a83aced39f2cb6c9556a3498bfebd8dbebc69183e0f77e7857ead85e9c2d45aa027d1348b5e4c6abb6691d90183b97decb51242ba595bd809f0da9d9eb858b2d35184dfa45162d4c7e40986683f2cfd7748d45eed33fc3cfc701cfd56d1843433795880f2bc1134938cb823b98e5b88619c0db87b7382e33b416e01c2c7fcdd54e9f68afffbd18934e88d4452d95ef7f9a5e9c46434cbe71dcfdfde864da24d16f014844e7b50afee0e275657f03d665b8e172587495f9a90ecbe7e9fde86583998dd9bd9bbf993b667b055f2decb91af60ccf26b8d690fe4c0b3f3ae87248ed70cf608999befc84c154f792a614450aa4e0b28080e5ac4f06860e1fcd88d8824dd9d17599b577115cd49a27b6ba2e1645b0d7b06eb719c85c5d68a2c527fdd7da36cd84038673d1687801ea91d6402b2bbf49c92f9453a94bdcdcc5f7a1c37723bc5cf6e6ef5b40893700964d347ed8af9b0d3dc99c59b098515f7e2ab20228cc8d2b1f94db005f451762bc8f8ad5887448633daac8fad76978cca413f5e3e9b3b67d3a2fda8d593e3a98fbc567f5ad6c572e9548ee54d279e774401c2ebeccb7d6d6e35b71b3f2ac96d4347f40df759e1e5e024eea426005438188abaa19e2917fc1d6e2900ef2330f148317c222687240880a45bf90f4d52b5c4e4a297209b1f3606532ac087758b02d611cbba94f4b28d6d0dd2fa16c9ba6a2e90ed6a63fa823a4fe585563c105ee550a81f7b2937ef93628beeb3033e0900e28f58ad5c8350bbd59d6e1615229372a1d965306f7ec427cffa08e7c12567c369ae1eef409cae4d9e3b47ac83af5518f9b8f4bf9d06b31f6a4f5297c72cebdcee9dcf2d727137e6eac697f66ae1bcdea1e6a028deeee5d110b16125457491e76ffe9d435d705879018227074b0418709e4dfaad3ae3bd8e122cfec5b2d66e814838050942ac6b95173ac763ad213114ef732eb053359fdc5aa231e417bf47b6b424dc283170a262d89c461347a2c887f196d643032a26c07790e10c4c308142b4102e5977108dbf087c85e53df7caa7189e339a90c674e39a3b2f01de4745698923b408d1951946cbd86e72e814f110b22ede53c5e211b7b199452fe728cecd852f2e77b4b2058b7d2e8582797afe6ef3c14aea5cbd50431753067e0ae5e69711290de4076c64ccb15be9d133d674d0fdcaf26f999ea7d645ac861cacec104705c2468cd46a93ca68f5a6c3ad84668e584a30a081dd7ea2fdd638248c20c836fb04668da6725bbe215928ae4bccf4a0907d52aff61974f50bfad751ac08d1d4d0086a222f76a98cec8122b2de464677e62b8fe2944c5d3f71b100527d323739078aa3513d1c0851c5985237e87925737facd224af75f6e64d752be399ef3f82d920f504ee4e920a636549c6a02fda10ff1a8f89304c9377039751c30ccc7f0ea8db7a20561e33e31951566e3ca7b498b18d21bb52b38af96bba8c84834c5d099b7cd06c7cedde2f15daaa2443282a170f0141550ed8ba962fc91794cfcc20b343a6687b856be356a632138df395e8bca8ece3a2e8c9f9d1ca8455f09aee309361db35566a2bc8e7cbdaf2c22cfbc160ef153d6fb4c40e065657a8aa01a695490da0e78d33d28944405bfc4d572fa36a105034d60c6aaa1bb82a30f9c3a3806e5eaf6ca34ca467132053a75b010111cb9dc4b7f738d29613dc4f18f9dfba232505b548f263cc3347f619b76b342a00e92fb7b3723022fd291336cda7bc7a6085621cf03fa507eef878648c66f7b25fcdd0d3ce2ff89bdca437623afc9d0eb122590423d2359be1baa1cafb0ee44de15e81d78bdd55f5ea8e855b356e1d745e78cd8db5532c05266395b1cdc4375bc44ea071bfd386a3ae55c006d6e664d47aee373d5ac8659c87c302a5ae458c8a6339518730f9420a5f8d91d543f1d538ff71d05cf5b537f210c5aa39073e159bfef2b2302efb387bd38a8100fad9eafbc946901d9ce221ca4f7b24dbda22150015990a589b444a8425909746d9f7333db6b4931e344c3271275b7791fb64d038748e29411ef641e47aacbfa67044372148178de4419c61dcad0f097302b68e36387b7f4665dacfd27f212e2e4e339bfc610bfd863559f48bd11e724bd50974b12af102b4ccf6591a0cfae34fc6286fc9973fc63b05fda6a228b9356a150942e376974dd8f6c82e92cb536bb21d68412b76f8e92538c8f96e57b016e7832de742e7de25afb264d922fb73e8b19567b366dead7f9586ae2228be11bb09cd87163ee579f8b6b68b0509039b5a6468bb120b891c04dbb7970775fd68def833809999d1b0ff02185868c2fb8c7026bd8a7a62959a7f929cabd916aae9552b354e021512c857d1629bcaec606f343c6099ee45c3593f62d420a02deadbd2bad4cd8d1bfa5f9176b12d063c42f1efdd82965300dbe6595e9779221adc4687b2789d300882373ccb4406506fd2f356b22d146d138f462c66c399bd5926bf8d1a7ba5533f66715c225c41c4aea78948b345a8acf51f79a06f68099ab03d2d4e9a9ad729718524f47e323ec03cb5f4f84e53e4b366187c5c96cb5a8451dac17d132d5192420496a09ca768ebf6977af6d49f4f9847c859fb15df577cb81b63e865288d1a1334bf714dc57f49fedce583e6066a85c7613e7e2c98ec16e6b3b56655734d08f35a0af390b91d8cf1f472c4145650f4f802af3eb465446d9f26913e4dfaf4d64eb1460c3f76234f876c6af03c119a127cf349f5a2a9d82852af7304e271fd14518f24e0606c162affab8ca126bcaa068c9ddabc873bf91f1701ed2ae70b982252039e268859cfe4f5955d57729c6398f95f2254c9bd75d09feaf7df30d4422482ac89aec7ab0e2de2e9ce066711aed309f4098f906e9eb2fc0a2f2b341815e1218348babf65a9ee156cfcd3beded1f871991309461aa40b7d3bcf780b04d22afbe197c2c2719b3d0382f8efbb46b95df35df22ce5e69bf4cd1509b6dbee03f0c338db0ec81c287179b30ea3be9d8856a142fafa773b7c2162b8024fa8ff495e0c6eaf0764e4c77ee24a1f6783cdb4688ffc33202c69b28be4b21b6a57324d93ecd6284ee1193e6759030f42c3b5ae6bb4ec20eb82dd985c0d991774bdb327d8f7e6ec00bc3dbed13bee09d77dad93f8ad6d93f097f7638c18687a74e4a74633e83d9cdcc4efa4bc1aa38213e871860ac7ec7320c33422e69feefa888cc09e78abc1a703c7657852310f1f344fcac297e7ebdbfc72e85b3c18becc88db24aecadd69958030bd74daf5ede9fcadda6b26cd17eca7423887b4ca6be4af4c5c1eda8ab8c5de5d5c6b03ee609281a52f71e5aa421dfe966c2ee463c310136b50a9f8c464aa248927bb4a9c565dbcfc748b09103cd93a76c1b6d8ae9701a94e85c709dbd637792cb60bb8e767b050a38db2af6688bb45d2cf791959a3b73284d550067d16accfc79555a9135fa8f00996ca855c46c14e1e4885f682bcfb746b50dfc190746d7ea102179728f32d0d7b1848ef3a36650899a854a594e1446f5acab69752b86134b9a58465809b3c8edb35ac4e46877c4132094d33e2abd1d01edd57d4bc1de8a296f683ba42fadf269a26d31b6bf5b759adaf9dcb01a41401a63cef24170ccc4c6899135ad7a55ff335852b2b58a8162cbc29dc9bdce318d108460cbd2a5b3e74f1121d7d5a17b3673bbff51839ad0d9f8bd33d0aeed64fc365e743f49223e0d5a9949a11de21c977251a33b3fccdf44a9317eaa744cb7191d51265bc8c58f798a010bfcc459b7ac078207e4892feef8d83c0c178f4a6dfcb5575a8ae90fe4b7db76e0c7c9c529372794e2353547f4382b6638a22be2d1674de0d979dce2755895a46ba0fa99160aa01f3a781049b6ee4aa2d237a4f2b32c60cc466454de94dc9fd511736efa458c82d0f23368385e88d9e6c2179179c0583b118c999146ec66d5a70709646f1fe9585cd391cc0ecf97b703f4281536a7f8ce9c1ffdaf257f673875c70c9b90b8b81bf4a359c81ab0d6443dc252bb3421a449a7bc90368e574eb0c60e5e73f6f0701529e40d4a9ad8bf1a923f8ad6c44a04027ca28a0d9d0a0d50504256e0a0e0a8f9e288f3bd07e2063cdf4d0a2c0aaaaa49bc3d5011d925e350817f2d0953eb82f6c403922c468f039c127d57a382a4ac71c96fb08f158cd4ce9eed4afe9873874ead76b42e0aefcd1d9e652604fac660ec32346f7c80ea3ccba61be26890bda12f96916a7caa761cc5b012f6896bb3abf2fd8fd83574c048b9ab5d60ad20f8be653bf73dcce092f1099667a70eaa6d6edad8d15a05d2055b012f41544c8b08c0f1a8bae25dfe5bce4a5e066f353426669f6658ed9812e6baa7d97c66b747077faa522a13a115760901bdbf215bafd6ad64c65d18844f2dfb709c831a5b6efd0f57a46ba0f9ae526b6f449a4d893013f25deaa630ce2824022f83cde4ba83b6b4a66fad59496912a5e7492df27121e1fb0cc7d4c9648acba88fcd14fa858209de029c6ff2db933bf1a6ed4b3cfc3be1fc065690d538e02dde15beea52f91eb81767711af24b60ef8591016f9c386295a9e6c3edbfd76d184967663f8209209139b1906d743b5bc4936e49518f2e1fa9dbf255f1592f0b23001dd1add6504117bb2dfae11807246c9985c5c2ecab1b1cae15bfc5e04db1986d68e95e316c"}, @INET_DIAG_REQ_BYTECODE={0x11, 0x1, "06a2f90b31c239d16c361df256"}, @INET_DIAG_REQ_BYTECODE={0xd6, 0x1, "56f072b6fe01084c3ec785d9de69364e00305c791121596b73674bf1b67ff135f215df13302e1ba03c597e57f9c651e2d706e233b314941cc73920e43dfce7e5142812764efebca81a6c4e317c723f9dc0dc0523abe21a627c8450c66d5d7ec8d04a1aaf56c8832adafdefaf209de314600fe55120d02fa7265385be2ca68132e1ecb7b44cbf33ecabf626ea63da6f11a048715549c0164422ba9409fb2890566d3fd6d3584f3c180a8e8c6eb6aac6ba735428b4716b8cb4cadbf6eee17e4d613e1515ed775ae21aa2a09ff5e81ea0be0fc0"}]}, 0x1498}, 0x1, 0x0, 0x0, 0x20400d4}, 0x4000000) (async) setsockopt$IPT_SO_SET_REPLACE(r3, 0x0, 0x40, &(0x7f00000000c0)=@filter={'filter\x00', 0xe, 0x4, 0x2c8, 0xffffffff, 0x0, 0x198, 0x198, 0xffffffff, 0xffffffff, 0x230, 0x230, 0x230, 0xffffffff, 0x4, &(0x7f0000000000), {[{{@uncond, 0x0, 0xa0, 0xc8, 0x0, {}, [@common=@addrtype={{0x30}, {0xa4, 0x230, 0x1, 0x1}}]}, @REJECT={0x28, 'REJECT\x00', 0x0, {0x6}}}, {{@uncond, 0x0, 0x70, 0xd0}, @common=@SET={0x60, 'SET\x00', 0x0, {{0x2, [0x1, 0x2, 0x4, 0x6, 0x1], 0x2, 0x1}, {0x1, [0x2, 0x7, 0x2, 0x3, 0x3, 0x7], 0x6, 0x3}}}}, {{@uncond, 0x0, 0x70, 0x98}, @REJECT={0x28, 'REJECT\x00', 0x0, {0x1}}}], {{'\x00', 0x0, 0x70, 0x98}, {0x28}}}}, 0x328) (async, rerun: 64) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (rerun: 64) [ 668.089426][T31138] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 668.091429][T31138] CPU: 0 PID: 31138 Comm: syz-executor.2 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 668.093822][T31138] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 668.093829][T31138] Call trace: [ 668.093832][T31138] dump_backtrace+0x1c4/0x1f0 [ 668.093843][T31138] show_stack+0x2c/0x54 [ 668.093850][T31138] dump_stack_lvl+0x104/0x16c [ 668.093860][T31138] dump_stack+0x1c/0x58 [ 668.093868][T31138] sysfs_create_dir_ns+0x148/0x168 [ 668.093878][T31138] kobject_add_internal+0x244/0x530 [ 668.093888][T31138] kobject_add+0xb8/0x130 [ 668.093895][T31138] device_add+0x248/0x958 [ 668.093903][T31138] device_register+0x28/0x38 [ 668.093910][T31138] tty_register_device_attr+0x1a8/0x320 [ 668.093920][T31138] tty_register_device+0x3c/0x50 [ 668.093928][T31138] gsm_activate_mux+0x9c/0x1f4 [ 668.093937][T31138] gsmld_ioctl+0x6cc/0x764 [ 668.093945][T31138] tty_ioctl+0x6c0/0x9dc [ 668.093953][T31138] __arm64_sys_ioctl+0xd0/0x140 [ 668.093963][T31138] el0_svc_common+0x138/0x220 [ 668.093972][T31138] do_el0_svc+0x48/0x164 [ 668.093981][T31138] el0_svc+0x58/0x150 [ 668.093989][T31138] el0t_64_sync_handler+0x84/0xf0 [ 668.093998][T31138] el0t_64_sync+0x18c/0x190 [ 668.096746][T31138] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:08 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(0xffffffffffffffff, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x1, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSIG(r0, 0x40045436, 0x34) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000000)=0x11) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:08 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:08 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000004c000000960000000800", 0x0, 0x2}) 00:11:08 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:08 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000124c000000960000000800", 0x0, 0x2}) 00:11:08 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 668.406922][ C1] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:580 [ 668.409144][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 31133, name: syz-executor.3 [ 668.411097][ C1] preempt_count: 101, expected: 0 [ 668.412186][ C1] RCU nest depth: 0, expected: 0 [ 668.413143][ C1] 3 locks held by syz-executor.3/31133: [ 668.414300][ C1] #0: ffff0000ff348098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock_pair_timeout+0xe8/0x1c4 [ 668.416702][ C1] #1: ffff00011f7b70b0 (&gsm->mutex){+.+.}-{3:3}, at: gsm_cleanup_mux+0x54/0x3c0 [ 668.418739][ C1] #2: ffff80000800be20 ((&dlci->t1)){+.-.}-{0:0}, at: call_timer_fn+0x54/0x144 [ 668.420612][ C1] Preemption disabled at: [ 668.420619][ C1] [] klist_next+0x30/0x18c [ 668.422724][ C1] CPU: 1 PID: 31133 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 668.424849][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 668.426922][ C1] Call trace: [ 668.427698][ C1] dump_backtrace+0x1c4/0x1f0 [ 668.428705][ C1] show_stack+0x2c/0x54 [ 668.429572][ C1] dump_stack_lvl+0x104/0x16c [ 668.430545][ C1] dump_stack+0x1c/0x58 [ 668.431464][ C1] __might_resched+0x208/0x218 [ 668.432426][ C1] __might_sleep+0x48/0x78 [ 668.433385][ C1] __mutex_lock_common+0x6c/0xca8 [ 668.434469][ C1] mutex_lock_nested+0x38/0x44 [ 668.435454][ C1] gsm_send+0x1a0/0x260 [ 668.436342][ C1] gsm_dlci_t1+0xa8/0x1e0 [ 668.437312][ C1] call_timer_fn+0x90/0x144 [ 668.438324][ C1] __run_timers+0x280/0x374 [ 668.439383][ C1] run_timer_softirq+0x34/0x5c [ 668.440451][ C1] _stext+0x168/0x37c [ 668.441329][ C1] ____do_softirq+0x14/0x20 [ 668.442321][ C1] call_on_irq_stack+0x2c/0x54 [ 668.443342][ C1] do_softirq_own_stack+0x20/0x2c [ 668.444406][ C1] invoke_softirq+0x70/0xbc [ 668.445413][ C1] __irq_exit_rcu+0xf0/0x140 [ 668.446170][ C1] irq_exit_rcu+0x10/0x40 [ 668.446924][ C1] el1_interrupt+0x38/0x68 [ 668.447663][ C1] el1h_64_irq_handler+0x18/0x24 [ 668.448474][ C1] el1h_64_irq+0x64/0x68 [ 668.449178][ C1] _raw_spin_unlock_irqrestore+0x58/0x8c [ 668.450514][ C1] klist_next+0x108/0x18c [ 668.451673][ C1] class_find_device+0xc0/0x178 [ 668.452808][ C1] device_destroy+0x48/0xdc [ 668.453758][ C1] tty_unregister_device+0x38/0x88 [ 668.454903][ C1] gsm_cleanup_mux+0x22c/0x3c0 [ 668.455860][ C1] gsmld_close+0x28/0x74 [ 668.456785][ C1] tty_ldisc_release+0x108/0x384 [ 668.457848][ C1] tty_release_struct+0x28/0x9c [ 668.459008][ C1] tty_release+0x5e8/0x614 [ 668.459980][ C1] __fput+0x198/0x3dc [ 668.460917][ C1] ____fput+0x20/0x30 [ 668.461778][ C1] task_work_run+0xc4/0x14c [ 668.462771][ C1] do_notify_resume+0x174/0x1f0 [ 668.463817][ C1] el0_svc+0x9c/0x150 [ 668.464664][ C1] el0t_64_sync_handler+0x84/0xf0 [ 668.465626][ C1] el0t_64_sync+0x18c/0x190 [ 668.466678][ C1] [ 668.467168][ C1] ============================= [ 668.468172][ C1] [ BUG: Invalid wait context ] [ 668.469112][ C1] 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 Tainted: G W [ 668.470838][ C1] ----------------------------- [ 668.471899][ C1] syz-executor.3/31133 is trying to lock: [ 668.473144][ C1] ffff00011b7e4430 (&gsm->tx_mutex){+.+.}-{3:3}, at: gsm_send+0x1a0/0x260 [ 668.474954][ C1] other info that might help us debug this: [ 668.476119][ C1] context-{2:2} [ 668.476846][ C1] 3 locks held by syz-executor.3/31133: [ 668.478019][ C1] #0: ffff0000ff348098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock_pair_timeout+0xe8/0x1c4 [ 668.480255][ C1] #1: ffff00011f7b70b0 (&gsm->mutex){+.+.}-{3:3}, at: gsm_cleanup_mux+0x54/0x3c0 [ 668.482185][ C1] #2: ffff80000800be20 ((&dlci->t1)){+.-.}-{0:0}, at: call_timer_fn+0x54/0x144 [ 668.484125][ C1] stack backtrace: [ 668.484912][ C1] CPU: 1 PID: 31133 Comm: syz-executor.3 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 668.487472][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 668.489570][ C1] Call trace: [ 668.490272][ C1] dump_backtrace+0x1c4/0x1f0 [ 668.491276][ C1] show_stack+0x2c/0x54 [ 668.492187][ C1] dump_stack_lvl+0x104/0x16c [ 668.493225][ C1] dump_stack+0x1c/0x58 [ 668.494152][ C1] __lock_acquire+0x9c8/0x30a4 [ 668.495151][ C1] lock_acquire+0x100/0x1f8 [ 668.496087][ C1] __mutex_lock_common+0xd4/0xca8 [ 668.497224][ C1] mutex_lock_nested+0x38/0x44 [ 668.498169][ C1] gsm_send+0x1a0/0x260 [ 668.499062][ C1] gsm_dlci_t1+0xa8/0x1e0 [ 668.499993][ C1] call_timer_fn+0x90/0x144 [ 668.500978][ C1] __run_timers+0x280/0x374 [ 668.502014][ C1] run_timer_softirq+0x34/0x5c [ 668.503055][ C1] _stext+0x168/0x37c [ 668.503850][ C1] ____do_softirq+0x14/0x20 [ 668.504913][ C1] call_on_irq_stack+0x2c/0x54 [ 668.505974][ C1] do_softirq_own_stack+0x20/0x2c [ 668.507163][ C1] invoke_softirq+0x70/0xbc [ 668.508118][ C1] __irq_exit_rcu+0xf0/0x140 [ 668.509009][ C1] irq_exit_rcu+0x10/0x40 [ 668.509866][ C1] el1_interrupt+0x38/0x68 [ 668.510902][ C1] el1h_64_irq_handler+0x18/0x24 [ 668.511942][ C1] el1h_64_irq+0x64/0x68 [ 668.512933][ C1] _raw_spin_unlock_irqrestore+0x58/0x8c [ 668.514050][ C1] klist_next+0x108/0x18c [ 668.514815][ C1] class_find_device+0xc0/0x178 [ 668.515613][ C1] device_destroy+0x48/0xdc [ 668.516343][ C1] tty_unregister_device+0x38/0x88 [ 668.517376][ C1] gsm_cleanup_mux+0x22c/0x3c0 [ 668.518483][ C1] gsmld_close+0x28/0x74 [ 668.519411][ C1] tty_ldisc_release+0x108/0x384 [ 668.520483][ C1] tty_release_struct+0x28/0x9c [ 668.521536][ C1] tty_release+0x5e8/0x614 [ 668.522565][ C1] __fput+0x198/0x3dc [ 668.523442][ C1] ____fput+0x20/0x30 [ 668.524253][ C1] task_work_run+0xc4/0x14c [ 668.525266][ C1] do_notify_resume+0x174/0x1f0 [ 668.526420][ C1] el0_svc+0x9c/0x150 [ 668.527284][ C1] el0t_64_sync_handler+0x84/0xf0 [ 668.528325][ C1] el0t_64_sync+0x18c/0x190 00:11:08 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000080120000960000000800", 0x0, 0x2}) 00:11:08 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000124d000000960000000800", 0x0, 0x2}) 00:11:08 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:08 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:08 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000012b000960000000800", 0x0, 0x2}) 00:11:08 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 668.749017][T31156] can0: slcan on tty23. [ 668.797068][T31148] can0 (unregistered): slcan off tty23. 00:11:08 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(0xffffffffffffffff, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async, rerun: 64) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x1, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async, rerun: 64) ioctl$TIOCSIG(r0, 0x40045436, 0x34) (async) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000000)=0x11) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async, rerun: 64) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (rerun: 64) 00:11:08 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:08 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:08 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:08 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(0xffffffffffffffff, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x1, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSIG(r0, 0x40045436, 0x34) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000000)=0x11) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(0xffffffffffffffff, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x1, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSIG(r0, 0x40045436, 0x34) (async) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) (async) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000000)=0x11) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) 00:11:08 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000002", 0x0, 0x2}) [ 668.862733][T31190] can0: slcan on tty23. 00:11:08 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000081120000960000000800", 0x0, 0x2}) 00:11:08 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000003", 0x0, 0x2}) 00:11:08 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000124e000000960000000800", 0x0, 0x2}) 00:11:08 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000004", 0x0, 0x2}) [ 668.930084][T31196] can0 (unregistered): slcan off tty23. [ 668.960321][T31205] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 668.962484][T31205] CPU: 0 PID: 31205 Comm: syz-executor.0 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 668.965146][T31205] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 668.967314][T31205] Call trace: [ 668.968001][T31205] dump_backtrace+0x1c4/0x1f0 [ 668.969016][T31205] show_stack+0x2c/0x54 [ 668.969865][T31205] dump_stack_lvl+0x104/0x16c [ 668.970852][T31205] dump_stack+0x1c/0x58 [ 668.971652][T31205] sysfs_create_dir_ns+0x148/0x168 [ 668.972864][T31205] kobject_add_internal+0x244/0x530 [ 668.974129][T31205] kobject_add+0xb8/0x130 [ 668.975042][T31205] device_add+0x248/0x958 [ 668.975932][T31205] device_register+0x28/0x38 [ 668.976984][T31205] tty_register_device_attr+0x1a8/0x320 [ 668.978163][T31205] tty_register_device+0x3c/0x50 [ 668.979210][T31205] gsm_activate_mux+0x9c/0x1f4 [ 668.980172][T31205] gsmld_ioctl+0x6cc/0x764 [ 668.981113][T31205] tty_ioctl+0x6c0/0x9dc [ 668.981968][T31205] __arm64_sys_ioctl+0xd0/0x140 [ 668.983016][T31205] el0_svc_common+0x138/0x220 [ 668.983985][T31205] do_el0_svc+0x48/0x164 [ 668.984892][T31205] el0_svc+0x58/0x150 [ 668.985768][T31205] el0t_64_sync_handler+0x84/0xf0 [ 668.986876][T31205] el0t_64_sync+0x18c/0x190 [ 669.002816][T31205] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:09 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) setsockopt$inet_IP_XFRM_POLICY(r0, 0x0, 0x11, &(0x7f00000000c0)={{{@in=@broadcast, @in6=@loopback, 0x4e20, 0x9000, 0x4e22, 0x20, 0xa, 0x40, 0x20, 0x2b, 0x0, 0xffffffffffffffff}, {0x4000000000000005, 0x599d1e58, 0x10001, 0x7, 0x5, 0x7, 0x5, 0x427}, {0x3, 0xeaa, 0x1, 0x2}, 0x6, 0x6e6bb1, 0x2, 0x1, 0x0, 0x2}, {{@in=@loopback, 0x4d6, 0x2b}, 0xa, @in6=@ipv4={'\x00', '\xff\xff', @loopback}, 0x3504, 0x0, 0x2, 0x16, 0x3ff, 0x401, 0xffffffff}}, 0xe8) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) sendmsg$ETHTOOL_MSG_LINKSTATE_GET(0xffffffffffffffff, &(0x7f00000004c0)={0x0, 0x0, &(0x7f0000000480)={0x0, 0x14}}, 0x0) getsockname$packet(0xffffffffffffffff, &(0x7f0000000300)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000200)=0x14) sendmsg$nl_route(0xffffffffffffffff, &(0x7f0000000000)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000040)=ANY=[@ANYBLOB="3c0000001000010400eeffffffffffffff000000", @ANYRES32=r3, @ANYBLOB="01000000010000001c0012000c000100627269646765"], 0x3c}}, 0x0) sendmsg$nl_route_sched(0xffffffffffffffff, &(0x7f00000007c0)={0x0, 0x0, &(0x7f0000000780)={&(0x7f0000000280)=@newqdisc={0x38, 0x24, 0xe0b, 0x0, 0x0, {0x0, 0x0, 0x0, r3, {}, {0xffff, 0xffff}}, [@qdisc_kind_options=@q_pie={{0x8}, {0xc, 0x2, [@TCA_PIE_TUPDATE={0x8, 0x8, 0xffffff7f}]}}]}, 0x38}}, 0x0) r4 = socket(0x10, 0x3, 0x0) r5 = socket$nl_route(0x10, 0x3, 0x0) r6 = socket(0x10, 0x803, 0x0) sendmsg$ETHTOOL_MSG_LINKSTATE_GET(r6, &(0x7f00000004c0)={0x0, 0x0, &(0x7f0000000480)={0x0, 0x14}}, 0x0) getsockname$packet(r6, &(0x7f0000000300)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000200)=0x14) sendmsg$nl_route(r5, &(0x7f0000000000)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000040)=ANY=[@ANYBLOB="3c0000001000010400eeffffffffffffff000000", @ANYRES32=r7, @ANYBLOB="01000000010000001c0012000c000100627269646765"], 0x3c}}, 0x0) sendmsg$nl_route_sched(r4, &(0x7f00000007c0)={0x0, 0x0, &(0x7f0000000780)={&(0x7f0000000280)=@newqdisc={0x38, 0x24, 0xe0b, 0x0, 0x0, {0x0, 0x0, 0x0, r7, {}, {0xffff, 0xffff}}, [@qdisc_kind_options=@q_pie={{0x8}, {0xc, 0x2, [@TCA_PIE_TUPDATE={0x8, 0x8, 0xffffff7f}]}}]}, 0x38}}, 0x0) sendmsg$nl_route(0xffffffffffffffff, &(0x7f0000000240)={&(0x7f0000000000)={0x10, 0x0, 0x0, 0x10000}, 0xc, &(0x7f0000000200)={&(0x7f0000000340)=ANY=[@ANYBLOB="400000006a0000022bbd7000fcdbdf250200000000000000080001000100000008000500", @ANYRES32=r3, @ANYBLOB="08000a000200000008000100000031e7014fb3f3e697163891f078c0a900009321d6003558b979340cbb9b5fbb7b2b6eb23417a0aea0094ff7cbd2da05cfed392e13e2d8bf45673b6b207ab0cb46aea8bf723bd52e99fa32ee88699b1c68416fc49d1602f38c8948d04defb6b6e67ba1ce12e10750d2ed714af3a7e6494e72ff3d72ac6a635302136e2081a881395febfc8c52886a642846d619941562c871c1bc410619cb4cd98587e5b300"/186, @ANYRES32=r7, @ANYBLOB], 0x40}, 0x1, 0x0, 0x0, 0x800}, 0x80) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:09 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000012b100960000000800", 0x0, 0x2}) 00:11:09 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000005", 0x0, 0x2}) [ 669.025009][T31209] netlink: 12 bytes leftover after parsing attributes in process `syz-executor.1'. 00:11:09 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000006", 0x0, 0x2}) 00:11:09 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) setsockopt$inet_IP_XFRM_POLICY(r0, 0x0, 0x11, &(0x7f00000000c0)={{{@in=@broadcast, @in6=@loopback, 0x4e20, 0x9000, 0x4e22, 0x20, 0xa, 0x40, 0x20, 0x2b, 0x0, 0xffffffffffffffff}, {0x4000000000000005, 0x599d1e58, 0x10001, 0x7, 0x5, 0x7, 0x5, 0x427}, {0x3, 0xeaa, 0x1, 0x2}, 0x6, 0x6e6bb1, 0x2, 0x1, 0x0, 0x2}, {{@in=@loopback, 0x4d6, 0x2b}, 0xa, @in6=@ipv4={'\x00', '\xff\xff', @loopback}, 0x3504, 0x0, 0x2, 0x16, 0x3ff, 0x401, 0xffffffff}}, 0xe8) (async, rerun: 64) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async, rerun: 64) sendmsg$ETHTOOL_MSG_LINKSTATE_GET(0xffffffffffffffff, &(0x7f00000004c0)={0x0, 0x0, &(0x7f0000000480)={0x0, 0x14}}, 0x0) getsockname$packet(0xffffffffffffffff, &(0x7f0000000300)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000200)=0x14) sendmsg$nl_route(0xffffffffffffffff, &(0x7f0000000000)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000040)=ANY=[@ANYBLOB="3c0000001000010400eeffffffffffffff000000", @ANYRES32=r3, @ANYBLOB="01000000010000001c0012000c000100627269646765"], 0x3c}}, 0x0) sendmsg$nl_route_sched(0xffffffffffffffff, &(0x7f00000007c0)={0x0, 0x0, &(0x7f0000000780)={&(0x7f0000000280)=@newqdisc={0x38, 0x24, 0xe0b, 0x0, 0x0, {0x0, 0x0, 0x0, r3, {}, {0xffff, 0xffff}}, [@qdisc_kind_options=@q_pie={{0x8}, {0xc, 0x2, [@TCA_PIE_TUPDATE={0x8, 0x8, 0xffffff7f}]}}]}, 0x38}}, 0x0) (async, rerun: 64) r4 = socket(0x10, 0x3, 0x0) (rerun: 64) r5 = socket$nl_route(0x10, 0x3, 0x0) r6 = socket(0x10, 0x803, 0x0) sendmsg$ETHTOOL_MSG_LINKSTATE_GET(r6, &(0x7f00000004c0)={0x0, 0x0, &(0x7f0000000480)={0x0, 0x14}}, 0x0) (async) getsockname$packet(r6, &(0x7f0000000300)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000200)=0x14) sendmsg$nl_route(r5, &(0x7f0000000000)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000040)=ANY=[@ANYBLOB="3c0000001000010400eeffffffffffffff000000", @ANYRES32=r7, @ANYBLOB="01000000010000001c0012000c000100627269646765"], 0x3c}}, 0x0) (async) sendmsg$nl_route_sched(r4, &(0x7f00000007c0)={0x0, 0x0, &(0x7f0000000780)={&(0x7f0000000280)=@newqdisc={0x38, 0x24, 0xe0b, 0x0, 0x0, {0x0, 0x0, 0x0, r7, {}, {0xffff, 0xffff}}, [@qdisc_kind_options=@q_pie={{0x8}, {0xc, 0x2, [@TCA_PIE_TUPDATE={0x8, 0x8, 0xffffff7f}]}}]}, 0x38}}, 0x0) (async) sendmsg$nl_route(0xffffffffffffffff, &(0x7f0000000240)={&(0x7f0000000000)={0x10, 0x0, 0x0, 0x10000}, 0xc, &(0x7f0000000200)={&(0x7f0000000340)=ANY=[@ANYBLOB="400000006a0000022bbd7000fcdbdf250200000000000000080001000100000008000500", @ANYRES32=r3, @ANYBLOB="08000a000200000008000100000031e7014fb3f3e697163891f078c0a900009321d6003558b979340cbb9b5fbb7b2b6eb23417a0aea0094ff7cbd2da05cfed392e13e2d8bf45673b6b207ab0cb46aea8bf723bd52e99fa32ee88699b1c68416fc49d1602f38c8948d04defb6b6e67ba1ce12e10750d2ed714af3a7e6494e72ff3d72ac6a635302136e2081a881395febfc8c52886a642846d619941562c871c1bc410619cb4cd98587e5b300"/186, @ANYRES32=r7, @ANYBLOB], 0x40}, 0x1, 0x0, 0x0, 0x800}, 0x80) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async, rerun: 64) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (rerun: 64) 00:11:09 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:09 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:09 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000007", 0x0, 0x2}) 00:11:09 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000008", 0x0, 0x2}) 00:11:09 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:09 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000082120000960000000800", 0x0, 0x2}) 00:11:09 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000009", 0x0, 0x2}) 00:11:09 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000124f000000960000000800", 0x0, 0x2}) 00:11:09 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000012b200960000000800", 0x0, 0x2}) 00:11:09 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800000a", 0x0, 0x2}) 00:11:09 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001250000000960000000800", 0x0, 0x2}) 00:11:09 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) setsockopt$inet_IP_XFRM_POLICY(r0, 0x0, 0x11, &(0x7f00000000c0)={{{@in=@broadcast, @in6=@loopback, 0x4e20, 0x9000, 0x4e22, 0x20, 0xa, 0x40, 0x20, 0x2b, 0x0, 0xffffffffffffffff}, {0x4000000000000005, 0x599d1e58, 0x10001, 0x7, 0x5, 0x7, 0x5, 0x427}, {0x3, 0xeaa, 0x1, 0x2}, 0x6, 0x6e6bb1, 0x2, 0x1, 0x0, 0x2}, {{@in=@loopback, 0x4d6, 0x2b}, 0xa, @in6=@ipv4={'\x00', '\xff\xff', @loopback}, 0x3504, 0x0, 0x2, 0x16, 0x3ff, 0x401, 0xffffffff}}, 0xe8) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) sendmsg$ETHTOOL_MSG_LINKSTATE_GET(0xffffffffffffffff, &(0x7f00000004c0)={0x0, 0x0, &(0x7f0000000480)={0x0, 0x14}}, 0x0) (async) getsockname$packet(0xffffffffffffffff, &(0x7f0000000300)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000200)=0x14) sendmsg$nl_route(0xffffffffffffffff, &(0x7f0000000000)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000040)=ANY=[@ANYBLOB="3c0000001000010400eeffffffffffffff000000", @ANYRES32=r3, @ANYBLOB="01000000010000001c0012000c000100627269646765"], 0x3c}}, 0x0) sendmsg$nl_route_sched(0xffffffffffffffff, &(0x7f00000007c0)={0x0, 0x0, &(0x7f0000000780)={&(0x7f0000000280)=@newqdisc={0x38, 0x24, 0xe0b, 0x0, 0x0, {0x0, 0x0, 0x0, r3, {}, {0xffff, 0xffff}}, [@qdisc_kind_options=@q_pie={{0x8}, {0xc, 0x2, [@TCA_PIE_TUPDATE={0x8, 0x8, 0xffffff7f}]}}]}, 0x38}}, 0x0) r4 = socket(0x10, 0x3, 0x0) r5 = socket$nl_route(0x10, 0x3, 0x0) (async) r6 = socket(0x10, 0x803, 0x0) sendmsg$ETHTOOL_MSG_LINKSTATE_GET(r6, &(0x7f00000004c0)={0x0, 0x0, &(0x7f0000000480)={0x0, 0x14}}, 0x0) (async) getsockname$packet(r6, &(0x7f0000000300)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000200)=0x14) sendmsg$nl_route(r5, &(0x7f0000000000)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000040)=ANY=[@ANYBLOB="3c0000001000010400eeffffffffffffff000000", @ANYRES32=r7, @ANYBLOB="01000000010000001c0012000c000100627269646765"], 0x3c}}, 0x0) (async) sendmsg$nl_route_sched(r4, &(0x7f00000007c0)={0x0, 0x0, &(0x7f0000000780)={&(0x7f0000000280)=@newqdisc={0x38, 0x24, 0xe0b, 0x0, 0x0, {0x0, 0x0, 0x0, r7, {}, {0xffff, 0xffff}}, [@qdisc_kind_options=@q_pie={{0x8}, {0xc, 0x2, [@TCA_PIE_TUPDATE={0x8, 0x8, 0xffffff7f}]}}]}, 0x38}}, 0x0) (async) sendmsg$nl_route(0xffffffffffffffff, &(0x7f0000000240)={&(0x7f0000000000)={0x10, 0x0, 0x0, 0x10000}, 0xc, &(0x7f0000000200)={&(0x7f0000000340)=ANY=[@ANYBLOB="400000006a0000022bbd7000fcdbdf250200000000000000080001000100000008000500", @ANYRES32=r3, @ANYBLOB="08000a000200000008000100000031e7014fb3f3e697163891f078c0a900009321d6003558b979340cbb9b5fbb7b2b6eb23417a0aea0094ff7cbd2da05cfed392e13e2d8bf45673b6b207ab0cb46aea8bf723bd52e99fa32ee88699b1c68416fc49d1602f38c8948d04defb6b6e67ba1ce12e10750d2ed714af3a7e6494e72ff3d72ac6a635302136e2081a881395febfc8c52886a642846d619941562c871c1bc410619cb4cd98587e5b300"/186, @ANYRES32=r7, @ANYBLOB], 0x40}, 0x1, 0x0, 0x0, 0x800}, 0x80) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:09 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800000b", 0x0, 0x2}) 00:11:09 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000012b300960000000800", 0x0, 0x2}) 00:11:09 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800000c", 0x0, 0x2}) 00:11:09 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800000d", 0x0, 0x2}) [ 669.396174][T31258] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 669.398065][T31258] CPU: 1 PID: 31258 Comm: syz-executor.0 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 669.400733][T31258] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 669.402905][T31258] Call trace: [ 669.403609][T31258] dump_backtrace+0x1c4/0x1f0 [ 669.404741][T31258] show_stack+0x2c/0x54 [ 669.405645][T31258] dump_stack_lvl+0x104/0x16c [ 669.406617][T31258] dump_stack+0x1c/0x58 [ 669.407573][T31258] sysfs_create_dir_ns+0x148/0x168 [ 669.408717][T31258] kobject_add_internal+0x244/0x530 [ 669.409883][T31258] kobject_add+0xb8/0x130 [ 669.410843][T31258] device_add+0x248/0x958 [ 669.411859][T31258] device_register+0x28/0x38 [ 669.412847][T31258] tty_register_device_attr+0x1a8/0x320 [ 669.414090][T31258] tty_register_device+0x3c/0x50 [ 669.415200][T31258] gsm_activate_mux+0x9c/0x1f4 [ 669.416206][T31258] gsmld_ioctl+0x6cc/0x764 [ 669.417188][T31258] tty_ioctl+0x6c0/0x9dc [ 669.418193][T31258] __arm64_sys_ioctl+0xd0/0x140 [ 669.419244][T31258] el0_svc_common+0x138/0x220 [ 669.420190][T31258] do_el0_svc+0x48/0x164 [ 669.421103][T31258] el0_svc+0x58/0x150 [ 669.421907][T31258] el0t_64_sync_handler+0x84/0xf0 [ 669.422982][T31258] el0t_64_sync+0x18c/0x190 [ 669.426926][T31258] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:09 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:09 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCFLSH(r0, 0x540b, 0x1) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:09 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000083120000960000000800", 0x0, 0x2}) 00:11:09 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800000e", 0x0, 0x2}) 00:11:09 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000010", 0x0, 0x2}) 00:11:09 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCFLSH(r0, 0x540b, 0x1) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:09 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001251000000960000000800", 0x0, 0x2}) 00:11:09 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000011", 0x0, 0x2}) 00:11:09 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCFLSH(r0, 0x540b, 0x1) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:09 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000012", 0x0, 0x2}) 00:11:09 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) sendmsg$ETHTOOL_MSG_LINKSTATE_GET(0xffffffffffffffff, &(0x7f00000004c0)={0x0, 0x0, &(0x7f0000000480)={0x0, 0x14}}, 0x0) getsockname$packet(0xffffffffffffffff, &(0x7f0000000300)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000200)=0x14) sendmsg$nl_route(0xffffffffffffffff, &(0x7f0000000000)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000040)=ANY=[@ANYBLOB="3c0000001000010400eeffffffffffffff000000", @ANYRES32=r2, @ANYBLOB="01000000010000001c0012000c000100627269646765"], 0x3c}}, 0x0) sendmsg$nl_route_sched(0xffffffffffffffff, &(0x7f00000007c0)={0x0, 0x0, &(0x7f0000000780)={&(0x7f0000000280)=@newqdisc={0x38, 0x24, 0xe0b, 0x0, 0x0, {0x0, 0x0, 0x0, r2, {}, {0xffff, 0xffff}}, [@qdisc_kind_options=@q_pie={{0x8}, {0xc, 0x2, [@TCA_PIE_TUPDATE={0x8, 0x8, 0xffffff7f}]}}]}, 0x38}}, 0x0) ioctl$sock_ipv6_tunnel_SIOCADDTUNNEL(0xffffffffffffffff, 0x89f1, &(0x7f0000000240)={'syztnl2\x00', &(0x7f00000001c0)={'ip6tnl0\x00', 0x0, 0x29, 0x40, 0x1, 0x3, 0x22, @mcast2, @mcast2, 0x40, 0x8, 0x3, 0x10000}}) r4 = socket(0x10, 0x3, 0x0) r5 = socket$nl_route(0x10, 0x3, 0x0) r6 = socket(0x10, 0x803, 0x0) sendmsg$ETHTOOL_MSG_LINKSTATE_GET(r6, &(0x7f00000004c0)={0x0, 0x0, &(0x7f0000000480)={0x0, 0x14}}, 0x0) getsockname$packet(r6, &(0x7f0000000300)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000200)=0x14) sendmsg$nl_route(r5, &(0x7f0000000000)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000040)=ANY=[@ANYBLOB="3c0000001000010400eeffffffffffffff000000", @ANYRES32=r7, @ANYBLOB="01000000010000001c0012000c000100627269646765"], 0x3c}}, 0x0) sendmsg$nl_route_sched(r4, &(0x7f00000007c0)={0x0, 0x0, &(0x7f0000000780)={&(0x7f0000000280)=@newqdisc={0x38, 0x24, 0xe0b, 0x0, 0x0, {0x0, 0x0, 0x0, r7, {}, {0xffff, 0xffff}}, [@qdisc_kind_options=@q_pie={{0x8}, {0xc, 0x2, [@TCA_PIE_TUPDATE={0x8, 0x8, 0xffffff7f}]}}]}, 0x38}}, 0x0) sendmsg$nl_route(0xffffffffffffffff, &(0x7f00000003c0)={&(0x7f0000000000)={0x10, 0x0, 0x0, 0x800000}, 0xc, &(0x7f0000000380)={&(0x7f0000000280)=@RTM_DELMDB={0xd8, 0x55, 0x400, 0x70bd26, 0x25dfdbfb, {}, [@MDBA_SET_ENTRY={0x20, 0x1, {0x0, 0x1, 0x0, 0x0, {@ip4=@remote, 0x800}}}, @MDBA_SET_ENTRY={0x20, 0x1, {0x0, 0x0, 0x1, 0x3, {@ip4=@broadcast, 0x86dd}}}, @MDBA_SET_ENTRY={0x20, 0x1, {0x0, 0x1, 0x2, 0x4, {@ip4=@multicast2, 0x800}}}, @MDBA_SET_ENTRY={0x20, 0x1, {r2, 0x0, 0x1, 0x2, {@in6_addr=@ipv4={'\x00', '\xff\xff', @remote}, 0x800}}}, @MDBA_SET_ENTRY={0x20, 0x1, {r3, 0x1, 0x1, 0x3, {@in6_addr=@dev={0xfe, 0x80, '\x00', 0xa}, 0x800}}}, @MDBA_SET_ENTRY={0x20, 0x1, {r7, 0x1, 0x0, 0x4, {@ip4=@multicast2, 0x800}}}]}, 0xd8}, 0x1, 0x0, 0x0, 0x20000014}, 0x4000040) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:09 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000012b400960000000800", 0x0, 0x2}) [ 669.766639][T31288] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 669.768743][T31288] CPU: 1 PID: 31288 Comm: syz-executor.0 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 669.771369][T31288] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 669.773497][T31288] Call trace: [ 669.774199][T31288] dump_backtrace+0x1c4/0x1f0 [ 669.775273][T31288] show_stack+0x2c/0x54 [ 669.776227][T31288] dump_stack_lvl+0x104/0x16c [ 669.777309][T31288] dump_stack+0x1c/0x58 [ 669.778173][T31288] sysfs_create_dir_ns+0x148/0x168 [ 669.779361][T31288] kobject_add_internal+0x244/0x530 [ 669.780517][T31288] kobject_add+0xb8/0x130 [ 669.781528][T31288] device_add+0x248/0x958 [ 669.782500][T31288] device_register+0x28/0x38 [ 669.783451][T31288] tty_register_device_attr+0x1a8/0x320 [ 669.784751][T31288] tty_register_device+0x3c/0x50 [ 669.785876][T31288] gsm_activate_mux+0x9c/0x1f4 [ 669.786914][T31288] gsmld_ioctl+0x6cc/0x764 [ 669.787925][T31288] tty_ioctl+0x6c0/0x9dc [ 669.788843][T31288] __arm64_sys_ioctl+0xd0/0x140 [ 669.789800][T31288] el0_svc_common+0x138/0x220 [ 669.790813][T31288] do_el0_svc+0x48/0x164 [ 669.791772][T31288] el0_svc+0x58/0x150 [ 669.792715][T31288] el0t_64_sync_handler+0x84/0xf0 [ 669.793810][T31288] el0t_64_sync+0x18c/0x190 [ 669.795979][T31288] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. [ 669.811842][T31289] netlink: 12 bytes leftover after parsing attributes in process `syz-executor.1'. [ 669.823882][T31289] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 669.828093][T31289] CPU: 1 PID: 31289 Comm: syz-executor.1 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 669.830790][T31289] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 669.833083][T31289] Call trace: [ 669.833813][T31289] dump_backtrace+0x1c4/0x1f0 [ 669.834856][T31289] show_stack+0x2c/0x54 [ 669.835744][T31289] dump_stack_lvl+0x104/0x16c [ 669.836790][T31289] dump_stack+0x1c/0x58 [ 669.837705][T31289] sysfs_create_dir_ns+0x148/0x168 [ 669.838841][T31289] kobject_add_internal+0x244/0x530 [ 669.840004][T31289] kobject_add+0xb8/0x130 [ 669.840959][T31289] device_add+0x248/0x958 [ 669.841934][T31289] device_register+0x28/0x38 [ 669.842995][T31289] tty_register_device_attr+0x1a8/0x320 [ 669.844286][T31289] tty_register_device+0x3c/0x50 [ 669.845444][T31289] gsm_activate_mux+0x9c/0x1f4 [ 669.846462][T31289] gsmld_ioctl+0x6cc/0x764 [ 669.847496][T31289] tty_ioctl+0x6c0/0x9dc [ 669.848424][T31289] __arm64_sys_ioctl+0xd0/0x140 [ 669.849401][T31289] el0_svc_common+0x138/0x220 [ 669.850408][T31289] do_el0_svc+0x48/0x164 [ 669.851375][T31289] el0_svc+0x58/0x150 [ 669.852251][T31289] el0t_64_sync_handler+0x84/0xf0 [ 669.853319][T31289] el0t_64_sync+0x18c/0x190 [ 669.858157][T31289] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:09 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:09 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000000000009600000008000025", 0x0, 0x2}) 00:11:09 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000012b500960000000800", 0x0, 0x2}) 00:11:09 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000084120000960000000800", 0x0, 0x2}) 00:11:09 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000012b600960000000800", 0x0, 0x2}) 00:11:09 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800005c", 0x0, 0x2}) [ 669.944372][T31303] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 669.946663][T31303] CPU: 1 PID: 31303 Comm: syz-executor.2 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 669.949226][T31303] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 669.951496][T31303] Call trace: [ 669.952246][T31303] dump_backtrace+0x1c4/0x1f0 [ 669.953333][T31303] show_stack+0x2c/0x54 [ 669.954273][T31303] dump_stack_lvl+0x104/0x16c [ 669.955343][T31303] dump_stack+0x1c/0x58 [ 669.956289][T31303] sysfs_create_dir_ns+0x148/0x168 [ 669.957424][T31303] kobject_add_internal+0x244/0x530 [ 669.958586][T31303] kobject_add+0xb8/0x130 [ 669.959561][T31303] device_add+0x248/0x958 [ 669.960520][T31303] device_register+0x28/0x38 [ 669.961556][T31303] tty_register_device_attr+0x1a8/0x320 [ 669.962647][T31303] tty_register_device+0x3c/0x50 [ 669.963693][T31303] gsm_activate_mux+0x9c/0x1f4 [ 669.964705][T31303] gsmld_ioctl+0x6cc/0x764 [ 669.965657][T31303] tty_ioctl+0x6c0/0x9dc [ 669.966571][T31303] __arm64_sys_ioctl+0xd0/0x140 [ 669.967559][T31303] el0_svc_common+0x138/0x220 [ 669.968559][T31303] do_el0_svc+0x48/0x164 [ 669.969453][T31303] el0_svc+0x58/0x150 [ 669.970358][T31303] el0t_64_sync_handler+0x84/0xf0 [ 669.971406][T31303] el0t_64_sync+0x18c/0x190 [ 669.975327][T31303] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:10 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001252000000960000000800", 0x0, 0x2}) 00:11:10 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:10 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000012b700960000000800", 0x0, 0x2}) 00:11:10 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000000ff00960000000800", 0x0, 0x2}) 00:11:10 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001253000000960000000800", 0x0, 0x2}) 00:11:10 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) sendmsg$ETHTOOL_MSG_LINKSTATE_GET(0xffffffffffffffff, &(0x7f00000004c0)={0x0, 0x0, &(0x7f0000000480)={0x0, 0x14}}, 0x0) (async) getsockname$packet(0xffffffffffffffff, &(0x7f0000000300)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000200)=0x14) sendmsg$nl_route(0xffffffffffffffff, &(0x7f0000000000)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000040)=ANY=[@ANYBLOB="3c0000001000010400eeffffffffffffff000000", @ANYRES32=r2, @ANYBLOB="01000000010000001c0012000c000100627269646765"], 0x3c}}, 0x0) (async) sendmsg$nl_route_sched(0xffffffffffffffff, &(0x7f00000007c0)={0x0, 0x0, &(0x7f0000000780)={&(0x7f0000000280)=@newqdisc={0x38, 0x24, 0xe0b, 0x0, 0x0, {0x0, 0x0, 0x0, r2, {}, {0xffff, 0xffff}}, [@qdisc_kind_options=@q_pie={{0x8}, {0xc, 0x2, [@TCA_PIE_TUPDATE={0x8, 0x8, 0xffffff7f}]}}]}, 0x38}}, 0x0) (async) ioctl$sock_ipv6_tunnel_SIOCADDTUNNEL(0xffffffffffffffff, 0x89f1, &(0x7f0000000240)={'syztnl2\x00', &(0x7f00000001c0)={'ip6tnl0\x00', 0x0, 0x29, 0x40, 0x1, 0x3, 0x22, @mcast2, @mcast2, 0x40, 0x8, 0x3, 0x10000}}) r4 = socket(0x10, 0x3, 0x0) (async) r5 = socket$nl_route(0x10, 0x3, 0x0) (async) r6 = socket(0x10, 0x803, 0x0) sendmsg$ETHTOOL_MSG_LINKSTATE_GET(r6, &(0x7f00000004c0)={0x0, 0x0, &(0x7f0000000480)={0x0, 0x14}}, 0x0) (async) getsockname$packet(r6, &(0x7f0000000300)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000200)=0x14) sendmsg$nl_route(r5, &(0x7f0000000000)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000040)=ANY=[@ANYBLOB="3c0000001000010400eeffffffffffffff000000", @ANYRES32=r7, @ANYBLOB="01000000010000001c0012000c000100627269646765"], 0x3c}}, 0x0) (async) sendmsg$nl_route_sched(r4, &(0x7f00000007c0)={0x0, 0x0, &(0x7f0000000780)={&(0x7f0000000280)=@newqdisc={0x38, 0x24, 0xe0b, 0x0, 0x0, {0x0, 0x0, 0x0, r7, {}, {0xffff, 0xffff}}, [@qdisc_kind_options=@q_pie={{0x8}, {0xc, 0x2, [@TCA_PIE_TUPDATE={0x8, 0x8, 0xffffff7f}]}}]}, 0x38}}, 0x0) sendmsg$nl_route(0xffffffffffffffff, &(0x7f00000003c0)={&(0x7f0000000000)={0x10, 0x0, 0x0, 0x800000}, 0xc, &(0x7f0000000380)={&(0x7f0000000280)=@RTM_DELMDB={0xd8, 0x55, 0x400, 0x70bd26, 0x25dfdbfb, {}, [@MDBA_SET_ENTRY={0x20, 0x1, {0x0, 0x1, 0x0, 0x0, {@ip4=@remote, 0x800}}}, @MDBA_SET_ENTRY={0x20, 0x1, {0x0, 0x0, 0x1, 0x3, {@ip4=@broadcast, 0x86dd}}}, @MDBA_SET_ENTRY={0x20, 0x1, {0x0, 0x1, 0x2, 0x4, {@ip4=@multicast2, 0x800}}}, @MDBA_SET_ENTRY={0x20, 0x1, {r2, 0x0, 0x1, 0x2, {@in6_addr=@ipv4={'\x00', '\xff\xff', @remote}, 0x800}}}, @MDBA_SET_ENTRY={0x20, 0x1, {r3, 0x1, 0x1, 0x3, {@in6_addr=@dev={0xfe, 0x80, '\x00', 0xa}, 0x800}}}, @MDBA_SET_ENTRY={0x20, 0x1, {r7, 0x1, 0x0, 0x4, {@ip4=@multicast2, 0x800}}}]}, 0xd8}, 0x1, 0x0, 0x0, 0x20000014}, 0x4000040) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:10 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000e0ffff00960000000800", 0x0, 0x2}) 00:11:10 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800e0ff", 0x0, 0x2}) 00:11:10 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000088120000960000000800", 0x0, 0x2}) 00:11:10 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001254000000960000000800", 0x0, 0x2}) 00:11:10 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000250000960000000800", 0x0, 0x2}) 00:11:10 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001255000000960000000800", 0x0, 0x2}) 00:11:10 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000480000960000000800", 0x0, 0x2}) 00:11:10 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001256000000960000000800", 0x0, 0x2}) 00:11:10 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000004c0000960000000800", 0x0, 0x2}) 00:11:10 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:10 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000005c0000960000000800", 0x0, 0x2}) [ 670.406171][T31343] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 670.408644][T31343] CPU: 1 PID: 31343 Comm: syz-executor.0 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 670.411173][T31343] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 670.413422][T31343] Call trace: [ 670.414196][T31343] dump_backtrace+0x1c4/0x1f0 [ 670.415399][T31343] show_stack+0x2c/0x54 [ 670.416294][T31343] dump_stack_lvl+0x104/0x16c [ 670.417438][T31343] dump_stack+0x1c/0x58 [ 670.418327][T31343] sysfs_create_dir_ns+0x148/0x168 [ 670.419502][T31343] kobject_add_internal+0x244/0x530 [ 670.420661][T31343] kobject_add+0xb8/0x130 [ 670.420670][T31343] device_add+0x248/0x958 [ 670.420677][T31343] device_register+0x28/0x38 [ 670.420684][T31343] tty_register_device_attr+0x1a8/0x320 [ 670.420694][T31343] tty_register_device+0x3c/0x50 [ 670.420701][T31343] gsm_activate_mux+0x9c/0x1f4 [ 670.420710][T31343] gsmld_ioctl+0x6cc/0x764 [ 670.420717][T31343] tty_ioctl+0x6c0/0x9dc [ 670.420724][T31343] __arm64_sys_ioctl+0xd0/0x140 [ 670.420734][T31343] el0_svc_common+0x138/0x220 [ 670.420742][T31343] do_el0_svc+0x48/0x164 [ 670.420750][T31343] el0_svc+0x58/0x150 [ 670.420758][T31343] el0t_64_sync_handler+0x84/0xf0 [ 670.420767][T31343] el0t_64_sync+0x18c/0x190 [ 670.436101][T31343] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:10 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async, rerun: 32) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) (rerun: 32) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async, rerun: 64) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async, rerun: 64) sendmsg$ETHTOOL_MSG_LINKSTATE_GET(0xffffffffffffffff, &(0x7f00000004c0)={0x0, 0x0, &(0x7f0000000480)={0x0, 0x14}}, 0x0) getsockname$packet(0xffffffffffffffff, &(0x7f0000000300)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000200)=0x14) sendmsg$nl_route(0xffffffffffffffff, &(0x7f0000000000)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000040)=ANY=[@ANYBLOB="3c0000001000010400eeffffffffffffff000000", @ANYRES32=r2, @ANYBLOB="01000000010000001c0012000c000100627269646765"], 0x3c}}, 0x0) (async) sendmsg$nl_route_sched(0xffffffffffffffff, &(0x7f00000007c0)={0x0, 0x0, &(0x7f0000000780)={&(0x7f0000000280)=@newqdisc={0x38, 0x24, 0xe0b, 0x0, 0x0, {0x0, 0x0, 0x0, r2, {}, {0xffff, 0xffff}}, [@qdisc_kind_options=@q_pie={{0x8}, {0xc, 0x2, [@TCA_PIE_TUPDATE={0x8, 0x8, 0xffffff7f}]}}]}, 0x38}}, 0x0) ioctl$sock_ipv6_tunnel_SIOCADDTUNNEL(0xffffffffffffffff, 0x89f1, &(0x7f0000000240)={'syztnl2\x00', &(0x7f00000001c0)={'ip6tnl0\x00', 0x0, 0x29, 0x40, 0x1, 0x3, 0x22, @mcast2, @mcast2, 0x40, 0x8, 0x3, 0x10000}}) (async, rerun: 64) r4 = socket(0x10, 0x3, 0x0) (async, rerun: 64) r5 = socket$nl_route(0x10, 0x3, 0x0) (async) r6 = socket(0x10, 0x803, 0x0) sendmsg$ETHTOOL_MSG_LINKSTATE_GET(r6, &(0x7f00000004c0)={0x0, 0x0, &(0x7f0000000480)={0x0, 0x14}}, 0x0) (async) getsockname$packet(r6, &(0x7f0000000300)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000200)=0x14) sendmsg$nl_route(r5, &(0x7f0000000000)={0x0, 0x0, &(0x7f0000000140)={&(0x7f0000000040)=ANY=[@ANYBLOB="3c0000001000010400eeffffffffffffff000000", @ANYRES32=r7, @ANYBLOB="01000000010000001c0012000c000100627269646765"], 0x3c}}, 0x0) sendmsg$nl_route_sched(r4, &(0x7f00000007c0)={0x0, 0x0, &(0x7f0000000780)={&(0x7f0000000280)=@newqdisc={0x38, 0x24, 0xe0b, 0x0, 0x0, {0x0, 0x0, 0x0, r7, {}, {0xffff, 0xffff}}, [@qdisc_kind_options=@q_pie={{0x8}, {0xc, 0x2, [@TCA_PIE_TUPDATE={0x8, 0x8, 0xffffff7f}]}}]}, 0x38}}, 0x0) (async) sendmsg$nl_route(0xffffffffffffffff, &(0x7f00000003c0)={&(0x7f0000000000)={0x10, 0x0, 0x0, 0x800000}, 0xc, &(0x7f0000000380)={&(0x7f0000000280)=@RTM_DELMDB={0xd8, 0x55, 0x400, 0x70bd26, 0x25dfdbfb, {}, [@MDBA_SET_ENTRY={0x20, 0x1, {0x0, 0x1, 0x0, 0x0, {@ip4=@remote, 0x800}}}, @MDBA_SET_ENTRY={0x20, 0x1, {0x0, 0x0, 0x1, 0x3, {@ip4=@broadcast, 0x86dd}}}, @MDBA_SET_ENTRY={0x20, 0x1, {0x0, 0x1, 0x2, 0x4, {@ip4=@multicast2, 0x800}}}, @MDBA_SET_ENTRY={0x20, 0x1, {r2, 0x0, 0x1, 0x2, {@in6_addr=@ipv4={'\x00', '\xff\xff', @remote}, 0x800}}}, @MDBA_SET_ENTRY={0x20, 0x1, {r3, 0x1, 0x1, 0x3, {@in6_addr=@dev={0xfe, 0x80, '\x00', 0xa}, 0x800}}}, @MDBA_SET_ENTRY={0x20, 0x1, {r7, 0x1, 0x0, 0x4, {@ip4=@multicast2, 0x800}}}]}, 0xd8}, 0x1, 0x0, 0x0, 0x20000014}, 0x4000040) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:10 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000002000000960000000800", 0x0, 0x2}) 00:11:10 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:10 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:10 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000680000960000000800", 0x0, 0x2}) 00:11:10 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000006c0000960000000800", 0x0, 0x2}) 00:11:10 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012700000960000000800", 0x0, 0x2}) 00:11:10 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 670.596208][T31361] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 670.600692][T31361] CPU: 0 PID: 31361 Comm: syz-executor.3 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 670.603237][T31361] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 670.605312][T31361] Call trace: [ 670.606061][T31361] dump_backtrace+0x1c4/0x1f0 [ 670.607013][T31361] show_stack+0x2c/0x54 [ 670.607871][T31361] dump_stack_lvl+0x104/0x16c [ 670.608903][T31361] dump_stack+0x1c/0x58 [ 670.609751][T31361] sysfs_create_dir_ns+0x148/0x168 [ 670.610913][T31361] kobject_add_internal+0x244/0x530 [ 670.612154][T31361] kobject_add+0xb8/0x130 [ 670.612162][T31361] device_add+0x248/0x958 [ 670.612170][T31361] device_register+0x28/0x38 [ 670.612176][T31361] tty_register_device_attr+0x1a8/0x320 [ 670.612186][T31361] tty_register_device+0x3c/0x50 [ 670.612194][T31361] gsm_activate_mux+0x9c/0x1f4 [ 670.612202][T31361] gsmld_ioctl+0x6cc/0x764 [ 670.612210][T31361] tty_ioctl+0x6c0/0x9dc [ 670.612217][T31361] __arm64_sys_ioctl+0xd0/0x140 [ 670.612226][T31361] el0_svc_common+0x138/0x220 [ 670.612235][T31361] do_el0_svc+0x48/0x164 [ 670.612243][T31361] el0_svc+0x58/0x150 [ 670.612252][T31361] el0t_64_sync_handler+0x84/0xf0 [ 670.612260][T31361] el0t_64_sync+0x18c/0x190 [ 670.636636][T31361] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:10 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012710000960000000800", 0x0, 0x2}) 00:11:10 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001257000000960000000800", 0x0, 0x2}) 00:11:10 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:10 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012720000960000000800", 0x0, 0x2}) 00:11:10 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) setsockopt$inet_udp_encap(r0, 0x11, 0x64, &(0x7f00000000c0)=0x5, 0x4) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x9, 0x0, 0x0, 0x5, "ebeed70000000000000000960000000800", 0x4, 0xfffffffe}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$VT_GETSTATE(0xffffffffffffffff, 0x5603, &(0x7f0000000000)={0x6, 0x7, 0xba8a}) [ 670.775230][T31374] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 670.777382][T31374] CPU: 0 PID: 31374 Comm: syz-executor.2 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 670.779913][T31374] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 670.782132][T31374] Call trace: [ 670.782907][T31374] dump_backtrace+0x1c4/0x1f0 [ 670.783936][T31374] show_stack+0x2c/0x54 [ 670.784926][T31374] dump_stack_lvl+0x104/0x16c [ 670.785996][T31374] dump_stack+0x1c/0x58 [ 670.786824][T31374] sysfs_create_dir_ns+0x148/0x168 [ 670.787932][T31374] kobject_add_internal+0x244/0x530 [ 670.789065][T31374] kobject_add+0xb8/0x130 [ 670.790033][T31374] device_add+0x248/0x958 [ 670.790894][T31374] device_register+0x28/0x38 [ 670.791844][T31374] tty_register_device_attr+0x1a8/0x320 [ 670.792978][T31374] tty_register_device+0x3c/0x50 [ 670.793980][T31374] gsm_activate_mux+0x9c/0x1f4 [ 670.794957][T31374] gsmld_ioctl+0x6cc/0x764 [ 670.795960][T31374] tty_ioctl+0x6c0/0x9dc [ 670.796903][T31374] __arm64_sys_ioctl+0xd0/0x140 [ 670.797875][T31374] el0_svc_common+0x138/0x220 [ 670.798879][T31374] do_el0_svc+0x48/0x164 [ 670.799758][T31374] el0_svc+0x58/0x150 [ 670.800618][T31374] el0t_64_sync_handler+0x84/0xf0 [ 670.801723][T31374] el0t_64_sync+0x18c/0x190 [ 670.803746][T31374] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:10 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001258000000960000000800", 0x0, 0x2}) 00:11:10 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012730000960000000800", 0x0, 0x2}) 00:11:10 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:10 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000003000000960000000800", 0x0, 0x2}) 00:11:10 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:10 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000004000000960000000800", 0x0, 0x2}) 00:11:10 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:10 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000005000000960000000800", 0x0, 0x2}) 00:11:10 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 670.923514][T31393] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 670.925730][T31393] CPU: 0 PID: 31393 Comm: syz-executor.0 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 670.928217][T31393] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 670.930379][T31393] Call trace: [ 670.931134][T31393] dump_backtrace+0x1c4/0x1f0 [ 670.932081][T31393] show_stack+0x2c/0x54 [ 670.932959][T31393] dump_stack_lvl+0x104/0x16c [ 670.933899][T31393] dump_stack+0x1c/0x58 [ 670.933908][T31393] sysfs_create_dir_ns+0x148/0x168 [ 670.933918][T31393] kobject_add_internal+0x244/0x530 [ 670.933927][T31393] kobject_add+0xb8/0x130 [ 670.933933][T31393] device_add+0x248/0x958 [ 670.933941][T31393] device_register+0x28/0x38 [ 670.933947][T31393] tty_register_device_attr+0x1a8/0x320 [ 670.933957][T31393] tty_register_device+0x3c/0x50 [ 670.933965][T31393] gsm_activate_mux+0x9c/0x1f4 [ 670.933973][T31393] gsmld_ioctl+0x6cc/0x764 [ 670.933981][T31393] tty_ioctl+0x6c0/0x9dc [ 670.933988][T31393] __arm64_sys_ioctl+0xd0/0x140 [ 670.933997][T31393] el0_svc_common+0x138/0x220 [ 670.934006][T31393] do_el0_svc+0x48/0x164 [ 670.934013][T31393] el0_svc+0x58/0x150 [ 670.934021][T31393] el0t_64_sync_handler+0x84/0xf0 [ 670.934030][T31393] el0t_64_sync+0x18c/0x190 [ 670.937151][T31393] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:11 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000006000000960000000800", 0x0, 0x2}) 00:11:11 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:11 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) setsockopt$inet_udp_encap(r0, 0x11, 0x64, &(0x7f00000000c0)=0x5, 0x4) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x9, 0x0, 0x0, 0x5, "ebeed70000000000000000960000000800", 0x4, 0xfffffffe}) (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$VT_GETSTATE(0xffffffffffffffff, 0x5603, &(0x7f0000000000)={0x6, 0x7, 0xba8a}) 00:11:11 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:11 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:11 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000001259000000960000000800", 0x0, 0x2}) 00:11:11 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000740000960000000800", 0x0, 0x2}) 00:11:11 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000125a000000960000000800", 0x0, 0x2}) 00:11:11 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000125b000000960000000800", 0x0, 0x2}) 00:11:11 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012740000960000000800", 0x0, 0x2}) [ 671.228238][T31417] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty1' [ 671.230139][T31417] CPU: 1 PID: 31417 Comm: syz-executor.2 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 671.230150][T31417] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 671.230155][T31417] Call trace: [ 671.230157][T31417] dump_backtrace+0x1c4/0x1f0 [ 671.230168][T31417] show_stack+0x2c/0x54 [ 671.230174][T31417] dump_stack_lvl+0x104/0x16c [ 671.230184][T31417] dump_stack+0x1c/0x58 [ 671.230191][T31417] sysfs_create_dir_ns+0x148/0x168 [ 671.230200][T31417] kobject_add_internal+0x244/0x530 [ 671.230209][T31417] kobject_add+0xb8/0x130 [ 671.230215][T31417] device_add+0x248/0x958 [ 671.230222][T31417] device_register+0x28/0x38 [ 671.230229][T31417] tty_register_device_attr+0x1a8/0x320 [ 671.230238][T31417] tty_register_device+0x3c/0x50 [ 671.230246][T31417] gsm_activate_mux+0x9c/0x1f4 [ 671.230254][T31417] gsmld_ioctl+0x6cc/0x764 [ 671.230262][T31417] tty_ioctl+0x6c0/0x9dc [ 671.230269][T31417] __arm64_sys_ioctl+0xd0/0x140 [ 671.230279][T31417] el0_svc_common+0x138/0x220 [ 671.230288][T31417] do_el0_svc+0x48/0x164 [ 671.230295][T31417] el0_svc+0x58/0x150 [ 671.230303][T31417] el0t_64_sync_handler+0x84/0xf0 [ 671.230312][T31417] el0t_64_sync+0x18c/0x190 [ 671.230322][T31417] kobject_add_internal failed for gsmtty1 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:11 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012750000960000000800", 0x0, 0x2}) 00:11:11 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000005c000000960000000800", 0x0, 0x2}) 00:11:11 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000007000000960000000800", 0x0, 0x2}) 00:11:11 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000068000000960000000800", 0x0, 0x2}) 00:11:11 executing program 1: r0 = socket$inet_udp(0x2, 0x2, 0x0) setsockopt$inet_udp_encap(r0, 0x11, 0x64, &(0x7f00000000c0)=0x5, 0x4) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x9, 0x0, 0x0, 0x5, "ebeed70000000000000000960000000800", 0x4, 0xfffffffe}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$VT_GETSTATE(0xffffffffffffffff, 0x5603, &(0x7f0000000000)={0x6, 0x7, 0xba8a}) 00:11:11 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000008000000960000000800", 0x0, 0x2}) 00:11:11 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:11 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:11 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000006c000000960000000800", 0x0, 0x2}) 00:11:11 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:11 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:11 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:11 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:11 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:11 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012760000960000000800", 0x0, 0x2}) 00:11:11 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:11 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) r1 = openat$sysfs(0xffffffffffffff9c, &(0x7f0000000000)='/sys/module/dvb_as102', 0x101000, 0x4a) ioctl$FIONREAD(r1, 0x541b, &(0x7f00000000c0)) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 671.673201][T31459] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 671.675073][T31459] CPU: 1 PID: 31459 Comm: syz-executor.2 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 671.677626][T31459] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 671.679839][T31459] Call trace: [ 671.680559][T31459] dump_backtrace+0x1c4/0x1f0 [ 671.681560][T31459] show_stack+0x2c/0x54 [ 671.682494][T31459] dump_stack_lvl+0x104/0x16c [ 671.683523][T31459] dump_stack+0x1c/0x58 [ 671.684415][T31459] sysfs_create_dir_ns+0x148/0x168 [ 671.685424][T31459] kobject_add_internal+0x244/0x530 [ 671.686558][T31459] kobject_add+0xb8/0x130 [ 671.687548][T31459] device_add+0x248/0x958 [ 671.688631][T31459] device_register+0x28/0x38 [ 671.688639][T31459] tty_register_device_attr+0x1a8/0x320 [ 671.688649][T31459] tty_register_device+0x3c/0x50 [ 671.688657][T31459] gsm_activate_mux+0x9c/0x1f4 [ 671.688666][T31459] gsmld_ioctl+0x6cc/0x764 [ 671.688673][T31459] tty_ioctl+0x6c0/0x9dc [ 671.688680][T31459] __arm64_sys_ioctl+0xd0/0x140 [ 671.688690][T31459] el0_svc_common+0x138/0x220 [ 671.688699][T31459] do_el0_svc+0x48/0x164 [ 671.688707][T31459] el0_svc+0x58/0x150 [ 671.688715][T31459] el0t_64_sync_handler+0x84/0xf0 [ 671.688724][T31459] el0t_64_sync+0x18c/0x190 [ 671.699476][T31459] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:11 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012770000960000000800", 0x0, 0x2}) 00:11:11 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000009000000960000000800", 0x0, 0x2}) 00:11:11 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) r1 = openat$sysfs(0xffffffffffffff9c, &(0x7f0000000000)='/sys/module/dvb_as102', 0x101000, 0x4a) ioctl$FIONREAD(r1, 0x541b, &(0x7f00000000c0)) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async, rerun: 64) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (rerun: 64) 00:11:11 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000126f000000960000000800", 0x0, 0x2}) 00:11:11 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000a000000960000000800", 0x0, 0x2}) 00:11:11 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000074000000960000000800", 0x0, 0x2}) 00:11:11 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000007a000000960000000800", 0x0, 0x2}) 00:11:11 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000b000000960000000800", 0x0, 0x2}) [ 671.814164][T31478] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 671.816200][T31478] CPU: 0 PID: 31478 Comm: syz-executor.1 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 671.818702][T31478] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 671.821004][T31478] Call trace: [ 671.821682][T31478] dump_backtrace+0x1c4/0x1f0 [ 671.822709][T31478] show_stack+0x2c/0x54 [ 671.823663][T31478] dump_stack_lvl+0x104/0x16c [ 671.824694][T31478] dump_stack+0x1c/0x58 [ 671.825576][T31478] sysfs_create_dir_ns+0x148/0x168 [ 671.826675][T31478] kobject_add_internal+0x244/0x530 [ 671.827775][T31478] kobject_add+0xb8/0x130 [ 671.828676][T31478] device_add+0x248/0x958 [ 671.829614][T31478] device_register+0x28/0x38 [ 671.830589][T31478] tty_register_device_attr+0x1a8/0x320 [ 671.831772][T31478] tty_register_device+0x3c/0x50 [ 671.832864][T31478] gsm_activate_mux+0x9c/0x1f4 [ 671.833907][T31478] gsmld_ioctl+0x6cc/0x764 [ 671.834927][T31478] tty_ioctl+0x6c0/0x9dc [ 671.835860][T31478] __arm64_sys_ioctl+0xd0/0x140 [ 671.836878][T31478] el0_svc_common+0x138/0x220 [ 671.837811][T31478] do_el0_svc+0x48/0x164 [ 671.838690][T31478] el0_svc+0x58/0x150 [ 671.839546][T31478] el0t_64_sync_handler+0x84/0xf0 [ 671.840633][T31478] el0t_64_sync+0x18c/0x190 [ 671.842710][T31478] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. [ 671.845822][T31478] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 671.847937][T31478] CPU: 0 PID: 31478 Comm: syz-executor.1 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 671.850498][T31478] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 671.852670][T31478] Call trace: [ 671.853409][T31478] dump_backtrace+0x1c4/0x1f0 [ 671.854331][T31478] show_stack+0x2c/0x54 [ 671.855223][T31478] dump_stack_lvl+0x104/0x16c [ 671.856235][T31478] dump_stack+0x1c/0x58 [ 671.857166][T31478] sysfs_create_dir_ns+0x148/0x168 [ 671.858327][T31478] kobject_add_internal+0x244/0x530 [ 671.859503][T31478] kobject_add+0xb8/0x130 [ 671.860445][T31478] device_add+0x248/0x958 [ 671.861318][T31478] device_register+0x28/0x38 [ 671.862272][T31478] tty_register_device_attr+0x1a8/0x320 [ 671.863461][T31478] tty_register_device+0x3c/0x50 [ 671.864511][T31478] gsm_activate_mux+0x9c/0x1f4 [ 671.865497][T31478] gsmld_ioctl+0x6cc/0x764 [ 671.866509][T31478] tty_ioctl+0x6c0/0x9dc [ 671.867465][T31478] __arm64_sys_ioctl+0xd0/0x140 [ 671.868538][T31478] el0_svc_common+0x138/0x220 [ 671.869716][T31478] do_el0_svc+0x48/0x164 [ 671.870559][T31478] el0_svc+0x58/0x150 [ 671.871426][T31478] el0t_64_sync_handler+0x84/0xf0 [ 671.872548][T31478] el0t_64_sync+0x18c/0x190 [ 671.874332][T31478] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. [ 671.877724][T31478] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 671.879812][T31478] CPU: 0 PID: 31478 Comm: syz-executor.1 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 671.882272][T31478] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 671.884459][T31478] Call trace: [ 671.885199][T31478] dump_backtrace+0x1c4/0x1f0 [ 671.886223][T31478] show_stack+0x2c/0x54 [ 671.887070][T31478] dump_stack_lvl+0x104/0x16c [ 671.888124][T31478] dump_stack+0x1c/0x58 [ 671.888981][T31478] sysfs_create_dir_ns+0x148/0x168 [ 671.890134][T31478] kobject_add_internal+0x244/0x530 [ 671.891243][T31478] kobject_add+0xb8/0x130 [ 671.892136][T31478] device_add+0x248/0x958 [ 671.893079][T31478] device_register+0x28/0x38 [ 671.894097][T31478] tty_register_device_attr+0x1a8/0x320 [ 671.895208][T31478] tty_register_device+0x3c/0x50 [ 671.896272][T31478] gsm_activate_mux+0x9c/0x1f4 [ 671.897361][T31478] gsmld_ioctl+0x6cc/0x764 [ 671.898300][T31478] tty_ioctl+0x6c0/0x9dc [ 671.899206][T31478] __arm64_sys_ioctl+0xd0/0x140 [ 671.900264][T31478] el0_svc_common+0x138/0x220 [ 671.901342][T31478] do_el0_svc+0x48/0x164 [ 671.902239][T31478] el0_svc+0x58/0x150 [ 671.903135][T31478] el0t_64_sync_handler+0x84/0xf0 [ 671.904208][T31478] el0t_64_sync+0x18c/0x190 [ 671.905604][T31478] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. [ 671.908812][T31478] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 671.910859][T31478] CPU: 0 PID: 31478 Comm: syz-executor.1 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 671.913482][T31478] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 671.915541][T31478] Call trace: [ 671.916239][T31478] dump_backtrace+0x1c4/0x1f0 [ 671.917328][T31478] show_stack+0x2c/0x54 [ 671.918261][T31478] dump_stack_lvl+0x104/0x16c [ 671.919038][T31478] dump_stack+0x1c/0x58 [ 671.919729][T31478] sysfs_create_dir_ns+0x148/0x168 [ 671.920573][T31478] kobject_add_internal+0x244/0x530 [ 671.921435][T31478] kobject_add+0xb8/0x130 [ 671.922150][T31478] device_add+0x248/0x958 [ 671.922868][T31478] device_register+0x28/0x38 [ 671.923682][T31478] tty_register_device_attr+0x1a8/0x320 [ 671.924742][T31478] tty_register_device+0x3c/0x50 [ 671.925558][T31478] gsm_activate_mux+0x9c/0x1f4 [ 671.926342][T31478] gsmld_ioctl+0x6cc/0x764 [ 671.927075][T31478] tty_ioctl+0x6c0/0x9dc [ 671.927923][T31478] __arm64_sys_ioctl+0xd0/0x140 [ 671.928923][T31478] el0_svc_common+0x138/0x220 [ 671.929973][T31478] do_el0_svc+0x48/0x164 [ 671.930784][T31478] el0_svc+0x58/0x150 [ 671.931679][T31478] el0t_64_sync_handler+0x84/0xf0 [ 671.932686][T31478] el0t_64_sync+0x18c/0x190 [ 671.934301][T31478] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. [ 671.937518][T31478] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 671.939431][T31478] CPU: 0 PID: 31478 Comm: syz-executor.1 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 671.941314][T31478] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 671.943288][T31478] Call trace: [ 671.943996][T31478] dump_backtrace+0x1c4/0x1f0 [ 671.945068][T31478] show_stack+0x2c/0x54 [ 671.945852][T31478] dump_stack_lvl+0x104/0x16c [ 671.946825][T31478] dump_stack+0x1c/0x58 [ 671.947741][T31478] sysfs_create_dir_ns+0x148/0x168 [ 671.948824][T31478] kobject_add_internal+0x244/0x530 [ 671.949962][T31478] kobject_add+0xb8/0x130 [ 671.950895][T31478] device_add+0x248/0x958 [ 671.951793][T31478] device_register+0x28/0x38 [ 671.952725][T31478] tty_register_device_attr+0x1a8/0x320 [ 671.953880][T31478] tty_register_device+0x3c/0x50 [ 671.954946][T31478] gsm_activate_mux+0x9c/0x1f4 [ 671.955906][T31478] gsmld_ioctl+0x6cc/0x764 [ 671.956713][T31478] tty_ioctl+0x6c0/0x9dc [ 671.957448][T31478] __arm64_sys_ioctl+0xd0/0x140 [ 671.958242][T31478] el0_svc_common+0x138/0x220 [ 671.959298][T31478] do_el0_svc+0x48/0x164 [ 671.960263][T31478] el0_svc+0x58/0x150 [ 671.961169][T31478] el0t_64_sync_handler+0x84/0xf0 [ 671.962241][T31478] el0t_64_sync+0x18c/0x190 [ 671.963820][T31478] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. [ 671.969180][T31478] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 671.971041][T31478] CPU: 1 PID: 31478 Comm: syz-executor.1 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 671.973438][T31478] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 671.975468][T31478] Call trace: [ 671.976127][T31478] dump_backtrace+0x1c4/0x1f0 [ 671.977108][T31478] show_stack+0x2c/0x54 [ 671.977991][T31478] dump_stack_lvl+0x104/0x16c [ 671.979035][T31478] dump_stack+0x1c/0x58 [ 671.980005][T31478] sysfs_create_dir_ns+0x148/0x168 [ 671.981076][T31478] kobject_add_internal+0x244/0x530 [ 671.982157][T31478] kobject_add+0xb8/0x130 [ 671.983090][T31478] device_add+0x248/0x958 [ 671.983989][T31478] device_register+0x28/0x38 [ 671.984996][T31478] tty_register_device_attr+0x1a8/0x320 [ 671.986209][T31478] tty_register_device+0x3c/0x50 [ 671.987257][T31478] gsm_activate_mux+0x9c/0x1f4 [ 671.988203][T31478] gsmld_ioctl+0x6cc/0x764 [ 671.989126][T31478] tty_ioctl+0x6c0/0x9dc [ 671.990035][T31478] __arm64_sys_ioctl+0xd0/0x140 [ 671.991121][T31478] el0_svc_common+0x138/0x220 [ 671.992087][T31478] do_el0_svc+0x48/0x164 [ 671.993028][T31478] el0_svc+0x58/0x150 [ 671.993829][T31478] el0t_64_sync_handler+0x84/0xf0 [ 671.994856][T31478] el0t_64_sync+0x18c/0x190 [ 671.999821][T31478] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. [ 672.005671][T31478] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 672.013195][T31478] CPU: 1 PID: 31478 Comm: syz-executor.1 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 672.015740][T31478] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 672.017948][T31478] Call trace: [ 672.018650][T31478] dump_backtrace+0x1c4/0x1f0 [ 672.019662][T31478] show_stack+0x2c/0x54 [ 672.020619][T31478] dump_stack_lvl+0x104/0x16c [ 672.021647][T31478] dump_stack+0x1c/0x58 [ 672.022500][T31478] sysfs_create_dir_ns+0x148/0x168 [ 672.023641][T31478] kobject_add_internal+0x244/0x530 [ 672.024718][T31478] kobject_add+0xb8/0x130 [ 672.025674][T31478] device_add+0x248/0x958 [ 672.026598][T31478] device_register+0x28/0x38 [ 672.027535][T31478] tty_register_device_attr+0x1a8/0x320 [ 672.028824][T31478] tty_register_device+0x3c/0x50 [ 672.029944][T31478] gsm_activate_mux+0x9c/0x1f4 [ 672.030986][T31478] gsmld_ioctl+0x6cc/0x764 [ 672.032026][T31478] tty_ioctl+0x6c0/0x9dc [ 672.032976][T31478] __arm64_sys_ioctl+0xd0/0x140 [ 672.034080][T31478] el0_svc_common+0x138/0x220 [ 672.035099][T31478] do_el0_svc+0x48/0x164 [ 672.036223][T31478] el0_svc+0x58/0x150 [ 672.037145][T31478] el0t_64_sync_handler+0x84/0xf0 [ 672.038189][T31478] el0t_64_sync+0x18c/0x190 [ 672.048547][T31478] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. [ 672.054960][T31478] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 672.057020][T31478] CPU: 1 PID: 31478 Comm: syz-executor.1 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 672.059571][T31478] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 672.061764][T31478] Call trace: [ 672.062511][T31478] dump_backtrace+0x1c4/0x1f0 [ 672.063504][T31478] show_stack+0x2c/0x54 [ 672.064423][T31478] dump_stack_lvl+0x104/0x16c [ 672.065499][T31478] dump_stack+0x1c/0x58 [ 672.066412][T31478] sysfs_create_dir_ns+0x148/0x168 [ 672.067554][T31478] kobject_add_internal+0x244/0x530 [ 672.068695][T31478] kobject_add+0xb8/0x130 [ 672.069645][T31478] device_add+0x248/0x958 [ 672.070578][T31478] device_register+0x28/0x38 [ 672.071596][T31478] tty_register_device_attr+0x1a8/0x320 [ 672.072782][T31478] tty_register_device+0x3c/0x50 [ 672.073836][T31478] gsm_activate_mux+0x9c/0x1f4 [ 672.074865][T31478] gsmld_ioctl+0x6cc/0x764 [ 672.075818][T31478] tty_ioctl+0x6c0/0x9dc [ 672.075826][T31478] __arm64_sys_ioctl+0xd0/0x140 [ 672.077748][T31478] el0_svc_common+0x138/0x220 [ 672.078810][T31478] do_el0_svc+0x48/0x164 [ 672.079724][T31478] el0_svc+0x58/0x150 [ 672.080551][T31478] el0t_64_sync_handler+0x84/0xf0 [ 672.081688][T31478] el0t_64_sync+0x18c/0x190 [ 672.093962][T31478] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. [ 672.098066][T31478] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty129' [ 672.100798][T31478] CPU: 1 PID: 31478 Comm: syz-executor.1 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 672.103258][T31478] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 672.105440][T31478] Call trace: [ 672.106123][T31478] dump_backtrace+0x1c4/0x1f0 [ 672.107093][T31478] show_stack+0x2c/0x54 [ 672.107953][T31478] dump_stack_lvl+0x104/0x16c [ 672.108969][T31478] dump_stack+0x1c/0x58 [ 672.109836][T31478] sysfs_create_dir_ns+0x148/0x168 [ 672.110932][T31478] kobject_add_internal+0x244/0x530 [ 672.112067][T31478] kobject_add+0xb8/0x130 [ 672.112989][T31478] device_add+0x248/0x958 [ 672.113903][T31478] device_register+0x28/0x38 [ 672.114877][T31478] tty_register_device_attr+0x1a8/0x320 [ 672.116081][T31478] tty_register_device+0x3c/0x50 [ 672.117238][T31478] gsm_activate_mux+0x9c/0x1f4 [ 672.118063][T31478] gsmld_ioctl+0x6cc/0x764 [ 672.118791][T31478] tty_ioctl+0x6c0/0x9dc [ 672.119491][T31478] __arm64_sys_ioctl+0xd0/0x140 [ 672.120294][T31478] el0_svc_common+0x138/0x220 [ 672.121083][T31478] do_el0_svc+0x48/0x164 [ 672.121793][T31478] el0_svc+0x58/0x150 [ 672.122529][T31478] el0t_64_sync_handler+0x84/0xf0 [ 672.123490][T31478] el0t_64_sync+0x18c/0x190 [ 672.127380][T31478] kobject_add_internal failed for gsmtty129 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:12 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:12 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000c000000960000000800", 0x0, 0x2}) 00:11:12 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000ff000000960000000800", 0x0, 0x2}) 00:11:12 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 672.190270][T31487] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 672.192248][T31487] CPU: 0 PID: 31487 Comm: syz-executor.0 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 672.194653][T31487] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 672.196977][T31487] Call trace: [ 672.197669][T31487] dump_backtrace+0x1c4/0x1f0 [ 672.198706][T31487] show_stack+0x2c/0x54 [ 672.199629][T31487] dump_stack_lvl+0x104/0x16c [ 672.200631][T31487] dump_stack+0x1c/0x58 [ 672.201647][T31487] sysfs_create_dir_ns+0x148/0x168 [ 672.202721][T31487] kobject_add_internal+0x244/0x530 [ 672.203904][T31487] kobject_add+0xb8/0x130 [ 672.204756][T31487] device_add+0x248/0x958 [ 672.205841][T31487] device_register+0x28/0x38 [ 672.206810][T31487] tty_register_device_attr+0x1a8/0x320 [ 672.208061][T31487] tty_register_device+0x3c/0x50 [ 672.209035][T31487] gsm_activate_mux+0x9c/0x1f4 [ 672.210210][T31487] gsmld_ioctl+0x6cc/0x764 [ 672.211180][T31487] tty_ioctl+0x6c0/0x9dc [ 672.212101][T31487] __arm64_sys_ioctl+0xd0/0x140 [ 672.213216][T31487] el0_svc_common+0x138/0x220 [ 672.214177][T31487] do_el0_svc+0x48/0x164 [ 672.215102][T31487] el0_svc+0x58/0x150 [ 672.215982][T31487] el0t_64_sync_handler+0x84/0xf0 [ 672.217084][T31487] el0t_64_sync+0x18c/0x190 [ 672.218799][T31488] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty193' [ 672.221105][T31488] CPU: 1 PID: 31488 Comm: syz-executor.2 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 672.223633][T31488] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 672.225629][T31487] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. [ 672.225771][T31488] Call trace: [ 672.229522][T31488] dump_backtrace+0x1c4/0x1f0 [ 672.230563][T31488] show_stack+0x2c/0x54 [ 672.231436][T31488] dump_stack_lvl+0x104/0x16c [ 672.232461][T31488] dump_stack+0x1c/0x58 [ 672.233369][T31488] sysfs_create_dir_ns+0x148/0x168 [ 672.234488][T31488] kobject_add_internal+0x244/0x530 [ 672.235561][T31488] kobject_add+0xb8/0x130 [ 672.236551][T31488] device_add+0x248/0x958 [ 672.237527][T31488] device_register+0x28/0x38 [ 672.238432][T31488] tty_register_device_attr+0x1a8/0x320 [ 672.239634][T31488] tty_register_device+0x3c/0x50 [ 672.240713][T31488] gsm_activate_mux+0x9c/0x1f4 [ 672.241693][T31488] gsmld_ioctl+0x6cc/0x764 [ 672.242647][T31488] tty_ioctl+0x6c0/0x9dc [ 672.243565][T31488] __arm64_sys_ioctl+0xd0/0x140 [ 672.244642][T31488] el0_svc_common+0x138/0x220 [ 672.245614][T31488] do_el0_svc+0x48/0x164 [ 672.246584][T31488] el0_svc+0x58/0x150 [ 672.247492][T31488] el0t_64_sync_handler+0x84/0xf0 [ 672.248546][T31488] el0t_64_sync+0x18c/0x190 [ 672.269864][T31488] kobject_add_internal failed for gsmtty193 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:12 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012780000960000000800", 0x0, 0x2}) 00:11:12 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000d000000960000000800", 0x0, 0x2}) 00:11:12 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) r1 = openat$sysfs(0xffffffffffffff9c, &(0x7f0000000000)='/sys/module/dvb_as102', 0x101000, 0x4a) ioctl$FIONREAD(r1, 0x541b, &(0x7f00000000c0)) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:12 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:12 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000ffffe00000960000000800", 0x0, 0x2}) 00:11:12 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012790000960000000800", 0x0, 0x2}) 00:11:12 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000100960000000800", 0x0, 0x2}) 00:11:12 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000200960000000800", 0x0, 0x2}) 00:11:12 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) ioctl$TIOCSTI(r2, 0x5412, &(0x7f00000000c0)=0x1a) ioctl$TIOCL_GETSHIFTSTATE(r1, 0x541c, &(0x7f0000000000)={0x6, 0x4}) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCGPGRP(r0, 0x540f, &(0x7f0000000100)) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:12 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000300960000000800", 0x0, 0x2}) 00:11:12 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) (async) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) ioctl$TIOCSTI(r2, 0x5412, &(0x7f00000000c0)=0x1a) ioctl$TIOCL_GETSHIFTSTATE(r1, 0x541c, &(0x7f0000000000)={0x6, 0x4}) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCGPGRP(r0, 0x540f, &(0x7f0000000100)) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:12 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:12 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000400960000000800", 0x0, 0x2}) 00:11:12 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed7000000000e000000960000000800", 0x0, 0x2}) 00:11:12 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:12 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:12 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000500960000000800", 0x0, 0x2}) 00:11:12 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000010000000960000000800", 0x0, 0x2}) 00:11:12 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000007a0000960000000800", 0x0, 0x2}) 00:11:12 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) r2 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) ioctl$TIOCSTI(r2, 0x5412, &(0x7f00000000c0)=0x1a) ioctl$TIOCL_GETSHIFTSTATE(r1, 0x541c, &(0x7f0000000000)={0x6, 0x4}) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCGPGRP(r0, 0x540f, &(0x7f0000000100)) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r1, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r1, 0x5412, &(0x7f0000000000)) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r2, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r2, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) ioctl$TIOCSTI(r2, 0x5412, &(0x7f0000000000)) (async) ioctl$TIOCSTI(r2, 0x5412, &(0x7f00000000c0)=0x1a) (async) ioctl$TIOCL_GETSHIFTSTATE(r1, 0x541c, &(0x7f0000000000)={0x6, 0x4}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCGPGRP(r0, 0x540f, &(0x7f0000000100)) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r3, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) 00:11:12 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:12 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x8002, 0x5, 0x7ff, 0x0, 0x0, "ebeed700000000f000000096faff000800", 0x0, 0x2}) 00:11:12 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 672.824328][T31552] sysfs: cannot create duplicate filename '/devices/virtual/tty/gsmtty65' [ 672.826181][T31552] CPU: 0 PID: 31552 Comm: syz-executor.3 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 672.828940][T31552] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 672.831098][T31552] Call trace: 00:11:12 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:12 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) [ 672.831831][T31552] dump_backtrace+0x1c4/0x1f0 [ 672.832835][T31552] show_stack+0x2c/0x54 [ 672.832843][T31552] dump_stack_lvl+0x104/0x16c [ 672.832853][T31552] dump_stack+0x1c/0x58 [ 672.832861][T31552] sysfs_create_dir_ns+0x148/0x168 [ 672.832870][T31552] kobject_add_internal+0x244/0x530 [ 672.832878][T31552] kobject_add+0xb8/0x130 [ 672.832885][T31552] device_add+0x248/0x958 [ 672.832892][T31552] device_register+0x28/0x38 [ 672.832898][T31552] tty_register_device_attr+0x1a8/0x320 [ 672.832907][T31552] tty_register_device+0x3c/0x50 [ 672.832915][T31552] gsm_activate_mux+0x9c/0x1f4 [ 672.832923][T31552] gsmld_ioctl+0x6cc/0x764 [ 672.832931][T31552] tty_ioctl+0x6c0/0x9dc [ 672.832939][T31552] __arm64_sys_ioctl+0xd0/0x140 [ 672.832948][T31552] el0_svc_common+0x138/0x220 [ 672.832957][T31552] do_el0_svc+0x48/0x164 [ 672.832965][T31552] el0_svc+0x58/0x150 [ 672.832972][T31552] el0t_64_sync_handler+0x84/0xf0 [ 672.832981][T31552] el0t_64_sync+0x18c/0x190 [ 672.850522][T31552] kobject_add_internal failed for gsmtty65 with -EEXIST, don't try to register things with the same name in the same directory. 00:11:12 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:12 executing program 1: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x8002, 0x5, 0x7ff, 0x0, 0x0, "ebeed700000000f000000096faff000800", 0x0, 0x2}) socket$inet_udp(0x2, 0x2, 0x0) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) (async) syz_open_dev$tty20(0xc, 0x4, 0x1) (async) ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000080)=0x15) (async) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x8002, 0x5, 0x7ff, 0x0, 0x0, "ebeed700000000f000000096faff000800", 0x0, 0x2}) (async) 00:11:12 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:13 executing program 0: sched_getparam(0x0, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000600960000000800", 0x0, 0x2}) 00:11:13 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000011000000960000000800", 0x0, 0x2}) 00:11:13 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:13 executing program 2: socket$inet_udp(0x2, 0x2, 0x0) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) 00:11:13 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000127a0000960000000800", 0x0, 0x2}) 00:11:13 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000127b0000960000000800", 0x0, 0x2}) 00:11:13 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000012000000960000000800", 0x0, 0x2}) 00:11:13 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000127c0000960000000800", 0x0, 0x2}) 00:11:13 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000025000000960000000800", 0x0, 0x2}) 00:11:13 executing program 5: write(0xffffffffffffffff, 0x0, 0x31) r0 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000080)=0x15) ioctl$TCSETSF2(r0, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed70000000000000000960000000800", 0x0, 0x2}) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TCSETSF2(r1, 0x404c4701, &(0x7f0000000040)={0x2, 0x0, 0x0, 0x0, 0x0, "ebeed700000000127d0000960000000800", 0x0, 0x2}) 00:11:13 executing program 3: bpf$ITER_CREATE(0x21, &(0x7f0000000040), 0x8) r0