syzbot


BUG: unable to handle kernel NULL pointer dereference in __put_partials (2)

Status: moderation: reported on 2024/11/12 20:50
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+40826943dc5e4e0ad7e6@syzkaller.appspotmail.com
First crash: 9d04h, last: 9d04h
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel NULL pointer dereference in __put_partials kernel 41 144d 178d 0/28 auto-obsoleted due to no activity on 2024/09/04 11:07

Sample crash report:
BUG: kernel NULL pointer dereference, address: 0000000000000002
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 8000000028e2c067 P4D 8000000028e2c067 PUD 0 
Oops: Oops: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 1 UID: 0 PID: 25 Comm: kworker/1:0 Not tainted 6.12.0-rc6-syzkaller-00192-gf1dce1f09380 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
Workqueue: slub_flushwq flush_cpu_slab
RIP: 0010:PagePoisoned include/linux/page-flags.h:293 [inline]
RIP: 0010:page_to_nid include/linux/mm.h:1637 [inline]
RIP: 0010:folio_nid include/linux/mm.h:1643 [inline]
RIP: 0010:slab_nid mm/slab.h:196 [inline]
RIP: 0010:__put_partials+0x26/0x130 mm/slub.c:3119
Code: 90 90 90 90 55 41 57 41 56 41 55 41 54 53 50 48 85 f6 0f 84 df 00 00 00 48 89 f3 49 89 fe 31 c0 48 89 04 24 45 31 ff 45 31 ed <48> 8b 03 48 83 f8 ff 0f 84 d3 00 00 00 4c 8b 63 10 48 c1 e8 3a 49
RSP: 0018:ffffc900001f7b18 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000002 RCX: ffffffff8170bf9a
RDX: dffffc0000000000 RSI: 0000000000000002 RDI: ffff8881437c63c0
RBP: 0000000000000001 R08: ffffffff94298837 R09: 1ffffffff2853106
R10: dffffc0000000000 R11: fffffbfff2853107 R12: 0000000000000002
R13: 0000000000000000 R14: ffff8881437c63c0 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000002 CR3: 0000000060c20000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 put_partials mm/slub.c:3164 [inline]
 flush_cpu_slab+0x2bf/0x450 mm/slub.c:3299
 process_one_work kernel/workqueue.c:3229 [inline]
 process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310
 worker_thread+0x870/0xd30 kernel/workqueue.c:3391
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
Modules linked in:
CR2: 0000000000000002
---[ end trace 0000000000000000 ]---
RIP: 0010:PagePoisoned include/linux/page-flags.h:293 [inline]
RIP: 0010:page_to_nid include/linux/mm.h:1637 [inline]
RIP: 0010:folio_nid include/linux/mm.h:1643 [inline]
RIP: 0010:slab_nid mm/slab.h:196 [inline]
RIP: 0010:__put_partials+0x26/0x130 mm/slub.c:3119
Code: 90 90 90 90 55 41 57 41 56 41 55 41 54 53 50 48 85 f6 0f 84 df 00 00 00 48 89 f3 49 89 fe 31 c0 48 89 04 24 45 31 ff 45 31 ed <48> 8b 03 48 83 f8 ff 0f 84 d3 00 00 00 4c 8b 63 10 48 c1 e8 3a 49
RSP: 0018:ffffc900001f7b18 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000002 RCX: ffffffff8170bf9a
RDX: dffffc0000000000 RSI: 0000000000000002 RDI: ffff8881437c63c0
RBP: 0000000000000001 R08: ffffffff94298837 R09: 1ffffffff2853106
R10: dffffc0000000000 R11: fffffbfff2853107 R12: 0000000000000002
R13: 0000000000000000 R14: ffff8881437c63c0 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000002 CR3: 0000000060c20000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	90                   	nop
   1:	90                   	nop
   2:	90                   	nop
   3:	90                   	nop
   4:	55                   	push   %rbp
   5:	41 57                	push   %r15
   7:	41 56                	push   %r14
   9:	41 55                	push   %r13
   b:	41 54                	push   %r12
   d:	53                   	push   %rbx
   e:	50                   	push   %rax
   f:	48 85 f6             	test   %rsi,%rsi
  12:	0f 84 df 00 00 00    	je     0xf7
  18:	48 89 f3             	mov    %rsi,%rbx
  1b:	49 89 fe             	mov    %rdi,%r14
  1e:	31 c0                	xor    %eax,%eax
  20:	48 89 04 24          	mov    %rax,(%rsp)
  24:	45 31 ff             	xor    %r15d,%r15d
  27:	45 31 ed             	xor    %r13d,%r13d
* 2a:	48 8b 03             	mov    (%rbx),%rax <-- trapping instruction
  2d:	48 83 f8 ff          	cmp    $0xffffffffffffffff,%rax
  31:	0f 84 d3 00 00 00    	je     0x10a
  37:	4c 8b 63 10          	mov    0x10(%rbx),%r12
  3b:	48 c1 e8 3a          	shr    $0x3a,%rax
  3f:	49                   	rex.WB

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/08 20:43 upstream f1dce1f09380 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs BUG: unable to handle kernel NULL pointer dereference in __put_partials
* Struck through repros no longer work on HEAD.