syzbot


general protection fault in __do_set_cpus_allowed

Status: closed as invalid on 2024/09/13 10:29
Subsystems: kernel
[Documentation on labels]
First crash: 172d, last: 164d

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 UID: 0 PID: 5406 Comm: syz.1.23 Not tainted 6.11.0-rc5-next-20240827-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:rb_set_parent_color include/linux/rbtree_augmented.h:191 [inline]
RIP: 0010:____rb_erase_color lib/rbtree.c:255 [inline]
RIP: 0010:rb_erase+0x530/0xe70 lib/rbtree.c:445
Code: 00 00 74 08 4c 89 ef e8 6e 58 44 f6 4d 89 7d 00 49 8d 6f 01 48 8b 5c 24 08 48 89 d8 48 c1 e8 03 49 bd 00 00 00 00 00 fc ff df <42> 80 3c 28 00 74 08 48 89 df e8 41 58 44 f6 48 89 2b 4c 89 fd 48
RSP: 0018:ffffc900042878e8 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: ffffc900090f9000 RSI: ffff8880b903f8e0 RDI: ffff8880276020c8
RBP: ffff888026bb20c1 R08: ffffffff8bb146c8 R09: fffff52000850f54
R10: dffffc0000000000 R11: fffff52000850f54 R12: ffff888026bb20c0
R13: dffffc0000000000 R14: 1ffff11004d76418 R15: ffff888026bb20c0
FS:  00007f97d4d116c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32605ff8 CR3: 0000000062706000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 sched_core_dequeue kernel/sched/core.c:283 [inline]
 dequeue_task kernel/sched/core.c:2031 [inline]
 __do_set_cpus_allowed+0x4de/0x580 kernel/sched/core.c:2682
 __set_cpus_allowed_ptr_locked+0x363/0x16c0 kernel/sched/core.c:3070
 __set_cpus_allowed_ptr+0x1d4/0x240 kernel/sched/core.c:3104
 __sched_setaffinity+0x18f/0x370 kernel/sched/syscalls.c:1332
 sched_setaffinity+0x345/0x4b0 kernel/sched/syscalls.c:1410
 __do_sys_sched_setaffinity kernel/sched/syscalls.c:1446 [inline]
 __se_sys_sched_setaffinity kernel/sched/syscalls.c:1435 [inline]
 __x64_sys_sched_setaffinity+0x132/0x180 kernel/sched/syscalls.c:1435
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f97d3f79e79
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f97d4d11038 EFLAGS: 00000246 ORIG_RAX: 00000000000000cb
RAX: ffffffffffffffda RBX: 00007f97d4115f80 RCX: 00007f97d3f79e79
RDX: 0000000020000040 RSI: 0000000000000008 RDI: 0000000000000000
RBP: 00007f97d3fe793e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f97d4115f80 R15: 00007ffd8aa3ef08
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:rb_set_parent_color include/linux/rbtree_augmented.h:191 [inline]
RIP: 0010:____rb_erase_color lib/rbtree.c:255 [inline]
RIP: 0010:rb_erase+0x530/0xe70 lib/rbtree.c:445
Code: 00 00 74 08 4c 89 ef e8 6e 58 44 f6 4d 89 7d 00 49 8d 6f 01 48 8b 5c 24 08 48 89 d8 48 c1 e8 03 49 bd 00 00 00 00 00 fc ff df <42> 80 3c 28 00 74 08 48 89 df e8 41 58 44 f6 48 89 2b 4c 89 fd 48
RSP: 0018:ffffc900042878e8 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: ffffc900090f9000 RSI: ffff8880b903f8e0 RDI: ffff8880276020c8
RBP: ffff888026bb20c1 R08: ffffffff8bb146c8 R09: fffff52000850f54
R10: dffffc0000000000 R11: fffff52000850f54 R12: ffff888026bb20c0
R13: dffffc0000000000 R14: 1ffff11004d76418 R15: ffff888026bb20c0
FS:  00007f97d4d116c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32605ff8 CR3: 0000000062706000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	00 00                	add    %al,(%rax)
   2:	74 08                	je     0xc
   4:	4c 89 ef             	mov    %r13,%rdi
   7:	e8 6e 58 44 f6       	call   0xf644587a
   c:	4d 89 7d 00          	mov    %r15,0x0(%r13)
  10:	49 8d 6f 01          	lea    0x1(%r15),%rbp
  14:	48 8b 5c 24 08       	mov    0x8(%rsp),%rbx
  19:	48 89 d8             	mov    %rbx,%rax
  1c:	48 c1 e8 03          	shr    $0x3,%rax
  20:	49 bd 00 00 00 00 00 	movabs $0xdffffc0000000000,%r13
  27:	fc ff df
* 2a:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	48 89 df             	mov    %rbx,%rdi
  34:	e8 41 58 44 f6       	call   0xf644587a
  39:	48 89 2b             	mov    %rbp,(%rbx)
  3c:	4c 89 fd             	mov    %r15,%rbp
  3f:	48                   	rex.W

Crashes (90):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/28 07:21 linux-next 6f923748057a 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/28 06:05 linux-next 6f923748057a 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/28 04:44 linux-next 6f923748057a 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/28 02:04 linux-next 6f923748057a 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/27 23:50 linux-next 6f923748057a 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/27 23:11 linux-next 6f923748057a 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/27 22:10 linux-next 6f923748057a 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/27 20:27 linux-next 6f923748057a 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/23 13:40 linux-next c79c85875f1a ce8a9099 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/23 12:24 linux-next c79c85875f1a ce8a9099 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/23 11:16 linux-next c79c85875f1a ce8a9099 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/23 08:52 linux-next c79c85875f1a ce8a9099 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/23 00:22 linux-next 6a7917c89f21 295a4b50 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/22 21:38 linux-next 6a7917c89f21 295a4b50 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/22 21:13 linux-next 6a7917c89f21 295a4b50 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/22 18:16 linux-next 6a7917c89f21 295a4b50 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/22 16:57 linux-next 6a7917c89f21 295a4b50 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/22 15:35 linux-next 6a7917c89f21 295a4b50 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/22 12:11 linux-next 6a7917c89f21 ca02180f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/22 10:50 linux-next 6a7917c89f21 ca02180f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/22 05:51 linux-next eb8c5ca373cb ca02180f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/22 05:15 linux-next eb8c5ca373cb ca02180f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/22 05:02 linux-next eb8c5ca373cb ca02180f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/22 04:24 linux-next eb8c5ca373cb ca02180f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/21 19:45 linux-next eb8c5ca373cb db5852f9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/21 19:15 linux-next eb8c5ca373cb db5852f9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/21 18:58 linux-next eb8c5ca373cb db5852f9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/21 17:16 linux-next eb8c5ca373cb db5852f9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/21 17:03 linux-next eb8c5ca373cb db5852f9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/21 16:56 linux-next eb8c5ca373cb db5852f9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/21 15:15 linux-next eb8c5ca373cb db5852f9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/21 15:11 linux-next eb8c5ca373cb db5852f9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/21 14:45 linux-next eb8c5ca373cb db5852f9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/21 14:35 linux-next eb8c5ca373cb db5852f9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/21 13:32 linux-next eb8c5ca373cb db5852f9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/21 07:29 linux-next eb8c5ca373cb 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/21 04:14 linux-next bb1b0acdcd66 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/21 04:04 linux-next bb1b0acdcd66 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/21 03:43 linux-next bb1b0acdcd66 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/21 02:48 linux-next bb1b0acdcd66 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/21 01:53 linux-next bb1b0acdcd66 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/20 23:56 linux-next bb1b0acdcd66 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/20 22:42 linux-next bb1b0acdcd66 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/20 22:11 linux-next bb1b0acdcd66 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/20 20:44 linux-next bb1b0acdcd66 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/20 19:53 linux-next bb1b0acdcd66 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
2024/08/20 08:04 linux-next bb1b0acdcd66 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __do_set_cpus_allowed
* Struck through repros no longer work on HEAD.