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 5814F4DEC36 for ; Thu, 17 Sep 2026 16:24:37 +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=1789662278; cv=none; b=LAOFWhJKvnaKcuNMVMRRj4mzG0Mt3qkqr4uXs5QSgQgfreP4PUBCR0zLzbGGNKeilTIY5Wiy7TvLs5UoGWuCGsDNPl0SupjG4aGDVx2g9Awg+hOdpOzfD+iA3fBzWuWM4FqIk9DpEKudg94plS1BNhq5SkrjBFIjT8T9Gfnl2jY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662278; c=relaxed/simple; bh=Tv5G0WBznaq6AcN3MHrGVhtrX4lU92Dn6u2x5q8Ozk4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GIEgd2dn1yuJtME4z5CiSseSCT0VifQqPe/DBSBy2zb4zGyf6OTyJj8FRmFoNY/mAAiSLVTFu3dFW/rlcEJfR0+TdDmlAIFBYHVJc+jleLidOyemOCCqmJFwSCD8BlpGfrkFg5oXfxuIjC2KmyBrETz3e0bnHkDGAArsEurY3YQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wFa30SbB; 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="wFa30SbB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 919F21F00898; Thu, 17 Sep 2026 16:24:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662277; bh=Ywhdy0xZck2WTtaRFh+I2ehEnDJOSc/OjAJ98S9Ks7A=; h=From:To:Cc:Subject:Date:Reply-To; b=wFa30SbBk+C/F1tVZtqOi8mKo+0pS6fmluAaxSaoyQUK9zz3JJcMPUPkhc273FoCM YsDiJZA5T9tiBpkzH4od5I4sJeFruhmMBGK5sJoBhe5MQStIjExiB3CXAP50dmJY7/ W8qClkpc8FpWsbuvNDOiYBYoCy2q9u8wty9fFWb8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90300: bpf: Clear buf on error in __bpf_get_task_stack Date: Thu, 17 Sep 2026 17:12:10 +0100 Message-ID: <2026091754-CVE-2026-90300-6e89@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=2381; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vVCUXbc6Ey6V+z4vLaCO5lVzjbvtTYSVuPP9MCcPhFc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBKZ9v7ncJ0WpsO9sRNru3jWvWjfmnD593i873a8tq OOuR0lgRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzE/gvDfKe1KdqVoQEJTZ0P /iTtjgu6WKmbzjA/wcxj4qYTCz/Hfem5VfOBv/Dtg/BTAA== 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: Clear buf on error in __bpf_get_task_stack Both bpf_get_task_stack and bpf_get_task_stack_sleepable helpers that use __bpf_get_task_stack have buf defined as ARG_PTR_TO_UNINIT_MEM argument and we should initialize the buf on every return path. Adding missing buf memset for __bpf_get_task_stack fail paths. This provides deterministic buffer contents, which is useful when the buffer is used directly as a map key. The Linux kernel CVE team has assigned CVE-2026-90300 to this issue. Affected and fixed versions =========================== Issue introduced in 5.12 with commit 06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df and fixed in 7.2.6 with commit f523359c4789bb0396d2d642464a6e2fd4f2299d Issue introduced in 5.12 with commit 06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df and fixed in 7.3-rc1 with commit f5d242825ca417bb6afe35fde6e8880f97ca43fb Issue introduced in 5.10.30 with commit d921baabd96445ef9c9c9410ca06164359c8a1a5 Issue introduced in 5.11.14 with commit 9c020a533eaae1c2d41a7e3835c4c818a9b4b656 Issue introduced in 5.10.96 with commit ff6bdc205fd0a83bd365405d4e31fb5905826996 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-90300 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/stackmap.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/f523359c4789bb0396d2d642464a6e2fd4f2299d https://git.kernel.org/stable/c/f5d242825ca417bb6afe35fde6e8880f97ca43fb