xprtrdma: fix pointer derefs in error cases of rpcrdma_ep_create (Linux Linux)

CVE-2022-48773
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.25 % · percentile 16 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: xprtrdma: fix pointer derefs in error cases of rpcrdma_ep_create If there are failures then we must not leave the non-NULL pointers with the error value, otherwise `rpcrdma_ep_destroy` gets confused and tries free them, resulting in an Oops.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 85cd8e2b78eea7374927750ffec60bf047f8f90b < 1e7433fb95ccc01629a5edaa4ced0cd8c98d0ae0 ; affected 85cd8e2b78eea7374927750ffec60bf047f8f90b < 9921c866dc369577c3ebb9adf2383b01b58c18de ; affected 85cd8e2b78eea7374927750ffec60bf047f8f90b < 2526d4d8b209dc5ac1fbeb468149774888b2a141 ; affected 85cd8e2b78eea7374927750ffec60bf047f8f90b < a9c10b5b3b67b3750a10c8b089b2e05f5e176e33
Linux · Linuxaffected 5.7 ; unaffected 0 < 5.7 ; unaffected 5.10.102 ≤ 5.10.* ; unaffected 5.15.25 ≤ 5.15.* ; unaffected 5.16.11 ≤ 5.16.* ; unaffected 5.17 ≤ *

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