Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795100745; b=SRyKRiMeHPNBGHeMe8M8cPr8lqR6QGQsv6uvURPf0jq+CMy5AfkovQO3Sj4PjPv9nPgK EonlZvbiO+5M5MPoYB6SebRgYKMEzKkj9sISc7vyHbJ+lwvYPnnAE2uZB6efAi8Z9Ln2U +baveSeUVKjRKAUdL+04sfTZ7spzwRdcveTmckO/mmPl28aIkQaxnwxvzrr7CRXz68I4U ShCoF5gMmTdvSNYT2HNfmjLjV1HRSxCPnz2fpUz0JI/lbZTORis5s7tpWsfNv2c36/VWD 0BQtsfzZS3hfJauxNG8O70YcWHb4/pQvoqGaJygrOkqP4y2b8jqtymM3ICJ5PtaTUlQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795100745; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=kehi+rz9ioBJ9L4JspvS8prjCfdCGZ8WQFEBlRJO+gI=; b=qnYfMR7vrfxO8fGAl1NxG8kpkj6yqi+6Ry0Zods90+Yneqg6mVaK5EeKrBaqHc+H0P+5 qYUkT6w6rhAENQXSSDPwTDMDNvItaktVHFPg5QJzbcflKTgj4Em7s6lM3ccnMm6MdaawL 9McBnb4U3Tv1GPYeewHYgJqiWWPaIo1fAbc/yKT4tvkdQKHQaZyvlFxhQ9u45OUpLZZhQ js+gLb36PEogFuylDG7GqWJCTUDQ41Qo6igTlUzPi+uxs5e3VK3EckYo1Nzce8fdDA6nX /jNgBo0r2SH1+5MKxV0T2g38m6r9KIJMXNFtSYTrU3cEu2FE5evuEnY7Os63n+Qo70g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=LusRZb5n; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 65D5F606A320 for ; Thu, 19 Nov 2026 15:05:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=LusRZb5n Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6539E1F000C5; Thu, 19 Nov 2026 15:05:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795100745; bh=kehi+rz9ioBJ9L4JspvS8prjCfdCGZ8WQFEBlRJO+gI=; h=From:To:Cc:Subject:Date:Reply-To; b=LusRZb5nMTEKxlQg7YJSUxCaO9i60v47NYLRLQQAW+M0+1qVNkzfGoPiF8rX4aYNm lfRPkJsu/esDAszKuayx/KD9IcRHYuAvaDsKIWOlEXT5M2If/v2wvluAXG92HTG9Ht 37OD+fZP/ZCiYoUpweI6Ic1E/Yfl8xNXBBnpE4sk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99546: net/sched: cls_flower: avoid stale mask references after delete Date: Thu, 19 Nov 2026 15:27:24 +0100 Message-ID: <2026111924-CVE-2026-99546-58cc@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3348; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=raXF3ktVLTyAe4ZEJUfOOOT+lqTWW+dKmBU5kWBsGyE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2WbcX7D8iaEhd3bk00AtRjcn7uOFGb23Zy0XO3Hji K+/p6dwRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExE/i3DHJ4c+UeXduvHymnM m8ag935qxczaywwLNm6MTZlcYrkngW+PdvWmDutHanyiAA== 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/sched: cls_flower: avoid stale mask references after delete Flower releases a mask reference when a filter is removed from the classifier. The filter object can remain alive while dump, walk, or hardware reoffload paths hold a reference to it. Those paths can then dereference f->mask after the mask has already been released. Keep the mask reference until the filter reference count reaches zero. Release the mask synchronously from the final __fl_put() while the caller still holds the tcf_proto reference, and leave the existing RCU work to free the mask. This keeps the mask available to every reader that still holds the filter. The filter is still removed from the classifier indexes immediately. Therefore, a deleted filter can temporarily retain an otherwise empty mask; fl_delete() uses the handle IDR, rather than the mask list, to determine whether the classifier has become empty. Failed mask assignment can leave fnew->mask as an error or borrowed pointer without an owned mask reference. Clear it before the common failure path so the final put cannot release an unowned reference. This fix does not add fields, snapshots, or per-filter memory. The Linux kernel CVE team has assigned CVE-2026-99546 to this issue. Affected and fixed versions =========================== Issue introduced in 5.2 with commit 92149190067dc1ba656ce63a328c4b88b34e3f09 and fixed in 6.12.117 with commit 47ae95cdcb9b1d6770c624ae778828b1d698801a Issue introduced in 5.2 with commit 92149190067dc1ba656ce63a328c4b88b34e3f09 and fixed in 6.18.61 with commit cdffcb89d84455158d057a6baa87a67225a7f062 Issue introduced in 5.2 with commit 92149190067dc1ba656ce63a328c4b88b34e3f09 and fixed in 7.3.2 with commit 0cc691a899a43e8ecbddfe657198b3f6935122f0 Issue introduced in 5.2 with commit 92149190067dc1ba656ce63a328c4b88b34e3f09 and fixed in 7.4-rc1 with commit 58f7989da6e715ce834ac861b7ba6ae9f9bdb098 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-99546 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/sched/cls_flower.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/47ae95cdcb9b1d6770c624ae778828b1d698801a https://git.kernel.org/stable/c/cdffcb89d84455158d057a6baa87a67225a7f062 https://git.kernel.org/stable/c/0cc691a899a43e8ecbddfe657198b3f6935122f0 https://git.kernel.org/stable/c/58f7989da6e715ce834ac861b7ba6ae9f9bdb098