CVE-2022-49835 (GCVE-0-2022-49835)

Vulnerability from cvelistv5 – Published: 2025-05-01 14:09 – Updated: 2025-12-23 13:26
VLAI?
Title
ALSA: hda: fix potential memleak in 'add_widget_node'
Summary
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.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 3256be6537751f65c76b3ecfbb4e667f87525a2f , < b688a3ec235222d9a84e43a48a6f31acb95baf2d (git)
Affected: 3256be6537751f65c76b3ecfbb4e667f87525a2f , < bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7 (git)
Affected: 3256be6537751f65c76b3ecfbb4e667f87525a2f , < 90b7d055e2b5f39429f9a9e3815b48a48530ef28 (git)
Affected: 3256be6537751f65c76b3ecfbb4e667f87525a2f , < 02dea987ec1cac712c78e75d224ceb9bb73519ed (git)
Affected: 3256be6537751f65c76b3ecfbb4e667f87525a2f , < 3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b (git)
Affected: 3256be6537751f65c76b3ecfbb4e667f87525a2f , < 7140d7aaf93da6a665b454f91bb4dc6b1de218bd (git)
Affected: 3256be6537751f65c76b3ecfbb4e667f87525a2f , < 455d99bd6baf19688048b6d42d9fa74eae27f93b (git)
Affected: 3256be6537751f65c76b3ecfbb4e667f87525a2f , < 9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143 (git)
Create a notification for this product.
    Linux Linux Affected: 4.1
Unaffected: 0 , < 4.1 (semver)
Unaffected: 4.9.334 , ≤ 4.9.* (semver)
Unaffected: 4.14.300 , ≤ 4.14.* (semver)
Unaffected: 4.19.267 , ≤ 4.19.* (semver)
Unaffected: 5.4.225 , ≤ 5.4.* (semver)
Unaffected: 5.10.155 , ≤ 5.10.* (semver)
Unaffected: 5.15.79 , ≤ 5.15.* (semver)
Unaffected: 6.0.9 , ≤ 6.0.* (semver)
Unaffected: 6.1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "sound/hda/hdac_sysfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b688a3ec235222d9a84e43a48a6f31acb95baf2d",
              "status": "affected",
              "version": "3256be6537751f65c76b3ecfbb4e667f87525a2f",
              "versionType": "git"
            },
            {
              "lessThan": "bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7",
              "status": "affected",
              "version": "3256be6537751f65c76b3ecfbb4e667f87525a2f",
              "versionType": "git"
            },
            {
              "lessThan": "90b7d055e2b5f39429f9a9e3815b48a48530ef28",
              "status": "affected",
              "version": "3256be6537751f65c76b3ecfbb4e667f87525a2f",
              "versionType": "git"
            },
            {
              "lessThan": "02dea987ec1cac712c78e75d224ceb9bb73519ed",
              "status": "affected",
              "version": "3256be6537751f65c76b3ecfbb4e667f87525a2f",
              "versionType": "git"
            },
            {
              "lessThan": "3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b",
              "status": "affected",
              "version": "3256be6537751f65c76b3ecfbb4e667f87525a2f",
              "versionType": "git"
            },
            {
              "lessThan": "7140d7aaf93da6a665b454f91bb4dc6b1de218bd",
              "status": "affected",
              "version": "3256be6537751f65c76b3ecfbb4e667f87525a2f",
              "versionType": "git"
            },
            {
              "lessThan": "455d99bd6baf19688048b6d42d9fa74eae27f93b",
              "status": "affected",
              "version": "3256be6537751f65c76b3ecfbb4e667f87525a2f",
              "versionType": "git"
            },
            {
              "lessThan": "9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143",
              "status": "affected",
              "version": "3256be6537751f65c76b3ecfbb4e667f87525a2f",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "sound/hda/hdac_sysfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.1"
            },
            {
              "lessThan": "4.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.334",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.300",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.267",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.225",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.155",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.79",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.334",
                  "versionStartIncluding": "4.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.300",
                  "versionStartIncluding": "4.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.267",
                  "versionStartIncluding": "4.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.225",
                  "versionStartIncluding": "4.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.155",
                  "versionStartIncluding": "4.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.79",
                  "versionStartIncluding": "4.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.9",
                  "versionStartIncluding": "4.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1",
                  "versionStartIncluding": "4.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: hda: fix potential memleak in \u0027add_widget_node\u0027\n\nAs \u0027kobject_add\u0027 may allocated memory for \u0027kobject-\u003ename\u0027 when return error.\nAnd in this function, if call \u0027kobject_add\u0027 failed didn\u0027t free kobject.\nSo call \u0027kobject_put\u0027 to recycling resources."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-12-23T13:26:02.010Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b688a3ec235222d9a84e43a48a6f31acb95baf2d"
        },
        {
          "url": "https://git.kernel.org/stable/c/bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7"
        },
        {
          "url": "https://git.kernel.org/stable/c/90b7d055e2b5f39429f9a9e3815b48a48530ef28"
        },
        {
          "url": "https://git.kernel.org/stable/c/02dea987ec1cac712c78e75d224ceb9bb73519ed"
        },
        {
          "url": "https://git.kernel.org/stable/c/3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b"
        },
        {
          "url": "https://git.kernel.org/stable/c/7140d7aaf93da6a665b454f91bb4dc6b1de218bd"
        },
        {
          "url": "https://git.kernel.org/stable/c/455d99bd6baf19688048b6d42d9fa74eae27f93b"
        },
        {
          "url": "https://git.kernel.org/stable/c/9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143"
        }
      ],
      "title": "ALSA: hda: fix potential memleak in \u0027add_widget_node\u0027",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-49835",
    "datePublished": "2025-05-01T14:09:52.700Z",
    "dateReserved": "2025-05-01T14:05:17.228Z",
    "dateUpdated": "2025-12-23T13:26:02.010Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…