summaryrefslogtreecommitdiff
path: root/drivers/clk/aspeed/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2026-05-26 12:40:25 -0300
committerJason Gunthorpe <jgg@nvidia.com>2026-06-01 21:19:11 -0300
commit4a1b1ac2744694a2ecd66a84bdb1445f4ef24bee (patch)
treed22a641e68636a626427834a5a8fc6ab24e37ad4 /drivers/clk/aspeed/git@git.tavy.me:linux.git
parente43ffb69e0438cddd72aaa30898b4dc446f664f8 (diff)
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. Link: https://patch.msgid.link/r/0-v1-fd9482545e37+1e25-ib_ucaps_fd_ops_jgg@nvidia.com Cc: stable@vger.kernel.org Fixes: 61e51682816d ("RDMA/uverbs: Introduce UCAP (User CAPabilities) API") Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/clk/aspeed/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions