octeontx2-pf: Fix potential memory leak in otx2_init_tc() (Linux Linux)

CVE-2022-48968
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 14 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: octeontx2-pf: Fix potential memory leak in otx2_init_tc() In otx2_init_tc(), if rhashtable_init() failed, it does not free tc->tc_entries_bitmap which is allocated in otx2_tc_alloc_ent_bitmap().

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

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 2e2a8126ffac66b9b177ce78ad430281c0c8cc74 < eefd8953a74822cb72006632b9ee9dd95f92c146 ; affected 2e2a8126ffac66b9b177ce78ad430281c0c8cc74 < db5ec358cf4ef0ab382ee733d05f018e8bef9462 ; affected 2e2a8126ffac66b9b177ce78ad430281c0c8cc74 < fbf33f5ac76f2cdb47ad9763f620026d5cfa57ce
Linux · Linuxaffected 5.15 ; unaffected 0 < 5.15 ; unaffected 5.15.83 ≤ 5.15.* ; unaffected 6.0.13 ≤ 6.0.* ; unaffected 6.1 ≤ *

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