CVE-2022-49835

ALSA: hda: fix potential memleak in 'add_widget_node'

MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: hda: fix potential memleak in 'add_widget_node' As 'kobject_add' may allocated memory for 'kobject->name' when return error. And in this function, if call 'kobject_add' failed didn't free kobject. So call 'kobject_put' to recycling resources.

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 3256be6537751f65c76b3ecfbb4e667f87525a2f < b688a3ec235222d9a84e43a48a6f31acb95baf2d ; affected 3256be6537751f65c76b3ecfbb4e667f87525a2f < bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7 ; affected 3256be6537751f65c76b3ecfbb4e667f87525a2f < 90b7d055e2b5f39429f9a9e3815b48a48530ef28 ; affected 3256be6537751f65c76b3ecfbb4e667f87525a2f < 02dea987ec1cac712c78e75d224ceb9bb73519ed ; affected 3256be6537751f65c76b3ecfbb4e667f87525a2f < 3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b ; affected 3256be6537751f65c76b3ecfbb4e667f87525a2f < 7140d7aaf93da6a665b454f91bb4dc6b1de218bd
Linux · Linuxaffected 4.1 ; unaffected 0 < 4.1 ; unaffected 4.9.334 ≤ 4.9.* ; unaffected 4.14.300 ≤ 4.14.* ; unaffected 4.19.267 ≤ 4.19.* ; unaffected 5.4.225 ≤ 5.4.*

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