BUG: unable to handle kernel paging request in dqput

7 views
Skip to first unread message

syzbot

unread,
Sep 22, 2020, 6:10:21 PM9/22/20
to syzkaller-a...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 63d1c2f0 ANDROID: mm: add generic __va_function and __pa_f..
git tree: android-5.4
console output: https://syzkaller.appspot.com/x/log.txt?x=101adc8d900000
kernel config: https://syzkaller.appspot.com/x/.config?x=a189fc0e5a79868a
dashboard link: https://syzkaller.appspot.com/bug?extid=43f28429314a2121afb9
compiler: Android (6032204 based on r370808) clang version 10.0.1 (https://android.googlesource.com/toolchain/llvm-project 6e765c10313d15c02ab29977a82938f66742c3a9)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=122ef4e3900000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1230bdab900000

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

EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue
Quota error (device loop0): qtree_write_dquot: Error -1622674347 occurred while creating quota
Quota error (device loop0): dq_insert_tree: Quota tree root isn't allocated!
Quota error (device loop0): qtree_write_dquot: Error -5 occurred while creating quota
BUG: unable to handle page fault for address: fffffbfff3e8fe97
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 21fff3067 P4D 21fff3067 PUD 21ffb6067 PMD 0
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 342 Comm: syz-executor583 Not tainted 5.4.65-syzkaller-00175-g63d1c2f0b547 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:91 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:108 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:134 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:165 [inline]
RIP: 0010:check_memory_region_inline mm/kasan/generic.c:181 [inline]
RIP: 0010:check_memory_region+0x70/0x2f0 mm/kasan/generic.c:191
Code: 49 bd 01 00 00 00 00 fc ff df 4d 01 ea 4d 89 d6 4d 29 ce 49 83 fe 10 7f 2b 4d 85 f6 0f 84 b9 01 00 00 4c 89 cb 4c 29 d3 66 90 <45> 0f b6 19 45 84 db 0f 85 03 02 00 00 49 ff c1 48 ff c3 75 eb e9
RSP: 0018:ffff8881cdf37748 EFLAGS: 00010297
RAX: 2e2518fbdcd52301 RBX: ffffffffffffffff RCX: ffffffff818f09d4
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffffff9f47f4b9
RBP: ffffffff9f47f455 R08: dffffc0000000000 R09: fffffbfff3e8fe97
R10: fffffbfff3e8fe98 R11: 0000000000000004 R12: 1ffffffff3e8fe97
R13: dffffc0000000001 R14: 0000000000000001 R15: ffffffff9f47f4b9
FS: 0000000001940880(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffbfff3e8fe97 CR3: 00000001c5fb7005 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
atomic_read include/asm-generic/atomic-instrumented.h:26 [inline]
dqput+0x74/0x770 fs/quota/dquot.c:771
dqput_all fs/quota/dquot.c:396 [inline]
__dquot_initialize+0xb00/0xdc0 fs/quota/dquot.c:1531
ext4_xattr_set+0xdd/0x300 fs/ext4/xattr.c:2491
__vfs_setxattr+0x3be/0x400 fs/xattr.c:150
__vfs_setxattr_noperm+0x12a/0x3e0 fs/xattr.c:181
vfs_setxattr+0x11e/0x2d0 fs/xattr.c:256
setxattr+0x1d3/0x400 fs/xattr.c:521
path_setxattr+0x154/0x230 fs/xattr.c:540
__do_sys_setxattr fs/xattr.c:555 [inline]
__se_sys_setxattr fs/xattr.c:551 [inline]
__x64_sys_setxattr+0xb7/0xd0 fs/xattr.c:551
do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x4447e9
Code: 8d d7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 5b d7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fff82854398 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00000000004447e9
RDX: 0000000000000000 RSI: 0000000020000140 RDI: 00000000200000c0
RBP: 00000000006cf018 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004023d0
R13: 0000000000402460 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
CR2: fffffbfff3e8fe97
---[ end trace bf1a943c878392fb ]---
RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:91 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:108 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:134 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:165 [inline]
RIP: 0010:check_memory_region_inline mm/kasan/generic.c:181 [inline]
RIP: 0010:check_memory_region+0x70/0x2f0 mm/kasan/generic.c:191
Code: 49 bd 01 00 00 00 00 fc ff df 4d 01 ea 4d 89 d6 4d 29 ce 49 83 fe 10 7f 2b 4d 85 f6 0f 84 b9 01 00 00 4c 89 cb 4c 29 d3 66 90 <45> 0f b6 19 45 84 db 0f 85 03 02 00 00 49 ff c1 48 ff c3 75 eb e9
RSP: 0018:ffff8881cdf37748 EFLAGS: 00010297
RAX: 2e2518fbdcd52301 RBX: ffffffffffffffff RCX: ffffffff818f09d4
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffffff9f47f4b9
RBP: ffffffff9f47f455 R08: dffffc0000000000 R09: fffffbfff3e8fe97
R10: fffffbfff3e8fe98 R11: 0000000000000004 R12: 1ffffffff3e8fe97
R13: dffffc0000000001 R14: 0000000000000001 R15: ffffffff9f47f4b9
FS: 0000000001940880(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffbfff3e8fe97 CR3: 00000001c5fb7005 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
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.
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches

syzbot

unread,
Apr 17, 2023, 11:54:46 AM4/17/23
to syzkaller-a...@googlegroups.com
Auto-closing this bug as obsolete.
No recent activity, existing reproducers are no longer triggering the issue.
Reply all
Reply to author
Forward
0 new messages