{"id":"CVE-2026-53188","state":"PUBLISHED","title":"RDMA/core: Validate the passed in fops for ib_get_ucaps()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/core: Validate the passed in fops for ib_get_ucaps()\n\nSashiko pointed out it is not safe to rely only on the devt because\nchar/block alias so if the user finds a block device with the same dev_t\nit can masquerade as a ucap cdev fd.\n\nTest the f_ops to only accept authentic cdevs.","publishedAt":"2026-06-25T08:39:00.960Z","updatedAt":"2026-10-19T19:57:27.314Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"61e51682816d395307f78ae06d640089054c28ab","status":"affected","lessThan":"96b6e98ff12d50ed5817230c6f1188e1150d225d","versionType":"git"},{"version":"61e51682816d395307f78ae06d640089054c28ab","status":"affected","lessThan":"aa181287ebdcc53ee0ba5c2f8243e2d541ebc19b","versionType":"git"},{"version":"61e51682816d395307f78ae06d640089054c28ab","status":"affected","lessThan":"4a1b1ac2744694a2ecd66a84bdb1445f4ef24bee","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/core/ucaps.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.18.36","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.13","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/core/ucaps.c"]}],"references":["https://git.kernel.org/stable/c/96b6e98ff12d50ed5817230c6f1188e1150d225d","https://git.kernel.org/stable/c/aa181287ebdcc53ee0ba5c2f8243e2d541ebc19b","https://git.kernel.org/stable/c/4a1b1ac2744694a2ecd66a84bdb1445f4ef24bee"],"weaknesses":["CWE-285"],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/53xxx/CVE-2026-53188.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53188","state":"PUBLISHED","datePublished":"2026-06-25T08:39:00.960Z","dateUpdated":"2026-10-19T19:57:27.314Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-06-09T07:44:35.390Z"},"containers":{"cna":{"title":"RDMA/core: Validate the passed in fops for ib_get_ucaps()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/core: Validate the passed in fops for ib_get_ucaps()\n\nSashiko pointed out it is not safe to rely only on the devt because\nchar/block alias so if the user finds a block device with the same dev_t\nit can masquerade as a ucap cdev fd.\n\nTest the f_ops to only accept authentic cdevs."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"61e51682816d395307f78ae06d640089054c28ab","status":"affected","lessThan":"96b6e98ff12d50ed5817230c6f1188e1150d225d","versionType":"git"},{"version":"61e51682816d395307f78ae06d640089054c28ab","status":"affected","lessThan":"aa181287ebdcc53ee0ba5c2f8243e2d541ebc19b","versionType":"git"},{"version":"61e51682816d395307f78ae06d640089054c28ab","status":"affected","lessThan":"4a1b1ac2744694a2ecd66a84bdb1445f4ef24bee","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/core/ucaps.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.18.36","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.13","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/core/ucaps.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/96b6e98ff12d50ed5817230c6f1188e1150d225d"},{"url":"https://git.kernel.org/stable/c/aa181287ebdcc53ee0ba5c2f8243e2d541ebc19b"},{"url":"https://git.kernel.org/stable/c/4a1b1ac2744694a2ecd66a84bdb1445f4ef24bee"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerable path is reached locally through the RDMA uverbs character device by submitting GET_CONTEXT with a user-controlled fd array.\nAC:L - There is no race or fragile memory condition; on a system with a matching accessible block-device dev_t, exploitation is a straightforward fd substitution.\nPR:L - An unprivileged local user can open the world-accessible uverbs device, and the bypass avoids the intended root-only UCAP character device permission check.\nUI:N - No victim action is required once the attacker can run local code and open the relevant device files.\nS:C - The bypass can grant mlx5 RDMA control capabilities including other-VHCA control, plausibly affecting HCA/vport resources outside the attacker's normal RDMA security context.\nC:H - Unauthorized RDMA control and flow steering can expose or redirect RDMA traffic and resources that should require an explicitly granted UCAP.\nI:H - The attacker can obtain privileged RDMA/HCA control capabilities that may allow modification or redirection of RDMA flow state and other protected device behavior.\nA:H - The same unauthorized control can be used to drop, disrupt, or exhaust RDMA/HCA resources, causing loss of availability for affected RDMA workloads."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:33:55.380Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.18.36"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.0.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-53188","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T15:26:27.618185Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-285","lang":"en","type":"CWE","description":"CWE-285 Improper Authorization"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T19:57:27.314Z"}}]}}}