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 DFDC31E8856 for ; Mon, 21 Oct 2024 12:17:21 +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=1729513042; cv=none; b=pB93JIpjhDjBp5UpczKfWcZB6R1L2KTgGjoXcN1IzHv/Ght77ATvRoR9qoWr3WLOV+3sNG/nN1GkWOp0PrW+8te2PXdqlp7uUbXWoumfIvkZGWa1t0RiXjqkl5GhHkbftmQGQ9ftflC75sVSS23wGwh/T6uOTRFXGiOeb5p1Tjg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729513042; c=relaxed/simple; bh=EiOv/S8ELHAoJlzjFehV+izTWZ+S3625fxiGCdgv6yY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=eAESvnfWOXDpv4dsrqadai4RuvQHjRsKCwoXmyyEqk9kHwiX56IWSljLUaKbxaPnMMT8MzsnmbfHKYX4m3jDOk2z9SD+S6JdGIl0F+NQ4qGIeOatWAI24vC3fQcQ9+q0jjljkYspmxGbkHUpojFHsqnfzwYzF3rDy54p/u13Opw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FoWXPvS0; 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="FoWXPvS0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1B906C4CEC3; Mon, 21 Oct 2024 12:17:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729513041; bh=EiOv/S8ELHAoJlzjFehV+izTWZ+S3625fxiGCdgv6yY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=FoWXPvS0f2lLfRy4U4eKraDAE7ukiX3c8DNnwUjc0I3S0cAHJU6JgWR5HwTyfLw0x eh4zZ9XgmiRK6k04MczGuZvOO86bLx5q8h8umsbT4kUtxHTGF4jDTXWY4NW5/z65Vm KgHeDO96yavVcCXyfGtPnjpIJj1ApwXIMVeruSYg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-47749: RDMA/cxgb4: Added NULL check for lookup_atid Date: Mon, 21 Oct 2024 14:16:28 +0200 Message-ID: <2024102112-CVE-2024-47749-c227@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=2891; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=EiOv/S8ELHAoJlzjFehV+izTWZ+S3625fxiGCdgv6yY=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlibrxbbk2f231Qd6m32O3tP6OU91ZseSI+U+T/lNg1M +77fjjzqyOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAm4nWIYX7I67qDfdVN4Ve9 FFy/h0eH79tylolhnuKt3Lv7vfYWfPSSz7jk947TS9FoDwA= 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: RDMA/cxgb4: Added NULL check for lookup_atid The lookup_atid() function can return NULL if the ATID is invalid or does not exist in the identifier table, which could lead to dereferencing a null pointer without a check in the `act_establish()` and `act_open_rpl()` functions. Add a NULL check to prevent null pointer dereferencing. Found by Linux Verification Center (linuxtesting.org) with SVACE. The Linux kernel CVE team has assigned CVE-2024-47749 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.35 with commit cfdda9d76436 and fixed in 5.10.227 with commit dd598ac57dca Issue introduced in 2.6.35 with commit cfdda9d76436 and fixed in 5.15.168 with commit b11318dc8a1e Issue introduced in 2.6.35 with commit cfdda9d76436 and fixed in 6.1.113 with commit 39cb9f399135 Issue introduced in 2.6.35 with commit cfdda9d76436 and fixed in 6.6.54 with commit 0d50ae281a17 Issue introduced in 2.6.35 with commit cfdda9d76436 and fixed in 6.10.13 with commit 54aaa3ed4097 Issue introduced in 2.6.35 with commit cfdda9d76436 and fixed in 6.11.2 with commit b9c94c8ba5a7 Issue introduced in 2.6.35 with commit cfdda9d76436 and fixed in 6.12-rc1 with commit e766e6a92410 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-47749 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: drivers/infiniband/hw/cxgb4/cm.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/dd598ac57dcae796cb58551074660c39b43fb155 https://git.kernel.org/stable/c/b11318dc8a1ec565300bb1a9073095af817cc508 https://git.kernel.org/stable/c/39cb9f39913566ec5865581135f3e8123ad1aee1 https://git.kernel.org/stable/c/0d50ae281a1712b9b2ca72830a96b8f11882358d https://git.kernel.org/stable/c/54aaa3ed40972511e423b604324b881425b9ff1e https://git.kernel.org/stable/c/b9c94c8ba5a713817cffd74c4bacc05187469624 https://git.kernel.org/stable/c/e766e6a92410ca269161de059fff0843b8ddd65f