syzbot


BUG: unable to handle kernel paging request in preempt_schedule_irq (2)

Status: moderation: reported on 2025/08/09 11:04
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+d027288aa43818ead92d@syzkaller.appspotmail.com
First crash: 11d, last: 11d
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 BUG: unable to handle kernel paging request in preempt_schedule_irq origin:upstream 8 C 21 5d18h 110d 0/3 upstream: reported C repro on 2025/04/28 12:49
upstream BUG: unable to handle kernel paging request in preempt_schedule_irq kernel 8 1 364d 360d 0/29 auto-obsoleted due to no activity on 2024/11/14 20:10
linux-6.1 BUG: unable to handle kernel paging request in preempt_schedule_irq origin:upstream 8 C 14 14d 53d 0/3 upstream: reported C repro on 2025/06/24 13:48
linux-6.6 BUG: unable to handle kernel paging request in preempt_schedule_irq 8 1 41d 41d 0/2 upstream: reported on 2025/07/06 05:27
upstream KASAN: stack-out-of-bounds Write in preempt_schedule_irq kernel 23 1 131d 127d 0/29 auto-obsoleted due to no activity on 2025/06/06 00:36

Sample crash report:
loop7: detected capacity change from 0 to 4096
BUG: unable to handle page fault for address: ffffed1104a2176f
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 23ffee067 P4D 23ffee067 PUD 0 
Oops: Oops: 0000 [#1] SMP KASAN PTI
CPU: 0 UID: 0 PID: 8386 Comm: syz.7.373 Tainted: G        W           6.16.0-syzkaller-11699-g7e161a991ea7 #0 PREEMPT_{RT,(full)} 
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:206 [inline]
RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:238 [inline]
RIP: 0010:tif_test_bit include/linux/thread_info.h:192 [inline]
RIP: 0010:tif_need_resched include/linux/thread_info.h:208 [inline]
RIP: 0010:need_resched include/linux/sched.h:2206 [inline]
RIP: 0010:preempt_schedule_irq+0xee/0x150 kernel/sched/core.c:7291
Code: 44 24 40 fa a9 00 02 00 00 74 05 e8 ec a8 cf f6 bf 01 00 00 00 e8 f2 62 99 f6 65 48 8b 1c 25 08 30 f5 91 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 9d 48 89 df e8 f3 2b 27 f7 eb 93 48 c7 04 24 0e
RSP: 0018:ffffc9000621f640 EFLAGS: 00010802
RAX: 1ffff11004a21770 RBX: ffff88802510bb80 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8b61f7e0 RDI: 00000000ffffffff
RBP: ffffc9000621f6e0 R08: ffffffff8f1cf737 R09: 1ffffffff1e39ee6
R10: dffffc0000000000 R11: fffffbfff1e39ee7 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc00ffffffff R15: 1ffff92000c43ec8
FS:  00007f6e3ce666c0(0000) GS:ffff8881268cd000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed1104a2176f CR3: 0000000053478000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 irqentry_exit+0x6f/0x90 kernel/entry/common.c:197
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:folio_add_lru+0xe/0x220 mm/swap.c:500
Code: 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 41 57 41 56 41 55 41 54 53 <48> 89 fb 49 bf 00 00 00 00 00 fc ff df e8 00 45 c5 ff 4c 8d 73 08
RSP: 0018:ffffc9000621f7a8 EFLAGS: 00000283
RAX: ffffffff81f51047 RBX: ffffea0001854340 RCX: 0000000000080000
RDX: ffffc9000deb3000 RSI: 0000000000005861 RDI: ffffea0001854340
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffff9400030a869 R12: 0000000000000000
R13: 1ffffd400030a869 R14: 0000000000000000 R15: dffffc0000000000
 filemap_add_folio+0x1af/0x270 mm/filemap.c:985
 do_read_cache_folio+0x1de/0x560 mm/filemap.c:3924
 do_read_cache_page mm/filemap.c:4023 [inline]
 read_cache_page+0x5d/0x170 mm/filemap.c:4032
 read_mapping_page include/linux/pagemap.h:985 [inline]
 inode_read_data+0xa7/0x480 fs/ntfs3/inode.c:1054
 ntfs_fill_super+0x39c8/0x40b0 fs/ntfs3/super.c:1533
 get_tree_bdev_flags+0x40e/0x4d0 fs/super.c:1692
 vfs_get_tree+0x92/0x2b0 fs/super.c:1815
 do_new_mount+0x2a2/0x9e0 fs/namespace.c:3805
 do_mount fs/namespace.c:4133 [inline]
 __do_sys_mount fs/namespace.c:4344 [inline]
 __se_sys_mount+0x317/0x410 fs/namespace.c:4321
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6e3f00030a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f6e3ce65e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f6e3ce65ef0 RCX: 00007f6e3f00030a
RDX: 0000200000000080 RSI: 000020000001f740 RDI: 00007f6e3ce65eb0
RBP: 0000200000000080 R08: 00007f6e3ce65ef0 R09: 0000000000810002
R10: 0000000000810002 R11: 0000000000000246 R12: 000020000001f740
R13: 00007f6e3ce65eb0 R14: 000000000001f73a R15: 0000200000000480
 </TASK>
Modules linked in:
CR2: ffffed1104a2176f
---[ end trace 0000000000000000 ]---
RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:206 [inline]
RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:238 [inline]
RIP: 0010:tif_test_bit include/linux/thread_info.h:192 [inline]
RIP: 0010:tif_need_resched include/linux/thread_info.h:208 [inline]
RIP: 0010:need_resched include/linux/sched.h:2206 [inline]
RIP: 0010:preempt_schedule_irq+0xee/0x150 kernel/sched/core.c:7291
Code: 44 24 40 fa a9 00 02 00 00 74 05 e8 ec a8 cf f6 bf 01 00 00 00 e8 f2 62 99 f6 65 48 8b 1c 25 08 30 f5 91 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 9d 48 89 df e8 f3 2b 27 f7 eb 93 48 c7 04 24 0e
RSP: 0018:ffffc9000621f640 EFLAGS: 00010802
RAX: 1ffff11004a21770 RBX: ffff88802510bb80 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8b61f7e0 RDI: 00000000ffffffff
RBP: ffffc9000621f6e0 R08: ffffffff8f1cf737 R09: 1ffffffff1e39ee6
R10: dffffc0000000000 R11: fffffbfff1e39ee7 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc00ffffffff R15: 1ffff92000c43ec8
FS:  00007f6e3ce666c0(0000) GS:ffff8881268cd000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed1104a2176f CR3: 0000000053478000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
   0:	44 24 40             	rex.R and $0x40,%al
   3:	fa                   	cli
   4:	a9 00 02 00 00       	test   $0x200,%eax
   9:	74 05                	je     0x10
   b:	e8 ec a8 cf f6       	call   0xf6cfa8fc
  10:	bf 01 00 00 00       	mov    $0x1,%edi
  15:	e8 f2 62 99 f6       	call   0xf699630c
  1a:	65 48 8b 1c 25 08 30 	mov    %gs:0xffffffff91f53008,%rbx
  21:	f5 91
  23:	48 89 d8             	mov    %rbx,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 30 00       	cmpb   $0x0,(%rax,%r14,1) <-- trapping instruction
  2f:	74 9d                	je     0xffffffce
  31:	48 89 df             	mov    %rbx,%rdi
  34:	e8 f3 2b 27 f7       	call   0xf7272c2c
  39:	eb 93                	jmp    0xffffffce
  3b:	48                   	rex.W
  3c:	c7                   	.byte 0xc7
  3d:	04 24                	add    $0x24,%al
  3f:	0e                   	(bad)

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/05 10:57 upstream 7e161a991ea7 37880f40 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs BUG: unable to handle kernel paging request in preempt_schedule_irq
* Struck through repros no longer work on HEAD.