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 3859D41C6D for ; Fri, 26 Apr 2024 12:20:02 +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=1714134003; cv=none; b=RdzS32ZKnvNVYH2RbUCWCIT74o2E928+OLoBq+vRSaMyMKQWd8YBWMUXX3jsvJSQ3zDsplgalymHZbxCtHiwuC8ar7wv2o7Qu4Splnx4WD2nbwFYlovX9StNKQaP95R3pfIMwfjAAUcohQGGXErDLejZfdnsW0Wb5xarVLTFZeQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714134003; c=relaxed/simple; bh=EM/z43IooyFZjdc3/xDRsRQg4P4PIMMhIIAYNe/VasA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HGvrKcCOb+vkAt1kyhINhVnlAmURwC3IT1WWsMZsiYITmnPr2q8wFKf3uH0cvjMXjNbL7LhfZqPc4p0op16YKPO0rXf4DAUCyAjwIiWhgMkLiuvDS/EskyAcmJabH87t5swZsh7pFb9VYXMAzVXKFPCfP7Qq/UwkgF1Uxi9IaTI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sm9x2lqT; 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="sm9x2lqT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35B94C113CD; Fri, 26 Apr 2024 12:20:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714134002; bh=EM/z43IooyFZjdc3/xDRsRQg4P4PIMMhIIAYNe/VasA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=sm9x2lqTM56R+x3CJuqAIDs8ekNQvFOAsbnugqZ/ER+nJ+52MAICapLSSz8JWVegT 9LoYnnpANaMP5Or9TEi97chSrgzaU8m/A6y/kj7GT7q11UtMqdQPMYDHYLV2WXTmTS 4vPJfJRjuf3YltMwHhDjd683fC6UbBqqn7cUgMD8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52646: aio: fix mremap after fork null-deref Date: Fri, 26 Apr 2024 14:19:56 +0200 Message-ID: <2024042655-CVE-2023-52646-3ebb@gregkh> X-Mailer: git-send-email 2.44.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=2710; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=EM/z43IooyFZjdc3/xDRsRQg4P4PIMMhIIAYNe/VasA=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnas1/v6T3gq/72ss/mv/v2HQxzZTx4WsKs5PWOI/VvG ONs3l+43BHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQAT+SbGML9mYVNpy7n9t2IF /lrXG3lzhN8NecKwYNnSGgHO+baM57/O407m/rmlKsDnDwA= 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: aio: fix mremap after fork null-deref Commit e4a0d3e720e7 ("aio: Make it possible to remap aio ring") introduced a null-deref if mremap is called on an old aio mapping after fork as mm->ioctx_table will be set to NULL. [jmoyer@redhat.com: fix 80 column issue] The Linux kernel CVE team has assigned CVE-2023-52646 to this issue. Affected and fixed versions =========================== Issue introduced in 3.19 with commit e4a0d3e720e7 and fixed in 4.14.306 with commit 808f1e4b5723 Issue introduced in 3.19 with commit e4a0d3e720e7 and fixed in 4.19.273 with commit d8dca1bfe9ad Issue introduced in 3.19 with commit e4a0d3e720e7 and fixed in 5.4.232 with commit 4326d0080f7e Issue introduced in 3.19 with commit e4a0d3e720e7 and fixed in 5.10.169 with commit c261f798f7ba Issue introduced in 3.19 with commit e4a0d3e720e7 and fixed in 5.15.95 with commit 178993157e8c Issue introduced in 3.19 with commit e4a0d3e720e7 and fixed in 6.1.13 with commit af126acf01a1 Issue introduced in 3.19 with commit e4a0d3e720e7 and fixed in 6.2 with commit 81e9d6f86476 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-2023-52646 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/aio.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/808f1e4b5723ae4eda724d2ad6f6638905eefd95 https://git.kernel.org/stable/c/d8dca1bfe9adcae38b35add64977818c0c13dd22 https://git.kernel.org/stable/c/4326d0080f7e84fba775da41d158f46cf9d3f1c2 https://git.kernel.org/stable/c/c261f798f7baa8080cf0214081d43d5f86bb073f https://git.kernel.org/stable/c/178993157e8c50aef7f35d7d6d3b44bb428199e1 https://git.kernel.org/stable/c/af126acf01a12bdb04986fd26fc2eb3b40249e0d https://git.kernel.org/stable/c/81e9d6f8647650a7bead74c5f926e29970e834d1