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 50380173352 for ; Fri, 21 Jun 2024 11:18:54 +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=1718968735; cv=none; b=RTHPAF/XEt3BcO8DXlFgnTd7q5A2kMLhZ2XhyLMHyZy7RpHFBq/aD408I1ozP28vsw5WIWAngLNdNQa7A+clGFFsinrh01YUPIkdo29tJB5xMYBANYiKmVzl7Tk6AWMJaPOD1VqdFcUhsRHyEXO2Uv8XRrNdnJBAdwgaNugHSQQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718968735; c=relaxed/simple; bh=B4MC37DIaLoOLRbsYia0+VGo7O7p8Hv+9eYJTUg6D0M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dSnP/IJK9/Gj8/p55ybsvgeWsvvFSO0vc2t8P9lBOu1FlxsVSElRoZ798E2KeoduuYZfEkcf8fGsTCUyEkB5Nupm0U17WniWirWyL4yXycHmKkQH3y5ywk1lgTJn0BXMDXRot2PP0sAXBH/FFaWQ1JjaqLoQPQCrouVKfdFVhKI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Qr4rL0td; 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="Qr4rL0td" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6359BC2BBFC; Fri, 21 Jun 2024 11:18:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718968734; bh=B4MC37DIaLoOLRbsYia0+VGo7O7p8Hv+9eYJTUg6D0M=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Qr4rL0tdBXvYn2/D7kA5XZ5FJgFbHXkfdARXVMdnGn9N8yqEFnBSxg69SU5ngqEnr 6rCxg/7i8WbRiez0cLOUSDNgDA+/a+4br2sdyuIXfnz22GamS0o9lfNgtuq3vSWlQQ SzPMya3LNUesnP0fWG82e5OEwQU47nZ36xdOMVWw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-36288: SUNRPC: Fix loop termination condition in gss_free_in_token_pages() Date: Fri, 21 Jun 2024 13:18:52 +0200 Message-ID: <2024062150-CVE-2024-36288-d24a@gregkh> X-Mailer: git-send-email 2.45.2 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=2365; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=B4MC37DIaLoOLRbsYia0+VGo7O7p8Hv+9eYJTUg6D0M=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmlibOcLsyKX+01+2+BtI/i2pDn1h7NKoZqyxlTHj2Yf VLSP9SiI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYSf4Rhfn1j/paSP9vW6Hd1 y37u+sZ85JWpI8M83WJNM+6q6V5C0p8a5uYn9zmEfXkBAA== 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: SUNRPC: Fix loop termination condition in gss_free_in_token_pages() The in_token->pages[] array is not NULL terminated. This results in the following KASAN splat: KASAN: maybe wild-memory-access in range [0x04a2013400000008-0x04a201340000000f] The Linux kernel CVE team has assigned CVE-2024-36288 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9.3 with commit 8ca148915670 and fixed in 6.9.4 with commit 0a1cb0c6102b Issue introduced in 6.10-rc1 with commit bafa6b4d95d9 and fixed in 6.10-rc3 with commit 4a77c3dead97 Issue introduced in 6.8.12 with commit a3c1afd5d7ad 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-36288 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/sunrpc/auth_gss/svcauth_gss.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/57ff6c0a175930856213b2aa39f8c845a53e5b1c https://git.kernel.org/stable/c/6ed45d20d30005bed94c8c527ce51d5ad8121018 https://git.kernel.org/stable/c/4cefcd0af7458bdeff56a9d8dfc6868ce23d128a https://git.kernel.org/stable/c/b4878ea99f2b40ef1925720b1b4ca7f4af1ba785 https://git.kernel.org/stable/c/f9977e4e0cd98a5f06f2492b4f3547db58deabf5 https://git.kernel.org/stable/c/af628d43a822b78ad8d4a58d8259f8bf8bc71115 https://git.kernel.org/stable/c/0a1cb0c6102bb4fd310243588d39461da49497ad https://git.kernel.org/stable/c/4a77c3dead97339478c7422eb07bf4bf63577008