From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f205.google.com (mail-il1-f205.google.com [209.85.166.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E1CDA13B58B for ; Tue, 18 Jun 2024 13:57:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.205 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718719044; cv=none; b=j6HisnD1MQ01WpJHHWj91WJ8UICstPZ8usYWHv2PQ7kdkqqWuWVFiRxxRmPQrO862VSIHCtn7mWKGVYcX3Ai4Xp0putSlJxfnlA4s32aHVvWCaixoUBw89iY+W+0EDYfBzupZGEUr504VZGO/Ifbwe2m+RcIaZeb+Nn3JkgjwXg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718719044; c=relaxed/simple; bh=phkVyprkZlRXl0ioMSwoOUZcGwCq68Cq5FvuXpKhzZY=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=ES/zj8HX43pXqdwblK6Fj0kCSpNoiQESIQPmwOZkbXK03v2OGV8FnbP5nM8CXJDyhbHt9S5spAno5N95cJPOPB98LNWbcOd1Iy7beaBiQQov9O+n3/CQL6LhGsnH1ixFUHj2hPmghqsE2li9i/2Z/2x6hxjWt4XXvokNYGp2oto= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.166.205 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-il1-f205.google.com with SMTP id e9e14a558f8ab-376147797ddso1967185ab.3 for ; Tue, 18 Jun 2024 06:57:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718719042; x=1719323842; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=lrAzP9fwQeVGt1rs6C6zPpuJACa2vFihzxhS3uBR464=; b=nAPMXnkrQa/ErQDSlE5C4vJt42PI2fmIxLSidNK4fnGrzcrpY/SwOF7PFiJnoaZuWY HbndrdWDJlTuc6hLsPh5MUus8ULfZQkMyFB0vVKLlMY1FzPILZRUIVTOO+85LAxdP5Qy qnVVnIlAZqXCmtsGylDq+XUtYy73WsK9uufMCVLM5O1za9GnBiQ0ugG0tvkKz1bV0fFN dKgRbjxucDIvkOjPoO54JWjeuQnP9v/+HYDpI475OxDB7DXba1/QKyKG99Cvr4uq9g1T bPJpE6Wmvqa0m8qRLjy8Mea0NfWPfTXfMRbkrIZCMo2hPY/ZAD8NroNYaTiM5Xrl7jvk Jy5w== X-Forwarded-Encrypted: i=1; AJvYcCW0MYsksDefM8TV04tvGvhHkNdOliObt+HUhYbwNX9y+kxdNdYEfiLs2P+3LdSDCmjKoPr0ga+JRhOxIjSgZUC30D3xL8JplKGbyp7W X-Gm-Message-State: AOJu0YxKvZfDdUSvy3BzLV17wN/ylO9nL90kvDu07l2O2fxWuykwNL+h AcUVoUtoOSeTcs4F2pAQJ1uZU0wOyHPRaF5MM9JYFlAOc1MY1eD1v28IlLmT4JWFiQID57RHB2k 9r3Wgea2ZZmTPp9T3Khm7w0gcxX5YfIEPeOJRiFjgPugHQWSVju/6JaA= X-Google-Smtp-Source: AGHT+IELYmIXGJtF1y4fFoLYfjw5YqVzyDJNTrDnkWwfrvEXy8K9qJLW6ZMral0lSsuwm/gEF/WnjygL3bT6Vdd4qEV52NlaGIrM Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6e02:164e:b0:375:ae17:a2aa with SMTP id e9e14a558f8ab-375e0e9fc29mr9537425ab.3.1718719042057; Tue, 18 Jun 2024 06:57:22 -0700 (PDT) Date: Tue, 18 Jun 2024 06:57:22 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000f8878d061b2a75d0@google.com> Subject: [syzbot] [ext4?] WARNING in ext4_fileattr_get From: syzbot To: adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, tytso@mit.edu Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: 14d7c92f8df9 Revert "mm: mmap: allow for the maximum numbe.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16e8c341980000 kernel config: https://syzkaller.appspot.com/x/.config?x=a7c279056fc785df dashboard link: https://syzkaller.appspot.com/bug?extid=d6a7a43c85606b87babd compiler: arm-linux-gnueabi-gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 userspace arch: arm Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/8ead8862021c/non_bootable_disk-14d7c92f.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/14a0f94a4c14/vmlinux-14d7c92f.xz kernel image: https://storage.googleapis.com/syzbot-assets/aaa25622f902/zImage-14d7c92f.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+d6a7a43c85606b87babd@syzkaller.appspotmail.com ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7719 at lib/string_helpers.c:1029 __fortify_report+0x6c/0x74 lib/string_helpers.c:1029 strnlen: detected buffer overflow: 17 byte read of buffer size 16 Modules linked in: Kernel panic - not syncing: kernel: panic_on_warn set ... CPU: 0 PID: 7719 Comm: syz-executor.0 Not tainted 6.10.0-rc4-syzkaller #0 Hardware name: ARM-Versatile Express Call trace: [<818d4c98>] (dump_backtrace) from [<818d4d94>] (show_stack+0x18/0x1c arch/arm/kernel/traps.c:257) r7:00000000 r6:82622d44 r5:00000000 r4:81fe1404 [<818d4d7c>] (show_stack) from [<818f23c4>] (__dump_stack lib/dump_stack.c:88 [inline]) [<818d4d7c>] (show_stack) from [<818f23c4>] (dump_stack_lvl+0x54/0x7c lib/dump_stack.c:114) [<818f2370>] (dump_stack_lvl) from [<818f2404>] (dump_stack+0x18/0x1c lib/dump_stack.c:123) r5:00000000 r4:8285fd18 [<818f23ec>] (dump_stack) from [<818d583c>] (panic+0x120/0x358 kernel/panic.c:347) [<818d571c>] (panic) from [<80243dcc>] (check_panic_on_warn kernel/panic.c:240 [inline]) [<818d571c>] (panic) from [<80243dcc>] (print_tainted+0x0/0xa0 kernel/panic.c:235) r3:8260c5c4 r2:00000001 r1:81fca074 r0:81fd1cc4 r7:8080f8d0 [<80243d58>] (check_panic_on_warn) from [<80243fc0>] (__warn+0x7c/0x180 kernel/panic.c:693) [<80243f44>] (__warn) from [<802442ac>] (warn_slowpath_fmt+0x1e8/0x1f4 kernel/panic.c:726) r8:00000009 r7:8202ef04 r6:eab31db4 r5:84670c00 r4:00000000 [<802440c8>] (warn_slowpath_fmt) from [<8080f8d0>] (__fortify_report+0x6c/0x74 lib/string_helpers.c:1029) r10:8271c088 r9:00000003 r8:eab31ec3 r7:8408b000 r6:20000080 r5:837f3478 r4:83f1c800 [<8080f864>] (__fortify_report) from [<818df088>] (__fortify_panic+0x10/0x14 lib/string_helpers.c:1036) [<818df078>] (__fortify_panic) from [<8062b018>] (strnlen include/linux/fortify-string.h:235 [inline]) [<818df078>] (__fortify_panic) from [<8062b018>] (sized_strscpy include/linux/fortify-string.h:309 [inline]) [<818df078>] (__fortify_panic) from [<8062b018>] (ext4_ioctl_getlabel fs/ext4/ioctl.c:1154 [inline]) [<818df078>] (__fortify_panic) from [<8062b018>] (ext4_fileattr_get+0x0/0x78 fs/ext4/ioctl.c:1609) [<80628f04>] (__ext4_ioctl) from [<8062b714>] (ext4_ioctl+0x10/0x14 fs/ext4/ioctl.c:1626) r10:84670c00 r9:00000003 r8:8747d3c0 r7:20000080 r6:8747d3c1 r5:00000000 r4:81009431 [<8062b704>] (ext4_ioctl) from [<8051a9ac>] (vfs_ioctl fs/ioctl.c:51 [inline]) [<8062b704>] (ext4_ioctl) from [<8051a9ac>] (do_vfs_ioctl fs/ioctl.c:861 [inline]) [<8062b704>] (ext4_ioctl) from [<8051a9ac>] (__do_sys_ioctl fs/ioctl.c:905 [inline]) [<8062b704>] (ext4_ioctl) from [<8051a9ac>] (sys_ioctl+0x134/0xda4 fs/ioctl.c:893) [<8051a878>] (sys_ioctl) from [<80200060>] (ret_fast_syscall+0x0/0x1c arch/arm/mm/proc-v7.S:67) Exception stack(0xeab31fa8 to 0xeab31ff0) 1fa0: 00000000 00000000 00000003 81009431 20000080 00000000 1fc0: 00000000 00000000 001542c8 00000036 7ea87336 7ea87337 003d0f00 76b280fc 1fe0: 76b27f08 76b27ef8 00016f30 000516d0 r10:00000036 r9:84670c00 r8:8020029c r7:00000036 r6:001542c8 r5:00000000 r4:00000000 Rebooting in 86400 seconds.. --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup