iommu/arm-smmu-v3: check return value after calling platform_get_resource() (Linux Linux)

CVE-2022-49319
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: iommu/arm-smmu-v3: check return value after calling platform_get_resource() It will cause null-ptr-deref if platform_get_resource() returns NULL, we need check the return value.

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:HCISA-ADP
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)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 48ec83bcbcf5090fcdf74a6168f161d247492979 < 54c1e0e3bbcab2abe25b2874a43050ae5df87831 ; affected 48ec83bcbcf5090fcdf74a6168f161d247492979 < fb0f1c5eb8d60b3e018ba7c87da249b52674ebe6 ; affected 48ec83bcbcf5090fcdf74a6168f161d247492979 < db728a891f9177b044aaca89b678f6b5e24d5cc3 ; affected 48ec83bcbcf5090fcdf74a6168f161d247492979 < 54cf47da0c7532d151d76e5d63f5936191698c44 ; affected 48ec83bcbcf5090fcdf74a6168f161d247492979 < b131fa8c1d2afd05d0b7598621114674289c2fbb
Linux · Linuxaffected 4.2 ; unaffected 0 < 4.2 ; unaffected 5.10.122 ≤ 5.10.* ; unaffected 5.15.47 ≤ 5.15.* ; unaffected 5.17.15 ≤ 5.17.* ; unaffected 5.18.4 ≤ 5.18.*

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