[Android 6.1] BUG: unable to handle kernel paging request in ext4_ext_map_blocks

0 views
Skip to first unread message

syzbot

unread,
Apr 25, 2026, 1:59:28 PM (yesterday) Apr 25
to syzkaller-a...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 5d4307594b33 Merge tag 'android14-6.1.167_r00' into androi..
git tree: android14-6.1
console output: https://syzkaller.appspot.com/x/log.txt?x=12ae12ce580000
kernel config: https://syzkaller.appspot.com/x/.config?x=8b77de3a119dd560
dashboard link: https://syzkaller.appspot.com/bug?extid=b70e5c99b3611c1f7eee
compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=15693236580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=149d22ce580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/4aaff5f531d0/disk-5d430759.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/fd67069572ae/vmlinux-5d430759.xz
kernel image: https://storage.googleapis.com/syzbot-assets/7cfda2dbc1a1/bzImage-5d430759.xz
mounted in repro: https://storage.googleapis.com/syzbot-assets/bedfb99ed841/mount_0.gz
fsck result: OK (log: https://syzkaller.appspot.com/x/fsck.log?x=11693236580000)

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+b70e5c...@syzkaller.appspotmail.com

ext4 filesystem being mounted at /0/file1 supports timestamps until 2038-01-19 (0x7fffffff)
EXT4-fs error (device loop2): ext4_do_update_inode:5270: inode #2: comm syz.2.17: corrupted inode contents
EXT4-fs error (device loop2): ext4_dirty_inode:6135: inode #2: comm syz.2.17: mark_inode_dirty error
EXT4-fs error (device loop2): ext4_do_update_inode:5270: inode #2: comm syz.2.17: corrupted inode contents
EXT4-fs error (device loop2): __ext4_ext_dirty:206: inode #2: comm syz.2.17: mark_inode_dirty error
BUG: unable to handle page fault for address: ffffffffffffff93
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 7012067 P4D 7012067 PUD 7014067 PMD 0
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 362 Comm: syz.2.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
RIP: 0010:ext4_ext_drop_refs fs/ext4/extents.c:119 [inline]
RIP: 0010:ext4_free_ext_path fs/ext4/extents.c:128 [inline]
RIP: 0010:ext4_ext_map_blocks+0x2e59/0x6200 fs/ext4/extents.c:4497
Code: 40 01 00 00 4d 85 f6 0f 84 bc 00 00 00 48 89 5c 24 20 49 8d 7e 08 48 89 f8 48 c1 e8 03 42 0f b6 04 20 84 c0 0f 85 38 16 00 00 <41> 0f b7 46 08 c1 e0 04 48 8d 04 40 48 89 44 24 08 49 8d 46 28 48
RSP: 0018:ffffc90000777500 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff88812e660000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffffffff93
RBP: ffffc900007777b0 R08: ffff88811143ded3 R09: 1ffff11022287bda
R10: dffffc0000000000 R11: ffffed1022287bdb R12: dffffc0000000000
R13: 1ffff920000eeecc R14: ffffffffffffff8b R15: 0000000000000001
FS: 000055556ffe7500(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffff93 CR3: 000000012d8b3000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
ext4_map_blocks+0x9d8/0x1b70 fs/ext4/inode.c:679
ext4_getblk+0x1cc/0x6e0 fs/ext4/inode.c:890
ext4_bread+0x2b/0x170 fs/ext4/inode.c:946
ext4_append+0x2be/0x560 fs/ext4/namei.c:83
ext4_add_entry+0x8eb/0xdb0 fs/ext4/namei.c:2511
ext4_mkdir+0x558/0xce0 fs/ext4/namei.c:3081
vfs_mkdir+0x39c/0x580 fs/namei.c:4113
do_mkdirat+0x171/0x4c0 fs/namei.c:4138
__do_sys_mkdirat fs/namei.c:4153 [inline]
__se_sys_mkdirat fs/namei.c:4151 [inline]
__x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4151
x64_sys_call+0x73d/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:259
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7ff4c4f9cdd9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffddc0f4678 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007ff4c5215fa0 RCX: 00007ff4c4f9cdd9
RDX: 0000000000000000 RSI: 0000200000000340 RDI: ffffffffffffff9c
RBP: 00007ff4c5032d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ff4c5215fac R14: 00007ff4c5215fa0 R15: 00007ff4c5215fa0
</TASK>
Modules linked in:
CR2: ffffffffffffff93
---[ end trace 0000000000000000 ]---
RIP: 0010:ext4_ext_drop_refs fs/ext4/extents.c:119 [inline]
RIP: 0010:ext4_free_ext_path fs/ext4/extents.c:128 [inline]
RIP: 0010:ext4_ext_map_blocks+0x2e59/0x6200 fs/ext4/extents.c:4497
Code: 40 01 00 00 4d 85 f6 0f 84 bc 00 00 00 48 89 5c 24 20 49 8d 7e 08 48 89 f8 48 c1 e8 03 42 0f b6 04 20 84 c0 0f 85 38 16 00 00 <41> 0f b7 46 08 c1 e0 04 48 8d 04 40 48 89 44 24 08 49 8d 46 28 48
RSP: 0018:ffffc90000777500 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff88812e660000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffffffff93
RBP: ffffc900007777b0 R08: ffff88811143ded3 R09: 1ffff11022287bda
R10: dffffc0000000000 R11: ffffed1022287bdb R12: dffffc0000000000
R13: 1ffff920000eeecc R14: ffffffffffffff8b R15: 0000000000000001
FS: 000055556ffe7500(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffff93 CR3: 000000012d8b3000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 40 01 00 rex add %eax,(%rax)
3: 00 4d 85 add %cl,-0x7b(%rbp)
6: f6 0f 84 testb $0x84,(%rdi)
9: bc 00 00 00 48 mov $0x48000000,%esp
e: 89 5c 24 20 mov %ebx,0x20(%rsp)
12: 49 8d 7e 08 lea 0x8(%r14),%rdi
16: 48 89 f8 mov %rdi,%rax
19: 48 c1 e8 03 shr $0x3,%rax
1d: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax
22: 84 c0 test %al,%al
24: 0f 85 38 16 00 00 jne 0x1662
* 2a: 41 0f b7 46 08 movzwl 0x8(%r14),%eax <-- trapping instruction
2f: c1 e0 04 shl $0x4,%eax
32: 48 8d 04 40 lea (%rax,%rax,2),%rax
36: 48 89 44 24 08 mov %rax,0x8(%rsp)
3b: 49 8d 46 28 lea 0x28(%r14),%rax
3f: 48 rex.W


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup
Reply all
Reply to author
Forward
0 new messages