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 0BD361FAF18 for ; Mon, 21 Oct 2024 18:06:01 +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=1729533962; cv=none; b=ZvOoyrHgnUh/RIwNOHwmmGPOICgcyGnJJev/rh4SqQBKWCRbxFFYlMfEjxZg81UggNN2C4UbJk1uxYZCn3pRjIGmoflQR0R2PY0nzPGvNKzKRxhfAtYq37SFyHpMAXJjGQlDN67ALQhYZi+tj2Sguq241Acuvi19VvPj4/b2dpo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729533962; c=relaxed/simple; bh=Lnu9lE9lRP1A8YwbLUDQRwqzsBdKXICOr7kNlAYovNo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Gko9mDJawzwNunFu3d9vvpvl3+Zp2PdcXLzm9tY58jBeSbSkoLPVYhkp2umP+H8Ggk1Py1Q/RuNEDMqvBlM59ScVgmLWHCrsgQAOCOvdqckqgvRUUdPINTgw4ZXwNbtJjJJB7QEcq3rInc8eI1yUlF537IG5ZoDG3Nk51/u/7yA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rQ5Ld2i2; 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="rQ5Ld2i2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 589A9C4CEC7; Mon, 21 Oct 2024 18:06:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729533961; bh=Lnu9lE9lRP1A8YwbLUDQRwqzsBdKXICOr7kNlAYovNo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=rQ5Ld2i2vfqhg4E9RgIDVPQMVbZ90gZUA33QM4wV9rw6sFlxUeSc2jf045OQA0uN9 6FmyN45bi83gXSEMdgn5QRbaY/aBKHlBdc7BRmlRMTNY+I3CU1TNfJV2GEhWdOvOGs 0hvT8PWA/wWFVCTQF3zIYSHVnr58785OrG0N1cpY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-49945: net/ncsi: Disable the ncsi work before freeing the associated structure Date: Mon, 21 Oct 2024 20:02:33 +0200 Message-ID: <2024102128-CVE-2024-49945-d756@gregkh> X-Mailer: git-send-email 2.47.0 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=1947; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Lnu9lE9lRP1A8YwbLUDQRwqzsBdKXICOr7kNlAYovNo=; b=owGbwMvMwCRo6H6F97bub03G02pJDOli0374PFp0kPmq9uecR0rGwhe2l6wPXdV7abrX9f28c +rctwiYdcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEdPQZFrRvE+A7veq3+LU9 Zpw5EtsYU6LNaxkW7FG673Uvy33jhj1rEt6XqSgrKTpsAgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: net/ncsi: Disable the ncsi work before freeing the associated structure The work function can run after the ncsi device is freed, resulting in use-after-free bugs or kernel panic. The Linux kernel CVE team has assigned CVE-2024-49945 to this issue. Affected and fixed versions =========================== Issue introduced in 4.8 with commit 2d283bdd079c and fixed in 6.10.14 with commit f6ca58696749 Issue introduced in 4.8 with commit 2d283bdd079c and fixed in 6.11.3 with commit dd41dab62f32 Issue introduced in 4.8 with commit 2d283bdd079c and fixed in 6.12-rc2 with commit a0ffa68c70b3 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-2024-49945 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: net/ncsi/ncsi-manage.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/f6ca58696749268181f43150b3553f2bafd71e42 https://git.kernel.org/stable/c/dd41dab62f32d9e9e0669af8459d12a93834b238 https://git.kernel.org/stable/c/a0ffa68c70b367358b2672cdab6fa5bc4c40de2c