syzbot


general protection fault in update_blocked_averages

Status: auto-obsoleted due to no activity on 2024/03/30 07:16
Subsystems: reiserfs
[Documentation on labels]
Reported-by: syzbot+38eeab329de66ea9242a@syzkaller.appspotmail.com
First crash: 105d, last: 105d

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc00000001af: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000d78-0x0000000000000d7f]
CPU: 0 PID: 22659 Comm: syz-executor.5 Not tainted 6.7.0-rc7-syzkaller-00049-g453f5db0619e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:__rq_lockp kernel/sched/sched.h:1222 [inline]
RIP: 0010:lockdep_assert_rq_held kernel/sched/sched.h:1340 [inline]
RIP: 0010:rq_clock_pelt kernel/sched/pelt.h:66 [inline]
RIP: 0010:cfs_rq_clock_pelt kernel/sched/pelt.h:174 [inline]
RIP: 0010:__update_blocked_fair kernel/sched/fair.c:9257 [inline]
RIP: 0010:update_blocked_averages+0x647/0x1e70 kernel/sched/fair.c:9363
Code: 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 3a 11 00 00 8b 05 43 a1 bb 0d 85 c0 74 48 48 8d bb 78 0d 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 74 08 3c 03 0f 8e e8 11 00 00 44 8b ab 78 0d
RSP: 0018:ffffc90000007e38 EFLAGS: 00010006
RAX: 00000000000001af RBX: 0000000000000000 RCX: 1ffff11003b95c99
RDX: 0000000000000000 RSI: ffff88807b185188 RDI: 0000000000000d78
RBP: ffffc90000007ef8 R08: 00000000000001ca R09: 00000000000001ca
R10: ffffffff8f187397 R11: 0000000000000000 R12: ffff88807b1851e4
R13: ffff888019b8f998 R14: ffff88807b185000 R15: dffffc0000000000
FS:  00007fb8ba3426c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31b23000 CR3: 000000002304b000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 run_rebalance_domains+0x123/0x1a0 kernel/sched/fair.c:12381
 __do_softirq+0x21a/0x8de kernel/softirq.c:553
 invoke_softirq kernel/softirq.c:427 [inline]
 __irq_exit_rcu kernel/softirq.c:632 [inline]
 irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644
 sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1076
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:console_flush_all+0xa0e/0xd60 kernel/printk/printk.c:2973
Code: e8 27 78 23 00 9c 5b 81 e3 00 02 00 00 31 ff 48 89 de e8 55 be 1c 00 48 85 db 0f 85 7c 01 00 00 e8 b7 c2 1c 00 fb 48 8b 04 24 <4c> 89 fa 83 e2 07 0f b6 00 38 d0 7f 08 84 c0 0f 85 55 02 00 00 41
RSP: 0018:ffffc90014967808 EFLAGS: 00000293
RAX: fffff5200292cf28 RBX: 0000000000000000 RCX: ffffffff8169a23b
RDX: ffff888077776200 RSI: ffffffff8169a249 RDI: 0000000000000007
RBP: dffffc0000000000 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000004 R12: 0000000000000000
R13: ffffffff8db8a6f8 R14: ffffffff8db8a6a0 R15: ffffc90014967940
 console_unlock+0x10c/0x260 kernel/printk/printk.c:3036
 vprintk_emit+0x17f/0x5f0 kernel/printk/printk.c:2303
 vprintk+0x7b/0x90 kernel/printk/printk_safe.c:45
 _printk+0xc8/0x100 kernel/printk/printk.c:2328
 reiserfs_fill_super+0xf03/0x3160 fs/reiserfs/super.c:2019
 mount_bdev+0x1f3/0x2e0 fs/super.c:1650
 legacy_get_tree+0x109/0x220 fs/fs_context.c:662
 vfs_get_tree+0x8c/0x370 fs/super.c:1771
 do_new_mount fs/namespace.c:3337 [inline]
 path_mount+0x1492/0x1ed0 fs/namespace.c:3664
 do_mount fs/namespace.c:3677 [inline]
 __do_sys_mount fs/namespace.c:3886 [inline]
 __se_sys_mount fs/namespace.c:3863 [inline]
 __x64_sys_mount+0x293/0x310 fs/namespace.c:3863
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7fb8b967e3ea
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007fb8ba341ee8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fb8ba341f80 RCX: 00007fb8b967e3ea
RDX: 0000000020000080 RSI: 0000000020000040 RDI: 00007fb8ba341f40
RBP: 0000000020000080 R08: 00007fb8ba341f80 R09: 000000000000800c
R10: 000000000000800c R11: 0000000000000202 R12: 0000000020000040
R13: 00007fb8ba341f40 R14: 0000000000001113 R15: 0000000020000180
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__rq_lockp kernel/sched/sched.h:1222 [inline]
RIP: 0010:lockdep_assert_rq_held kernel/sched/sched.h:1340 [inline]
RIP: 0010:rq_clock_pelt kernel/sched/pelt.h:66 [inline]
RIP: 0010:cfs_rq_clock_pelt kernel/sched/pelt.h:174 [inline]
RIP: 0010:__update_blocked_fair kernel/sched/fair.c:9257 [inline]
RIP: 0010:update_blocked_averages+0x647/0x1e70 kernel/sched/fair.c:9363
Code: 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 3a 11 00 00 8b 05 43 a1 bb 0d 85 c0 74 48 48 8d bb 78 0d 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 74 08 3c 03 0f 8e e8 11 00 00 44 8b ab 78 0d
RSP: 0018:ffffc90000007e38 EFLAGS: 00010006
RAX: 00000000000001af RBX: 0000000000000000 RCX: 1ffff11003b95c99
RDX: 0000000000000000 RSI: ffff88807b185188 RDI: 0000000000000d78
RBP: ffffc90000007ef8 R08: 00000000000001ca R09: 00000000000001ca
R10: ffffffff8f187397 R11: 0000000000000000 R12: ffff88807b1851e4
R13: ffff888019b8f998 R14: ffff88807b185000 R15: dffffc0000000000
FS:  00007fb8ba3426c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31b23000 CR3: 000000002304b000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	83 e0 07             	and    $0x7,%eax
   3:	83 c0 03             	add    $0x3,%eax
   6:	38 d0                	cmp    %dl,%al
   8:	7c 08                	jl     0x12
   a:	84 d2                	test   %dl,%dl
   c:	0f 85 3a 11 00 00    	jne    0x114c
  12:	8b 05 43 a1 bb 0d    	mov    0xdbba143(%rip),%eax        # 0xdbba15b
  18:	85 c0                	test   %eax,%eax
  1a:	74 48                	je     0x64
  1c:	48 8d bb 78 0d 00 00 	lea    0xd78(%rbx),%rdi
  23:	48 89 f8             	mov    %rdi,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 0f b6 04 38       	movzbl (%rax,%r15,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	74 08                	je     0x3b
  33:	3c 03                	cmp    $0x3,%al
  35:	0f 8e e8 11 00 00    	jle    0x1223
  3b:	44                   	rex.R
  3c:	8b                   	.byte 0x8b
  3d:	ab                   	stos   %eax,%es:(%rdi)
  3e:	78 0d                	js     0x4d

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/31 07:15 upstream 453f5db0619e fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in update_blocked_averages
* Struck through repros no longer work on HEAD.