syzbot


BUG: unable to handle kernel paging request in direct2indirect

Status: upstream: reported C repro on 2023/04/15 06:26
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+24f29f655bd6bef3c1fa@syzkaller.appspotmail.com
First crash: 430d, last: 15d
Bug presence (1)
Date Name Commit Repro Result
2023/09/20 upstream (ToT) 2cf0f7156238 C [report] BUG: unable to handle kernel paging request in direct2indirect
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 general protection fault in direct2indirect origin:upstream C 18 18h46m 387d 0/3 upstream: reported C repro on 2023/05/28 06:36
upstream general protection fault in direct2indirect reiserfs C error done 180 140d 533d 0/27 auto-obsoleted due to no activity on 2024/04/09 04:33
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2024/06/03 06:58 1h30m bisect fix linux-6.1.y job log (0) log
2024/05/01 22:37 2h30m bisect fix linux-6.1.y job log (0) log
2024/03/11 14:06 1h20m bisect fix linux-6.1.y job log (0) log
2023/12/13 11:09 1h30m bisect fix linux-6.1.y job log (0) log
2023/07/06 10:32 2h02m bisect fix linux-6.1.y job log (0) log

Sample crash report:
REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[2 1 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2
REISERFS error (device loop0): vs-5150 search_by_key: invalid format found in block 532. Fsck?
REISERFS (device loop0): Remounting filesystem read-only
Unable to handle kernel paging request at virtual address dfff800000000005
KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f]
Mem abort info:
  ESR = 0x0000000096000006
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x06: level 2 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000006
  CM = 0, WnR = 0
[dfff800000000005] address between user and kernel address ranges
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 4220 Comm: syz-executor197 Not tainted 6.1.75-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : reiserfs_node_data fs/reiserfs/reiserfs.h:2184 [inline]
pc : item_head fs/reiserfs/reiserfs.h:2200 [inline]
pc : tp_item_head fs/reiserfs/reiserfs.h:2226 [inline]
pc : direct2indirect+0x6c4/0x10f8 fs/reiserfs/tail_conversion.c:119
lr : tp_item_head fs/reiserfs/reiserfs.h:2226 [inline]
lr : direct2indirect+0x684/0x10f8 fs/reiserfs/tail_conversion.c:119
sp : ffff80001dc46de0
x29: ffff80001dc46f20 x28: 0000000000000000 x27: 0000000000000028
x26: ffff0000dcd4ebd8 x25: ffff80001dc46e60 x24: ffff80001dc47418
x23: dfff800000000000 x22: 0000000100000fff x21: ffff80001dc47410
x20: ffff80001dc47430 x19: 0000000000000000 x18: ffff80001dc45e20
x17: 0000000000000000 x16: ffff80001214cecc x15: 0000000000000000
x14: 00000000fffffffe x13: ffff0000c62f9bc0 x12: 0000000000ff0100
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff800008da7888
x8 : 0000000000000005 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff80001dc46078 x4 : ffff800015912b20 x3 : ffff800008b3131c
x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000008
Call trace:
 reiserfs_node_data fs/reiserfs/reiserfs.h:2184 [inline]
 item_head fs/reiserfs/reiserfs.h:2200 [inline]
 tp_item_head fs/reiserfs/reiserfs.h:2226 [inline]
 direct2indirect+0x6c4/0x10f8 fs/reiserfs/tail_conversion.c:119
 reiserfs_get_block+0x40c4/0x45d8 fs/reiserfs/inode.c:949
 __block_write_begin_int+0x340/0x13b4 fs/buffer.c:1991
 __block_write_begin+0x7c/0xa0 fs/buffer.c:2041
 reiserfs_write_begin+0x328/0x71c fs/reiserfs/inode.c:2775
 generic_perform_write+0x278/0x55c mm/filemap.c:3817
 __generic_file_write_iter+0x168/0x388 mm/filemap.c:3945
 generic_file_write_iter+0xb8/0x2b4 mm/filemap.c:3977
 call_write_iter include/linux/fs.h:2249 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x610/0x914 fs/read_write.c:584
 ksys_write+0x15c/0x26c fs/read_write.c:637
 __do_sys_write fs/read_write.c:649 [inline]
 __se_sys_write fs/read_write.c:646 [inline]
 __arm64_sys_write+0x7c/0x90 fs/read_write.c:646
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
Code: 350011e8 9100a27b b9800293 d343ff68 (38776908) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	350011e8 	cbnz	w8, 0x23c
   4:	9100a27b 	add	x27, x19, #0x28
   8:	b9800293 	ldrsw	x19, [x20]
   c:	d343ff68 	lsr	x8, x27, #3
* 10:	38776908 	ldrb	w8, [x8, x23] <-- trapping instruction

Crashes (21):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/30 00:03 linux-6.1.y 883d1a956208 991a98f4 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in direct2indirect
2024/01/04 14:04 linux-6.1.y a507f147e6f0 28c42cff .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in direct2indirect
2023/09/20 12:25 linux-6.1.y a356197db198 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in direct2indirect
2023/06/03 10:36 linux-6.1.y d2869ace6eeb a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan general protection fault in direct2indirect
2024/02/05 11:04 linux-6.1.y e5c3b988b827 e23e8c20 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in direct2indirect
2024/01/04 13:14 linux-6.1.y a507f147e6f0 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in direct2indirect
2023/12/25 01:23 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in direct2indirect
2023/12/16 18:58 linux-6.1.y ba6f5fb46511 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in direct2indirect
2023/12/13 18:42 linux-6.1.y e7cddbb41b63 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in direct2indirect
2023/11/13 05:00 linux-6.1.y fb2635ac69ab 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in direct2indirect
2023/10/29 15:22 linux-6.1.y 32c9cdbe383c 3c418d72 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in direct2indirect
2023/10/08 05:08 linux-6.1.y ecda77b46871 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in direct2indirect
2023/09/20 12:01 linux-6.1.y a356197db198 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in direct2indirect
2023/08/16 00:43 linux-6.1.y 1321ab403b38 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in direct2indirect
2023/07/23 08:26 linux-6.1.y a456e1743881 27cbe77f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in direct2indirect
2023/07/16 10:14 linux-6.1.y 61fd484b2cf6 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in direct2indirect
2023/04/27 21:08 linux-6.1.y ca1c9012c941 6f3d6fa7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in direct2indirect
2023/04/22 15:30 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in direct2indirect
2023/04/15 06:25 linux-6.1.y 0102425ac76b ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in direct2indirect
2024/04/01 04:25 linux-6.1.y e5cd595e23c1 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in direct2indirect
2023/09/27 12:37 linux-6.1.y d23900f974e0 2895a507 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in direct2indirect
* Struck through repros no longer work on HEAD.