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 A3B214C10CD for ; Sun, 18 Oct 2026 15:22:14 +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=1792336935; cv=none; b=tutmqfMdH2PgwzUGP2hM8tl3pFM8V8CziO7EOVXOYVNUPxR7itjQx5w7S2JEGpHlMZd1LXUV+F2yRO7YEeioTYF9IOHcFECWTZ24PacAQxtNTqze6zsjMGklchHM8JFX/K4R/hdLXpWXiWZum5nKz6vP4fZqZ3RBscu9lHrXn+A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792336935; c=relaxed/simple; bh=Was4Fr3fKvxfMYpZ7w3HJPOI0WkrEYN5v437V7f01os=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qbt3FaIdtoZ29hWHIikjK+uvaWg7y4Pf/RT5Zgt4jwt9PQIKBreckYKmMws8cTo0Rv8SComBkSBVtAHIN6HuDwD8Hw09Snpjlwd+S3Jv+vgwrWlQc3L00UgA758FDlaX2cPsNxnIcpbgzUDGH1EIp1zWiV+lcuqJHD8+6rxJlOo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JMmAdLIr; 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="JMmAdLIr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7C2511F000C4; Sun, 18 Oct 2026 15:22:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792336934; bh=1rgbUUMmbXYr4WBWY/0JXGtsbDtMO7oaLmo+3t19ueM=; h=From:To:Cc:Subject:Date:Reply-To; b=JMmAdLIrSafiMd/zbWc0k4jAhk2DuwXg8UebeHNckLt0UUKw7eiAdZ+x2TIZeONLm xqQQ3SdCAGMujMu1isnZPaPeEDUwwpp3ZuNV7KAI4EMDEkwe4NYnI/7LVE1D/Lk/Kd FvkGV8sPIs6ZbiSmMk6ggrCqYTsCK51E0KcK0diQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98493: net: ipconfig: bound DHCP option construction Date: Sun, 18 Oct 2026 17:15:57 +0200 Message-ID: <2026101817-CVE-2026-98493-3099@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=3138; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=85OIRnigckcUaZl/Bi2ZZaH+axc/DEyFwIjwSy3cQc4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHrUa/kgPt3Bj+sMYVx9i83HT7VZxe+1rK3fuucpeb XHpRExdRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkpQTDgp0bVzQKyXy1FA/5 +7Rv0qy+fXJf9zHMlb6+teNKT0+whn77jST91Vs61yWIAAA= 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: ipconfig: bound DHCP option construction ic_dhcp_init_options() appends the hostname (option 12), vendor-class (option 60) and client-ID (option 61) options into the fixed 312-byte bootp_pkt.exten[] buffer. Only the client-ID branch checked the remaining space; the hostname and vendor-class writes were unbounded. A 64-byte hostname together with the maximum 252-byte dhcpclass= identifier needs 18 + (2 + 64) + (2 + 252) = 338 of the 312 available bytes even before the terminating END marker, so the vendor-class memcpy runs past the end of exten[]. With CONFIG_FORTIFY_SOURCE this is reported as a field-spanning write and, when the kernel is booted with panic_on_warn=1, aborts boot with a panic. Route the optional options through a common helper that makes sure the option, its 2-byte header and the END marker all fit and drops an option that would not. Configurations with short options keep sending exactly the same bytes as before. The Linux kernel CVE team has assigned CVE-2026-98493 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.36 with commit 130c0f47fdf9c533deb1136cad5136f6cb7020f0 and fixed in 6.12.112 with commit abcba6f080c63e403037ecdffde43170d242376a Issue introduced in 2.6.36 with commit 130c0f47fdf9c533deb1136cad5136f6cb7020f0 and fixed in 6.18.55 with commit 24e79508b237dd2a69bc6fb6ac5cf7f126178307 Issue introduced in 2.6.36 with commit 130c0f47fdf9c533deb1136cad5136f6cb7020f0 and fixed in 7.2.9 with commit cbaad2922bd5d4d303055ae9afecc8999e6b40c9 Issue introduced in 2.6.36 with commit 130c0f47fdf9c533deb1136cad5136f6cb7020f0 and fixed in 7.3-rc5 with commit e47a1958e12abc3a17b5231a4f21c8f1bf662e08 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-98493 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/ipv4/ipconfig.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/abcba6f080c63e403037ecdffde43170d242376a https://git.kernel.org/stable/c/24e79508b237dd2a69bc6fb6ac5cf7f126178307 https://git.kernel.org/stable/c/cbaad2922bd5d4d303055ae9afecc8999e6b40c9 https://git.kernel.org/stable/c/e47a1958e12abc3a17b5231a4f21c8f1bf662e08