CVE-2026-72339

qede: fix off-by-one in BD ring consumption on build_skb failure

State
Published
Severity
9.8 Critical
Published
Aug 15, 2026
Updated
Oct 16, 2026
Reserved
Aug 9, 2026

Read the record on cve.org

Description

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

qede: fix off-by-one in BD ring consumption on build_skb failure

qede_rx_build_skb() and qede_tpa_rx_build_skb() do not check for a NULL return from qede_build_skb(). When it returns NULL under memory pressure, the functions still consume a BD from the ring before returning NULL. The callers then recycle additional BDs, resulting in one extra BD being consumed (off-by-one). This desynchronizes the BD ring, which can corrupt DMA page reference counts and lead to SLUB freelist corruption.

Commit 4e910dbe3650 ("qede: confirm skb is allocated before using") added a NULL check inside qede_build_skb() to prevent a NULL pointer dereference, but did not address the missing NULL checks in the callers, making this off-by-one reachable.

Fix this by adding NULL checks for the return value of qede_build_skb() in both qede_rx_build_skb() and qede_tpa_rx_build_skb(), returning NULL immediately before any BD ring manipulation.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 8a8633978b842c88fbcfe00d4e5dde96048f630e to before ecc05d4b20220a09c9c69584fc46ca55248a374aAffected
  • 8a8633978b842c88fbcfe00d4e5dde96048f630e to before 07be8b8adf91b7ada4c3dacce064d572a6066421Affected
  • 8a8633978b842c88fbcfe00d4e5dde96048f630e to before 1624aa100c0b218181aa74e3696a389b509298cbAffected
  • 8a8633978b842c88fbcfe00d4e5dde96048f630e to before 0bf78df2d3ecb1f4964ff42a7327d25845955153Affected
  • 8a8633978b842c88fbcfe00d4e5dde96048f630e to before 814a5edac8c9fc04051808d5faaa93768e989281Affected
  • 8a8633978b842c88fbcfe00d4e5dde96048f630e to before b066420e57f3402a52c998678b4678252ac9bb63Affected
  • 8a8633978b842c88fbcfe00d4e5dde96048f630e to before 982d6d6bc059c5dff37a2201c2f08c14bcfcbd20Affected
  • 8a8633978b842c88fbcfe00d4e5dde96048f630e to before a0a558ca7e75b49e71f8c545c30e8c005e6e4e2fAffected
LinuxLinux
  • 4.18Affected
  • before 4.18Not affected
  • 5.10.261 through 5.10.*Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.