Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 61e51682816d395307f78ae06d640089054c28ab before 96b6e98ff12d50ed5817230c6f1188e1150d225d; affected 61e51682816d395307f78ae06d640089054c28ab before aa181287ebdcc53ee0ba5c2f8243e2d541ebc19b; affected 61e51682816d395307f78ae06d640089054c28ab before 4a1b1ac2744694a2ecd66a84bdb1445f4ef24bee |
| Linux / Linux | affected 6.15; unaffected 0 before 6.15; unaffected 6.18.36 through 6.18.*; unaffected 7.0.13 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/96b6e98ff12d50ed5817230c6f1188e1150d225d
- https://git.kernel.org/stable/c/aa181287ebdcc53ee0ba5c2f8243e2d541ebc19b
- https://git.kernel.org/stable/c/4a1b1ac2744694a2ecd66a84bdb1445f4ef24bee
ADP enrichment
No English description supplied.
No references supplied.