CVE-2022-50234 (GCVE-0-2022-50234)
Vulnerability from cvelistv5
Published
2025-09-15 14:01
Modified
2025-09-15 14:01
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: io_uring/af_unix: defer registered files gc to io_uring release Instead of putting io_uring's registered files in unix_gc() we want it to be done by io_uring itself. The trick here is to consider io_uring registered files for cycle detection but not actually putting them down. Because io_uring can't register other ring instances, this will remove all refs to the ring file triggering the ->release path and clean up with io_ring_ctx_free(). [axboe: add kerneldoc comment to skb, fold in skb leak fix]
Impacted products
Vendor Product Version
Linux Linux Version: 6b06314c47e141031be043539900d80d2c7ba10f
Version: 6b06314c47e141031be043539900d80d2c7ba10f
Version: 6b06314c47e141031be043539900d80d2c7ba10f
Version: 6b06314c47e141031be043539900d80d2c7ba10f
Version: 6b06314c47e141031be043539900d80d2c7ba10f
Version: 6b06314c47e141031be043539900d80d2c7ba10f
Create a notification for this product.
   Linux Linux Version: 5.1
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "include/linux/skbuff.h",
            "io_uring/rsrc.c",
            "net/unix/garbage.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "04df9719df1865f6770af9bc7880874af0e594b2",
              "status": "affected",
              "version": "6b06314c47e141031be043539900d80d2c7ba10f",
              "versionType": "git"
            },
            {
              "lessThan": "c378c479c5175833bb22ff71974cda47d7b05401",
              "status": "affected",
              "version": "6b06314c47e141031be043539900d80d2c7ba10f",
              "versionType": "git"
            },
            {
              "lessThan": "813d8fe5d30388f73a21d3a2bf46b0a1fd72498c",
              "status": "affected",
              "version": "6b06314c47e141031be043539900d80d2c7ba10f",
              "versionType": "git"
            },
            {
              "lessThan": "b4293c01ee0d0ecdd3cb5801e13f62271144667a",
              "status": "affected",
              "version": "6b06314c47e141031be043539900d80d2c7ba10f",
              "versionType": "git"
            },
            {
              "lessThan": "75e94c7e8859e58aadc15a98cc9704edff47d4f2",
              "status": "affected",
              "version": "6b06314c47e141031be043539900d80d2c7ba10f",
              "versionType": "git"
            },
            {
              "lessThan": "0091bfc81741b8d3aeb3b7ab8636f911b2de6e80",
              "status": "affected",
              "version": "6b06314c47e141031be043539900d80d2c7ba10f",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "include/linux/skbuff.h",
            "io_uring/rsrc.c",
            "net/unix/garbage.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.1"
            },
            {
              "lessThan": "5.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.220",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.150",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.75",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.19.*",
              "status": "unaffected",
              "version": "5.19.17",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.3",
              "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": "5.4.220",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.150",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.75",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19.17",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.3",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/af_unix: defer registered files gc to io_uring release\n\nInstead of putting io_uring\u0027s registered files in unix_gc() we want it\nto be done by io_uring itself. The trick here is to consider io_uring\nregistered files for cycle detection but not actually putting them down.\nBecause io_uring can\u0027t register other ring instances, this will remove\nall refs to the ring file triggering the -\u003erelease path and clean up\nwith io_ring_ctx_free().\n\n[axboe: add kerneldoc comment to skb, fold in skb leak fix]"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-09-15T14:01:38.199Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/04df9719df1865f6770af9bc7880874af0e594b2"
        },
        {
          "url": "https://git.kernel.org/stable/c/c378c479c5175833bb22ff71974cda47d7b05401"
        },
        {
          "url": "https://git.kernel.org/stable/c/813d8fe5d30388f73a21d3a2bf46b0a1fd72498c"
        },
        {
          "url": "https://git.kernel.org/stable/c/b4293c01ee0d0ecdd3cb5801e13f62271144667a"
        },
        {
          "url": "https://git.kernel.org/stable/c/75e94c7e8859e58aadc15a98cc9704edff47d4f2"
        },
        {
          "url": "https://git.kernel.org/stable/c/0091bfc81741b8d3aeb3b7ab8636f911b2de6e80"
        }
      ],
      "title": "io_uring/af_unix: defer registered files gc to io_uring release",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50234",
    "datePublished": "2025-09-15T14:01:38.199Z",
    "dateReserved": "2025-06-18T10:57:27.432Z",
    "dateUpdated": "2025-09-15T14:01:38.199Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50234\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-09-15T14:15:33.727\",\"lastModified\":\"2025-09-15T15:21:42.937\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nio_uring/af_unix: defer registered files gc to io_uring release\\n\\nInstead of putting io_uring\u0027s registered files in unix_gc() we want it\\nto be done by io_uring itself. The trick here is to consider io_uring\\nregistered files for cycle detection but not actually putting them down.\\nBecause io_uring can\u0027t register other ring instances, this will remove\\nall refs to the ring file triggering the -\u003erelease path and clean up\\nwith io_ring_ctx_free().\\n\\n[axboe: add kerneldoc comment to skb, fold in skb leak fix]\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0091bfc81741b8d3aeb3b7ab8636f911b2de6e80\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/04df9719df1865f6770af9bc7880874af0e594b2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/75e94c7e8859e58aadc15a98cc9704edff47d4f2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/813d8fe5d30388f73a21d3a2bf46b0a1fd72498c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b4293c01ee0d0ecdd3cb5801e13f62271144667a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c378c479c5175833bb22ff71974cda47d7b05401\",\"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.
  • 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…