From: Hillf Danton <hdanton@sina.com>
To: syzbot <syzbot+2403e3909382fbdeaf6c@syzkaller.appspotmail.com>
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [mm?] BUG: unable to handle kernel paging request in list_lru_add
Date: Sat, 13 Jul 2024 09:48:58 +0800 [thread overview]
Message-ID: <20240713014858.1281-1-hdanton@sina.com> (raw)
In-Reply-To: <0000000000002d320c061d0ff813@google.com>
On Fri, 12 Jul 2024 10:11:25 -0700
> syzbot has found a reproducer for the following issue on:
>
> HEAD commit: 43db1e03c086 Merge tag 'for-6.10/dm-fixes-2' of git://git...
> git tree: upstream
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12b1da7e980000
#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 43db1e03c086
--- x/mm/list_lru.c
+++ y/mm/list_lru.c
@@ -94,6 +94,8 @@ bool list_lru_add(struct list_lru *lru,
spin_lock(&nlru->lock);
if (list_empty(item)) {
l = list_lru_from_memcg_idx(lru, nid, memcg_kmem_id(memcg));
+ if (NULL == l)
+ l = &lru->node[nid].lru;
list_add_tail(item, &l->list);
/* Set shrinker bit if the first element was added */
if (!l->nr_items++)
--
next prev parent reply other threads:[~2024-07-13 1:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-04 16:00 syzbot
2023-12-27 15:50 ` syzbot
2024-07-12 17:11 ` syzbot
2024-07-13 1:48 ` Hillf Danton [this message]
2024-07-13 2:15 ` syzbot
2024-07-13 9:05 ` Hillf Danton
2024-07-13 9:35 ` syzbot
2024-07-13 1:14 ` syzbot
2024-08-22 1:51 ` syzbot
2024-08-22 1:54 ` Kent Overstreet
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=20240713014858.1281-1-hdanton@sina.com \
--to=hdanton@sina.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+2403e3909382fbdeaf6c@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®