All reports
Medium

kernel: RDMA/core: Validate the passed in fops for ib_get_ucaps()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-53188

Probability of exploitation in the next 30 days: 0.16%

FIRST EPSS · 2026-11-20

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.

A flaw was found in the Linux kernel's RDMA/core component. This vulnerability arises from insufficient validation of file operations (fops) passed to the ib_get_ucaps() function. A local attacker could exploit this by creating a block device with a device number (dev_t) that aliases a character device (char/block alias), allowing them to masquerade as a legitimate user capabilities (ucap) character device file descriptor. This impersonation could lead to a security bypass, potentially granting unauthorized access to RDMA capabilities.