CVE-2022-50671

RDMA/rxe: Fix "kernel NULL pointer dereference" error

State
Published
Severity
7.5 High
Published
Dec 9, 2025
Updated
Oct 15, 2026
Reserved
Dec 9, 2025

Read the record on cve.org

Description

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

RDMA/rxe: Fix "kernel NULL pointer dereference" error

When rxe_queue_init in the function rxe_qp_init_req fails, both qp->req.task.func and qp->req.task.arg are not initialized.

Because of creation of qp fails, the function rxe_create_qp will call rxe_qp_do_cleanup to handle allocated resource.

Before calling __rxe_do_task, both qp->req.task.func and qp->req.task.arg should be checked.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 8700e3e7c4857d28ebaa824509934556da0b3e76 to before 48cd7098e71735ccafa0b3cf27c53924f9cb5b2fAffected
  • 8700e3e7c4857d28ebaa824509934556da0b3e76 to before eca119693010032d6cc6e7e9b4fb2c363c7e12ceAffected
  • 8700e3e7c4857d28ebaa824509934556da0b3e76 to before 9c5dd6993c794703e74c6ba17ac78ca0211ef940Affected
  • 8700e3e7c4857d28ebaa824509934556da0b3e76 to before 0d773c58d702f0a7c16ee8d69617fd2c28350795Affected
  • 8700e3e7c4857d28ebaa824509934556da0b3e76 to before cdce36a88def550773142a34ef727a830cad96a8Affected
  • 8700e3e7c4857d28ebaa824509934556da0b3e76 to before f2f405af70e6f0419e718d23fa304798a5405c41Affected
  • 8700e3e7c4857d28ebaa824509934556da0b3e76 to before bb33fa65da77f5f02dbee6f25cebaeedfcd70028Affected
  • 8700e3e7c4857d28ebaa824509934556da0b3e76 to before 3b8752f086eb6865cc3662ad13249b03024501e5Affected
  • 8700e3e7c4857d28ebaa824509934556da0b3e76 to before a625ca30eff806395175ebad3ac1399014bdb280Affected
LinuxLinux
  • 4.8Affected
  • before 4.8Not affected
  • 4.9.331 through 4.9.*Not affected
  • 4.14.296 through 4.14.*Not affected
  • 4.19.262 through 4.19.*Not affected
  • 5.4.220 through 5.4.*Not affected
  • 5.10.150 through 5.10.*Not affected
  • 5.15.75 through 5.15.*Not affected
  • 5.19.17 through 5.19.*Not affected
  • 6.0.3 through 6.0.*Not affected
  • 6.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.