From: Hillf Danton <hdanton@sina.com>
To: syzbot <syzbot+0e7b9b7452ded0356f2d@syzkaller.appspotmail.com>
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [fs?] BUG: unable to handle kernel paging request in mmu_notifier_invalidate_range_start
Date: Sat, 30 Dec 2023 09:26:59 +0800 [thread overview]
Message-ID: <20231230012659.2135-1-hdanton@sina.com> (raw)
In-Reply-To: <0000000000001c6fbf060dab4271@google.com>
On Fri, 29 Dec 2023 11:44:19 -0800
> HEAD commit: aafe7ad77b91 Merge branch 'for-next/core' into for-kernelci
> git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12ef73d6e80000
#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
--- x/fs/proc/task_mmu.c
+++ y/fs/proc/task_mmu.c
@@ -2491,8 +2491,9 @@ static long do_pagemap_cmd(struct file *
switch (cmd) {
case PAGEMAP_SCAN:
- return do_pagemap_scan(mm, arg);
-
+ if (mm)
+ return do_pagemap_scan(mm, arg);
+ /* fall thru */
default:
return -EINVAL;
}
--
next prev parent reply other threads:[~2023-12-30 1:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-29 19:44 syzbot
2023-12-30 1:26 ` Hillf Danton [this message]
2023-12-30 2:08 ` syzbot
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=20231230012659.2135-1-hdanton@sina.com \
--to=hdanton@sina.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+0e7b9b7452ded0356f2d@syzkaller.appspotmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®