syzbot


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

Status: upstream: reported on 2024/11/26 14:56
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+b271f27b05eb3340c195@syzkaller.appspotmail.com
First crash: 227d, last: 15d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [kernel?] BUG: unable to handle kernel NULL pointer dereference in __put_partials (2) 0 (1) 2024/11/26 14:56
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 362d 396d 0/29 auto-obsoleted due to no activity on 2024/09/04 11:07

Sample crash report:
BUG: kernel NULL pointer dereference, address: 0000000000000001
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 80000000274e0067 P4D 80000000274e0067 PUD 0 
Oops: Oops: 0000 [#1] SMP KASAN PTI
CPU: 1 UID: 0 PID: 5811 Comm: kworker/1:3 Not tainted 6.15.0-rc7-syzkaller-00112-geccf6f2f6ab9 #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: slub_flushwq flush_cpu_slab
RIP: 0010:PagePoisoned include/linux/page-flags.h:331 [inline]
RIP: 0010:page_to_nid include/linux/mm.h:1736 [inline]
RIP: 0010:folio_nid include/linux/mm.h:1742 [inline]
RIP: 0010:slab_nid mm/slab.h:201 [inline]
RIP: 0010:__put_partials+0x31/0x1c0 mm/slub.c:3159
Code: 41 54 53 48 83 ec 18 48 85 f6 0f 84 52 01 00 00 49 89 f7 49 89 fe 48 c7 44 24 08 00 00 00 00 48 c7 04 24 00 00 00 00 45 31 ed <49> 8b 07 48 83 f8 ff 0f 84 3f 01 00 00 49 8b 5f 10 48 c1 e8 3a 49
RSP: 0018:ffffc90004407a78 EFLAGS: 00010246
RAX: 5af70bf13b39ca00 RBX: ffff888033971e00 RCX: 5af70bf13b39ca00
RDX: 0000000000000006 RSI: 0000000000000001 RDI: ffff88804baf1140
RBP: 0000000000000246 R08: ffffffff8f7e0b77 R09: 1ffffffff1efc16e
R10: dffffc0000000000 R11: fffffbfff1efc16f R12: ffffe8ffffd67640
R13: 0000000000000000 R14: ffff88804baf1140 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8881261f6000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000001 CR3: 0000000079432000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 put_partials mm/slub.c:3204 [inline]
 flush_cpu_slab+0x2b7/0x450 mm/slub.c:3339
 process_one_work kernel/workqueue.c:3238 [inline]
 process_scheduled_works+0xade/0x17a0 kernel/workqueue.c:3319
 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400
 kthread+0x711/0x8a0 kernel/kthread.c:464
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
Modules linked in:
CR2: 0000000000000001
---[ end trace 0000000000000000 ]---
RIP: 0010:PagePoisoned include/linux/page-flags.h:331 [inline]
RIP: 0010:page_to_nid include/linux/mm.h:1736 [inline]
RIP: 0010:folio_nid include/linux/mm.h:1742 [inline]
RIP: 0010:slab_nid mm/slab.h:201 [inline]
RIP: 0010:__put_partials+0x31/0x1c0 mm/slub.c:3159
Code: 41 54 53 48 83 ec 18 48 85 f6 0f 84 52 01 00 00 49 89 f7 49 89 fe 48 c7 44 24 08 00 00 00 00 48 c7 04 24 00 00 00 00 45 31 ed <49> 8b 07 48 83 f8 ff 0f 84 3f 01 00 00 49 8b 5f 10 48 c1 e8 3a 49
RSP: 0018:ffffc90004407a78 EFLAGS: 00010246
RAX: 5af70bf13b39ca00 RBX: ffff888033971e00 RCX: 5af70bf13b39ca00
RDX: 0000000000000006 RSI: 0000000000000001 RDI: ffff88804baf1140
RBP: 0000000000000246 R08: ffffffff8f7e0b77 R09: 1ffffffff1efc16e
R10: dffffc0000000000 R11: fffffbfff1efc16f R12: ffffe8ffffd67640
R13: 0000000000000000 R14: ffff88804baf1140 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8881261f6000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000001 CR3: 0000000079432000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	41 54                	push   %r12
   2:	53                   	push   %rbx
   3:	48 83 ec 18          	sub    $0x18,%rsp
   7:	48 85 f6             	test   %rsi,%rsi
   a:	0f 84 52 01 00 00    	je     0x162
  10:	49 89 f7             	mov    %rsi,%r15
  13:	49 89 fe             	mov    %rdi,%r14
  16:	48 c7 44 24 08 00 00 	movq   $0x0,0x8(%rsp)
  1d:	00 00
  1f:	48 c7 04 24 00 00 00 	movq   $0x0,(%rsp)
  26:	00
  27:	45 31 ed             	xor    %r13d,%r13d
* 2a:	49 8b 07             	mov    (%r15),%rax <-- trapping instruction
  2d:	48 83 f8 ff          	cmp    $0xffffffffffffffff,%rax
  31:	0f 84 3f 01 00 00    	je     0x176
  37:	49 8b 5f 10          	mov    0x10(%r15),%rbx
  3b:	48 c1 e8 3a          	shr    $0x3a,%rax
  3f:	49                   	rex.WB

Crashes (17):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/24 02:13 upstream eccf6f2f6ab9 f8cc0c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs BUG: unable to handle kernel NULL pointer dereference in __put_partials
2025/03/17 18:30 upstream 4701f33a1070 948c34e4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs BUG: unable to handle kernel NULL pointer dereference in __put_partials
2025/03/02 22:54 upstream b91872c56940 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs BUG: unable to handle kernel NULL pointer dereference in __put_partials
2025/02/08 00:49 upstream 7ee983c850b4 a4f327c2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root BUG: unable to handle kernel NULL pointer dereference in __put_partials
2025/01/27 18:33 upstream 805ba04cb7cc d99a33ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs BUG: unable to handle kernel NULL pointer dereference in __put_partials
2024/12/26 23:13 upstream d6ef8b40d075 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs BUG: unable to handle kernel NULL pointer dereference in __put_partials
2024/12/07 19:21 upstream b5f217084ab3 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs BUG: unable to handle kernel NULL pointer dereference in __put_partials
2024/11/29 08:30 upstream 7af08b57bcb9 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs BUG: unable to handle kernel NULL pointer dereference in __put_partials
2024/11/25 19:35 upstream 9f16d5e6f220 11dbc254 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs BUG: unable to handle kernel NULL pointer dereference in __put_partials
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
2025/01/01 01:48 linux-next 8155b4ef3466 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel NULL pointer dereference in __put_partials
2024/11/23 14:45 linux-next cfba9f07a1d6 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel NULL pointer dereference in __put_partials
2025/06/08 22:26 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d7fa1af5b33e 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel NULL pointer dereference in __put_partials
2025/04/22 16:07 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c72692105976 53a8b9bd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel NULL pointer dereference in __put_partials
2025/03/23 08:28 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a2392f333575 4e8d3850 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel NULL pointer dereference in __put_partials
2025/03/08 15:20 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 77c95b8c7a16 7e3bd60d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel NULL pointer dereference in __put_partials
2025/01/21 04:36 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1950a0af2d55 6e87cfa2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel NULL pointer dereference in __put_partials
* Struck through repros no longer work on HEAD.