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 AEEDA4F4CE4 for ; Thu, 17 Sep 2026 16:23:55 +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=1789662237; cv=none; b=mrFGCQKvRhJk+qCn76xKB+2rfzPb6ZIFdZuqonEbWDKT9SwTdNWRobMU9Byynwy2a/7kcZELNTmOL0geQnfdibCYxtwC5ELLg119x/SNTqAFGCW+VEjzZmOoAlqkjfNiDymMED1xuLzCInxWdJEllz0R4AAMG2wod7O9iu6Lh9M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662237; c=relaxed/simple; bh=HkyQKWfUpP9kzuP5voviuUrAqfuGxOWLtDVco9/5Gng=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ze5Bt192iyEl2hVjLlqgUvLHsivngXNn+meG9SzW2gKQWICnEM2J62x/YuW1AOZ0U80KcsdrmDdJ8xLq0a/gX9EA0m5qeTrKJ9qdpDv7hkh332Q+cYz6n1zIDTK6FKr8rf9PhTmks9f5OujpojKSEdBFLuKH1u0aYQxJ0MB5ckM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0YaXVRXH; 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="0YaXVRXH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D197B1F000FF; Thu, 17 Sep 2026 16:23:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662235; bh=j0QDGateleibraKSoghsJ0KS2L94Wp33Rej4ASkhVcs=; h=From:To:Cc:Subject:Date:Reply-To; b=0YaXVRXHLr+CPa0hflSYYzW0sQwcOLLLSViLAlidSEJ2HEkYP2dM42Lg4PJ8Tz/F6 nVBwqjtT02WdGLAko1ijhZ+z+OaqB43XN9Px4+UPpSlk06zqI5dvq0SLwspncNm85h jzsD6azlQzQI3hmucj1WKuPqbwMh44laePeFp4qM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90250: bpf, cgroup: Fix storage null-ptr-deref after replacing prog Date: Thu, 17 Sep 2026 17:11:20 +0100 Message-ID: <2026091744-CVE-2026-90250-a967@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=2883; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=kCsmbURzgUkLvXtzPmb/nRMqYqGIZG78iBRi6YyZrHo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBHoKdpYnzTq+KapI7/blvA/Obmvc96X9Z9qg+O2in fGHpWryHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRq/MZZjK+yM1tC3sxVeGA OUPPI/cL50p4Uhnm51k9Tn5lGfXxz2zLZuVHzez8bSz7AA== 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, cgroup: Fix storage null-ptr-deref after replacing prog Syzkaller reported a storage null-ptr-deref issue after replacing prog. This occurs in the following scenario: 1. prog A, an empty prog, is attached to a cgrp. 2. prog B uses BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE and calls the bpf_get_local_storage helper. 3. link_update is called to replace prog A with prog B. The reason is that __cgroup_bpf_replace fails to alloc and assign the required cgrp storage for the incoming replacement prog. Consequently, the new prog inherits an uninit storage, leading to null-ptr-deref panic when kick the new prog. Fix this by rejecting a link update if new_prog's cgroup storage is incompatible with link->prog. The Linux kernel CVE team has assigned CVE-2026-90250 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab and fixed in 6.12.110 with commit a033c950f6731be88a7da98604ed78f302f15b80 Issue introduced in 5.7 with commit 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab and fixed in 6.18.52 with commit 1ab3da12061d7ccb099f7e925fa2d865967a316a Issue introduced in 5.7 with commit 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab and fixed in 7.2.6 with commit 12feca126831556dc7fabe5a3ba28fbd328768b6 Issue introduced in 5.7 with commit 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab and fixed in 7.3-rc1 with commit 3f562c537e9ecf4bc5e206cfffc2cc047f1b7e94 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-90250 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/cgroup.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/a033c950f6731be88a7da98604ed78f302f15b80 https://git.kernel.org/stable/c/1ab3da12061d7ccb099f7e925fa2d865967a316a https://git.kernel.org/stable/c/12feca126831556dc7fabe5a3ba28fbd328768b6 https://git.kernel.org/stable/c/3f562c537e9ecf4bc5e206cfffc2cc047f1b7e94