CVE-2026-46127

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

State
Published
Severity
Not scored
Published
May 28, 2026
Updated
Jun 14, 2026
Reserved
May 13, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • fe2caefcdf5869f308c102e3d64d40683bfad711 to before b610f33c5523fe26f6dd897667fff9c7a1de5905Affected
  • fe2caefcdf5869f308c102e3d64d40683bfad711 to before 443c991fbc954cc9363e963c09f404b9f281f3a2Affected
  • fe2caefcdf5869f308c102e3d64d40683bfad711 to before 27b6eb1f27fda9bdd5cae028e396758cdf525845Affected
  • fe2caefcdf5869f308c102e3d64d40683bfad711 to before e01a957561f663d3b68d2fd233a4502e3367efcdAffected
  • fe2caefcdf5869f308c102e3d64d40683bfad711 to before 75fc130664ae324e7b2f9ad3630e0f175e9ca6c8Affected
  • fe2caefcdf5869f308c102e3d64d40683bfad711 to before 8832626a483439e207734e027afff322ccdf726eAffected
  • fe2caefcdf5869f308c102e3d64d40683bfad711 to before ec44c00a4fe1327efa35083f98b39c01cb535a51Affected
  • fe2caefcdf5869f308c102e3d64d40683bfad711 to before 34fbf48cf3b410d2a6e8c586fa952a36331ca5baAffected
LinuxLinux
  • 3.5Affected
  • before 3.5Not affected
  • 5.10.258 through 5.10.*Not affected
  • 5.15.209 through 5.15.*Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.140 through 6.6.*Not affected
  • 6.12.88 through 6.12.*Not affected
  • 6.18.30 through 6.18.*Not affected
  • 7.0.7 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.