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 3AEBA4A5C2F for ; Thu, 24 Sep 2026 15:57:00 +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=1790265421; cv=none; b=PTWKwjZP96oEw8E+TgGy8pc8KvibakZqftAvmS5tgjoYRik1X+UOUuQg2PhJnAEsT9Mzzbz7zKwt1i8WL/YBPvqCe7NCs1YhZSLYN6+OjzpRemN0Pf1qzT5CwO65P8439fCeHjSoMy6LxrecOOtLSo6Rui+RNAaqlnITzHLrSII= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790265421; c=relaxed/simple; bh=Wi7AVRY3VRk5KrMo+JbuqUdTIuq42z6xmU0vkYm0QmM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Zf3NYzzrKgLlFrNcQkglzIMyv3r4TRoTV2u8uKMbzpbfLypsHG/Gb8Ck2HoC0omVEFimrG1t4qSqMNATE+csrK5ISpzkpj82uMs/XyV/PVLYZPn6t3SB9aEnEcI0t5kkOUDp0/J5TXBrNxppefsS4NrvBcPQiO5+/X08ucv5OSk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FpmsktHs; 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="FpmsktHs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5DC9A1F000FF; Thu, 24 Sep 2026 15:56:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790265420; bh=QeAEaSN0KZzpwexSXZNADgg9iS1Po7Hc9JJVAH4BBaM=; h=From:To:Cc:Subject:Date:Reply-To; b=FpmsktHsNLeV+27yuFKhdVai1kTtgg8q0eNTeqqi65ULm3K/rLeKuo9RBeZnLDcw+ GMOsxgVVaf4NTqdm8B4DUZrX20p+Sm3Fja5/kQfU30rudbMwWCk7oLPj+9CNhlEtYC 6i6TP8tyrDm2XvFB2Vd/I2QsNGGj58jRitEA4BM8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-93277: RDMA/bnxt_re: Validate udata before executing commands Date: Thu, 24 Sep 2026 17:51:37 +0200 Message-ID: <2026092413-CVE-2026-93277-7042@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=2492; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=mhXDlH9K2mFInVDKmBlcEjoH/SK9mtjSrS/KO4NBGH4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlb3T6umVR95GuXTuGNmKILjze39D9e7iWpzcmcsmD66 R9rN0sd74hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJFPxmmB/4ScO7f9lGifjp u+v3LxVj0bFYbsswV+rWAYk/kbrTTeTUAsVnBxRcvm22EQA= 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/bnxt_re: Validate udata before executing commands The destroy callbacks currently zero the udata output after tearing down driver resources. If the userspace access fails, uverbs preserves the uobject and allows the destroy callback to run again, even though the driver resource has already been freed. Call ib_no_udata_io() before teardown so udata failures are detected while the resource is still intact, then return success after teardown completes. As part of this change, move ib_respond_empty_udata() to the start of the create and modify flows. While this is not strictly required for general create flows, as the core layer unwinds uobjects on failure, it is necessary for create AH. In _rdma_create_ah(), the HW object is otherwise leaked. The Linux kernel CVE team has assigned CVE-2026-93277 to this issue. Affected and fixed versions =========================== Issue introduced in 7.1 with commit bed686d8dcd4fbcaa18cf67468caaf8772acfc7a and fixed in 7.2.6 with commit c5643ea4f040acc2f4d1e88f49bd0be51110ff2f Issue introduced in 7.1 with commit bed686d8dcd4fbcaa18cf67468caaf8772acfc7a and fixed in 7.3-rc1 with commit d38c835925d4a3bfdf0a85ff2829ee90c709c561 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-93277 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/bnxt_re/ib_verbs.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/c5643ea4f040acc2f4d1e88f49bd0be51110ff2f https://git.kernel.org/stable/c/d38c835925d4a3bfdf0a85ff2829ee90c709c561