CVE-2022-49246

ASoC: atmel: Fix error handling in snd_proto_probe

MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: atmel: Fix error handling in snd_proto_probe The device_node pointer is returned by of_parse_phandle() with refcount incremented. We should use of_node_put() on it when done. This function only calls of_node_put() in the regular path. And it will cause refcount leak in error paths. Fix this by calling of_node_put() in error handling too.

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 a45f8853a5f95e3760dfbd7ba09d3d597d247040 < f32ac9bf5e3f594ef9bfedb410aebc98cf784e69 ; affected a45f8853a5f95e3760dfbd7ba09d3d597d247040 < 0f517480d5888cd54487c5662ce4da95b30ad798 ; affected a45f8853a5f95e3760dfbd7ba09d3d597d247040 < 8fa969cd8485031294f91fc7184399000cae6355 ; affected a45f8853a5f95e3760dfbd7ba09d3d597d247040 < b0bfaf0544d08d093d6211d7ef8816fb0b5b6c75
Linux · Linuxaffected 4.20 ; unaffected 0 < 4.20 ; unaffected 5.15.33 ≤ 5.15.* ; unaffected 5.16.19 ≤ 5.16.* ; unaffected 5.17.2 ≤ 5.17.* ; unaffected 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