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 BC40C478E28 for ; Wed, 13 May 2026 15:09:13 +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=1778684953; cv=none; b=Rks82sqeDuywSeRZS4sNSohgvDdSbVStJGfsaBqyNxosGeJtyN9YIcobwvYfHjXKp2O5DJFgeWmbVP6h+FXD42RZiauGkYB7OcD4ek/ZY/l3geIAbhQRAEk6lDU39LpYDy68URDecaGygLHXl7THdibhQKGBQJKDeCMqHaWik1c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778684953; c=relaxed/simple; bh=Nnf+VhDLbkAI++pJQrg23011GgtBwHwWD98JeONZV04=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PcOY9FbaV7QSQ8sqMh9rlJJmxyVaALRIBOIc6CCpQIKXH3r3l5+ttUhiTg8Ai1ep84KS5B1aBmR31Vu80EQD5Kf/+TNtnMqnY9qDh57sj7KfMadMgiXrozH5wIjzAEWCYGJdM2ZbW9/HIV50fwjwiT8TvI5AqK1Nf7PTPFeMd18= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dVDFLQJV; 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="dVDFLQJV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B712C2BCB7; Wed, 13 May 2026 15:09:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778684953; bh=Nnf+VhDLbkAI++pJQrg23011GgtBwHwWD98JeONZV04=; h=From:To:Cc:Subject:Date:Reply-To:From; b=dVDFLQJVGg5UVm5jcZwQTrx83QgXY7is41ABuzCz/5nJ5hvzIRSfEKGHVRohRTEPi 1hj6HfdIyev+rqMXLl6Mn94QL6XKXtlocMPZCyIPWRtwoSUPxy21/e9UflO3f2K+Cd R7qYy9A/pjaoPOsV3HP2MH4U4QIAHq+LkKpS8yWE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43481: net-shapers: don't free reply skb after genlmsg_reply() Date: Wed, 13 May 2026 17:08:49 +0200 Message-ID: <2026051348-CVE-2026-43481-6f80@gregkh> X-Mailer: git-send-email 2.54.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=2427; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=qpJkOcRUuI5YTw1dX1DV0P88esft7jPOBjoC4DfHoLs=; b=kA0DAAIRMUfUDdst+ykByyZiAGoElADITGRbsjoyHt4rPTVReRbktqKcQku9w+U7r6/wo2sGg IhdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmoElAAACgkQMUfUDdst+ynkiwCdHDV4 AQZnMk05ncfl/OOW+b7VoZUAnjh1Jrcza9cxhaBqg7WNB+JdPZYR 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-shapers: don't free reply skb after genlmsg_reply() genlmsg_reply() hands the reply skb to netlink, and netlink_unicast() consumes it on all return paths, whether the skb is queued successfully or freed on an error path. net_shaper_nl_get_doit() and net_shaper_nl_cap_get_doit() currently jump to free_msg after genlmsg_reply() fails and call nlmsg_free(msg), which can hit the same skb twice. Return the genlmsg_reply() error directly and keep free_msg only for pre-reply failures. The Linux kernel CVE team has assigned CVE-2026-43481 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit 4b623f9f0f59652ea71fcb27d60b4c3b65126dbb and fixed in 6.18.19 with commit 8738dcc844fff7d0157ee775230e95df3b1884d7 Issue introduced in 6.13 with commit 4b623f9f0f59652ea71fcb27d60b4c3b65126dbb and fixed in 6.19.9 with commit 83f7b54242d0abbfce35a55c01322f50962ed3ee Issue introduced in 6.13 with commit 4b623f9f0f59652ea71fcb27d60b4c3b65126dbb and fixed in 7.0 with commit 57885276cc16a2e2b76282c808a4e84cbecb3aae 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-43481 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/8738dcc844fff7d0157ee775230e95df3b1884d7 https://git.kernel.org/stable/c/83f7b54242d0abbfce35a55c01322f50962ed3ee https://git.kernel.org/stable/c/57885276cc16a2e2b76282c808a4e84cbecb3aae