CVE-2023-52654 (GCVE-0-2023-52654)

Vulnerability from cvelistv5 – Published: 2024-05-09 16:37 – Updated: 2025-05-04 12:49
VLAI?
Title
io_uring/af_unix: disable sending io_uring over sockets
Summary
In the Linux kernel, the following vulnerability has been resolved: io_uring/af_unix: disable sending io_uring over sockets File reference cycles have caused lots of problems for io_uring in the past, and it still doesn't work exactly right and races with unix_stream_read_generic(). The safest fix would be to completely disallow sending io_uring files via sockets via SCM_RIGHT, so there are no possible cycles invloving registered files and thus rendering SCM accounting on the io_uring side unnecessary.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 04df9719df1865f6770af9bc7880874af0e594b2 , < 18824f592aad4124d79751bbc1500ea86ac3ff29 (git)
Affected: c378c479c5175833bb22ff71974cda47d7b05401 , < 3fe1ea5f921bf5b71cbfdc4469fb96c05936610e (git)
Affected: 813d8fe5d30388f73a21d3a2bf46b0a1fd72498c , < bcedd497b3b4a0be56f3adf7c7542720eced0792 (git)
Affected: 0091bfc81741b8d3aeb3b7ab8636f911b2de6e80 , < f2f57f51b53be153a522300454ddb3887722fb2c (git)
Affected: 0091bfc81741b8d3aeb3b7ab8636f911b2de6e80 , < 5a33d385eb36991a91e3dddb189d8679e2aac2be (git)
Affected: 0091bfc81741b8d3aeb3b7ab8636f911b2de6e80 , < 705318a99a138c29a512a72c3e0043b3cd7f55f4 (git)
Affected: b4293c01ee0d0ecdd3cb5801e13f62271144667a (git)
Affected: 75e94c7e8859e58aadc15a98cc9704edff47d4f2 (git)
Create a notification for this product.
    Linux Linux Affected: 6.1
Unaffected: 0 , < 6.1 (semver)
Unaffected: 5.4.264 , ≤ 5.4.* (semver)
Unaffected: 5.10.204 , ≤ 5.10.* (semver)
Unaffected: 5.15.143 , ≤ 5.15.* (semver)
Unaffected: 6.1.68 , ≤ 6.1.* (semver)
Unaffected: 6.6.7 , ≤ 6.6.* (semver)
Unaffected: 6.7 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2023-52654",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-05-09T18:37:06.033789Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-04T17:23:29.618Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T23:03:21.358Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/18824f592aad4124d79751bbc1500ea86ac3ff29"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/3fe1ea5f921bf5b71cbfdc4469fb96c05936610e"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/bcedd497b3b4a0be56f3adf7c7542720eced0792"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/f2f57f51b53be153a522300454ddb3887722fb2c"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/5a33d385eb36991a91e3dddb189d8679e2aac2be"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/705318a99a138c29a512a72c3e0043b3cd7f55f4"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "io_uring/rsrc.h",
            "net/core/scm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "18824f592aad4124d79751bbc1500ea86ac3ff29",
              "status": "affected",
              "version": "04df9719df1865f6770af9bc7880874af0e594b2",
              "versionType": "git"
            },
            {
              "lessThan": "3fe1ea5f921bf5b71cbfdc4469fb96c05936610e",
              "status": "affected",
              "version": "c378c479c5175833bb22ff71974cda47d7b05401",
              "versionType": "git"
            },
            {
              "lessThan": "bcedd497b3b4a0be56f3adf7c7542720eced0792",
              "status": "affected",
              "version": "813d8fe5d30388f73a21d3a2bf46b0a1fd72498c",
              "versionType": "git"
            },
            {
              "lessThan": "f2f57f51b53be153a522300454ddb3887722fb2c",
              "status": "affected",
              "version": "0091bfc81741b8d3aeb3b7ab8636f911b2de6e80",
              "versionType": "git"
            },
            {
              "lessThan": "5a33d385eb36991a91e3dddb189d8679e2aac2be",
              "status": "affected",
              "version": "0091bfc81741b8d3aeb3b7ab8636f911b2de6e80",
              "versionType": "git"
            },
            {
              "lessThan": "705318a99a138c29a512a72c3e0043b3cd7f55f4",
              "status": "affected",
              "version": "0091bfc81741b8d3aeb3b7ab8636f911b2de6e80",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "b4293c01ee0d0ecdd3cb5801e13f62271144667a",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "75e94c7e8859e58aadc15a98cc9704edff47d4f2",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "io_uring/rsrc.h",
            "net/core/scm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.1"
            },
            {
              "lessThan": "6.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.264",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.204",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.143",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.68",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.7",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.264",
                  "versionStartIncluding": "5.4.220",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.204",
                  "versionStartIncluding": "5.10.150",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.143",
                  "versionStartIncluding": "5.15.75",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.68",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.7",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.7",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.19.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.0.3",
                  "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: disable sending io_uring over sockets\n\nFile reference cycles have caused lots of problems for io_uring\nin the past, and it still doesn\u0027t work exactly right and races with\nunix_stream_read_generic(). The safest fix would be to completely\ndisallow sending io_uring files via sockets via SCM_RIGHT, so there\nare no possible cycles invloving registered files and thus rendering\nSCM accounting on the io_uring side unnecessary."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T12:49:22.099Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/18824f592aad4124d79751bbc1500ea86ac3ff29"
        },
        {
          "url": "https://git.kernel.org/stable/c/3fe1ea5f921bf5b71cbfdc4469fb96c05936610e"
        },
        {
          "url": "https://git.kernel.org/stable/c/bcedd497b3b4a0be56f3adf7c7542720eced0792"
        },
        {
          "url": "https://git.kernel.org/stable/c/f2f57f51b53be153a522300454ddb3887722fb2c"
        },
        {
          "url": "https://git.kernel.org/stable/c/5a33d385eb36991a91e3dddb189d8679e2aac2be"
        },
        {
          "url": "https://git.kernel.org/stable/c/705318a99a138c29a512a72c3e0043b3cd7f55f4"
        }
      ],
      "title": "io_uring/af_unix: disable sending io_uring over sockets",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-52654",
    "datePublished": "2024-05-09T16:37:04.293Z",
    "dateReserved": "2024-03-06T09:52:12.098Z",
    "dateUpdated": "2025-05-04T12:49:22.099Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/18824f592aad4124d79751bbc1500ea86ac3ff29\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/3fe1ea5f921bf5b71cbfdc4469fb96c05936610e\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/bcedd497b3b4a0be56f3adf7c7542720eced0792\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/f2f57f51b53be153a522300454ddb3887722fb2c\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/5a33d385eb36991a91e3dddb189d8679e2aac2be\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/705318a99a138c29a512a72c3e0043b3cd7f55f4\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T23:03:21.358Z\"}}, {\"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2023-52654\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-05-09T18:37:06.033789Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-05-23T19:01:24.204Z\"}, \"title\": \"CISA ADP Vulnrichment\"}], \"cna\": {\"title\": \"io_uring/af_unix: disable sending io_uring over sockets\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"04df9719df1865f6770af9bc7880874af0e594b2\", \"lessThan\": \"18824f592aad4124d79751bbc1500ea86ac3ff29\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"c378c479c5175833bb22ff71974cda47d7b05401\", \"lessThan\": \"3fe1ea5f921bf5b71cbfdc4469fb96c05936610e\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"813d8fe5d30388f73a21d3a2bf46b0a1fd72498c\", \"lessThan\": \"bcedd497b3b4a0be56f3adf7c7542720eced0792\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"0091bfc81741b8d3aeb3b7ab8636f911b2de6e80\", \"lessThan\": \"f2f57f51b53be153a522300454ddb3887722fb2c\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"0091bfc81741b8d3aeb3b7ab8636f911b2de6e80\", \"lessThan\": \"5a33d385eb36991a91e3dddb189d8679e2aac2be\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"0091bfc81741b8d3aeb3b7ab8636f911b2de6e80\", \"lessThan\": \"705318a99a138c29a512a72c3e0043b3cd7f55f4\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"b4293c01ee0d0ecdd3cb5801e13f62271144667a\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"75e94c7e8859e58aadc15a98cc9704edff47d4f2\", \"versionType\": \"git\"}], \"programFiles\": [\"io_uring/rsrc.h\", \"net/core/scm.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.1\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.1\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.4.264\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.204\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.143\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.68\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.7\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.7\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"io_uring/rsrc.h\", \"net/core/scm.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/18824f592aad4124d79751bbc1500ea86ac3ff29\"}, {\"url\": \"https://git.kernel.org/stable/c/3fe1ea5f921bf5b71cbfdc4469fb96c05936610e\"}, {\"url\": \"https://git.kernel.org/stable/c/bcedd497b3b4a0be56f3adf7c7542720eced0792\"}, {\"url\": \"https://git.kernel.org/stable/c/f2f57f51b53be153a522300454ddb3887722fb2c\"}, {\"url\": \"https://git.kernel.org/stable/c/5a33d385eb36991a91e3dddb189d8679e2aac2be\"}, {\"url\": \"https://git.kernel.org/stable/c/705318a99a138c29a512a72c3e0043b3cd7f55f4\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nio_uring/af_unix: disable sending io_uring over sockets\\n\\nFile reference cycles have caused lots of problems for io_uring\\nin the past, and it still doesn\u0027t work exactly right and races with\\nunix_stream_read_generic(). The safest fix would be to completely\\ndisallow sending io_uring files via sockets via SCM_RIGHT, so there\\nare no possible cycles invloving registered files and thus rendering\\nSCM accounting on the io_uring side unnecessary.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.264\", \"versionStartIncluding\": \"5.4.220\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.204\", \"versionStartIncluding\": \"5.10.150\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.143\", \"versionStartIncluding\": \"5.15.75\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.68\", \"versionStartIncluding\": \"6.1\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.7\", \"versionStartIncluding\": \"6.1\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.7\", \"versionStartIncluding\": \"6.1\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionStartIncluding\": \"5.19.17\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionStartIncluding\": \"6.0.3\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-05-04T12:49:22.099Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2023-52654\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-05-04T12:49:22.099Z\", \"dateReserved\": \"2024-03-06T09:52:12.098Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-05-09T16:37:04.293Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


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…