Description: RDMA/core: Prevent divide-by-zero error triggered by the user References: Notes: carnil> Introduced in 9f85cbe50aa0 ("RDMA/uverbs: Expose the new GID query API to user carnil> space"). Vulnerable versions: 5.10-rc1. Bugs: upstream: released (5.13-rc3) [54d87913f147a983589923c7f651f97de9af5be1] 6.7-upstream-stable: N/A "Fixed before branching point" 6.6-upstream-stable: N/A "Fixed before branching point" 6.1-upstream-stable: N/A "Fixed before branching point" 5.10-upstream-stable: released (5.10.40) [66ab7fcdac34b890017f04f391507ef5b2b89a13] 4.19-upstream-stable: N/A "Vulnerable code not present" sid: released (5.10.40-1) 6.1-bookworm-security: N/A "Fixed before branching point" 5.10-bullseye-security: N/A "Fixed before branching point" 4.19-buster-security: N/A "Vulnerable code not present"