{"id":"CVE-2026-139448","state":"PUBLISHED","title":"RDMA/core: Clear driver_udata before destroying objects in rdma_core","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/core: Clear driver_udata before destroying objects in rdma_core\n\nWhen uobject creation fails while copying user output data (i.e.,\nafter the HW object has been created), it calls\nrdma_alloc_abort_uobject() with hw_obj_valid=true which then\ninvokes the object's destroy callback, but passes the\nuverbs_attr_bundle from the original creation command.\n\nThe issue is that drivers are expected to validate the udata\nand return an error if there's unexpected content, and data from\nthe wrong command counts as \"unexpected content\", so this ends\nup causing the driver's destroy call to fail.\n\nA similar issue exists in the rereg_mr path when a new MR\nis created and the old one is destroyed.\n\nFix this by clearing driver_udata before invoking the driver's\ndestroy method.","publishedAt":"2026-11-30T13:34:50.976Z","updatedAt":"2026-11-30T13:34:50.976Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0ac8903cbbe618d947b5815d6e0f7b044ee83aa3","status":"affected","lessThan":"9db91db448c23dea4764471ce305299f41f73f08","versionType":"git"},{"version":"0ac8903cbbe618d947b5815d6e0f7b044ee83aa3","status":"affected","lessThan":"9f3ec4b8c4fece57789f518a8fd299640cb24504","versionType":"git"},{"version":"0ac8903cbbe618d947b5815d6e0f7b044ee83aa3","status":"affected","lessThan":"a6f4d3fc198f8ba5fbffb3421b98c889968db7bc","versionType":"git"},{"version":"0ac8903cbbe618d947b5815d6e0f7b044ee83aa3","status":"affected","lessThan":"d37e98844afea39a9614cac0de837701263c90f7","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/core/ib_core_uverbs.c","drivers/infiniband/core/rdma_core.c","drivers/infiniband/core/rdma_core.h","drivers/infiniband/core/verbs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.8","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/core/ib_core_uverbs.c","drivers/infiniband/core/rdma_core.c","drivers/infiniband/core/rdma_core.h","drivers/infiniband/core/verbs.c"]}],"references":["https://git.kernel.org/stable/c/9db91db448c23dea4764471ce305299f41f73f08","https://git.kernel.org/stable/c/9f3ec4b8c4fece57789f518a8fd299640cb24504","https://git.kernel.org/stable/c/a6f4d3fc198f8ba5fbffb3421b98c889968db7bc","https://git.kernel.org/stable/c/d37e98844afea39a9614cac0de837701263c90f7"],"weaknesses":[],"ingestedAt":"2026-11-30T13:50:04.417Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139448.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139448","state":"PUBLISHED","datePublished":"2026-11-30T13:34:50.976Z","dateUpdated":"2026-11-30T13:34:50.976Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.934Z"},"containers":{"cna":{"title":"RDMA/core: Clear driver_udata before destroying objects in rdma_core","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/core: Clear driver_udata before destroying objects in rdma_core\n\nWhen uobject creation fails while copying user output data (i.e.,\nafter the HW object has been created), it calls\nrdma_alloc_abort_uobject() with hw_obj_valid=true which then\ninvokes the object's destroy callback, but passes the\nuverbs_attr_bundle from the original creation command.\n\nThe issue is that drivers are expected to validate the udata\nand return an error if there's unexpected content, and data from\nthe wrong command counts as \"unexpected content\", so this ends\nup causing the driver's destroy call to fail.\n\nA similar issue exists in the rereg_mr path when a new MR\nis created and the old one is destroyed.\n\nFix this by clearing driver_udata before invoking the driver's\ndestroy method."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0ac8903cbbe618d947b5815d6e0f7b044ee83aa3","status":"affected","lessThan":"9db91db448c23dea4764471ce305299f41f73f08","versionType":"git"},{"version":"0ac8903cbbe618d947b5815d6e0f7b044ee83aa3","status":"affected","lessThan":"9f3ec4b8c4fece57789f518a8fd299640cb24504","versionType":"git"},{"version":"0ac8903cbbe618d947b5815d6e0f7b044ee83aa3","status":"affected","lessThan":"a6f4d3fc198f8ba5fbffb3421b98c889968db7bc","versionType":"git"},{"version":"0ac8903cbbe618d947b5815d6e0f7b044ee83aa3","status":"affected","lessThan":"d37e98844afea39a9614cac0de837701263c90f7","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/core/ib_core_uverbs.c","drivers/infiniband/core/rdma_core.c","drivers/infiniband/core/rdma_core.h","drivers/infiniband/core/verbs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.8","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/core/ib_core_uverbs.c","drivers/infiniband/core/rdma_core.c","drivers/infiniband/core/rdma_core.h","drivers/infiniband/core/verbs.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/9db91db448c23dea4764471ce305299f41f73f08"},{"url":"https://git.kernel.org/stable/c/9f3ec4b8c4fece57789f518a8fd299640cb24504"},{"url":"https://git.kernel.org/stable/c/a6f4d3fc198f8ba5fbffb3421b98c889968db7bc"},{"url":"https://git.kernel.org/stable/c/d37e98844afea39a9614cac0de837701263c90f7"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:34:50.976Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}