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 5F8A83C8713 for ; Mon, 10 Aug 2026 12:02:23 +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=1786363344; cv=none; b=kKxXrVPnALr3ZbxRJi/ChehK+vapQWrrTa0BANHTHicM4hYqJOEqbL8m0a05JGbbiO3PBdRSmK4IlmMzKH1tkJmDC7afM5dX1K/AIGWJGgolwRx2LZj27OZ5p7nLIv77WDgOQ8SaOvvMWW6UXvlisORweN9hWqVHwzhgrllILEE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363344; c=relaxed/simple; bh=agE8FneLWWrEXoPzAG9GeVjFvc2u0GmIjzRXwJdoQYw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SW+ahDpJ0M568neXX55Orpw4prKvVfGKfiasTonhfjqeufxeQzyTmuwDrc0E6Y/S5ouG9m2yzOFI9fmxmGA5N0CVSlVvpGj49JyYMy286NP5j63BhWsegqZpFgxrU+o+OflUFxviE/sSex1Dt+fMz5WN9WSFmuk22t8nxA3I8OU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=weoSEB8+; 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="weoSEB8+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D90A41F000E9; Mon, 10 Aug 2026 12:02:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363343; bh=LSypowMWA0xhjxTofyfpWWDnEbavFWgfmQPkVrOz5fs=; h=From:To:Cc:Subject:Date:Reply-To; b=weoSEB8+Jx6ru8uuaiiwzPsFZVqFfOH3kp7wyF86Fj+y4vFFY70Ls/rSj4pRFCDAv SCt9YnLHSV45QMhxAFK8jbHlfIIaRL8o9yFnd5JMD663MGlJqOQPOFg7Xodf9jOC72 FJrfYjiNnpSE3vU5v1531GlDl30JpGn05yiNgauk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68126: mac802154: hold an interface reference across the scan worker Date: Mon, 10 Aug 2026 13:57:23 +0200 Message-ID: <2026081057-CVE-2026-68126-6764@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=3415; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=bTNAsc6+ffc9eG+zJ5JzlH9MnlGYW+ByEHmX03DTDrs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVezoLD39M5d1wgFmkTXnL8U3ha6o8z3vbX3hWbqp+6 5aNxXaWjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiI0WeGBdve7tyqqLQ8odG+ 1/mxykyHbqukSIa50h7T7Q9dKVmzZPN6R8P989YHrFJgAwA= 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: mac802154: hold an interface reference across the scan worker mac802154_scan_worker() captures the scanning sub-interface under RCU and then keeps dereferencing sdata->dev after rcu_read_unlock() and outside the rtnl -- in the failure traces, in mac802154_transmit_beacon_req() (skb->dev = sdata->dev), and in the end_scan cleanup. Nothing keeps that netdev alive across the worker iteration. A concurrent DEL_INTERFACE or PHY removal can unregister the interface once the worker drops the rtnl between its two drv_set_channel() sections. unregister_netdevice() frees the netdev asynchronously from netdev_run_todo() with the rtnl already dropped, so neither holding the rtnl nor the per-PHY IEEE802154_IS_SCANNING flag prevents a stale worker iteration from dereferencing the freed netdev -- a KASAN slab-use-after-free, reachable by racing TRIGGER_SCAN against DEL_INTERFACE (both CAP_NET_ADMIN). Pin the netdev with netdev_hold() while the RCU read lock is still held, and release it at every worker exit. The Linux kernel CVE team has assigned CVE-2026-68126 to this issue. Affected and fixed versions =========================== Issue introduced in 6.3 with commit 57588c71177f0bfc08509c2c3a9bfe32850c0786 and fixed in 6.6.148 with commit bd7110f0caa32426140ff302a209c53294ef2cfd Issue introduced in 6.3 with commit 57588c71177f0bfc08509c2c3a9bfe32850c0786 and fixed in 6.12.101 with commit dd4754194a706163294b6141460101b99082c8c7 Issue introduced in 6.3 with commit 57588c71177f0bfc08509c2c3a9bfe32850c0786 and fixed in 6.18.42 with commit 59c1d5463b7bc5a2cdaae27108d1dfd67edc7d1b Issue introduced in 6.3 with commit 57588c71177f0bfc08509c2c3a9bfe32850c0786 and fixed in 7.1.6 with commit 5f303f622f6bb8907c405e5123a0ab0f70fb0065 Issue introduced in 6.3 with commit 57588c71177f0bfc08509c2c3a9bfe32850c0786 and fixed in 7.2-rc5 with commit 234e5e898b713bc0b3a631b6f002897f43d046c8 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-68126 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/mac802154/scan.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/bd7110f0caa32426140ff302a209c53294ef2cfd https://git.kernel.org/stable/c/dd4754194a706163294b6141460101b99082c8c7 https://git.kernel.org/stable/c/59c1d5463b7bc5a2cdaae27108d1dfd67edc7d1b https://git.kernel.org/stable/c/5f303f622f6bb8907c405e5123a0ab0f70fb0065 https://git.kernel.org/stable/c/234e5e898b713bc0b3a631b6f002897f43d046c8