Lucene search

K
cvelistLinuxCVELIST:CVE-2023-52654
HistoryMay 09, 2024 - 4:37 p.m.

CVE-2023-52654 io_uring/af_unix: disable sending io_uring over sockets

2024-05-0916:37:04
Linux
www.cve.org
1
linux kernel
vulnerability
io_uring
af_unix
sockets
scm_right

6.8 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.5%

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.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "io_uring/rsrc.h",
      "net/core/scm.c"
    ],
    "versions": [
      {
        "version": "04df9719df18",
        "lessThan": "18824f592aad",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c378c479c517",
        "lessThan": "3fe1ea5f921b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "813d8fe5d303",
        "lessThan": "bcedd497b3b4",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "0091bfc81741",
        "lessThan": "f2f57f51b53b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "0091bfc81741",
        "lessThan": "5a33d385eb36",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "0091bfc81741",
        "lessThan": "705318a99a13",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "io_uring/rsrc.h",
      "net/core/scm.c"
    ],
    "versions": [
      {
        "version": "6.1",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.1",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.264",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.204",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.143",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.68",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.7",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.8 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.5%