# CVE-2026-46127: RDMA/ocrdma: Don't NULL deref uctx on errors in ocrdma_copy_pd_uresp()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-28T09:35:42.368Z
- Modified: 2026-11-06T17:17:38.787Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

RDMA/ocrdma: Don't NULL deref uctx on errors in ocrdma_copy_pd_uresp()

Sashiko points out that pd->uctx isn't initialized until late in the
function so all these error flow references are NULL and will crash. Use
the uctx that isn't NULL.

(As written by CVE List.)

## Affected

- Linux Linux: from fe2caefcdf5869f308c102e3d64d40683bfad711 before b610f33c5523fe26f6dd897667fff9c7a1de5905; from fe2caefcdf5869f308c102e3d64d40683bfad711 before 443c991fbc954cc9363e963c09f404b9f281f3a2; from fe2caefcdf5869f308c102e3d64d40683bfad711 before 27b6eb1f27fda9bdd5cae028e396758cdf525845; from fe2caefcdf5869f308c102e3d64d40683bfad711 before e01a957561f663d3b68d2fd233a4502e3367efcd; from fe2caefcdf5869f308c102e3d64d40683bfad711 before 75fc130664ae324e7b2f9ad3630e0f175e9ca6c8; from fe2caefcdf5869f308c102e3d64d40683bfad711 before 8832626a483439e207734e027afff322ccdf726e; from fe2caefcdf5869f308c102e3d64d40683bfad711 before ec44c00a4fe1327efa35083f98b39c01cb535a51; from fe2caefcdf5869f308c102e3d64d40683bfad711 before 34fbf48cf3b410d2a6e8c586fa952a36331ca5ba; 3.5 (not affected: before 3.5; from 5.10.258 up to 5.10.*; from 5.15.209 up to 5.15.*; from 6.1.175 up to 6.1.*; from 6.6.140 up to 6.6.*; from 6.12.88 up to 6.12.*; from 6.18.30 up to 6.18.*; from 7.0.7 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 3.5 before 5.10.258; from 5.11 before 5.15.209; from 5.16 before 6.1.175; from 6.2 before 6.6.140; from 6.7 before 6.12.88; from 6.13 before 6.18.30; from 6.19 before 7.0.7; 7.1

## References

- <https://git.kernel.org/stable/c/b610f33c5523fe26f6dd897667fff9c7a1de5905> (patch)
- <https://git.kernel.org/stable/c/443c991fbc954cc9363e963c09f404b9f281f3a2> (patch)
- <https://git.kernel.org/stable/c/27b6eb1f27fda9bdd5cae028e396758cdf525845> (patch)
- <https://git.kernel.org/stable/c/e01a957561f663d3b68d2fd233a4502e3367efcd> (patch)
- <https://git.kernel.org/stable/c/75fc130664ae324e7b2f9ad3630e0f175e9ca6c8> (patch)
- <https://git.kernel.org/stable/c/8832626a483439e207734e027afff322ccdf726e> (patch)
- <https://git.kernel.org/stable/c/ec44c00a4fe1327efa35083f98b39c01cb535a51> (patch)
- <https://git.kernel.org/stable/c/34fbf48cf3b410d2a6e8c586fa952a36331ca5ba> (patch)

## Sources

- CVE List: [CVE-2026-46127](https://www.cve.org/CVERecord?id=CVE-2026-46127), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-46127](https://nvd.nist.gov/vuln/detail/CVE-2026-46127), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-46127 · Whole record: https://cve.day/CVE-2026-46127.json · Rebuilt by cve.day 2026-11-25T22:59:22.793Z
