{"id":"CVE-2026-31492","state":"PUBLISHED","title":"RDMA/irdma: Initialize free_qp completion before using it","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/irdma: Initialize free_qp completion before using it\n\nIn irdma_create_qp, if ib_copy_to_udata fails, it will call\nirdma_destroy_qp to clean up which will attempt to wait on\nthe free_qp completion, which is not initialized yet. Fix this\nby initializing the completion before the ib_copy_to_udata call.","publishedAt":"2026-04-22T13:54:15.581Z","updatedAt":"2026-05-11T22:09:46.883Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"ac1da7bd224d406b6f1b84414f0f652ab43b6bd8","versionType":"git"},{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"af310407f79d5816fc0ab3638e1588b6193316dd","versionType":"git"},{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"cd1534c8f4984432382c240f6784408497f5bb0a","versionType":"git"},{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"3cb88c12461b71c7d9c604aa2e6a9a477ecfa147","versionType":"git"},{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"f72996834f7bdefc2b95e3eec30447ee195df44e","versionType":"git"},{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"11a95521fb93c91e2d4ef9d53dc80ef0a755549b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/irdma/verbs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.14","versionType":"semver"},{"version":"6.1.168","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.131","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.80","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.21","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.11","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/irdma/verbs.c"]}],"references":["https://git.kernel.org/stable/c/ac1da7bd224d406b6f1b84414f0f652ab43b6bd8","https://git.kernel.org/stable/c/af310407f79d5816fc0ab3638e1588b6193316dd","https://git.kernel.org/stable/c/cd1534c8f4984432382c240f6784408497f5bb0a","https://git.kernel.org/stable/c/3cb88c12461b71c7d9c604aa2e6a9a477ecfa147","https://git.kernel.org/stable/c/f72996834f7bdefc2b95e3eec30447ee195df44e","https://git.kernel.org/stable/c/11a95521fb93c91e2d4ef9d53dc80ef0a755549b"],"weaknesses":[],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/31xxx/CVE-2026-31492.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-31492","state":"PUBLISHED","datePublished":"2026-04-22T13:54:15.581Z","dateUpdated":"2026-05-11T22:09:46.883Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-03-09T15:48:24.102Z"},"containers":{"cna":{"title":"RDMA/irdma: Initialize free_qp completion before using it","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/irdma: Initialize free_qp completion before using it\n\nIn irdma_create_qp, if ib_copy_to_udata fails, it will call\nirdma_destroy_qp to clean up which will attempt to wait on\nthe free_qp completion, which is not initialized yet. Fix this\nby initializing the completion before the ib_copy_to_udata call."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"ac1da7bd224d406b6f1b84414f0f652ab43b6bd8","versionType":"git"},{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"af310407f79d5816fc0ab3638e1588b6193316dd","versionType":"git"},{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"cd1534c8f4984432382c240f6784408497f5bb0a","versionType":"git"},{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"3cb88c12461b71c7d9c604aa2e6a9a477ecfa147","versionType":"git"},{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"f72996834f7bdefc2b95e3eec30447ee195df44e","versionType":"git"},{"version":"b48c24c2d710cf34810c555dcef883a3d35a9c08","status":"affected","lessThan":"11a95521fb93c91e2d4ef9d53dc80ef0a755549b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/irdma/verbs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.14","versionType":"semver"},{"version":"6.1.168","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.131","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.80","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.21","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.11","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/irdma/verbs.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/ac1da7bd224d406b6f1b84414f0f652ab43b6bd8"},{"url":"https://git.kernel.org/stable/c/af310407f79d5816fc0ab3638e1588b6193316dd"},{"url":"https://git.kernel.org/stable/c/cd1534c8f4984432382c240f6784408497f5bb0a"},{"url":"https://git.kernel.org/stable/c/3cb88c12461b71c7d9c604aa2e6a9a477ecfa147"},{"url":"https://git.kernel.org/stable/c/f72996834f7bdefc2b95e3eec30447ee195df44e"},{"url":"https://git.kernel.org/stable/c/11a95521fb93c91e2d4ef9d53dc80ef0a755549b"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T22:09:46.883Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.1.168"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.6.131"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.12.80"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.18.21"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.19.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}