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 CA72452CCE2 for ; Thu, 17 Sep 2026 16:37:53 +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=1789663074; cv=none; b=Xem7meliyC7QRzQQlVEyqQ24BShye7sqjlcWWTgUFWpmkj6jyo1IB+u05jhrlLHeiN+n3fBYBdnS60VbvrLciTuG9jGV/wzhWxHWMOC1uqA88IW9Dqz+k2IuVFiN5he1EMfTZCnmzics8Q4oJJNSXPn3GAX5xWCnATjKcN86Xzs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789663074; c=relaxed/simple; bh=z8n5bmiZiR8xeAySewmx3WX9DzrbUBPg8KJKAA5MSXk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=T3mCOtBjq+pbKUK98hsFnCsMkXo3+lotSilkACB/RDymkFlq4ryZeGppAEzpTaFtdmGZ0+IyEKReoRRd0ePMU1GvftKQbzRIdOlIUgifyCtYyqroWGDhyA6Yo8smpXPC/G8Y1IZyzuSJVLuAiP7qWXUeikddL8z+pdkWIk47fq8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tp91jbGs; 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="tp91jbGs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 15A7F1F00898; Thu, 17 Sep 2026 16:37:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789663073; bh=PkJrlTAYodfcQXy52qga7UoPNT9b0xkWTOplLiwTYy0=; h=From:To:Cc:Subject:Date:Reply-To; b=tp91jbGs88NQgjLqYYZ1M2X2Y3GAQMPw1LGerm5OGHhMd5zfTaqs7boBrErDPlMKZ cb4Fj6CocIddIkuwJ0JreUVufo4h9ex4acwve1C/4QC9zP1TCZzWi9AQVVgZoHcYDZ HyVt0VaZGgEX32YMMKm/rwDxixd/DIpljt+orvDw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-93112: bpf: Require a BPF cpumask for bpf_cpumask_populate() Date: Thu, 17 Sep 2026 17:16:29 +0100 Message-ID: <2026091747-CVE-2026-93112-2883@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=2502; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=0cxuStq+Dnm5YMHqi6JAObzkkaV3wLbGSNm4kc/f02Q=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBE7bftaSnfy3TFJo7wqBy7vedJp5Ln4ssiCkoKD4/ Xmdyuq7HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRi8IM86M0E6XbhWbvWuPi UZK6ylj16JwrRxnmStksvpe3s31hvEPX9qyKaObvOY+KAA== 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: Require a BPF cpumask for bpf_cpumask_populate() bpf_cpumask_populate() writes to its destination with bitmap_copy(), but the destination is typed as struct cpumask *. That allows the verifier to accept borrowed cpumask pointers returned by read-only kfuncs, such as scx_bpf_get_online_cpumask(), as a writable destination. Make the destination a struct bpf_cpumask * so populate follows the same ownership rule as the other mutating cpumask kfuncs. Query kfuncs continue to accept const struct cpumask * inputs. The Linux kernel CVE team has assigned CVE-2026-93112 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit 950ad93df2fce70445e655ed2e74f5c1a8653ab2 and fixed in 6.18.52 with commit 0cfc9348a045da64955af2dd6902e66dfc7d6469 Issue introduced in 6.15 with commit 950ad93df2fce70445e655ed2e74f5c1a8653ab2 and fixed in 7.2.6 with commit b7e2a5c6519adc73be55c3de2cb545e095a0fbc5 Issue introduced in 6.15 with commit 950ad93df2fce70445e655ed2e74f5c1a8653ab2 and fixed in 7.3-rc1 with commit 8740156ad33be5071b588b594c55f279457f667c 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-93112 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/cpumask.c tools/sched_ext/include/scx/compat.bpf.h 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/0cfc9348a045da64955af2dd6902e66dfc7d6469 https://git.kernel.org/stable/c/b7e2a5c6519adc73be55c3de2cb545e095a0fbc5 https://git.kernel.org/stable/c/8740156ad33be5071b588b594c55f279457f667c