Netdev List
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: stable@vger.kernel.org
Cc: Sasha Levin <sashal@kernel.org>,
	davem@davemloft.net, edumazet@kernel.org, horms@kernel.org,
	jhs@mojatatu.com, kuba@kernel.org, netdev@vger.kernel.org,
	pabeni@redhat.com, toke@toke.dk, victor@mojatatu.com,
	Artem Dinaburg <artem@trailofbits.com>
Subject: Re: [PATCH 6.18.y] net/sched: codel: bound the dropping loop per dequeue call
Date: Fri, 27 Nov 2026 12:00:58 -0500	[thread overview]
Message-ID: <2026-11-26-1-daily-reply-0010@kernel.org> (raw)
In-Reply-To: <20261125204850.72393-1-artem@trailofbits.com>

> The CoDel control law schedules the next drop one interval/sqrt(count)
> after the previous drop, using the configured interval
> (codel_params.interval). For very small intervals the scheduled step
> rounds down to zero, so the dropping loop in codel_dequeue() never
> advances and drains the entire backlog under the qdisc lock in one
> call - an unprivileged user can trigger a soft lockup this way.

Queued for 6.18, thanks.

6.12, 6.6, 6.1, 5.15 and 5.10 lack this fix as well. Could you send
backports for those trees too?

-- 
Thanks,
Sasha

      reply	other threads:[~2026-11-27 17:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 20:48 [PATCH 6.18.y] net/sched: codel: bound the dropping loop per dequeue call Artem Dinaburg
2026-11-27 17:00 ` Sasha Levin [this message]

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=2026-11-26-1-daily-reply-0010@kernel.org \
    --to=sashal@kernel.org \
    --cc=artem@trailofbits.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=horms@kernel.org \
    --cc=jhs@mojatatu.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=stable@vger.kernel.org \
    --cc=toke@toke.dk \
    --cc=victor@mojatatu.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