{"api_version":"1","generated_at":"2026-07-24T20:02:50+00:00","cve":"CVE-2026-46127","urls":{"html":"https://cve.report/CVE-2026-46127","api":"https://cve.report/api/cve/CVE-2026-46127.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-46127","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-46127"},"summary":{"title":"RDMA/ocrdma: Don't NULL deref uctx on errors in ocrdma_copy_pd_uresp()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/ocrdma: Don't NULL deref uctx on errors in ocrdma_copy_pd_uresp()\n\nSashiko points out that pd->uctx isn't initialized until late in the\nfunction so all these error flow references are NULL and will crash. Use\nthe uctx that isn't NULL.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-05-28 10:16:28","updated_at":"2026-06-24 16:50:27"},"problem_types":["CWE-476"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}}],"references":[{"url":"https://git.kernel.org/stable/c/75fc130664ae324e7b2f9ad3630e0f175e9ca6c8","name":"https://git.kernel.org/stable/c/75fc130664ae324e7b2f9ad3630e0f175e9ca6c8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8832626a483439e207734e027afff322ccdf726e","name":"https://git.kernel.org/stable/c/8832626a483439e207734e027afff322ccdf726e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ec44c00a4fe1327efa35083f98b39c01cb535a51","name":"https://git.kernel.org/stable/c/ec44c00a4fe1327efa35083f98b39c01cb535a51","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/443c991fbc954cc9363e963c09f404b9f281f3a2","name":"https://git.kernel.org/stable/c/443c991fbc954cc9363e963c09f404b9f281f3a2","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e01a957561f663d3b68d2fd233a4502e3367efcd","name":"https://git.kernel.org/stable/c/e01a957561f663d3b68d2fd233a4502e3367efcd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/27b6eb1f27fda9bdd5cae028e396758cdf525845","name":"https://git.kernel.org/stable/c/27b6eb1f27fda9bdd5cae028e396758cdf525845","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/34fbf48cf3b410d2a6e8c586fa952a36331ca5ba","name":"https://git.kernel.org/stable/c/34fbf48cf3b410d2a6e8c586fa952a36331ca5ba","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b610f33c5523fe26f6dd897667fff9c7a1de5905","name":"https://git.kernel.org/stable/c/b610f33c5523fe26f6dd897667fff9c7a1de5905","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-46127","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46127","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fe2caefcdf5869f308c102e3d64d40683bfad711 b610f33c5523fe26f6dd897667fff9c7a1de5905 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fe2caefcdf5869f308c102e3d64d40683bfad711 443c991fbc954cc9363e963c09f404b9f281f3a2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fe2caefcdf5869f308c102e3d64d40683bfad711 27b6eb1f27fda9bdd5cae028e396758cdf525845 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fe2caefcdf5869f308c102e3d64d40683bfad711 e01a957561f663d3b68d2fd233a4502e3367efcd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fe2caefcdf5869f308c102e3d64d40683bfad711 75fc130664ae324e7b2f9ad3630e0f175e9ca6c8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fe2caefcdf5869f308c102e3d64d40683bfad711 8832626a483439e207734e027afff322ccdf726e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fe2caefcdf5869f308c102e3d64d40683bfad711 ec44c00a4fe1327efa35083f98b39c01cb535a51 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fe2caefcdf5869f308c102e3d64d40683bfad711 34fbf48cf3b410d2a6e8c586fa952a36331ca5ba git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.5","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.5 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.258 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.209 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.175 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.140 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.88 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.30 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.7 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2026","cve_id":"46127","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"46127","cve":"CVE-2026-46127","epss":"0.000320000","percentile":"0.097350000","score_date":"2026-06-04","updated_at":"2026-06-05 00:02:15"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/infiniband/hw/ocrdma/ocrdma_verbs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"b610f33c5523fe26f6dd897667fff9c7a1de5905","status":"affected","version":"fe2caefcdf5869f308c102e3d64d40683bfad711","versionType":"git"},{"lessThan":"443c991fbc954cc9363e963c09f404b9f281f3a2","status":"affected","version":"fe2caefcdf5869f308c102e3d64d40683bfad711","versionType":"git"},{"lessThan":"27b6eb1f27fda9bdd5cae028e396758cdf525845","status":"affected","version":"fe2caefcdf5869f308c102e3d64d40683bfad711","versionType":"git"},{"lessThan":"e01a957561f663d3b68d2fd233a4502e3367efcd","status":"affected","version":"fe2caefcdf5869f308c102e3d64d40683bfad711","versionType":"git"},{"lessThan":"75fc130664ae324e7b2f9ad3630e0f175e9ca6c8","status":"affected","version":"fe2caefcdf5869f308c102e3d64d40683bfad711","versionType":"git"},{"lessThan":"8832626a483439e207734e027afff322ccdf726e","status":"affected","version":"fe2caefcdf5869f308c102e3d64d40683bfad711","versionType":"git"},{"lessThan":"ec44c00a4fe1327efa35083f98b39c01cb535a51","status":"affected","version":"fe2caefcdf5869f308c102e3d64d40683bfad711","versionType":"git"},{"lessThan":"34fbf48cf3b410d2a6e8c586fa952a36331ca5ba","status":"affected","version":"fe2caefcdf5869f308c102e3d64d40683bfad711","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/infiniband/hw/ocrdma/ocrdma_verbs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.5"},{"lessThan":"3.5","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.258","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.209","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.175","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.140","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.88","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.30","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.258","versionStartIncluding":"3.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.209","versionStartIncluding":"3.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.175","versionStartIncluding":"3.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.140","versionStartIncluding":"3.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.88","versionStartIncluding":"3.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.30","versionStartIncluding":"3.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.7","versionStartIncluding":"3.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1","versionStartIncluding":"3.5","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/ocrdma: Don't NULL deref uctx on errors in ocrdma_copy_pd_uresp()\n\nSashiko points out that pd->uctx isn't initialized until late in the\nfunction so all these error flow references are NULL and will crash. Use\nthe uctx that isn't NULL."}],"providerMetadata":{"dateUpdated":"2026-06-14T17:56:27.705Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/b610f33c5523fe26f6dd897667fff9c7a1de5905"},{"url":"https://git.kernel.org/stable/c/443c991fbc954cc9363e963c09f404b9f281f3a2"},{"url":"https://git.kernel.org/stable/c/27b6eb1f27fda9bdd5cae028e396758cdf525845"},{"url":"https://git.kernel.org/stable/c/e01a957561f663d3b68d2fd233a4502e3367efcd"},{"url":"https://git.kernel.org/stable/c/75fc130664ae324e7b2f9ad3630e0f175e9ca6c8"},{"url":"https://git.kernel.org/stable/c/8832626a483439e207734e027afff322ccdf726e"},{"url":"https://git.kernel.org/stable/c/ec44c00a4fe1327efa35083f98b39c01cb535a51"},{"url":"https://git.kernel.org/stable/c/34fbf48cf3b410d2a6e8c586fa952a36331ca5ba"}],"title":"RDMA/ocrdma: Don't NULL deref uctx on errors in ocrdma_copy_pd_uresp()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-46127","datePublished":"2026-05-28T09:35:42.368Z","dateReserved":"2026-05-13T15:03:33.099Z","dateUpdated":"2026-06-14T17:56:27.705Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-28 10:16:28","lastModifiedDate":"2026-06-24 16:50:27","problem_types":["CWE-476"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.5","versionEndExcluding":"5.10.258","matchCriteriaId":"87228D43-E81A-4C73-9457-94467C1D5AB5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.15.209","matchCriteriaId":"919C10A9-7951-4A74-BADD-C135A0A8D8B4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.1.175","matchCriteriaId":"92385813-D91D-480D-83A1-F423D2CBB2BA"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6.140","matchCriteriaId":"A1A92866-F406-43B5-B2D1-CFC274753E9D"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12.88","matchCriteriaId":"5AFBE0EC-CCDF-4207-AE92-ABF958125CA4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.18.30","matchCriteriaId":"BF39AE08-AE6D-4410-8FBE-76F6BF5BF55B"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.0.7","matchCriteriaId":"D0893CA7-9AE6-4DFE-AC75-48967D73AD8E"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*","matchCriteriaId":"B1EF7059-E670-45F4-B422-54C40FA86390"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*","matchCriteriaId":"0D38F0BF-A728-4133-A358-D44A2F7EE6D6"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"46127","Ordinal":"1","Title":"RDMA/ocrdma: Don't NULL deref uctx on errors in ocrdma_copy_pd_u","CVE":"CVE-2026-46127","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"46127","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/ocrdma: Don't NULL deref uctx on errors in ocrdma_copy_pd_uresp()\n\nSashiko points out that pd->uctx isn't initialized until late in the\nfunction so all these error flow references are NULL and will crash. Use\nthe uctx that isn't NULL.","Type":"Description","Title":"RDMA/ocrdma: Don't NULL deref uctx on errors in ocrdma_copy_pd_u"}]}}}