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 2D52F44C64E for ; Fri, 11 Sep 2026 19:48:56 +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=1789156148; cv=none; b=pVZk0ivilDSgvYMqxGY3sibA5Z0WBYKJgOm/9gPt1QrTGFiVczUIkGdjWmq3vOB7f4J/PW56gIFV4ByBiHhqqO+3B1z1hOOhWb/KBi5+E8Zf7XgIESnl2iUMEwCqX8/kcm/2Ug4u6eNdaNNnW9tnQzuAUGYSrLXAbf7tD86l5M4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156148; c=relaxed/simple; bh=CXkJrm9hZzOZOsQG71HKsa/NYejdbY2+yryiYr5dAMU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Cd+qPCCUR/0Vm0ngRbdq/QpSidb2ddlGaywaAcMYSLr/ytOG4DOed/UapTy0JSFbDnCH/r/XinY4YDHcYm3A0/d93MK+QlT6183oYj3w+dypdclZcTTFXd5fqVkKR/aR7koJzA01ZXEbCkNgKWqBlfFIpeE4ez7NZ5xYj7IYTrI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jy/zGUD7; 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="jy/zGUD7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0B7BA1F000FF; Fri, 11 Sep 2026 19:48:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156136; bh=RodKQPq6oVuSPZhbb4KBJUch6zzgyEB4agF+C+AW+kE=; h=From:To:Cc:Subject:Date:Reply-To; b=jy/zGUD7e+NqlnURF8amajzdu17L7jdlw1LU7+MByBRAY7o18yzAAFZExJc3FDpc7 t5iW36Gz2chJoMbgs+Rzv0WCtp5ocI58MtJQ0YMz+lXEzZIoV7WobkexOQQxYND97b 0/xDPk3Ow7ymUfm3yl4zqY9qaPXcC6cZcCdXJnuA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-81000: net: tun: bound receive headroom Date: Fri, 11 Sep 2026 21:41:46 +0200 Message-ID: <2026091151-CVE-2026-81000-7e0a@gregkh> X-Mailer: git-send-email 2.55.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=3078; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=6hULA5NFXdZafVcCU0ziAVCgS555Qg9y0aweP+Dve00=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIp2vxKvF+gcI/a6+4Sz5cc22yh83/iVPuh3Hya38h aXY5ejHjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIg8cMC6aFvJq/3M/lktLT n3VbT0ZV/ugwusKwoCEjUudhyTef2xGnAyzrU/7/q7UsBQA= 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: tun: bound receive headroom tun_get_user() uses tun->align both as skb headroom and when choosing how much packet data to keep linear. OVS can propagate an oversized headroom request from another port to TUN or TAP. When align is larger than the usable space in a one-page skb head, SKB_MAX_HEAD(align) underflows and the result becomes negative when stored in good_linear. That value later wraps when assigned to the size_t linear variable, and tun_alloc_skb() can place skb->data outside the allocated head. Bound the headroom stored by TUN to the one-page skb-head budget and the largest non-sentinel 16-bit skb header offset. Leave one linear byte for raw TUN and a complete Ethernet header for TAP, including NET_IP_ALIGN. Also pull the raw-TUN protocol byte and the TAP Ethernet header before accessing them, so these checks remain safe for nonlinear skbs supplied by other allocation paths. The Linux kernel CVE team has assigned CVE-2026-81000 to this issue. Affected and fixed versions =========================== Issue introduced in 4.6 with commit eaea34b23c46bf17b4a5638be69ab3561854f34b and fixed in 6.12.109 with commit 379d85c7f25f3e05a428225e6b8a65613c6e9b9d Issue introduced in 4.6 with commit eaea34b23c46bf17b4a5638be69ab3561854f34b and fixed in 6.18.50 with commit e098d9cc8859614a7f7baebc96e32a5a16b18ed2 Issue introduced in 4.6 with commit eaea34b23c46bf17b4a5638be69ab3561854f34b and fixed in 7.2.4 with commit 0ada54ea63e48b9c1608e917ccb7dfadbe86db28 Issue introduced in 4.6 with commit eaea34b23c46bf17b4a5638be69ab3561854f34b and fixed in 7.3-rc1 with commit 447c9303942c439a117d9b76ce6d6e2116b38ee7 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-81000 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: drivers/net/tun.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/379d85c7f25f3e05a428225e6b8a65613c6e9b9d https://git.kernel.org/stable/c/e098d9cc8859614a7f7baebc96e32a5a16b18ed2 https://git.kernel.org/stable/c/0ada54ea63e48b9c1608e917ccb7dfadbe86db28 https://git.kernel.org/stable/c/447c9303942c439a117d9b76ce6d6e2116b38ee7