RDMA/core: Make sure "ib_port" is valid when access sysfs node
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v6.0.16 by commit ac7a7d7079124f46180714b2d41a1703d37101bb, it was introduced in version v5.14 by commit d8a5883814b9f7c08d7ff291070687d925b4f859. For more details please see the references link.