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 BF4CA36308F for ; Sat, 15 Aug 2026 06:31:05 +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=1786775466; cv=none; b=EJinzPaEBJhwKz7WCoacQBFQmZE6KG7bD1ZPWfQCd6G5UMzQ38d8BU0FQtm5gZ9Fg/CasflDWffmkKPR4JFOdg4ldQS5YtUqZnSDdKOr40GNd6Yvvl9Cef7WrcTpjisftOpGABVo8lOVgEH9VC+vxJfxmL3oKLq6S2IErAvEtGQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775466; c=relaxed/simple; bh=iod2CMzD7i9AGcObHqc1gPHeYHNWIaC+jkWsCvYadEs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gmF6TRMVmlcla3A5ZhZ4lun8vAQzf6McM6eHCyrRnMjOP+P3224wM02UjJlSNwPej5uU/+7J0eAZn6XXy1vvsK99KABRebtI8VMoYdmiCAxPXg4JPgcvz48tIbYT3QjXkWSmDAifz68RsdQMM5Qz16mpF1xuRGuejuJ9mx1j7HY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=R4DegQuD; 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="R4DegQuD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1B8F81F000E9; Sat, 15 Aug 2026 06:31:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775465; bh=ZyGDsa41mbjWbPm2kYlx3aFjiKLfl1qABBRXspy+JcQ=; h=From:To:Cc:Subject:Date:Reply-To; b=R4DegQuDn8BHSijc7fQvwd9j/IvwAVie6tgTCb6mh2lnKYIWnB+1eRSmDe4Ezx+Xc QfSgQQGBv9b/AqM4kgjolfanUvAe1QZf2J2iy9EcspYChpSs1eUD+wh6yplVABbKrU Ku2TMzU3NDEbWgC3yNAaG3LkucZHAz7/WAh22LDI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72493: net: serialize netif_running() check in enqueue_to_backlog() Date: Sat, 15 Aug 2026 15:09:32 +0900 Message-ID: <2026081539-CVE-2026-72493-c81d@gregkh> X-Mailer: git-send-email 2.55.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=3340; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=F7hfXbna7zaS5O+9dJscNhvs4TTQlXom9x5x8QZAjZE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDP8rXvIn9tn7zD70IOGKt+urqOWbV7MY+W1XUNskk 8pp3fK4I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbyTpFhwcY4/UpDaY97yrkv 2YSTJuy2tnatZJjFLBxU1cDRF2Jte+rU5gjZiAnpvCUA 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: serialize netif_running() check in enqueue_to_backlog() Syzbot reported a KASAN slab-use-after-free in fib_rules_lookup(). The root cause is a race condition where packets can escape the backlog flushing during device unregistration (e.g., during netns exit). Commit e9e4dd3267d0 ("net: do not process device backlog during unregistration") introduced a lockless netif_running() check in enqueue_to_backlog() to prevent queuing packets to an unregistering device. However, this creates a TOCTOU race window. A lockless transmitter (like veth_xmit) can pass the check before dev_close() clears IFF_UP. If the transmitter is then delayed, flush_all_backlogs() can run and finish before the transmitter grabs the backlog lock and queues the packet. The packet then escapes the flush and triggers UAF later when processed. Fix this by moving the netif_running() check inside the backlog lock. This serializes the check with the flush work (which also grabs the lock). We then either queue the packet before the flush runs (so it gets flushed), or check netif_running() after the flush/close completes (so it gets dropped). The Linux kernel CVE team has assigned CVE-2026-72493 to this issue. Affected and fixed versions =========================== Issue introduced in 4.2 with commit e9e4dd3267d0c5234c5c0f47440456b10875dec9 and fixed in 7.1.5 with commit 2fface6e0bbd6314d1d9d071abf2c4d67548511c Issue introduced in 4.2 with commit e9e4dd3267d0c5234c5c0f47440456b10875dec9 and fixed in 7.2-rc1 with commit 46762cefe7f4e5bffc1eb467810a7bbb02e461d7 Issue introduced in 3.2.71 with commit 78b6803a1961369d0b8350ff1f99b7375bbd7a8f Issue introduced in 3.4.111 with commit b5d73d9cdd6be22795499890ea928a6f57ef829c Issue introduced in 3.12.48 with commit f6533fed1bfa842e391ee50f9a9c5e963c71e579 Issue introduced in 3.14.54 with commit 2095ab2456da766174cda8bc105d7a7b1bc70e16 Issue introduced in 3.18.22 with commit f1fdb184aefa8447560e3ea0e605171592ffee41 Issue introduced in 4.1.9 with commit f75c8a3015422128ca150e81c730bc2a471b5f4a 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-72493 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: net/core/dev.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/2fface6e0bbd6314d1d9d071abf2c4d67548511c https://git.kernel.org/stable/c/46762cefe7f4e5bffc1eb467810a7bbb02e461d7