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 9C78C17D2 for ; Mon, 6 Apr 2026 07:33:10 +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=1775460790; cv=none; b=YkhgSg3z3ao5vo9BvrjnPtH7bII9vhB/C8pQ+gTGNUw3voTmkqTav+RGmVR3tbJKNaKsAt190I0N8HI6VLXdT/tMnEXRmtZww2EfmLp0yQ27oW+alq5Hd8fo73iIYf+xS5yKd9k6oqxMzz3lbM7JH4c+paqA4nwllleFxqVQNR8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775460790; c=relaxed/simple; bh=IrTIpLEeyWYNyR730D00RrkwnmWkywo4qptnEQjwcUo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PJ/XcZnQWSLmBMCoXG/gQyo6sV7RFQBfoo9gXOJSGi5qi9Jf3NLAyfFYNfBsn7QaZXW/6eaByWsFB5rkqlw6MxvwCKvbmmKM/Y9OZhCrgDtIetgf0EHTwGhiYfQqcNwQAz/yme0VgAQr2TV8k1diOpCiSPMkTXONtNb6sjoeCc0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jiHkVDf2; 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="jiHkVDf2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E0A6C4CEF7; Mon, 6 Apr 2026 07:33:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1775460790; bh=IrTIpLEeyWYNyR730D00RrkwnmWkywo4qptnEQjwcUo=; h=From:To:Cc:Subject:Date:Reply-To:From; b=jiHkVDf2ArFbjqalbyLxIcZq+4AI6sEhnso9/rxgqAPAbvARIpBi9zS7T+QiBaF6z 5MrGU6BhrXDy64Nch8eMCTtBz23dsXpGD45P8TfH0kXcXtqHzKZma5GSAuXhnuda+s zeY+ZJoXZlYDJdCONThumYgFtQEsM9R5YdFKSwA8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31405: media: dvb-net: fix OOB access in ULE extension header tables Date: Mon, 6 Apr 2026 09:33:04 +0200 Message-ID: <2026040603-CVE-2026-31405-8cfb@gregkh> X-Mailer: git-send-email 2.53.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=3264; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=F9VkFYDhJw5zNcAEEhC+UJ9QI8InDE8PWdBdDmei3wU=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmXE9dn9WUnvDor+TVoWu3Zur4zfC8f+788LmUn9K927 XHGiCuxHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR3FMM89RXpv4OLpO5lBq5 68wMpmVr2oWmpjMsOPjzSbnkZDklGbvPL2wu7s1tkf2iCQA= 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: media: dvb-net: fix OOB access in ULE extension header tables The ule_mandatory_ext_handlers[] and ule_optional_ext_handlers[] tables in handle_one_ule_extension() are declared with 255 elements (valid indices 0-254), but the index htype is derived from network-controlled data as (ule_sndu_type & 0x00FF), giving a range of 0-255. When htype equals 255, an out-of-bounds read occurs on the function pointer table, and the OOB value may be called as a function pointer. Add a bounds check on htype against the array size before either table is accessed. Out-of-range values now cause the SNDU to be discarded. The Linux kernel CVE team has assigned CVE-2026-31405 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.1.167 with commit 29ef43ceb121d67b87f4cbb08439e4e9e732eff8 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.6.130 with commit 1a6da3dbb9985d00743073a1cc1f96e59f5abc30 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.78 with commit 145e50c2c700fa52b840df7bab206043997dd18e Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.19 with commit 8bde543d2a5f935ba2a6a6325a2e02f8a9256fbe Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.19.9 with commit f2b65dcb78c8990e4c68a906627433be1fe38a92 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.0-rc3 with commit 24d87712727a5017ad142d63940589a36cd25647 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-31405 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/media/dvb-core/dvb_net.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/29ef43ceb121d67b87f4cbb08439e4e9e732eff8 https://git.kernel.org/stable/c/1a6da3dbb9985d00743073a1cc1f96e59f5abc30 https://git.kernel.org/stable/c/145e50c2c700fa52b840df7bab206043997dd18e https://git.kernel.org/stable/c/8bde543d2a5f935ba2a6a6325a2e02f8a9256fbe https://git.kernel.org/stable/c/f2b65dcb78c8990e4c68a906627433be1fe38a92 https://git.kernel.org/stable/c/24d87712727a5017ad142d63940589a36cd25647