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 861B11553AF for ; Wed, 3 Apr 2024 17:31:50 +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=1712165510; cv=none; b=dXF2pVLou5FB8iXz89l6PJYDxq+5HeYJSYTDBuYojETnRlBiv9azOlNqFFjpwMkeV0FQiHttTJply/b2SF5QV1DkXDwHMLPZCvFQCmAHLpLzGx5/6O689Cbkx6Vs5UawIcISsnHprSmIy2aB+QSg3nQsftxi0rFOpN7kKx7zMQM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712165510; c=relaxed/simple; bh=US2Nldjxr+PSrwREFRwiGWU2aBb0Au7HCTf7BnMfjrU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SooM2OzzU7sCyf4PZZ0ME1DW6FaoxHqrTXBNnRrfLvtAnZHSX490/0LpOcsvTDse2lwopIdFmMYpGqy8/bLc1N1nvqg16LStpmJHdVo5lgDajyRfpqDgmsr6pDExDzjswwVB6aru3v3/bL1au5XQfD2JZUmlANgMaXEMoT5jcdc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vPrZ1TMb; 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="vPrZ1TMb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 817D6C433C7; Wed, 3 Apr 2024 17:31:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712165510; bh=US2Nldjxr+PSrwREFRwiGWU2aBb0Au7HCTf7BnMfjrU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=vPrZ1TMb0v8Pvk6WIA8eYDNxCT7T71NYv0UCbA91clyZINPfUnOsj3wx/J2i8Vj0V Kql9Lql9b6S1OJG8kcO0R6S4TZB/NjgLYsl7Z4ptIBvQ5d/7jtB6BrTM3EhdnXcdGR wWKPpvyfGVdhQv0OhMZYb8Z+4pItcXHdqAaYphLM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26744: RDMA/srpt: Support specifying the srpt_service_guid parameter Date: Wed, 3 Apr 2024 19:31:14 +0200 Message-ID: <2024040301-CVE-2024-26744-d344@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=3046; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=US2Nldjxr+PSrwREFRwiGWU2aBb0Au7HCTf7BnMfjrU=; b=owGbwMvMwCRo6H6F97bub03G02pJDGm8k0I7bpVLcDa8n79ZrHbeXw0FhjkTKzYv/p8/W25fs nuacS5jRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEyEIYBhNovvlKw/GkfCUgsj DT7zZBYFL920jmF+2Zol35RkNhs3cojNti16vGDNoSPLAA== 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/srpt: Support specifying the srpt_service_guid parameter Make loading ib_srpt with this parameter set work. The current behavior is that setting that parameter while loading the ib_srpt kernel module triggers the following kernel crash: BUG: kernel NULL pointer dereference, address: 0000000000000000 Call Trace: parse_one+0x18c/0x1d0 parse_args+0xe1/0x230 load_module+0x8de/0xa60 init_module_from_file+0x8b/0xd0 idempotent_init_module+0x181/0x240 __x64_sys_finit_module+0x5a/0xb0 do_syscall_64+0x5f/0xe0 entry_SYSCALL_64_after_hwframe+0x6e/0x76 The Linux kernel CVE team has assigned CVE-2024-26744 to this issue. Affected and fixed versions =========================== Issue introduced in 3.3 with commit a42d985bd5b2 and fixed in 4.19.308 with commit 84f1dac960cf Issue introduced in 3.3 with commit a42d985bd5b2 and fixed in 5.10.211 with commit 5a5c039dac1b Issue introduced in 3.3 with commit a42d985bd5b2 and fixed in 5.15.150 with commit 989af2f29342 Issue introduced in 3.3 with commit a42d985bd5b2 and fixed in 6.1.80 with commit aee4dcfe1721 Issue introduced in 3.3 with commit a42d985bd5b2 and fixed in 6.6.19 with commit fe2a73d57319 Issue introduced in 3.3 with commit a42d985bd5b2 and fixed in 6.7.7 with commit c99a827d3cff Issue introduced in 3.3 with commit a42d985bd5b2 and fixed in 6.8 with commit fdfa083549de 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-26744 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/ulp/srpt/ib_srpt.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/84f1dac960cfa210a3b7a7522e6c2320ae91932b https://git.kernel.org/stable/c/5a5c039dac1b1b7ba3e91c791f4421052bf79b82 https://git.kernel.org/stable/c/989af2f29342a9a7c7515523d879b698ac8465f4 https://git.kernel.org/stable/c/aee4dcfe17219fe60f2821923adea98549060af8 https://git.kernel.org/stable/c/fe2a73d57319feab4b3b175945671ce43492172f https://git.kernel.org/stable/c/c99a827d3cff9f84e1cb997b7cc6386d107aa74d https://git.kernel.org/stable/c/fdfa083549de5d50ebf7f6811f33757781e838c0