net: ethernet: nixge: fix NULL dereference (Linux Linux)

CVE-2022-49019
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: net: ethernet: nixge: fix NULL dereference In function nixge_hw_dma_bd_release() dereference of NULL pointer priv->rx_bd_v is possible for the case of its allocation failure in nixge_hw_dma_bd_init(). Move for() loop with priv->rx_bd_v dereference under the check for its validity. Found by Linux Verification Center (linuxtesting.org) with SVACE.

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 492caffa8a1a405f661c111acabfe6b8b9645db8 < 910c0264b64ef2dad8887714a7c56c93e39a0ed3 ; affected 492caffa8a1a405f661c111acabfe6b8b9645db8 < 45752af0247589e6d3dede577415bfe117b4392c ; affected 492caffa8a1a405f661c111acabfe6b8b9645db8 < 9c584d6d9cfb935dce8fc81a4c26debac0a3049b ; affected 492caffa8a1a405f661c111acabfe6b8b9645db8 < 80e82f7b440b65cf131dce10f487dc73a7046e6b ; affected 492caffa8a1a405f661c111acabfe6b8b9645db8 < 9256db4e45e8b497b0e993cc3ed4ad08eb2389b6
Linux · Linuxaffected 4.17 ; unaffected 0 < 4.17 ; unaffected 5.4.226 ≤ 5.4.* ; unaffected 5.10.158 ≤ 5.10.* ; unaffected 5.15.82 ≤ 5.15.* ; unaffected 6.0.12 ≤ 6.0.*

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