syzbot


WARNING in brelse

Status: auto-obsoleted due to no activity on 2024/02/19 13:21
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+2a0fbd1cb355de983130@syzkaller.appspotmail.com
First crash: 626d, last: 491d
Cause bisection: introduced by (bisect log) :
commit f6e2c20ca7604e6a267c93a511d19dda72573be1
Author: Liu Shixin <liushixin2@huawei.com>
Date: Fri Apr 29 21:38:04 2022 +0000

  fs: sysv: check sbi->s_firstdatazone in complete_read_super

Crash: WARNING in invalidate_bh_lru (log)
Repro: C syz .config
  
Fix bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING in brelse 0 (2) 2023/08/05 00:09
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/02/19 12:43 36m retest repro upstream OK log
2023/12/11 10:44 10m retest repro upstream report log
2023/10/02 10:11 10m retest repro upstream report log
2023/07/24 08:26 57m retest repro upstream report log
2023/05/20 01:18 28m retest repro upstream OK log
2023/05/15 15:05 30m retest repro upstream OK log
2023/05/15 07:04 52m retest repro upstream OK log
2023/05/15 07:04 32m (2) retest repro upstream OK log
2023/05/15 07:04 29m retest repro upstream OK log
2023/05/15 07:04 25m retest repro upstream report log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2023/03/10 21:08 0m bisect fix upstream error job log (0)
2023/02/08 20:16 47m bisect fix upstream job log (0) log
Cause bisection attempts (2)
Created Duration User Patch Repo Result
2023/08/04 15:57 8h10m bisect upstream job log (1) log
2022/09/27 05:11 8h07m bisect upstream error job log (0)
marked invalid by nogikh@google.com

Sample crash report:
------------[ cut here ]------------
VFS: brelse: Trying to free free buffer
WARNING: CPU: 0 PID: 0 at fs/buffer.c:1145 __brelse fs/buffer.c:1145 [inline]
WARNING: CPU: 0 PID: 0 at fs/buffer.c:1145 brelse+0x78/0xa0 include/linux/buffer_head.h:326
Modules linked in:
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.1.0-syzkaller-13031-g77856d911a8c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:__brelse fs/buffer.c:1145 [inline]
RIP: 0010:brelse+0x78/0xa0 include/linux/buffer_head.h:326
Code: df be 04 00 00 00 e8 d7 08 e0 ff f0 ff 0b eb 1c e8 1d 6b 8a ff eb 15 e8 16 6b 8a ff 48 c7 c7 00 52 fe 8a 31 c0 e8 88 5d 51 ff <0f> 0b 5b 5d c3 89 d9 80 e1 07 80 c1 03 38 c1 7c af 48 89 df e8 df
RSP: 0018:ffffc90000007f18 EFLAGS: 00010046
RAX: 6478f26c57452300 RBX: ffff88807293b5d0 RCX: ffffffff8d0bb7c0
RDX: 0000000080010002 RSI: 0000000080010002 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff816f29ad R09: ffffed1017304f5b
R10: ffffed1017304f5b R11: 1ffff11017304f5a R12: 0000000000000000
R13: 1ffff11017308526 R14: ffff8880b98360f8 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe6a2280130 CR3: 000000000d08e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __invalidate_bh_lrus+0x37/0x3c0 fs/buffer.c:1380
 invalidate_bh_lru+0x66/0xb0 fs/buffer.c:1393
 __flush_smp_call_function_queue+0x2cc/0xcd0 kernel/smp.c:630
 __sysvec_call_function_single+0x62/0x70 arch/x86/kernel/smp.c:248
 sysvec_call_function_single+0x8c/0xb0 arch/x86/kernel/smp.c:243
 </IRQ>
 <TASK>
 asm_sysvec_call_function_single+0x16/0x20 arch/x86/include/asm/idtentry.h:657
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline]
RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:130 [inline]
RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:113 [inline]
RIP: 0010:acpi_idle_do_entry drivers/acpi/processor_idle.c:570 [inline]
RIP: 0010:acpi_idle_enter+0x43d/0x7e0 drivers/acpi/processor_idle.c:707
Code: ff e8 37 43 e2 f6 48 83 e3 08 44 8b 7c 24 04 0f 85 e8 00 00 00 e8 d3 f0 e8 f6 66 90 e8 5c 3e e2 f6 0f 00 2d 75 67 ad 00 fb f4 <9c> 8f 44 24 40 4c 89 e0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 e7
RSP: 0018:ffffffff8d007b80 EFLAGS: 000002d3
RAX: ffffffff8aa99764 RBX: 0000000000000000 RCX: ffffffff8d0bb7c0
RDX: 0000000000000000 RSI: ffffffff8aedbae0 RDI: ffffffff8b4bbfe0
RBP: ffffffff8d007c30 R08: ffffffff8aa99749 R09: fffffbfff1a176f9
R10: fffffbfff1a176f9 R11: 1ffffffff1a176f8 R12: ffffffff8d007bc0
R13: dffffc0000000000 R14: ffff8881452da000 R15: 0000000000000001
 cpuidle_enter_state+0x50a/0xf10 drivers/cpuidle/cpuidle.c:239
 cpuidle_enter+0x59/0x90 drivers/cpuidle/cpuidle.c:356
 call_cpuidle kernel/sched/idle.c:155 [inline]
 cpuidle_idle_call kernel/sched/idle.c:236 [inline]
 do_idle+0x3b9/0x640 kernel/sched/idle.c:303
 cpu_startup_entry+0x15/0x20 kernel/sched/idle.c:400
 rest_init+0x24f/0x270 init/main.c:732
 arch_call_rest_init+0xa/0x10 init/main.c:893
 start_kernel+0x471/0x520 init/main.c:1148
 secondary_startup_64_no_verify+0xcf/0xdb
 </TASK>
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	e8 37 43 e2 f6       	callq  0xf6e2433c
   5:	48 83 e3 08          	and    $0x8,%rbx
   9:	44 8b 7c 24 04       	mov    0x4(%rsp),%r15d
   e:	0f 85 e8 00 00 00    	jne    0xfc
  14:	e8 d3 f0 e8 f6       	callq  0xf6e8f0ec
  19:	66 90                	xchg   %ax,%ax
  1b:	e8 5c 3e e2 f6       	callq  0xf6e23e7c
  20:	0f 00 2d 75 67 ad 00 	verw   0xad6775(%rip)        # 0xad679c
  27:	fb                   	sti
  28:	f4                   	hlt
* 29:	9c                   	pushfq <-- trapping instruction
  2a:	8f 44 24 40          	popq   0x40(%rsp)
  2e:	4c 89 e0             	mov    %r12,%rax
  31:	48 c1 e8 03          	shr    $0x3,%rax
  35:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1)
  3a:	74 08                	je     0x44
  3c:	4c 89 e7             	mov    %r12,%rdi

Crashes (47):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/12/17 23:17 upstream 77856d911a8c 05494336 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in brelse
2023/01/09 20:16 upstream 1fe4fd6f5cad 1dac8c7a .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in brelse
2022/11/06 16:59 upstream b208b9fbbcba 6d752409 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in brelse
2022/10/30 10:29 upstream b229b6ca5abb 2a71366b .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in brelse
2022/10/04 01:47 upstream 4fe89d07dcc2 feb56351 .config strace log report syz C [disk image] [vmlinux] ci2-upstream-fs WARNING in brelse
2022/09/30 06:59 upstream c3e0e1e23c70 45fd7169 .config strace log report syz C [disk image] [vmlinux] ci2-upstream-fs WARNING in brelse
2022/09/27 02:59 upstream f76349cf4145 d59ba983 .config console log report syz C ci2-upstream-fs WARNING in brelse
2022/12/27 20:03 upstream 1b929c02afd3 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in brelse
2022/12/18 17:10 upstream f9ff5644bcc0 05494336 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in brelse
2022/12/08 10:38 upstream 479174d402bc d88f3abb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in brelse
2022/12/04 19:57 upstream c2bf05db6c78 e080de16 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in brelse
2022/12/02 23:57 upstream a4412fdd49dc e080de16 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in brelse
2022/11/30 04:04 upstream 01f856ae6d0c 579a3740 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in brelse
2022/11/28 13:58 upstream b7b275e60bcd 247de55b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in brelse
2022/11/26 09:20 upstream 08ad43d554ba f4470a7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in brelse
2022/11/24 01:43 upstream eb7081409f94 52fdf57a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in brelse
2022/11/23 14:32 upstream eb7081409f94 52fdf57a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in brelse
2022/11/22 17:13 upstream eb7081409f94 1c576c23 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in brelse
2022/11/19 13:28 upstream ab290eaddc4c 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in brelse
2022/11/11 05:35 upstream 4bbf3422df78 f42ee5d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in brelse
2022/11/02 10:25 upstream b229b6ca5abb 08977f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in brelse
2022/11/02 05:08 upstream b229b6ca5abb 08977f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in brelse
2022/10/31 22:53 upstream b229b6ca5abb 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in brelse
2022/10/30 03:05 upstream b229b6ca5abb 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in brelse
2022/10/29 23:58 upstream b229b6ca5abb 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in brelse
2022/10/29 07:04 upstream b229b6ca5abb 899d812a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in brelse
2022/10/28 14:30 upstream b229b6ca5abb 8168b69e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in brelse
2022/10/27 06:19 upstream 4dc12f37a8e9 86777b7f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in brelse
2022/10/26 17:12 upstream 4dc12f37a8e9 2159e4d2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in brelse
2022/10/26 16:53 upstream 4dc12f37a8e9 2159e4d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in brelse
2022/10/23 23:58 upstream d47136c28015 23bf86af .config console log report info ci2-upstream-fs WARNING in brelse
2022/10/23 22:21 upstream d47136c28015 23bf86af .config console log report info ci2-upstream-fs WARNING in brelse
2022/10/22 01:30 upstream e35184f32151 4bfd3c27 .config console log report info [disk image] [vmlinux] ci-upstream-kasan-gce-smack-root WARNING in brelse
2022/10/20 21:16 upstream 493ffd6605b2 a0fd4dab .config console log report info [disk image] [vmlinux] ci2-upstream-fs WARNING in brelse
2022/10/20 11:48 upstream 493ffd6605b2 b31320fc .config console log report info [disk image] [vmlinux] ci2-upstream-fs WARNING in brelse
2022/10/16 12:35 upstream 493ffd6605b2 67cb024c .config console log report info [disk image] [vmlinux] ci2-upstream-fs WARNING in brelse
2022/10/14 04:55 upstream 493ffd6605b2 4954e4b2 .config console log report info [disk image] [vmlinux] ci2-upstream-fs WARNING in brelse
2022/10/13 21:40 upstream 55be6084c8e0 adf90437 .config console log report info [disk image] [vmlinux] ci-upstream-kasan-gce-smack-root WARNING in brelse
2022/10/13 12:59 upstream 493ffd6605b2 adf90437 .config console log report info [disk image] [vmlinux] ci2-upstream-fs WARNING in brelse
2022/10/13 04:08 upstream 493ffd6605b2 3f6b40a1 .config console log report info [disk image] [vmlinux] ci2-upstream-fs WARNING in brelse
2022/10/09 22:37 upstream a6afa4199d3d aea5da89 .config console log report info [disk image] [vmlinux] ci2-upstream-fs WARNING in brelse
2022/10/09 22:30 upstream a6afa4199d3d aea5da89 .config console log report info [disk image] [vmlinux] ci2-upstream-fs WARNING in brelse
2022/10/09 03:58 upstream a6afa4199d3d aea5da89 .config console log report info [disk image] [vmlinux] ci2-upstream-fs WARNING in brelse
2022/10/08 21:15 upstream 62e6e5940c0c aea5da89 .config console log report info [disk image] [vmlinux] ci2-upstream-fs WARNING in brelse
2022/09/30 12:22 upstream 987a926c1d8a 45fd7169 .config console log report info [disk image] [vmlinux] ci2-upstream-fs WARNING in brelse
2022/09/29 17:31 upstream c3e0e1e23c70 45fd7169 .config console log report info [disk image] [vmlinux] ci2-upstream-fs WARNING in brelse
2022/09/28 03:57 upstream 46452d3786a8 75c78242 .config console log report info [disk image] [vmlinux] ci2-upstream-fs WARNING in brelse
* Struck through repros no longer work on HEAD.