Skip to main content
← All vulnerabilities
CVE-2022-50671

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.9.331, 4.14.296, 4.19.262, 5.4.220, 5.10.150, and 3 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 8700e3e7c4857d28ebaa824509934556da0b3e76 · fixed in 48cd7098e71735ccafa0b3cf27c53924f9cb5b2f; From 8700e3e7c4857d28ebaa824509934556da0b3e76 · fixed in eca119693010032d6cc6e7e9b4fb2c363c7e12ce; From 8700e3e7c4857d28ebaa824509934556da0b3e76 · fixed in 9c5dd6993c794703e74c6ba17ac78ca0211ef940; From 8700e3e7c4857d28ebaa824509934556da0b3e76 · fixed in 0d773c58d702f0a7c16ee8d69617fd2c28350795; From 8700e3e7c4857d28ebaa824509934556da0b3e76 · fixed in cdce36a88def550773142a34ef727a830cad96a8; From 8700e3e7c4857d28ebaa824509934556da0b3e76 · fixed in f2f405af70e6f0419e718d23fa304798a5405c41; From 8700e3e7c4857d28ebaa824509934556da0b3e76 · fixed in bb33fa65da77f5f02dbee6f25cebaeedfcd70028; From 8700e3e7c4857d28ebaa824509934556da0b3e76 · fixed in 3b8752f086eb6865cc3662ad13249b03024501e5; From 8700e3e7c4857d28ebaa824509934556da0b3e76 · fixed in a625ca30eff806395175ebad3ac1399014bdb280

  • Linux Linux

    4.8

  • KernelLinux

    From 4.8.0 · fixed in 4.9.331; From 4.10.0 · fixed in 4.14.296; From 4.15.0 · fixed in 4.19.262; From 4.20.0 · fixed in 5.4.220; From 5.5.0 · fixed in 5.10.150; From 5.11.0 · fixed in 5.15.75; From 5.16.0 · fixed in 5.19.17; From 5.20.0 · fixed in 6.0.3

References 9

git.kernel.org