syzbot


WARNING in ext4_fileattr_get

Status: upstream: reported on 2024/06/18 13:57
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+d6a7a43c85606b87babd@syzkaller.appspotmail.com
First crash: 28d, last: 10d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ext4?] WARNING in ext4_fileattr_get 0 (1) 2024/06/18 13:57

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 29426 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: 1 PID: 29426 Comm: syz.0.27898 Not tainted 6.10.0-rc6-syzkaller #0
Hardware name: ARM-Versatile Express
Call trace: 
[<818d4f18>] (dump_backtrace) from [<818d5014>] (show_stack+0x18/0x1c arch/arm/kernel/traps.c:257)
 r7:00000000 r6:82622d44 r5:00000000 r4:81fe151c
[<818d4ffc>] (show_stack) from [<818f267c>] (__dump_stack lib/dump_stack.c:88 [inline])
[<818d4ffc>] (show_stack) from [<818f267c>] (dump_stack_lvl+0x54/0x7c lib/dump_stack.c:114)
[<818f2628>] (dump_stack_lvl) from [<818f26bc>] (dump_stack+0x18/0x1c lib/dump_stack.c:123)
 r5:00000000 r4:8285fd18
[<818f26a4>] (dump_stack) from [<818d5abc>] (panic+0x120/0x358 kernel/panic.c:347)
[<818d599c>] (panic) from [<80243dcc>] (check_panic_on_warn kernel/panic.c:240 [inline])
[<818d599c>] (panic) from [<80243dcc>] (print_tainted+0x0/0xa0 kernel/panic.c:235)
 r3:8260c5c4 r2:00000001 r1:81fca188 r0:81fd1de0
 r7:8080f110
[<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:8202ef14 r6:dfca5db4 r5:83d50000 r4:00000000
[<802440c8>] (warn_slowpath_fmt) from [<8080f110>] (__fortify_report+0x6c/0x74 lib/string_helpers.c:1029)
 r10:8271c088 r9:00000005 r8:dfca5ec3 r7:84080400 r6:20000140 r5:83795478
 r4:82f6f800
[<8080f0a4>] (__fortify_report) from [<818df308>] (__fortify_panic+0x10/0x14 lib/string_helpers.c:1036)
[<818df2f8>] (__fortify_panic) from [<8062a7c8>] (strnlen include/linux/fortify-string.h:235 [inline])
[<818df2f8>] (__fortify_panic) from [<8062a7c8>] (sized_strscpy include/linux/fortify-string.h:309 [inline])
[<818df2f8>] (__fortify_panic) from [<8062a7c8>] (ext4_ioctl_getlabel fs/ext4/ioctl.c:1154 [inline])
[<818df2f8>] (__fortify_panic) from [<8062a7c8>] (ext4_fileattr_get+0x0/0x78 fs/ext4/ioctl.c:1609)
[<806286b4>] (__ext4_ioctl) from [<8062aec4>] (ext4_ioctl+0x10/0x14 fs/ext4/ioctl.c:1626)
 r10:83d50000 r9:00000005 r8:84e67a80 r7:20000140 r6:84e67a81 r5:00000000
 r4:81009431
[<8062aeb4>] (ext4_ioctl) from [<8051a5c8>] (vfs_ioctl fs/ioctl.c:51 [inline])
[<8062aeb4>] (ext4_ioctl) from [<8051a5c8>] (do_vfs_ioctl fs/ioctl.c:861 [inline])
[<8062aeb4>] (ext4_ioctl) from [<8051a5c8>] (__do_sys_ioctl fs/ioctl.c:905 [inline])
[<8062aeb4>] (ext4_ioctl) from [<8051a5c8>] (sys_ioctl+0x134/0xda4 fs/ioctl.c:893)
[<8051a494>] (sys_ioctl) from [<80200060>] (ret_fast_syscall+0x0/0x1c arch/arm/mm/proc-v7.S:67)
Exception stack(0xdfca5fa8 to 0xdfca5ff0)
5fa0:                   00000000 00000000 00000005 81009431 20000140 00000000
5fc0: 00000000 00000000 002642e0 00000036 7eade776 7eade777 003d0f00 76b020bc
5fe0: 76b01ec8 76b01eb8 00017ecc 00130a90
 r10:00000036 r9:83d50000 r8:8020029c r7:00000036 r6:002642e0 r5:00000000
 r4:00000000
Rebooting in 86400 seconds..

Crashes (120):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/02 14:28 upstream 1dfe225e9af5 dc6047a3 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/07/02 12:55 upstream 1dfe225e9af5 dc6047a3 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/07/01 23:06 upstream 9903efbddba0 b01b098a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/07/01 21:09 upstream 9903efbddba0 b01b098a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/07/01 09:21 upstream 22a40d14b572 b294e901 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/30 14:30 upstream 8282d5af7be8 757f06b1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/30 13:22 upstream 8282d5af7be8 757f06b1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/30 12:31 upstream 8282d5af7be8 757f06b1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/30 01:53 upstream 27b31deb900d 757f06b1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/29 12:39 upstream de0a9f448633 757f06b1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/28 16:07 upstream 5bbd9b249880 757f06b1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/28 04:06 upstream 5bbd9b249880 b62c7d46 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/28 02:53 upstream 5bbd9b249880 b62c7d46 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/27 18:44 upstream afcd48134c58 6ef39602 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/27 04:05 upstream 24ca36a562d6 5c045c04 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/26 22:28 upstream 55027e689933 880c1ca1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/26 18:54 upstream 55027e689933 880c1ca1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/26 05:29 upstream 55027e689933 dec8bc94 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/26 00:48 upstream 55027e689933 dec8bc94 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/25 15:20 upstream 55027e689933 20dfeecc .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/25 05:27 upstream 55027e689933 215eef4a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/25 02:33 upstream 55027e689933 215eef4a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/24 21:29 upstream 626737a5791b 0c0f0b4b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/24 15:59 upstream 626737a5791b 0c0f0b4b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/24 12:17 upstream f2661062f16b 0c0f0b4b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/24 02:27 upstream f2661062f16b edc5149a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/24 02:26 upstream f2661062f16b edc5149a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/23 23:50 upstream f2661062f16b edc5149a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/23 17:13 upstream 5f583a3162ff edc5149a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/23 05:04 upstream 563a50672d8a edc5149a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/22 10:21 upstream 35bb670d65fc edc5149a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/22 00:11 upstream 66cc544fd75c edc5149a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/21 20:06 upstream 66cc544fd75c edc5149a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/21 11:56 upstream 50736169ecc8 edc5149a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/21 04:24 upstream 50736169ecc8 dac2aa43 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/20 20:50 upstream 50736169ecc8 82874357 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/20 20:49 upstream 50736169ecc8 82874357 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/20 16:04 upstream e5b3efbe1ab1 82874357 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/20 16:03 upstream e5b3efbe1ab1 82874357 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/20 16:02 upstream e5b3efbe1ab1 82874357 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/20 12:03 upstream e5b3efbe1ab1 82874357 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/20 11:10 upstream e5b3efbe1ab1 82874357 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/20 06:35 upstream e5b3efbe1ab1 41b7e219 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/20 06:23 upstream e5b3efbe1ab1 41b7e219 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/20 06:23 upstream e5b3efbe1ab1 41b7e219 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/18 10:54 upstream 14d7c92f8df9 ce6011bc .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
2024/06/14 13:49 upstream d20f6b3d747c 8d849073 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 WARNING in ext4_fileattr_get
* Struck through repros no longer work on HEAD.