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 5FAA514883F for ; Thu, 25 Jun 2026 08:45:23 +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=1782377124; cv=none; b=XLki5bAfiEGnvH8cF31hrULMpto1Zb8egLHMheKVZNTk582BCO9i4HOnCaTfxgUWo/06zhwic35ux4OGGs+qFp1CkXrsWH4yRBWR+qLJU33ACe4GDG92VvJlWT7bGuPWdnhKdh4SKP5LOMGtQIDM80t+qq8ocmDmgVIIKpDYDAw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782377124; c=relaxed/simple; bh=k/ibcEDKVUg9X716aqwcuOn+GfaB8KS8jgYBASEDXoY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bzDgfO/v+wpVCHL+4D1fqyMZATPFlfTcmfFzEU7As4aY40FeMhgoh+yGVoDTq9du33EjPjdfGi/bj5zcJGg17ZikTBgCDxVqR197t1t+Q52CbD40LY0I7DS9Kn0mU7+SS64uWzVRNJb20tQ9PL1IZdHX78NAIId6dsBSU9mtGLc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Bfhu3axa; 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="Bfhu3axa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A48D61F000E9; Thu, 25 Jun 2026 08:45:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782377123; bh=FS1drhPEZZARz9vsurWGmbK5UEZH/LtBWmJupFQfOBQ=; h=From:To:Cc:Subject:Date:Reply-To; b=Bfhu3axaA/dc43BAy/NXXAqG4lTcPy/7Qtzmk+QcCr/Ip+GcVy1xhofdF5+Psejhy IOF6fRAZoDcnnIRs0iHd9GwSvN/0gDyXGXsVWDtyZygigR8PWckXQ/00J+7WMhrE0K tFTYFdhhk2KWRm5ceafDLQooJaB9QqxiphTSpdy8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53188: RDMA/core: Validate the passed in fops for ib_get_ucaps() Date: Thu, 25 Jun 2026 09:40:36 +0100 Message-ID: <2026062557-CVE-2026-53188-8d3d@gregkh> X-Mailer: git-send-email 2.54.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=2229; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=9clpolAvKedtbJMCvhImYBbafNwVpw+JV8gZUlXzeV8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2L2NnynfH6HO+mJW+tWnCzC5BgeVST9xcdr75OsWab 7aWTK5hRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExkKyfDPJsJ/IcPPms70/W4 v9vA/cqLWsNUQ4YF+ypexlp/8pGVtwmaUqoyzeRIyW9GAA== 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/core: Validate the passed in fops for ib_get_ucaps() Sashiko pointed out it is not safe to rely only on the devt because char/block alias so if the user finds a block device with the same dev_t it can masquerade as a ucap cdev fd. Test the f_ops to only accept authentic cdevs. The Linux kernel CVE team has assigned CVE-2026-53188 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit 61e51682816d395307f78ae06d640089054c28ab and fixed in 6.18.36 with commit 96b6e98ff12d50ed5817230c6f1188e1150d225d Issue introduced in 6.15 with commit 61e51682816d395307f78ae06d640089054c28ab and fixed in 7.0.13 with commit aa181287ebdcc53ee0ba5c2f8243e2d541ebc19b Issue introduced in 6.15 with commit 61e51682816d395307f78ae06d640089054c28ab and fixed in 7.1 with commit 4a1b1ac2744694a2ecd66a84bdb1445f4ef24bee 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-53188 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/ucaps.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/96b6e98ff12d50ed5817230c6f1188e1150d225d https://git.kernel.org/stable/c/aa181287ebdcc53ee0ba5c2f8243e2d541ebc19b https://git.kernel.org/stable/c/4a1b1ac2744694a2ecd66a84bdb1445f4ef24bee