RDMA/rxe: Fix "kernel NULL pointer dereference" error (Linux Linux)

CVE-2022-50671
HIGH 7.5

At a glance

Source
NVD
EPSS
EPSS 0.95 % · percentile 61 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 8700e3e7c4857d28ebaa824509934556da0b3e76 < 48cd7098e71735ccafa0b3cf27c53924f9cb5b2f ; affected 8700e3e7c4857d28ebaa824509934556da0b3e76 < eca119693010032d6cc6e7e9b4fb2c363c7e12ce ; affected 8700e3e7c4857d28ebaa824509934556da0b3e76 < 9c5dd6993c794703e74c6ba17ac78ca0211ef940 ; affected 8700e3e7c4857d28ebaa824509934556da0b3e76 < 0d773c58d702f0a7c16ee8d69617fd2c28350795 ; affected 8700e3e7c4857d28ebaa824509934556da0b3e76 < cdce36a88def550773142a34ef727a830cad96a8 ; affected 8700e3e7c4857d28ebaa824509934556da0b3e76 < f2f405af70e6f0419e718d23fa304798a5405c41
Linux · Linuxaffected 4.8 ; unaffected 0 < 4.8 ; unaffected 4.9.331 ≤ 4.9.* ; unaffected 4.14.296 ≤ 4.14.* ; unaffected 4.19.262 ≤ 4.19.* ; unaffected 5.4.220 ≤ 5.4.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD