{"id":"CVE-2026-72339","state":"PUBLISHED","title":"qede: fix off-by-one in BD ring consumption on build_skb failure","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nqede: fix off-by-one in BD ring consumption on build_skb failure\n\nqede_rx_build_skb() and qede_tpa_rx_build_skb() do not check for a\nNULL return from qede_build_skb(). When it returns NULL under memory\npressure, the functions still consume a BD from the ring before\nreturning NULL. The callers then recycle additional BDs, resulting in\none extra BD being consumed (off-by-one). This desynchronizes the BD\nring, which can corrupt DMA page reference counts and lead to SLUB\nfreelist corruption.\n\nCommit 4e910dbe3650 (\"qede: confirm skb is allocated before using\")\nadded a NULL check inside qede_build_skb() to prevent a NULL pointer\ndereference, but did not address the missing NULL checks in the\ncallers, making this off-by-one reachable.\n\nFix this by adding NULL checks for the return value of\nqede_build_skb() in both qede_rx_build_skb() and\nqede_tpa_rx_build_skb(), returning NULL immediately before any BD ring\nmanipulation.","publishedAt":"2026-08-15T05:55:46.480Z","updatedAt":"2026-10-16T18:55:18.961Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8a8633978b842c88fbcfe00d4e5dde96048f630e","status":"affected","lessThan":"ecc05d4b20220a09c9c69584fc46ca55248a374a","versionType":"git"},{"version":"8a8633978b842c88fbcfe00d4e5dde96048f630e","status":"affected","lessThan":"07be8b8adf91b7ada4c3dacce064d572a6066421","versionType":"git"},{"version":"8a8633978b842c88fbcfe00d4e5dde96048f630e","status":"affected","lessThan":"1624aa100c0b218181aa74e3696a389b509298cb","versionType":"git"},{"version":"8a8633978b842c88fbcfe00d4e5dde96048f630e","status":"affected","lessThan":"0bf78df2d3ecb1f4964ff42a7327d25845955153","versionType":"git"},{"version":"8a8633978b842c88fbcfe00d4e5dde96048f630e","status":"affected","lessThan":"814a5edac8c9fc04051808d5faaa93768e989281","versionType":"git"},{"version":"8a8633978b842c88fbcfe00d4e5dde96048f630e","status":"affected","lessThan":"b066420e57f3402a52c998678b4678252ac9bb63","versionType":"git"},{"version":"8a8633978b842c88fbcfe00d4e5dde96048f630e","status":"affected","lessThan":"982d6d6bc059c5dff37a2201c2f08c14bcfcbd20","versionType":"git"},{"version":"8a8633978b842c88fbcfe00d4e5dde96048f630e","status":"affected","lessThan":"a0a558ca7e75b49e71f8c545c30e8c005e6e4e2f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/qlogic/qede/qede_fp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.18","versionType":"semver"},{"version":"5.10.261","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.212","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/qlogic/qede/qede_fp.c"]}],"references":["https://git.kernel.org/stable/c/ecc05d4b20220a09c9c69584fc46ca55248a374a","https://git.kernel.org/stable/c/07be8b8adf91b7ada4c3dacce064d572a6066421","https://git.kernel.org/stable/c/1624aa100c0b218181aa74e3696a389b509298cb","https://git.kernel.org/stable/c/0bf78df2d3ecb1f4964ff42a7327d25845955153","https://git.kernel.org/stable/c/814a5edac8c9fc04051808d5faaa93768e989281","https://git.kernel.org/stable/c/b066420e57f3402a52c998678b4678252ac9bb63","https://git.kernel.org/stable/c/982d6d6bc059c5dff37a2201c2f08c14bcfcbd20","https://git.kernel.org/stable/c/a0a558ca7e75b49e71f8c545c30e8c005e6e4e2f"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72339.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72339","state":"PUBLISHED","datePublished":"2026-08-15T05:55:46.480Z","dateUpdated":"2026-10-16T18:55:18.961Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-09T03:40:39.920Z"},"containers":{"cna":{"title":"qede: fix off-by-one in BD ring consumption on build_skb failure","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nqede: fix off-by-one in BD ring consumption on build_skb failure\n\nqede_rx_build_skb() and qede_tpa_rx_build_skb() do not check for a\nNULL return from qede_build_skb(). When it returns NULL under memory\npressure, the functions still consume a BD from the ring before\nreturning NULL. The callers then recycle additional BDs, resulting in\none extra BD being consumed (off-by-one). This desynchronizes the BD\nring, which can corrupt DMA page reference counts and lead to SLUB\nfreelist corruption.\n\nCommit 4e910dbe3650 (\"qede: confirm skb is allocated before using\")\nadded a NULL check inside qede_build_skb() to prevent a NULL pointer\ndereference, but did not address the missing NULL checks in the\ncallers, making this off-by-one reachable.\n\nFix this by adding NULL checks for the return value of\nqede_build_skb() in both qede_rx_build_skb() and\nqede_tpa_rx_build_skb(), returning NULL immediately before any BD ring\nmanipulation."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8a8633978b842c88fbcfe00d4e5dde96048f630e","status":"affected","lessThan":"ecc05d4b20220a09c9c69584fc46ca55248a374a","versionType":"git"},{"version":"8a8633978b842c88fbcfe00d4e5dde96048f630e","status":"affected","lessThan":"07be8b8adf91b7ada4c3dacce064d572a6066421","versionType":"git"},{"version":"8a8633978b842c88fbcfe00d4e5dde96048f630e","status":"affected","lessThan":"1624aa100c0b218181aa74e3696a389b509298cb","versionType":"git"},{"version":"8a8633978b842c88fbcfe00d4e5dde96048f630e","status":"affected","lessThan":"0bf78df2d3ecb1f4964ff42a7327d25845955153","versionType":"git"},{"version":"8a8633978b842c88fbcfe00d4e5dde96048f630e","status":"affected","lessThan":"814a5edac8c9fc04051808d5faaa93768e989281","versionType":"git"},{"version":"8a8633978b842c88fbcfe00d4e5dde96048f630e","status":"affected","lessThan":"b066420e57f3402a52c998678b4678252ac9bb63","versionType":"git"},{"version":"8a8633978b842c88fbcfe00d4e5dde96048f630e","status":"affected","lessThan":"982d6d6bc059c5dff37a2201c2f08c14bcfcbd20","versionType":"git"},{"version":"8a8633978b842c88fbcfe00d4e5dde96048f630e","status":"affected","lessThan":"a0a558ca7e75b49e71f8c545c30e8c005e6e4e2f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/qlogic/qede/qede_fp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.18","versionType":"semver"},{"version":"5.10.261","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.212","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/qlogic/qede/qede_fp.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/ecc05d4b20220a09c9c69584fc46ca55248a374a"},{"url":"https://git.kernel.org/stable/c/07be8b8adf91b7ada4c3dacce064d572a6066421"},{"url":"https://git.kernel.org/stable/c/1624aa100c0b218181aa74e3696a389b509298cb"},{"url":"https://git.kernel.org/stable/c/0bf78df2d3ecb1f4964ff42a7327d25845955153"},{"url":"https://git.kernel.org/stable/c/814a5edac8c9fc04051808d5faaa93768e989281"},{"url":"https://git.kernel.org/stable/c/b066420e57f3402a52c998678b4678252ac9bb63"},{"url":"https://git.kernel.org/stable/c/982d6d6bc059c5dff37a2201c2f08c14bcfcbd20"},{"url":"https://git.kernel.org/stable/c/a0a558ca7e75b49e71f8c545c30e8c005e6e4e2f"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL"},"scenarios":[{"lang":"en","value":"AV:N - The bug is in the qede NIC RX fastpath reached when remote Ethernet frames are received, hardware posts completion queue entries, and NAPI runs qede_poll() -> qede_rx_int() -> qede_rx_process_cqe()/qede_tpa_start() into qede_rx_build_skb() or qede_tpa_rx_build_skb().\nAC:L - An attacker can reliably trigger build_skb() NULL returns by flooding the interface with frames larger than rx_copybreak (256 bytes) to exhaust GFP_ATOMIC skb slab allocations, then the off-by-one BD consumption desynchronizes the ring without races or victim-specific state.\nPR:N - No local account, capability, or authentication is required; any unauthenticated remote host that can send IP/Ethernet traffic to a server using a Marvell/QLogic FastLinQ qede NIC can hit the vulnerable RX/TPA handlers.\nUI:N - Exploitation requires no victim interaction beyond normal network operation; packet reception, MSI-X interrupt handling, and NAPI polling process attacker-supplied frames automatically in kernel context.\nS:U - The flaw corrupts kernel heap metadata (DMA page refcounts and SLUB freelists) within the host kernel security boundary; it does not by itself cross VM, container, or IOMMU isolation boundaries.\nC:H - BD ring desynchronization corrupts DMA page reference counts and can corrupt SLUB freelists; this class of kernel heap corruption is exploitable for arbitrary kernel memory reads and information disclosure beyond a simple crash.\nI:H - SLUB freelist corruption from mismatched BD ring consumption enables arbitrary kernel memory writes and control-flow hijacking primitives, supporting local privilege escalation or arbitrary code execution in kernel context.\nA:H - Reference-count and SLUB corruption from the desynchronized BD ring can cause kernel BUG/oops/panic or a wedged RX datapath, resulting in complete loss of host availability on affected systems."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:42:57.907Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"5.10.261"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"5.15.212"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"6.1.178"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"6.6.145"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"6.12.97"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"6.18.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-72339","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T18:47:21.272710Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-16T18:55:18.961Z"}}]}}}