[syzbot] [mm?] WARNING in kunmap_local_indexed

6 views
Skip to first unread message

syzbot

unread,
Feb 26, 2024, 8:19:24 AMFeb 26
to ak...@linux-foundation.org, linux-...@vger.kernel.org, linu...@kvack.org, syzkall...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 70ff1fe626a1 Merge tag 'docs-6.8-fixes3' of git://git.lwn...
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=17130f4a180000
kernel config: https://syzkaller.appspot.com/x/.config?x=4cf52b43f46d820d
dashboard link: https://syzkaller.appspot.com/bug?extid=691cb37358791bebebe6
compiler: arm-linux-gnueabi-gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=151e4e54180000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=115b934a180000

Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/8ead8862021c/non_bootable_disk-70ff1fe6.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/bc398db9fd8c/vmlinux-70ff1fe6.xz
kernel image: https://storage.googleapis.com/syzbot-assets/6d3f8b72a671/zImage-70ff1fe6.xz

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

------------[ cut here ]------------
WARNING: CPU: 1 PID: 2978 at mm/highmem.c:611 kunmap_local_indexed+0x210/0x228 mm/highmem.c:611
Modules linked in:
Kernel panic - not syncing: kernel: panic_on_warn set ...
CPU: 1 PID: 2978 Comm: syz-executor914 Not tainted 6.8.0-rc5-syzkaller #0
Hardware name: ARM-Versatile Express
Backtrace:
[<81837b0c>] (dump_backtrace) from [<81837c08>] (show_stack+0x18/0x1c arch/arm/kernel/traps.c:256)
r7:00000000 r6:82622dc4 r5:60000093 r4:81fbd4bc
[<81837bf0>] (show_stack) from [<81855124>] (__dump_stack lib/dump_stack.c:88 [inline])
[<81837bf0>] (show_stack) from [<81855124>] (dump_stack_lvl+0x48/0x54 lib/dump_stack.c:106)
[<818550dc>] (dump_stack_lvl) from [<81855148>] (dump_stack+0x18/0x1c lib/dump_stack.c:113)
r5:00000000 r4:82850d18
[<81855130>] (dump_stack) from [<818386b0>] (panic+0x120/0x378 kernel/panic.c:344)
[<81838590>] (panic) from [<802439cc>] (check_panic_on_warn kernel/panic.c:237 [inline])
[<81838590>] (panic) from [<802439cc>] (print_tainted+0x0/0xa0 kernel/panic.c:232)
r3:8260c484 r2:00000001 r1:81fa5e94 r0:81fadb60
r7:8046cfa0
[<80243958>] (check_panic_on_warn) from [<80243bc0>] (__warn+0x7c/0x180 kernel/panic.c:677)
[<80243b44>] (__warn) from [<80243e3c>] (warn_slowpath_fmt+0x178/0x1f4 kernel/panic.c:702)
r8:00000009 r7:81fd3b7c r6:df961b84 r5:83668c00 r4:00000000
[<80243cc8>] (warn_slowpath_fmt) from [<8046cfa0>] (kunmap_local_indexed+0x210/0x228 mm/highmem.c:611)
r10:200fb000 r9:ffeda7d8 r8:836c9830 r7:84151500 r6:00000003 r5:83668c00
r4:ffedc000
[<8046cd90>] (kunmap_local_indexed) from [<804d9c84>] (__kunmap_local include/linux/highmem-internal.h:94 [inline])
[<8046cd90>] (kunmap_local_indexed) from [<804d9c84>] (move_pages_pte mm/userfaultfd.c:1162 [inline])
[<8046cd90>] (kunmap_local_indexed) from [<804d9c84>] (move_pages+0x5a4/0x1050 mm/userfaultfd.c:1452)
r7:84151500 r6:00000000 r5:00000000 r4:fffffffe
[<804d96e0>] (move_pages) from [<80551f30>] (userfaultfd_move fs/userfaultfd.c:2047 [inline])
[<804d96e0>] (move_pages) from [<80551f30>] (userfaultfd_ioctl+0x117c/0x211c fs/userfaultfd.c:2169)
r10:8415157c r9:00000000 r8:00000000 r7:00000001 r6:20000080 r5:84151500
r4:84468000
[<80550db4>] (userfaultfd_ioctl) from [<80502158>] (vfs_ioctl fs/ioctl.c:51 [inline])
[<80550db4>] (userfaultfd_ioctl) from [<80502158>] (do_vfs_ioctl fs/ioctl.c:831 [inline])
[<80550db4>] (userfaultfd_ioctl) from [<80502158>] (__do_sys_ioctl fs/ioctl.c:869 [inline])
[<80550db4>] (userfaultfd_ioctl) from [<80502158>] (sys_ioctl+0x118/0xb58 fs/ioctl.c:857)
r10:83668c00 r9:00000003 r8:842e2900 r7:20000080 r6:842e2900 r5:00000000
r4:c028aa05
[<80502040>] (sys_ioctl) from [<80200060>] (ret_fast_syscall+0x0/0x1c arch/arm/mm/proc-v7.S:66)
Exception stack(0xdf961fa8 to 0xdf961ff0)
1fa0: ffffffff 00000000 00000003 c028aa05 20000080 00000000
1fc0: ffffffff 00000000 0008e050 00000036 000f4240 00000000 00000001 00003a97
1fe0: 7ebe5c70 7ebe5c60 00010694 0002e7e0
r10:00000036 r9:83668c00 r8:80200288 r7:00000036 r6:0008e050 r5:00000000
r4:ffffffff
Rebooting in 86400 seconds..


---
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