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 40C6334545 for ; Fri, 25 Jul 2025 13:20:25 +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=1753449626; cv=none; b=JkYj+D+hu3uhxS4p+APlTc0IaZi1Liq3l/ksLS28ot7kJz/Z4bHw7xd/U4DQpmEl8S+Z/+rTgWW9QRuEgZsajo/a5r27YLLxRpVNMk6BWzKC+Mav6fnac3gnov+Ygt4lphLGhImj1fpiYaqw93nWAUX9IQs4/g9hGwXBT1/SQmo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753449626; c=relaxed/simple; bh=+Hlr/1HsWl/hneWU65m8apvnhOuVDYnEYyATdeObu0s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=aJLosBmEet6iBedJYCMJIaeyOu3yx9uCFD+41e4wxgu6GCQnu73H855UACJiPDA/7u2OBNSSR+fGbY6WQt8aHTYzlPSyqWKALKYx4N8zHsHnvI9SG8YoDSN+iH/ie/PC4E2aAmVFfbPI3pwaXfsez2EyuULANeL+APMIZ1ZtEzg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WJKT2ozb; 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="WJKT2ozb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5CD26C4CEE7; Fri, 25 Jul 2025 13:20:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1753449625; bh=+Hlr/1HsWl/hneWU65m8apvnhOuVDYnEYyATdeObu0s=; h=From:To:Cc:Subject:Date:Reply-to:From; b=WJKT2ozbODyNOwF23hPjqyYb/cbs7WWvtbE+MpykPZ98YWYsPiUeikMF+wB6csECP LZzkUosARo+GhmJng97rj3rVge/Cx0E4lUHxFcsk9Iwe18rxNF883FOtjp0+HOeBTX l7r/j9FsDJlw1uVBWyJ52j/gnyDDMpznXfldyxE8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38408: genirq/irq_sim: Initialize work context pointers properly Date: Fri, 25 Jul 2025 15:20:22 +0200 Message-ID: <2025072520-CVE-2025-38408-29e7@gregkh> X-Mailer: git-send-email 2.50.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1958; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=J/hioW5tSZMywWpnw8+Q4xGoEiEat/mrwO+ynLmLr3U=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnNLVPCV63YsVZIeIelt08bw/vwfybL/jFt2hmy58G8t sUhm7yWdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEmE0YFiyL+1go9v2Ek1SF RUbK+hc36m/0LWGYK70wMjuXu2sW93+ZXT/TTSWbd1ecBgA= 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: genirq/irq_sim: Initialize work context pointers properly Initialize `ops` member's pointers properly by using kzalloc() instead of kmalloc() when allocating the simulation work context. Otherwise the pointers contain random content leading to invalid dereferencing. The Linux kernel CVE team has assigned CVE-2025-38408 to this issue. Affected and fixed versions =========================== Fixed in 6.12.37 with commit 19bd7597858dd15802c1d99fcc38e528f469080a Fixed in 6.15.6 with commit 7f73d1def72532bac4d55ea8838f457a6bed955c Fixed in 6.16-rc3 with commit 8a2277a3c9e4cc5398f80821afe7ecbe9bdf2819 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-2025-38408 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/irq/irq_sim.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/19bd7597858dd15802c1d99fcc38e528f469080a https://git.kernel.org/stable/c/7f73d1def72532bac4d55ea8838f457a6bed955c https://git.kernel.org/stable/c/8a2277a3c9e4cc5398f80821afe7ecbe9bdf2819