CVE-2022-50547 (GCVE-0-2022-50547)
Vulnerability from cvelistv5
Published
2025-10-07 15:21
Modified
2025-10-07 15:21
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: media: solo6x10: fix possible memory leak in solo_sysfs_init() If device_register() returns error in solo_sysfs_init(), the name allocated by dev_set_name() need be freed. As comment of device_register() says, it should use put_device() to give up the reference in the error path. So fix this by calling put_device(), then the name can be freed in kobject_cleanup().
Impacted products
Vendor Product Version
Linux Linux Version: dcae5dacbce518513abf7776cb450b7bd95d722b
Version: dcae5dacbce518513abf7776cb450b7bd95d722b
Version: dcae5dacbce518513abf7776cb450b7bd95d722b
Version: dcae5dacbce518513abf7776cb450b7bd95d722b
Version: dcae5dacbce518513abf7776cb450b7bd95d722b
Version: dcae5dacbce518513abf7776cb450b7bd95d722b
Version: dcae5dacbce518513abf7776cb450b7bd95d722b
Version: dcae5dacbce518513abf7776cb450b7bd95d722b
Version: dcae5dacbce518513abf7776cb450b7bd95d722b
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/pci/solo6x10/solo6x10-core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "83d4b1ae98a47a739fa5241300b86eb1110d5d63",
              "status": "affected",
              "version": "dcae5dacbce518513abf7776cb450b7bd95d722b",
              "versionType": "git"
            },
            {
              "lessThan": "b61509093e1af69e336a094d439b8e1137cb40d8",
              "status": "affected",
              "version": "dcae5dacbce518513abf7776cb450b7bd95d722b",
              "versionType": "git"
            },
            {
              "lessThan": "963729538674be4cb8fa292529ecf32de0d6c6dd",
              "status": "affected",
              "version": "dcae5dacbce518513abf7776cb450b7bd95d722b",
              "versionType": "git"
            },
            {
              "lessThan": "7b02c50d3978840781808e13bc13137fb81286b5",
              "status": "affected",
              "version": "dcae5dacbce518513abf7776cb450b7bd95d722b",
              "versionType": "git"
            },
            {
              "lessThan": "49060c0da57a381563e482e331dc9d4c3725b41b",
              "status": "affected",
              "version": "dcae5dacbce518513abf7776cb450b7bd95d722b",
              "versionType": "git"
            },
            {
              "lessThan": "7cf71bbe5d2ee12613f6e278888f5fc9c5c0cc2b",
              "status": "affected",
              "version": "dcae5dacbce518513abf7776cb450b7bd95d722b",
              "versionType": "git"
            },
            {
              "lessThan": "d6db105bcfbdbbbd484e788a0ddf8140a4a8c486",
              "status": "affected",
              "version": "dcae5dacbce518513abf7776cb450b7bd95d722b",
              "versionType": "git"
            },
            {
              "lessThan": "9416861170ba0da8ddb0f4fd2d28334f0ed3b9c2",
              "status": "affected",
              "version": "dcae5dacbce518513abf7776cb450b7bd95d722b",
              "versionType": "git"
            },
            {
              "lessThan": "7f5866dd96d95b74e439f6ee17b8abd8195179fb",
              "status": "affected",
              "version": "dcae5dacbce518513abf7776cb450b7bd95d722b",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/pci/solo6x10/solo6x10-core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.10"
            },
            {
              "lessThan": "3.10",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.337",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.303",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.229",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.86",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.337",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.303",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.270",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.229",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.163",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.86",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.16",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.2",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: solo6x10: fix possible memory leak in solo_sysfs_init()\n\nIf device_register() returns error in solo_sysfs_init(), the\nname allocated by dev_set_name() need be freed. As comment of\ndevice_register() says, it should use put_device() to give up\nthe reference in the error path. So fix this by calling\nput_device(), then the name can be freed in kobject_cleanup()."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-10-07T15:21:10.620Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/83d4b1ae98a47a739fa5241300b86eb1110d5d63"
        },
        {
          "url": "https://git.kernel.org/stable/c/b61509093e1af69e336a094d439b8e1137cb40d8"
        },
        {
          "url": "https://git.kernel.org/stable/c/963729538674be4cb8fa292529ecf32de0d6c6dd"
        },
        {
          "url": "https://git.kernel.org/stable/c/7b02c50d3978840781808e13bc13137fb81286b5"
        },
        {
          "url": "https://git.kernel.org/stable/c/49060c0da57a381563e482e331dc9d4c3725b41b"
        },
        {
          "url": "https://git.kernel.org/stable/c/7cf71bbe5d2ee12613f6e278888f5fc9c5c0cc2b"
        },
        {
          "url": "https://git.kernel.org/stable/c/d6db105bcfbdbbbd484e788a0ddf8140a4a8c486"
        },
        {
          "url": "https://git.kernel.org/stable/c/9416861170ba0da8ddb0f4fd2d28334f0ed3b9c2"
        },
        {
          "url": "https://git.kernel.org/stable/c/7f5866dd96d95b74e439f6ee17b8abd8195179fb"
        }
      ],
      "title": "media: solo6x10: fix possible memory leak in solo_sysfs_init()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50547",
    "datePublished": "2025-10-07T15:21:10.620Z",
    "dateReserved": "2025-10-07T15:15:38.668Z",
    "dateUpdated": "2025-10-07T15:21:10.620Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50547\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-10-07T16:15:39.353\",\"lastModified\":\"2025-10-08T19:38:32.610\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmedia: solo6x10: fix possible memory leak in solo_sysfs_init()\\n\\nIf device_register() returns error in solo_sysfs_init(), the\\nname allocated by dev_set_name() need be freed. As comment of\\ndevice_register() says, it should use put_device() to give up\\nthe reference in the error path. So fix this by calling\\nput_device(), then the name can be freed in kobject_cleanup().\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/49060c0da57a381563e482e331dc9d4c3725b41b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7b02c50d3978840781808e13bc13137fb81286b5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7cf71bbe5d2ee12613f6e278888f5fc9c5c0cc2b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7f5866dd96d95b74e439f6ee17b8abd8195179fb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/83d4b1ae98a47a739fa5241300b86eb1110d5d63\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9416861170ba0da8ddb0f4fd2d28334f0ed3b9c2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/963729538674be4cb8fa292529ecf32de0d6c6dd\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b61509093e1af69e336a094d439b8e1137cb40d8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d6db105bcfbdbbbd484e788a0ddf8140a4a8c486\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


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 seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…