ASoC: da7219: Fix an error handling path in da7219_register_dai_clks() (Linux Linux)

CVE-2022-50698
Not available

At a glance

Source
NVD
EPSS
EPSS 0.20 % · percentile 10 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: da7219: Fix an error handling path in da7219_register_dai_clks() If clk_hw_register() fails, the corresponding clk should not be unregistered. To handle errors from loops, clean up partial iterations before doing the goto. So add a clk_hw_unregister(). Then use a while (--i >= 0) loop in the unwind section.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 78013a1cf2971684775f6956d5666237ac53a1aa < 4993c1511d66326f1037bc5156b024a6a96d23ef ; affected 78013a1cf2971684775f6956d5666237ac53a1aa < f5f1f5ee5048cfa7bd07f496b33bd2cfc198a176 ; affected 78013a1cf2971684775f6956d5666237ac53a1aa < ec692f0b51006de1138cd1f82cae625f0d2888d1 ; affected 78013a1cf2971684775f6956d5666237ac53a1aa < cefce8bee0e988f9a005fe40705b98a25cfb7f9d ; affected 78013a1cf2971684775f6956d5666237ac53a1aa < abb4e4349afe7eecdb0499582f1c777031e3a7c8
Linux · Linuxaffected 5.10 ; unaffected 0 < 5.10 ; unaffected 5.10.150 ≤ 5.10.* ; unaffected 5.15.75 ≤ 5.15.* ; unaffected 5.19.17 ≤ 5.19.* ; unaffected 6.0.3 ≤ 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