GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2022-50669 (GCVE-0-2022-50669)

Vulnerability from cvelistv5 – Published: 2025-12-09 01:29 – Updated: 2026-05-11 19:23
VLAI
Title
misc: ocxl: fix possible name leak in ocxl_file_register_afu()
Summary
In the Linux kernel, the following vulnerability has been resolved: misc: ocxl: fix possible name leak in ocxl_file_register_afu() If device_register() returns error in ocxl_file_register_afu(), 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(), and info is freed in info_release().
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 75ca758adbafc81804c39b2c200ecdc819a6c042 , < 0cd05062371a49774e8a45258bdedf0bd6d3d327 (git)
Affected: 75ca758adbafc81804c39b2c200ecdc819a6c042 , < 7525741cb302a1672b8c3a5edb2a08e4229b5c7c (git)
Affected: 75ca758adbafc81804c39b2c200ecdc819a6c042 , < 3299983a6bf628249ac650908e62d12de959341e (git)
Affected: 75ca758adbafc81804c39b2c200ecdc819a6c042 , < 557b7de055d1e230ddb6664c29d26917b8db9143 (git)
Affected: 75ca758adbafc81804c39b2c200ecdc819a6c042 , < 2fce8b3583d1641a1716486f408478b58e96ec91 (git)
Affected: 75ca758adbafc81804c39b2c200ecdc819a6c042 , < a4cb1004aeed2ab893a058fad00a5b41a12c4691 (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.2
Unaffected: 0 , < 5.2 (semver)
Unaffected: 5.4.229 , ≤ 5.4.* (semver)
Unaffected: 5.10.163 , ≤ 5.10.* (semver)
Unaffected: 5.15.86 , ≤ 5.15.* (semver)
Unaffected: 6.0.16 , ≤ 6.0.* (semver)
Unaffected: 6.1.2 , ≤ 6.1.* (semver)
Unaffected: 6.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/misc/ocxl/file.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "0cd05062371a49774e8a45258bdedf0bd6d3d327",
              "status": "affected",
              "version": "75ca758adbafc81804c39b2c200ecdc819a6c042",
              "versionType": "git"
            },
            {
              "lessThan": "7525741cb302a1672b8c3a5edb2a08e4229b5c7c",
              "status": "affected",
              "version": "75ca758adbafc81804c39b2c200ecdc819a6c042",
              "versionType": "git"
            },
            {
              "lessThan": "3299983a6bf628249ac650908e62d12de959341e",
              "status": "affected",
              "version": "75ca758adbafc81804c39b2c200ecdc819a6c042",
              "versionType": "git"
            },
            {
              "lessThan": "557b7de055d1e230ddb6664c29d26917b8db9143",
              "status": "affected",
              "version": "75ca758adbafc81804c39b2c200ecdc819a6c042",
              "versionType": "git"
            },
            {
              "lessThan": "2fce8b3583d1641a1716486f408478b58e96ec91",
              "status": "affected",
              "version": "75ca758adbafc81804c39b2c200ecdc819a6c042",
              "versionType": "git"
            },
            {
              "lessThan": "a4cb1004aeed2ab893a058fad00a5b41a12c4691",
              "status": "affected",
              "version": "75ca758adbafc81804c39b2c200ecdc819a6c042",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/misc/ocxl/file.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.2"
            },
            {
              "lessThan": "5.2",
              "status": "unaffected",
              "version": "0",
              "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": "5.4.229",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.163",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.86",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.16",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.2",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: ocxl: fix possible name leak in ocxl_file_register_afu()\n\nIf device_register() returns error in ocxl_file_register_afu(),\nthe name allocated by dev_set_name() need be freed. As comment\nof device_register() says, it should use put_device() to give\nup the reference in the error path. So fix this by calling\nput_device(), then the name can be freed in kobject_cleanup(),\nand info is freed in info_release()."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T19:23:20.227Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/0cd05062371a49774e8a45258bdedf0bd6d3d327"
        },
        {
          "url": "https://git.kernel.org/stable/c/7525741cb302a1672b8c3a5edb2a08e4229b5c7c"
        },
        {
          "url": "https://git.kernel.org/stable/c/3299983a6bf628249ac650908e62d12de959341e"
        },
        {
          "url": "https://git.kernel.org/stable/c/557b7de055d1e230ddb6664c29d26917b8db9143"
        },
        {
          "url": "https://git.kernel.org/stable/c/2fce8b3583d1641a1716486f408478b58e96ec91"
        },
        {
          "url": "https://git.kernel.org/stable/c/a4cb1004aeed2ab893a058fad00a5b41a12c4691"
        }
      ],
      "title": "misc: ocxl: fix possible name leak in ocxl_file_register_afu()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50669",
    "datePublished": "2025-12-09T01:29:20.745Z",
    "dateReserved": "2025-12-09T01:26:45.990Z",
    "dateUpdated": "2026-05-11T19:23:20.227Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-50669",
      "date": "2026-09-19",
      "epss": "0.00251",
      "percentile": "0.16849"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/misc/ocxl/file.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "0cd05062371a49774e8a45258bdedf0bd6d3d327",
                    "status": "affected",
                    "version": "75ca758adbafc81804c39b2c200ecdc819a6c042",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "7525741cb302a1672b8c3a5edb2a08e4229b5c7c",
                    "status": "affected",
                    "version": "75ca758adbafc81804c39b2c200ecdc819a6c042",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "3299983a6bf628249ac650908e62d12de959341e",
                    "status": "affected",
                    "version": "75ca758adbafc81804c39b2c200ecdc819a6c042",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "557b7de055d1e230ddb6664c29d26917b8db9143",
                    "status": "affected",
                    "version": "75ca758adbafc81804c39b2c200ecdc819a6c042",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "2fce8b3583d1641a1716486f408478b58e96ec91",
                    "status": "affected",
                    "version": "75ca758adbafc81804c39b2c200ecdc819a6c042",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "a4cb1004aeed2ab893a058fad00a5b41a12c4691",
                    "status": "affected",
                    "version": "75ca758adbafc81804c39b2c200ecdc819a6c042",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/misc/ocxl/file.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "5.2"
                  },
                  {
                    "lessThan": "5.2",
                    "status": "unaffected",
                    "version": "0",
                    "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"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: ocxl: fix possible name leak in ocxl_file_register_afu()\n\nIf device_register() returns error in ocxl_file_register_afu(),\nthe name allocated by dev_set_name() need be freed. As comment\nof device_register() says, it should use put_device() to give\nup the reference in the error path. So fix this by calling\nput_device(), then the name can be freed in kobject_cleanup(),\nand info is freed in info_release()."
          }
        ],
        "id": "CVE-2022-50669",
        "lastModified": "2026-06-17T05:23:57.983",
        "metrics": {},
        "published": "2025-12-09T16:17:18.953",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/0cd05062371a49774e8a45258bdedf0bd6d3d327"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/2fce8b3583d1641a1716486f408478b58e96ec91"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/3299983a6bf628249ac650908e62d12de959341e"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/557b7de055d1e230ddb6664c29d26917b8db9143"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/7525741cb302a1672b8c3a5edb2a08e4229b5c7c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/a4cb1004aeed2ab893a058fad00a5b41a12c4691"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Deferred"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-06-30T10:38:23+00:00",
      "cve": "CVE-2022-50669",
      "id": "CVE-2022-50669",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:known_affected": "156",
      "product_status:known_not_affected": "118",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: misc: ocxl: fix possible name leak in ocxl_file_register_afu()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-50669.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-05T23:41:17Z",
      "cve": "CVE-2022-50669",
      "id": "CVE-2022-50669",
      "initial_release_date": "2025-12-10T00:38:22Z",
      "product_status:known_affected": "421",
      "product_status:known_not_affected": "320",
      "product_status:recommended": "196",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2022-50669",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2022-50669.json",
      "version": "22"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…