Skip to content
Heist/ feed
Back to feed
UnratedFix available

media: solo6x10: fix possible memory leak in solo_sysfs_init()

Type: advisorySources: OSV

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().

Products
Kernel
Affected versions
Not specified
Fixed versions
4.14.303, 4.19.270, 4.9.337, 5.10.163, 5.15.86, 5.4.229, 6.0.16, 6.1.2
CVEs
CVE-2022-50547
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 00:37 UTC · Revision 1

Source evidence

media: solo6x10: fix possible memory leak in solo_sysfs_init()

core-osv · Original source

Published 7 Oct 2025, 15:21 UTC

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().

osv:CVE-2022-50547

Kernel

Fixed versions: 4.9.337, 4.14.303, 4.19.270, 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2

Complete source record
{
  "id": "489877078e478063a84049c93f4f51b272b594e1c76fadd496830f671ace32ae",
  "url": "https://osv.dev/vulnerability/CVE-2022-50547",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "media: solo6x10: fix possible memory leak in solo_sysfs_init()",
    "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().",
    "evidence": "osv:CVE-2022-50547",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.9.337",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "4.14.303",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "4.19.270",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.229",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.163",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.86",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.0.16",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-50547",
      "aliases": [
        "CVE-2022-50547"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "dcae5dacbce518513abf7776cb450b7bd95d722b"
                },
                {
                  "fixed": "83d4b1ae98a47a739fa5241300b86eb1110d5d63"
                },
                {
                  "fixed": "b61509093e1af69e336a094d439b8e1137cb40d8"
                },
                {
                  "fixed": "963729538674be4cb8fa292529ecf32de0d6c6dd"
                },
                {
                  "fixed": "7b02c50d3978840781808e13bc13137fb81286b5"
                },
                {
                  "fixed": "49060c0da57a381563e482e331dc9d4c3725b41b"
                },
                {
                  "fixed": "7cf71bbe5d2ee12613f6e278888f5fc9c5c0cc2b"
                },
                {
                  "fixed": "d6db105bcfbdbbbd484e788a0ddf8140a4a8c486"
                },
                {
                  "fixed": "9416861170ba0da8ddb0f4fd2d28334f0ed3b9c2"
                },
                {
                  "fixed": "7f5866dd96d95b74e439f6ee17b8abd8195179fb"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50547.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "3.10.0"
                },
                {
                  "fixed": "4.9.337"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.10.0"
                },
                {
                  "fixed": "4.14.303"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.15.0"
                },
                {
                  "fixed": "4.19.270"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.20.0"
                },
                {
                  "fixed": "5.4.229"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.163"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.86"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.0.16"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.1.0"
                },
                {
                  "fixed": "6.1.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50547.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.440295596Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/49060c0da57a381563e482e331dc9d4c3725b41b",
        "https://git.kernel.org/stable/c/7b02c50d3978840781808e13bc13137fb81286b5",
        "https://git.kernel.org/stable/c/7cf71bbe5d2ee12613f6e278888f5fc9c5c0cc2b",
        "https://git.kernel.org/stable/c/7f5866dd96d95b74e439f6ee17b8abd8195179fb",
        "https://git.kernel.org/stable/c/83d4b1ae98a47a739fa5241300b86eb1110d5d63",
        "https://git.kernel.org/stable/c/9416861170ba0da8ddb0f4fd2d28334f0ed3b9c2",
        "https://git.kernel.org/stable/c/963729538674be4cb8fa292529ecf32de0d6c6dd",
        "https://git.kernel.org/stable/c/b61509093e1af69e336a094d439b8e1137cb40d8",
        "https://git.kernel.org/stable/c/d6db105bcfbdbbbd484e788a0ddf8140a4a8c486",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50547.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-50547",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50547.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-50547",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 499354,
  "published_at": "2025-10-07T15:21:10.62+00:00"
}