From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 B27D257D233 for ; Fri, 11 Sep 2026 19:53:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156416; cv=none; b=gyjMM5idHcfuzXW22M+oko3hrW0H8RHUNr49hmD992qrpfZtUSwD4DEQNVDqDEX5W9g8s28cs6f/oAdMJhxIARdicFDU7d0vWopKGoyjr7yE0qxSVVAzqU2noQ3Ja8jTFBEAcTt6iAr0LtOAETkP3g/FNE2p5pyZmfD+m1AK7oo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156416; c=relaxed/simple; bh=QCnRjx0oEq6MFq3WSNQLkhjCOpLiAUYMbGYfJAH6b6g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Wbjm5dngkSFkRUUBmN2inHtMFV6nyp69E+AdGulXeOXm14zlfjJ+7uLdgQlJsFTETRxo9JWXd6f/6KaM+pdfkPmo3K1QAWnP+wwJRIQ3pEmWSzS42HAFHpA96H/2RBBSTkVxGFYJAQlczlocGrenY6ohPJzqM/pJtX74Jr1Nu3Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=P7+ufA69; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="P7+ufA69" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6348E1F000FF; Fri, 11 Sep 2026 19:53:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156407; bh=UWpY9Oj9eFTiAiluQmIoY3k2ba51rECI15qejVl8P3M=; h=From:To:Cc:Subject:Date:Reply-To; b=P7+ufA69rbFWUivzeUCWAPfaF+eHbDM8MspqOP5lw0euxKdwH4iKQbkPUN0dkO6cS 2ZLVV+Mm2HGzKs88ebKP2M4yCaBCG7mufovYE4eIED4wfEkAbDx9yUzj1rMxdGUc++ kga6oaic0h/LA+EngV7i3g1fTnvCMha6Lp7yQrSs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89506: RDMA/uverbs: Add UVERBS_ATTR_UHW to UVERBS_METHOD_REG_MR Date: Fri, 11 Sep 2026 21:43:15 +0200 Message-ID: <2026091111-CVE-2026-89506-414a@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2481; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=68dUzaMC2/0nPobncFtWS6Us20uif+FTQT4rzVlsIqc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIsPfbtZeI/ao4q+t4cntW7fLc/zf8lNsx5Y699IFo p+bN3+o64hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJmF5hmKd9oa9o39EPa+r3 iugdOeH5hUXa5TvDPP3UnHaJrNXPF07/uEViWdFRj/o6fQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: RDMA/uverbs: Add UVERBS_ATTR_UHW to UVERBS_METHOD_REG_MR The original commit missed that three drivers (mthca, irdma, siw) have UHW data associated with reg_mr that cannot be passed through the ioctl. They also assume that the udata cannot be NULL, so failing to pass a valid udata can trigger a NULL udata crash in those drivers. This never happens in real systems since in rdma-core ibv_cmd_reg_mr_ex() does not accept a udata and those three drivers don't use it, however a malicious userspace could trigger it. The Linux kernel CVE team has assigned CVE-2026-89506 to this issue. Affected and fixed versions =========================== Issue introduced in 6.17 with commit 5b2e45049dc06a876bc6b138218ddeb0814502ef and fixed in 6.18.50 with commit 71d5c41ac583df09a7c32199bef7d42de7267d07 Issue introduced in 6.17 with commit 5b2e45049dc06a876bc6b138218ddeb0814502ef and fixed in 7.2.4 with commit 9e71d0f4944ba5641e01db29b3256c963656d671 Issue introduced in 6.17 with commit 5b2e45049dc06a876bc6b138218ddeb0814502ef and fixed in 7.3-rc1 with commit 011199f46f44a9fd93a9e5ab5d7fd1328d80e9bf 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-2026-89506 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/core/uverbs_std_types_mr.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/71d5c41ac583df09a7c32199bef7d42de7267d07 https://git.kernel.org/stable/c/9e71d0f4944ba5641e01db29b3256c963656d671 https://git.kernel.org/stable/c/011199f46f44a9fd93a9e5ab5d7fd1328d80e9bf