Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 760674D1799 for ; Sun, 18 Oct 2026 15:26:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337186; cv=none; b=X7sL4UR1j4p2REY9prc+Niy2jbVT0wflOlFK0m9gU7c8pzbm77dhQOlgR/fDdvF7GUu7vvsq1ttHPMw9NwL+39QVMn/12prDp9nhfvvwT3Xi5h+zXQce5iVEBpW0Js45bD66154C5cyyGrv8xBBHyBFLhfmQwRBZkLqobTGCxrY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337186; c=relaxed/simple; bh=AS9ew88GJ2kVnZEzYDv9b0c+EvKKoPEXKcNUZ1K0/Cc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=g9Xlx9oooLb0XiemXDcN2eVZCckEyzjpWM7/MCIXwxk5JdsPidXnYlBgqwIw0gxXp/eybMQOpsT6Y++vLv74DpvShXV0Wt8v6WjU9Zm16rAc2U9UwgIehe8y4SYKiPUwmOQEQflrT+KByqWo2gAO3mtDv6qvtv1GCOfb+CG4aLU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TjsVuEr8; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="TjsVuEr8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 07F5A1F000C4; Sun, 18 Oct 2026 15:26:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792337180; bh=JoBiI87D/l1YWpqBn4YN/Zz8XBeiaReuL2SsMzLDa/c=; h=From:To:Cc:Subject:Date:Reply-To; b=TjsVuEr89zfreDo4vS3NgbkBbBDNcoI0qm8rPFB2XupCjMxTkEStBXsWHnEmagXP/ bFElU5tRyIWBhzCTtZWJDnul+XWrhhg13xhbfVXgXKWQHLirBiIoakgM4wl6oMEbB7 0NC+SCdvqVrnSVZe/XAvORVTf+hpq+Fm7JZbpJBo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98492: net: macb: fix dma_alloc_coherent() leak on macb_alloc() error paths Date: Sun, 18 Oct 2026 17:15:56 +0200 Message-ID: <2026101816-CVE-2026-98492-4733@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2529; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=e8bzrPRl75SvBUKE8qma1pMLySRfOEpmAD9HaiDDnEo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHrXc2GQgvrVi+6QXZ9fY5f/pZdYvui4wLcPip1iym 53p73cNHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRA2sY5im3h0jx2ia+8G2+ 0fNE5R3rPNVrtxjmBzbZtIZOEoub9cB+v2Cd21V7y6w9AA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: net: macb: fix dma_alloc_coherent() leak on macb_alloc() error paths Fix 3 leaks in macb_alloc() error paths: - Tx buffer allocated but crossing a 4G boundary: Tx leaked. - Rx buffer allocation fails: Tx leaked. - Rx buffer allocated but crossing a 4G boundary: Tx & Rx leaked. This is because our error handling calls macb_free(bp) which in turn frees the buffers stored in bp->queues[0], but nothing has been stored in there. Fix by storing allocated buffers into bp->queues[0] ASAP. The Linux kernel CVE team has assigned CVE-2026-98492 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit 78d901897b3cae06b38f54e48a2378cf9da21175 and fixed in 6.18.55 with commit bda487567d0b7b15dfa876511085c0666b9efad5 Issue introduced in 6.18 with commit 78d901897b3cae06b38f54e48a2378cf9da21175 and fixed in 7.2.9 with commit 259e6cbb6a097da8ced544ee92a6fbde35aa1338 Issue introduced in 6.18 with commit 78d901897b3cae06b38f54e48a2378cf9da21175 and fixed in 7.3-rc5 with commit 23d42b9a3bcd55b17d3b371544fedc708c2397e9 Issue introduced in 6.17.3 with commit 982a4d9a2e12b693f684eff943043a607628d871 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-98492 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/ethernet/cadence/macb_main.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/bda487567d0b7b15dfa876511085c0666b9efad5 https://git.kernel.org/stable/c/259e6cbb6a097da8ced544ee92a6fbde35aa1338 https://git.kernel.org/stable/c/23d42b9a3bcd55b17d3b371544fedc708c2397e9