syzbot


general protection fault in __dequeue_entity

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

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: 5226 Comm: udevd 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_erase_color lib/rbtree.c:354 [inline]
RIP: 0010:__rb_erase_color+0x2d7/0xa30 lib/rbtree.c:413
Code: 73 02 00 00 49 8d 5c 24 10 48 89 dd 48 c1 ed 03 42 80 7c 35 00 00 74 08 48 89 df e8 a3 6a 44 f6 4c 8b 2b 4d 89 ef 49 c1 ef 03 <43> 80 3c 37 00 74 08 4c 89 ef e8 8a 6a 44 f6 41 f6 45 00 01 48 89
RSP: 0018:ffffc9000358f320 EFLAGS: 00010046
RAX: 000000000016e360 RBX: ffff888055df0c20 RCX: dffffc0000000000
RDX: ffffffff81680de0 RSI: ffff8880b913ebc8 RDI: ffff888055df0c10
RBP: 1ffff1100abbe184 R08: 0000000000000234 R09: 0000000000000000
R10: ffff8880281bbc98 R11: ffffffff81671a60 R12: ffff888055df0c10
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000
FS:  00007fc2ada93c80(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3281bff8 CR3: 0000000028dd2000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 rb_erase_augmented include/linux/rbtree_augmented.h:331 [inline]
 rb_erase_augmented_cached include/linux/rbtree_augmented.h:340 [inline]
 __dequeue_entity+0x953/0xd30 kernel/sched/fair.c:863
 set_next_entity+0xfe/0x4c0 kernel/sched/fair.c:5559
 set_next_task_fair+0x1dd/0x540 kernel/sched/fair.c:13151
 set_next_task kernel/sched/sched.h:2434 [inline]
 pick_next_task kernel/sched/core.c:6085 [inline]
 __schedule+0x250c/0x4b30 kernel/sched/core.c:6632
 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6999
 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354
 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707
RIP: 0010:memset_orig+0x3a/0xb0 arch/x86/lib/memset_64.S:69
Code: 01 01 01 01 01 48 0f af c1 41 89 f9 41 83 e1 07 75 70 48 89 d1 48 c1 e9 06 74 35 0f 1f 44 00 00 48 ff c9 48 89 07 48 89 47 08 <48> 89 47 10 48 89 47 18 48 89 47 20 48 89 47 28 48 89 47 30 48 89
RSP: 0018:ffffc9000358f858 EFLAGS: 00000206
RAX: 0000000000000000 RBX: ffff88805ddb8000 RCX: 0000000000000009
RDX: 0000000000001000 RSI: 0000000000000000 RDI: ffff88805ddb8d80
RBP: 0000000000001000 R08: ffffffff937b783f R09: 0000000000000000
R10: ffff88805ddb8000 R11: fffffbfff26f6f08 R12: 0000000000000c40
R13: ffff888015842140 R14: ffffffff846cefcf R15: 0000000000001000
 slab_post_alloc_hook mm/slub.c:4043 [inline]
 slab_alloc_node mm/slub.c:4089 [inline]
 __do_kmalloc_node mm/slub.c:4209 [inline]
 __kmalloc_noprof+0x1ca/0x400 mm/slub.c:4222
 kmalloc_noprof include/linux/slab.h:685 [inline]
 tomoyo_realpath_from_path+0xcf/0x5e0 security/tomoyo/realpath.c:251
 tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
 tomoyo_path_perm+0x2b7/0x740 security/tomoyo/file.c:822
 security_inode_getattr+0x130/0x330 security/security.c:2371
 vfs_getattr+0x45/0x430 fs/stat.c:242
 vfs_statx_path fs/stat.c:289 [inline]
 vfs_statx+0x199/0x490 fs/stat.c:353
 vfs_fstatat+0x145/0x190 fs/stat.c:379
 __do_sys_newfstatat fs/stat.c:543 [inline]
 __se_sys_newfstatat fs/stat.c:537 [inline]
 __x64_sys_newfstatat+0x11d/0x1a0 fs/stat.c:537
 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:0x7fc2ad7165f4
Code: 64 c7 00 09 00 00 00 83 c8 ff c3 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 00 00 00 00 41 89 ca b8 06 01 00 00 0f 05 <45> 31 c0 3d 00 f0 ff ff 76 10 48 8b 15 03 a8 0d 00 f7 d8 41 83 c8
RSP: 002b:00007fffb3feb098 EFLAGS: 00000246 ORIG_RAX: 0000000000000106
RAX: ffffffffffffffda RBX: 000000000000000f RCX: 00007fc2ad7165f4
RDX: 00007fffb3feb0a8 RSI: 00007fffb3feb177 RDI: 00000000ffffff9c
RBP: 00007fffb3fec1b0 R08: 0000000000000000 R09: 00007fffb3febb38
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffb3fec1c8
R13: 0000000000000000 R14: 0000000000000008 R15: 000055c74b228910
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:____rb_erase_color lib/rbtree.c:354 [inline]
RIP: 0010:__rb_erase_color+0x2d7/0xa30 lib/rbtree.c:413
Code: 73 02 00 00 49 8d 5c 24 10 48 89 dd 48 c1 ed 03 42 80 7c 35 00 00 74 08 48 89 df e8 a3 6a 44 f6 4c 8b 2b 4d 89 ef 49 c1 ef 03 <43> 80 3c 37 00 74 08 4c 89 ef e8 8a 6a 44 f6 41 f6 45 00 01 48 89
RSP: 0018:ffffc9000358f320 EFLAGS: 00010046
RAX: 000000000016e360 RBX: ffff888055df0c20 RCX: dffffc0000000000
RDX: ffffffff81680de0 RSI: ffff8880b913ebc8 RDI: ffff888055df0c10
RBP: 1ffff1100abbe184 R08: 0000000000000234 R09: 0000000000000000
R10: ffff8880281bbc98 R11: ffffffff81671a60 R12: ffff888055df0c10
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000
FS:  00007fc2ada93c80(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3281bff8 CR3: 0000000028dd2000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	73 02                	jae    0x4
   2:	00 00                	add    %al,(%rax)
   4:	49 8d 5c 24 10       	lea    0x10(%r12),%rbx
   9:	48 89 dd             	mov    %rbx,%rbp
   c:	48 c1 ed 03          	shr    $0x3,%rbp
  10:	42 80 7c 35 00 00    	cmpb   $0x0,0x0(%rbp,%r14,1)
  16:	74 08                	je     0x20
  18:	48 89 df             	mov    %rbx,%rdi
  1b:	e8 a3 6a 44 f6       	call   0xf6446ac3
  20:	4c 8b 2b             	mov    (%rbx),%r13
  23:	4d 89 ef             	mov    %r13,%r15
  26:	49 c1 ef 03          	shr    $0x3,%r15
* 2a:	43 80 3c 37 00       	cmpb   $0x0,(%r15,%r14,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 ef             	mov    %r13,%rdi
  34:	e8 8a 6a 44 f6       	call   0xf6446ac3
  39:	41 f6 45 00 01       	testb  $0x1,0x0(%r13)
  3e:	48                   	rex.W
  3f:	89                   	.byte 0x89

Crashes (211):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/28 07: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 __dequeue_entity
2024/08/28 05: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 __dequeue_entity
2024/08/28 04:20 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 __dequeue_entity
2024/08/28 03:02 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 __dequeue_entity
2024/08/28 01:35 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 __dequeue_entity
2024/08/28 00:19 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 __dequeue_entity
2024/08/27 22:52 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 __dequeue_entity
2024/08/27 21:48 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 __dequeue_entity
2024/08/27 21:19 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 __dequeue_entity
2024/08/27 19:58 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 __dequeue_entity
2024/08/23 14:13 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 __dequeue_entity
2024/08/23 12:42 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 __dequeue_entity
2024/08/23 11:36 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 __dequeue_entity
2024/08/23 10:30 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 __dequeue_entity
2024/08/23 09:22 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 __dequeue_entity
2024/08/23 08:00 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 __dequeue_entity
2024/08/23 07:00 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 __dequeue_entity
2024/08/23 05:55 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 __dequeue_entity
2024/08/23 02:11 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 __dequeue_entity
2024/08/23 00:59 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 __dequeue_entity
2024/08/22 23:29 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 __dequeue_entity
2024/08/22 22:17 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 __dequeue_entity
2024/08/22 22:03 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 __dequeue_entity
2024/08/22 20:34 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 __dequeue_entity
2024/08/22 19:28 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 __dequeue_entity
2024/08/22 18: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 __dequeue_entity
2024/08/22 17:10 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 __dequeue_entity
2024/08/22 16:17 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 __dequeue_entity
2024/08/22 14:54 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 __dequeue_entity
2024/08/22 12:29 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 __dequeue_entity
2024/08/22 10:58 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 __dequeue_entity
2024/08/22 09:19 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 __dequeue_entity
2024/08/22 07:59 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 __dequeue_entity
2024/08/22 05:12 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 __dequeue_entity
2024/08/22 04:01 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 __dequeue_entity
2024/08/22 03:26 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 __dequeue_entity
2024/08/22 02:19 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 __dequeue_entity
2024/08/22 01:06 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 __dequeue_entity
2024/08/21 23: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 __dequeue_entity
2024/08/21 22:44 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 __dequeue_entity
2024/08/21 19:37 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 __dequeue_entity
2024/08/21 18:19 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 __dequeue_entity
2024/08/21 16:29 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 __dequeue_entity
2024/08/21 14:57 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 __dequeue_entity
2024/08/20 07:12 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 __dequeue_entity
* Struck through repros no longer work on HEAD.