All of lore.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+691cb37358791bebebe6@syzkaller.appspotmail.com>
To: akpm@linux-foundation.org, linux-kernel@vger.kernel.org,
	 linux-mm@kvack.org, syzkaller-bugs@googlegroups.com
Subject: [syzbot] [mm?] WARNING in kunmap_local_indexed
Date: Mon, 26 Feb 2024 05:19:20 -0800	[thread overview]
Message-ID: <000000000000efadd3061248c1cd@google.com> (raw)

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+691cb37358791bebebe6@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 syzkaller@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	other threads:[~2024-02-26 13:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=000000000000efadd3061248c1cd@google.com \
    --to=syzbot+691cb37358791bebebe6@syzkaller.appspotmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=syzkaller-bugs@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.