From mboxrd@z Thu Jan 1 00:00:00 1970 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 713AB1FB3DF for ; Mon, 21 Oct 2024 18:09:07 +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=1729534147; cv=none; b=GrMXmK7voPp+w3QY5j69cm/85Nvl89TbzRIl+aYyaFbEeoxSlGJYZE3uFyyCxhhmtRdaqzJKbbO9DzGpQQ9afkt2COG7rghMoT4OYBel/AsnXlmAGEYjAHu68vamv78XUX8HKR5EXXP0pZ3cKlzzQvVbC0GQ+IExxx1Rhdydukk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729534147; c=relaxed/simple; bh=gKC6gHycG5QHvfnZZsJLvdSvQ29wLXJfQWBFBQMCccs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Oaq4Fx34HBG9SIaKZznxKO2ySJHGVuLbk0sKBDAy9arxbF1JHE3of44YICTWEX3YgO1gF1lkIbwaVc49x0ezj8ikxVkHiP1oF2eF5VEodfLhIJQS9p81G+zHXbMmUENUSX6/aXuCKC+GPXL2Jk6mcv6B7GMtQNtYvnZJqaXLqEQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=H23C9t4X; 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="H23C9t4X" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E59C4C4CEC3; Mon, 21 Oct 2024 18:09:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729534147; bh=gKC6gHycG5QHvfnZZsJLvdSvQ29wLXJfQWBFBQMCccs=; h=From:To:Cc:Subject:Date:Reply-to:From; b=H23C9t4Xv0hm0a81ojE+mU09Y6Y9U/maq1h/qmyTQge9rq2PDB7yMH4gM3VcwqzTe Q7VJkGV9r4r0ZKJgnyyrDEEgy+TtZ1Av0VSl2vsjQ9kwzr7DXlxnQ6HPC6uwWqR627 T+prTzW++1ckEjOxFQnijc4ebGmz3OrtFHM0ZWss= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-49999: afs: Fix the setting of the server responding flag Date: Mon, 21 Oct 2024 20:03:27 +0200 Message-ID: <2024102139-CVE-2024-49999-e815@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=2263; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=gKC6gHycG5QHvfnZZsJLvdSvQ29wLXJfQWBFBQMCccs=; b=owGbwMvMwCRo6H6F97bub03G02pJDOli05nnLLg4R3LrUu3DKnwnPzxtvnuJa22ybdrBf1szN 888LLo4rSOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmwizHMM9gc9OGzBlBP/R2 nrxdWK6XumLJk06GBZtsGs4dOfvAx2fGAuN1prcUPvYeeA4A 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: afs: Fix the setting of the server responding flag In afs_wait_for_operation(), we set transcribe the call responded flag to the server record that we used after doing the fileserver iteration loop - but it's possible to exit the loop having had a response from the server that we've discarded (e.g. it returned an abort or we started receiving data, but the call didn't complete). This means that op->server might be NULL, but we don't check that before attempting to set the server flag. The Linux kernel CVE team has assigned CVE-2024-49999 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit 98f9fda2057b and fixed in 6.10.14 with commit 3d51ab44123f Issue introduced in 6.8 with commit 98f9fda2057b and fixed in 6.11.3 with commit 97c953572d98 Issue introduced in 6.8 with commit 98f9fda2057b and fixed in 6.12-rc2 with commit ff98751bae40 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-49999 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: fs/afs/fs_operation.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/3d51ab44123f35dd1d646d99a15ebef10f55e263 https://git.kernel.org/stable/c/97c953572d98080c5f1486155350bb688041747a https://git.kernel.org/stable/c/ff98751bae40faed1ba9c6a7287e84430f7dec64