Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 286793C7E12 for ; Fri, 3 Apr 2026 15:26:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775230011; cv=none; b=sQi4c3lliarRrGaiJR3mH0Xv5rePiw7VTKRdSu5wKV3KyTgGV5BZyTw0vr8t9exShwocv+48ixja+mKMURL5hEGyx4cPVleqKlBOf/MXAQEqR+z3aas4AL2LbH7nsqnwppV+2HvGF1J6sCQq/rei8EA1TsezeLXuF27bSCZFi40= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775230011; c=relaxed/simple; bh=LUkAcaf5skdTtDKzYkIkkMvV5MlIFYt+uPiN+IL9Gcs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Od9ipw39LS3YsLBH/xBpVaeUdrq/mZLDRUTJNSM/8IIde5FhfE6OFPhsmDbzCio8hsLc3cWAv6zkI1VpfDnUme+F70u3GfXWYM2iy14G5hsUUJq1Wc52qhwLIqDJD4h9rMlioPYfejh8yPRGunsEXvI1xHzRjQr6Va2pRTQ6lLs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vx7ilSQ5; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="vx7ilSQ5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 90603C4CEF7; Fri, 3 Apr 2026 15:26:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1775230011; bh=LUkAcaf5skdTtDKzYkIkkMvV5MlIFYt+uPiN+IL9Gcs=; h=From:To:Cc:Subject:Date:Reply-To:From; b=vx7ilSQ5Hv6hPKkUbHRL+TjMwPFqXMGzc5N9oIW6av+RUEvld9XTd3KOi7R7sgKjF DLYfbExjdBXLNA0SrX+PjWIWz33pmWHCUAtV402e+QikGclAbjYe1CE1kcZ/jGyj52 /iqjg6AsuYqVWY+5eaQ7RRAgeU/qQZFpQqb3Qqzo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23437: net: shaper: protect late read accesses to the hierarchy Date: Fri, 3 Apr 2026 17:18:18 +0200 Message-ID: <2026040312-CVE-2026-23437-9787@gregkh> X-Mailer: git-send-email 2.53.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=2471; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YTIU5CBpHBSh1W1TT4FeOW0FRv8ciSWXzIjlWMIiuvs=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnnb5kUHJxXe2dl54t9lzkvxO0vX1hY+ccgZOsb/U8uC mpz9ixJ64hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJpCsxLJiU80Ve1yngySRn S/U5q9SC3TvcPzIsOLOoKcfFPn7djh8X7wpeu1nW/VlOCgA= 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: shaper: protect late read accesses to the hierarchy We look up a netdev during prep of Netlink ops (pre- callbacks) and take a ref to it. Then later in the body of the callback we take its lock or RCU which are the actual protections. This is not proper, a conversion from a ref to a locked netdev must include a liveness check (a check if the netdev hasn't been unregistered already). Fix the read cases (those under RCU). Writes needs a separate change to protect from creating the hierarchy after flush has already run. The Linux kernel CVE team has assigned CVE-2026-23437 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit 4b623f9f0f59652ea71fcb27d60b4c3b65126dbb and fixed in 6.18.20 with commit 581eee0890a8bde44f1fb78ad3e70502a897d583 Issue introduced in 6.13 with commit 4b623f9f0f59652ea71fcb27d60b4c3b65126dbb and fixed in 6.19.10 with commit 348758ba74e6a348299965b16a97cfb817545cc0 Issue introduced in 6.13 with commit 4b623f9f0f59652ea71fcb27d60b4c3b65126dbb and fixed in 7.0-rc5 with commit 0f9ea7141f365b4f27226898e62220fb98ef8dc6 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-23437 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/shaper/shaper.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/581eee0890a8bde44f1fb78ad3e70502a897d583 https://git.kernel.org/stable/c/348758ba74e6a348299965b16a97cfb817545cc0 https://git.kernel.org/stable/c/0f9ea7141f365b4f27226898e62220fb98ef8dc6