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 D72F638399C for ; Sat, 25 Jul 2026 08:55:58 +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=1784969759; cv=none; b=adlKmlObd9IHxvWLvvMWU0jder8tsscq8phmYZbaW6ZK7o+vHDGrRZG3GyVRTcdGIy28m9xfl5Wie42c7rCBeOTwkdbyC2iieD8JjZol863b72+p7kcZWXLdA0UZfYVhELa702Tf+D6i0vH5pSfL7IgRXmsBgZn2hfb98viZrwE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784969759; c=relaxed/simple; bh=bql6+0ilv6i+5UJdrlYdI323iXx2eSqHWhAHULxRdnQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LDA5j3LQz4yDBMBnr1SXS9X2qKDMIofM6yOuDNf9KvRAly4s7tqad5SBE1awLtWefvG1go9jXRVWfPbo69/+BwAYZirpteY884ORbhy9HJiE3klGL3BSzUWJrhHBoaTDWwKprR1D6bWKhJM7KPRygbSqpCMF7pMtWgFBcgSVius= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ClOKG+O+; 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="ClOKG+O+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ECA751F000E9; Sat, 25 Jul 2026 08:55:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784969758; bh=oPb742UfS8cGWeEFW8VfGL7NUGpWUOXBQwf8Xcrcic4=; h=From:To:Cc:Subject:Date:Reply-To; b=ClOKG+O+xQRPXQIokxOUeGDoEZl2vefqFETDtMJez8/9EtYD5ISpQkAc1kYmwUV+A rd4x2FeUOCFLuuuJ7HXujXcYutilZG39MsuTCnHPtSCiSpLQeomTidbc/7tFu1w45/ rd4PKM6KqeW18t8oqDL7YjQufQzNOUzXg+z9b96k= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64353: bpf: Keep dynamic inner array lookups nullable Date: Sat, 25 Jul 2026 10:49:30 +0200 Message-ID: <2026072519-CVE-2026-64353-6baf@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=2617; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=68QIJCXMsrFnJmCwzB/q1HhsIZ3kWLRTeUUaZuMGnOI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkpFcHRqnXTky9POs2wdvOBwj2xRe/DsoTyte/+K73O2 /2U23t7RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEykS4Nhvp/RP/eFjXZVBddn m5j8OebBl/H0OcOCYwtNpr0/+7xyq/rnF1e0r6Vr5rrfBwA= 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: bpf: Keep dynamic inner array lookups nullable An ARRAY_OF_MAPS can use an array created with BPF_F_INNER_MAP as its inner map template. A concrete inner array with a different max_entries value can then replace the template. After a successful outer map lookup, the verifier represents the resulting map pointer using the inner map template. Const-key lookup nullness elision consequently uses the template max_entries even though the runtime helper uses the concrete inner map max_entries. Do not elide lookup result nullness for maps marked with BPF_F_INNER_MAP, because the template max_entries does not prove that the key is in bounds for the concrete runtime map. The Linux kernel CVE team has assigned CVE-2026-64353 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit d2102f2f5d75a84dbab6ff890359f0bd4a18ca22 and fixed in 6.18.40 with commit 0b92ad64d6e4bde85e6b9888404f9a7a2b65d269 Issue introduced in 6.14 with commit d2102f2f5d75a84dbab6ff890359f0bd4a18ca22 and fixed in 7.1.4 with commit d57db0d975053e01410c54e708a85b6d32ef2ebd Issue introduced in 6.14 with commit d2102f2f5d75a84dbab6ff890359f0bd4a18ca22 and fixed in 7.2-rc1 with commit 53040a81ae57cdca8af8ac36fe4e661730cf7c6b 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-64353 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: kernel/bpf/verifier.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/0b92ad64d6e4bde85e6b9888404f9a7a2b65d269 https://git.kernel.org/stable/c/d57db0d975053e01410c54e708a85b6d32ef2ebd https://git.kernel.org/stable/c/53040a81ae57cdca8af8ac36fe4e661730cf7c6b