From: syzbot <syzbot+15b96fc3aac35468fe77@syzkaller.appspotmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [syzbot] [net?] general protection fault in drr_qlen_notify
Date: Thu, 03 Jul 2025 23:33:43 -0700 [thread overview]
Message-ID: <686775c7.a70a0220.29cf51.0010.GAE@google.com> (raw)
In-Reply-To: <686764a5.a00a0220.c7b3.0014.GAE@google.com>
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org.
***
Subject: Re: [syzbot] [net?] general protection fault in drr_qlen_notify
Author: lizhi.xu@windriver.com
#syz test
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c
index c5e3673aadbe..c4ca8f3b820b 100644
--- a/net/sched/sch_api.c
+++ b/net/sched/sch_api.c
@@ -817,7 +817,8 @@ void qdisc_tree_reduce_backlog(struct Qdisc *sch, int n, int len)
cops = sch->ops->cl_ops;
if (notify && cops->qlen_notify) {
cl = cops->find(sch, parentid);
- cops->qlen_notify(sch, cl);
+ if (virt_addr_valid(cl))
+ cops->qlen_notify(sch, cl);
}
sch->q.qlen -= n;
sch->qstats.backlog -= len;
next prev parent reply other threads:[~2025-07-04 6:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-04 5:20 syzbot
2025-07-04 6:33 ` syzbot [this message]
2025-07-04 17:30 ` syzbot
[not found] <20250704063242.3943487-1-lizhi.xu@windriver.com>
2025-07-04 7: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=686775c7.a70a0220.29cf51.0010.GAE@google.com \
--to=syzbot+15b96fc3aac35468fe77@syzkaller.appspotmail.com \
--cc=linux-kernel@vger.kernel.org \
/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®