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 8BB745477E for ; Wed, 14 Oct 2026 13:30:25 +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=1791984634; cv=none; b=GnT0Z3COQCCtH/dAU8uTTqD+u0MyLDP2gLqg23xlgAgbLJODonToScham+2wodMOsT5sng4yMsH5sCCHzIRvMe94H5u6W+IGm0/mTmWWaa4fMwCSzBFXRKEtS/ot0UXzHFl/Wo1Poj5Nm3uyNNm4OsTXKAU2eOoWItHmO97q/E0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791984634; c=relaxed/simple; bh=FXz8LkC1dWhG5aeCWgO/SMHyv130IhyZ/AKkxiDiecA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=P5g7wBanTvZdJxzYe4Zn31Jp4GZWp6OTJ/4AFn2wXiP41qGNHHqZdqWrZNfH2TSJ/dqs1gZEDkEhNw/hJ8/5aoL0gXYJ18baBxbPfsDsfydjAYL1+8Ifm7mG7fqGFdfObckba88ZlZQJYyLSia6icZH/0Xb+aJCK1icmwZbPduI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vvKM9mI+; 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="vvKM9mI+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E73831F00899; Wed, 14 Oct 2026 13:30:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791984625; bh=/mx72dO7PV+kN5gPIZ4apCSfxOQmT5F+D+9ElD8XnlA=; h=From:To:Cc:Subject:Date:Reply-To; b=vvKM9mI+ex9ihzetSs6qqxC+d782lnVz4ZOsoyaZEYTZYBRvti5y8CD6z0M1CGfzp tqPbO3jj2+p44lqEFJew9IBJtpprZY0qSVXIOKIuJlgKpOR4l0iptKKVqoTrP/gVF3 wSgM5Fo/sO2SZXS8IERz0w0HXoiKKiQewVyFE7iY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98419: drop_monitor: fix out-of-bounds write in reset_per_cpu_data() Date: Wed, 14 Oct 2026 15:30:17 +0200 Message-ID: <2026101406-CVE-2026-98419-8794@gregkh> X-Mailer: git-send-email 2.56.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=4100; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=bvn1o2YFLNnvsNXRATghI1VlxQhXUfaj8NWiGKKhyr0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnnm+99bVKb7OG+gv3xpAteXaoCV3Z33FBqWs8ry3/M1 v/ObQ/LjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIfQjDXIGjVvefP3N9FrpL LkW446iC0J21LgwLthVohc+7/MxOTunFon/8NpujnzS3AAA= 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: drop_monitor: fix out-of-bounds write in reset_per_cpu_data() In reset_per_cpu_data(), al is computed as: al = sizeof(struct net_dm_alert_msg); al += dm_hit_limit * sizeof(struct net_dm_drop_point); al += sizeof(struct nlattr); skb = genlmsg_new(al, GFP_KERNEL); ... nla = nla_reserve(skb, NLA_UNSPEC, sizeof(struct net_dm_alert_msg)); ... msg = nla_data(nla); memset(msg, 0, al); Because al includes sizeof(struct nlattr) (the 4-byte attribute header), genlmsg_new() allocates al bytes of tailroom starting at nla. However, msg points to nla_data(nla), which is located sizeof(struct nlattr) bytes past nla. Calling memset(msg, 0, al) therefore writes al bytes starting from msg, exceeding the allocated buffer by sizeof(struct nlattr) (4 bytes) and corrupting skb_shared_info. Fix this by letting al represent only the payload length, allocating the skb with genlmsg_new(nla_total_size(al), GFP_KERNEL), and zeroing al bytes from msg. The Linux kernel CVE team has assigned CVE-2026-98419 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.31 with commit 683703a26e4677db437a1480682851e27c7a154f and fixed in 5.10.271 with commit caf09c09e0f323015ab6777ed1bad5aa10688631 Issue introduced in 2.6.31 with commit 683703a26e4677db437a1480682851e27c7a154f and fixed in 5.15.222 with commit 56b12f0cd476e4d90a0e2663a80102b388ebf78c Issue introduced in 2.6.31 with commit 683703a26e4677db437a1480682851e27c7a154f and fixed in 6.1.189 with commit 88d640efd655b10f9fa4e381caf777da1f17c2a6 Issue introduced in 2.6.31 with commit 683703a26e4677db437a1480682851e27c7a154f and fixed in 6.6.158 with commit d54a044136b129822715e8798899af540ec7a9e9 Issue introduced in 2.6.31 with commit 683703a26e4677db437a1480682851e27c7a154f and fixed in 6.12.112 with commit 8a04047c6dbff2f49a561b1ff53b043f4807e855 Issue introduced in 2.6.31 with commit 683703a26e4677db437a1480682851e27c7a154f and fixed in 6.18.54 with commit 530ae0a1458078c7a81fbffd9ff17d42129364d9 Issue introduced in 2.6.31 with commit 683703a26e4677db437a1480682851e27c7a154f and fixed in 7.2.8 with commit 03b672eba4937ff18337049824a114012d57f202 Issue introduced in 2.6.31 with commit 683703a26e4677db437a1480682851e27c7a154f and fixed in 7.3-rc4 with commit 439f392084f8f7f59ab9d47a9579185accefe1d8 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-98419 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/drop_monitor.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/caf09c09e0f323015ab6777ed1bad5aa10688631 https://git.kernel.org/stable/c/56b12f0cd476e4d90a0e2663a80102b388ebf78c https://git.kernel.org/stable/c/88d640efd655b10f9fa4e381caf777da1f17c2a6 https://git.kernel.org/stable/c/d54a044136b129822715e8798899af540ec7a9e9 https://git.kernel.org/stable/c/8a04047c6dbff2f49a561b1ff53b043f4807e855 https://git.kernel.org/stable/c/530ae0a1458078c7a81fbffd9ff17d42129364d9 https://git.kernel.org/stable/c/03b672eba4937ff18337049824a114012d57f202 https://git.kernel.org/stable/c/439f392084f8f7f59ab9d47a9579185accefe1d8