syzbot


WARNING in _btrfs_ioctl_set_received_subvol

Status: upstream: reported C repro on 2023/04/05 09:32
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+1b73f1c3d9fcd83690c0@syzkaller.appspotmail.com
First crash: 611d, last: 59d
Bug presence (2)
Date Name Commit Repro Result
2023/07/23 linux-5.15.y (ToT) d54cfc420586 C [report] WARNING in _btrfs_ioctl_set_received_subvol
2023/07/23 upstream (ToT) 295e1388de2d C Didn't crash
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/10/08 09:14 14m retest repro linux-5.15.y report log
Fix bisection attempts (10)
Created Duration User Patch Repo Result
2024/10/23 22:51 3m fix candidate upstream error job log
2024/09/20 20:38 11m fix candidate upstream error job log
2024/08/20 20:44 0m fix candidate upstream error job log
2024/07/11 19:40 15m fix candidate upstream error job log
2024/05/30 14:00 0m fix candidate upstream error job log
2024/03/24 13:19 0m fix candidate upstream error job log
2024/01/23 20:41 6m fix candidate upstream error job log
2023/12/20 15:28 23m fix candidate upstream error job log
2023/10/20 10:13 0m fix candidate upstream error job log
2023/09/18 15:28 0m fix candidate upstream error job log

Sample crash report:
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3969 at fs/btrfs/ioctl.c:4508 _btrfs_ioctl_set_received_subvol+0xa40/0xe24 fs/btrfs/ioctl.c:4508
Modules linked in:
CPU: 0 PID: 3969 Comm: syz-executor423 Not tainted 5.15.120-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : _btrfs_ioctl_set_received_subvol+0xa40/0xe24 fs/btrfs/ioctl.c:4508
lr : _btrfs_ioctl_set_received_subvol+0xa40/0xe24 fs/btrfs/ioctl.c:4508
sp : ffff80001c717bc0
x29: ffff80001c717c10 x28: dfff800000000000 x27: 00000000fffffff4
x26: ffff0000d371613f x25: ffff0000d371615f x24: ffff0000dc3330b0
x23: 1fffe0001b866621 x22: ffff0000dc333108 x21: 00000000fffffff4
x20: ffff0000cb25cb50 x19: ffff0000d9ee4780 x18: 0000000000000001
x17: ff80800008335ea8 x16: 0000000000000000 x15: ffff800008335ea8
x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000000000
x11: ff8080000832d950 x10: 0000000000000000 x9 : 8db15f07d0ef5900
x8 : 8db15f07d0ef5900 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff80001c717338 x4 : ffff8000149cfca0 x3 : ffff800008335ff4
x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026
Call trace:
 _btrfs_ioctl_set_received_subvol+0xa40/0xe24 fs/btrfs/ioctl.c:4508
 btrfs_ioctl_set_received_subvol+0x88/0x200 fs/btrfs/ioctl.c:4605
 btrfs_ioctl+0x394/0xa5c fs/btrfs/ioctl.c:4991
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl fs/ioctl.c:860 [inline]
 __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:860
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 75498
hardirqs last  enabled at (75497): [<ffff80000832bae8>] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257
hardirqs last disabled at (75498): [<ffff800011957088>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387
softirqs last  enabled at (75474): [<ffff800008020ccc>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last  enabled at (75474): [<ffff800008020ccc>] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587
softirqs last disabled at (75443): [<ffff8000081b573c>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (75443): [<ffff8000081b573c>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (75443): [<ffff8000081b573c>] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636
---[ end trace 038f87c691217221 ]---
BTRFS: error (device loop0) in _btrfs_ioctl_set_received_subvol:4508: errno=-12 Out of memory
BTRFS info (device loop0): forced readonly

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/22 23:25 linux-5.15.y d54cfc420586 27cbe77f .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in _btrfs_ioctl_set_received_subvol
2023/07/22 22:43 linux-5.15.y d54cfc420586 27cbe77f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in _btrfs_ioctl_set_received_subvol
2023/04/05 09:32 linux-5.15.y c957cbb87315 831373d3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in _btrfs_ioctl_set_received_subvol
* Struck through repros no longer work on HEAD.