# CVE-2026-90109: net: sched: fix 32-bit backlog wrap in gred, bfifo and plug enqueue

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-02)
- Published: 2026-09-17T16:06:17.465Z
- Modified: 2026-10-30T13:20:41.950Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: sched: fix 32-bit backlog wrap in gred, bfifo and plug enqueue

gred_enqueue(), bfifo_enqueue() and plug_enqueue() admit a packet when the
current backlog plus the packet length fits within the queue limit:

  sch->qstats.backlog + qdisc_pkt_len(skb) <= sch->limit (gred default VQ)
  gred_backlog+qdisc_pkt_len(skb) <= q->limit  (gred configured VQ)
  sch->qstats.backlog + qdisc_pkt_len(skb) <= sch->limit (bfifo)
  sch->qstats.backlog + skb->len <= q->limit             (plug)

sch->qstats.backlog and q->backlog are u32, and qdisc_pkt_len()/skb->len
are unsigned int, so all sums are computed in 32 bits and wrap at 2^32.
Once the true backlog exceeds 4 GiB the wrapped sum becomes small and
admission keeps succeeding, so the queue grows without bound and the kernel
can be driven to OOM.

Promote the sums to u64 so admission stops once the true backlog exceeds
the limit.  The limit is u32, so the bounded queue stays below 2^32 and
the stored u32 backlog never wraps.

The bug can only be reproduced as root (albeit with ridiculous setup):
 attach a gred (or bfifo/plug) qdisc with a limit near 4 GiB,
 leaving the default VQ unconfigured (for gred), and drive >4 GiB of
 queued traffic (e.g. via a size table / stab to inflate qdisc_pkt_len,
 or sustained high-rate traffic). The u32 backlog+len sum wraps at 2^32,
 admission keeps succeeding, and the queue grows unboundedly to OOM.

(As written by CVE List.)

## Affected

- Linux Linux: from a3eb95f891d6130b1fc03dd07a8b54cf0a5c8ab8 before 771a1123570b487765bcf2d4cff3567e66bf1322; from a3eb95f891d6130b1fc03dd07a8b54cf0a5c8ab8 before c5ca77024812563fe15c4f7aa906791c3683e9fd; from a3eb95f891d6130b1fc03dd07a8b54cf0a5c8ab8 before 3fb51b3960342bbee563543f8d33710fd0fb5a96; from a3eb95f891d6130b1fc03dd07a8b54cf0a5c8ab8 before 8b2d8c70b969bf84f9e248bfaf2a7135129f2eb6; from a3eb95f891d6130b1fc03dd07a8b54cf0a5c8ab8 before d98b92f3d57976ae185238946ec5ea0be32195aa; from a3eb95f891d6130b1fc03dd07a8b54cf0a5c8ab8 before 4c660ee8c809637909f4f7eb1017f7b9401c75c4; 4.2 (not affected: before 4.2; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/771a1123570b487765bcf2d4cff3567e66bf1322>
- <https://git.kernel.org/stable/c/c5ca77024812563fe15c4f7aa906791c3683e9fd>
- <https://git.kernel.org/stable/c/3fb51b3960342bbee563543f8d33710fd0fb5a96>
- <https://git.kernel.org/stable/c/8b2d8c70b969bf84f9e248bfaf2a7135129f2eb6>
- <https://git.kernel.org/stable/c/d98b92f3d57976ae185238946ec5ea0be32195aa>
- <https://git.kernel.org/stable/c/4c660ee8c809637909f4f7eb1017f7b9401c75c4>

## Sources

- CVE List: [CVE-2026-90109](https://www.cve.org/CVERecord?id=CVE-2026-90109), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-90109](https://nvd.nist.gov/vuln/detail/CVE-2026-90109), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-90109 · Whole record: https://cve.day/CVE-2026-90109.json · Rebuilt by cve.day 2026-11-25T22:59:39.306Z
