------------[ cut here ]------------ strnlen: detected buffer overflow: 17 byte read of buffer size 16 WARNING: CPU: 3 PID: 12979 at lib/string_helpers.c:1029 __fortify_report+0x9c/0xd0 lib/string_helpers.c:1029 Modules linked in: CPU: 3 PID: 12979 Comm: syz-executor.2 Not tainted 6.10.0-rc2-syzkaller-00007-gf06ce441457d #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:__fortify_report+0x9c/0xd0 lib/string_helpers.c:1029 Code: ed 48 c7 c0 e0 a3 8f 8b 48 0f 44 d8 e8 dd 50 0a fd 4d 89 e0 48 89 ea 48 89 d9 4c 89 f6 48 c7 c7 60 a4 8f 8b e8 45 6a cc fc 90 <0f> 0b 90 90 5b 5d 41 5c 41 5d 41 5e c3 cc cc cc cc 48 89 de 48 c7 RSP: 0018:ffffc90003d37bf0 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffffffff8b8fa3e0 RCX: ffffc900047d1000 RDX: 0000000000040000 RSI: ffffffff81500016 RDI: 0000000000000001 RBP: 0000000000000011 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000010 R13: 0000000000000000 R14: ffffffff8b8fada0 R15: ffff888024c32060 FS: 00007fce5d5ff6c0(0000) GS:ffff88806b300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555574909788 CR3: 000000004db44000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __fortify_panic+0x23/0x30 lib/string_helpers.c:1036 strnlen include/linux/fortify-string.h:235 [inline] sized_strscpy include/linux/fortify-string.h:309 [inline] ext4_ioctl_getlabel fs/ext4/ioctl.c:1154 [inline] __ext4_ioctl+0x404d/0x4580 fs/ext4/ioctl.c:1609 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __x64_sys_ioctl+0x193/0x220 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fce5da7cee9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fce5d5ff0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fce5dbabf80 RCX: 00007fce5da7cee9 RDX: 0000000020000540 RSI: 0000000081009431 RDI: 0000000000000004 RBP: 00007fce5dac949e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fce5dbabf80 R15: 00007ffce6d43e78