CVE-2023-52565 (GCVE-0-2023-52565)
Vulnerability from cvelistv5
Published
2024-03-02 21:59
Modified
2026-08-05 09:10
Summary
In the Linux kernel, the following vulnerability has been resolved: media: uvcvideo: Fix OOB read If the index provided by the user is bigger than the mask size, we might do an out of bound read.
Impacted products
Vendor Product Version
Linux Linux Version: 367703c3ec4f72208b8cae14310b8a2c955ec565
Version: 40140eda661ea4be219ef194a4f43b7b5e3bbd27
Version: 40140eda661ea4be219ef194a4f43b7b5e3bbd27
Version: 42cbbc6b2c39b02e07cbd24dc2155d4edb99dd04
Version: 6.1.16   
Version: 6.2.3   
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T23:03:20.865Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/09635bf4cdd4adf2160198a6041bcc7ca46c0558"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/8bcf70d787f7d53a3b85ad394f926cfef3eed023"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/41ebaa5e0eebea4c3bac96b72f9f8ae0d77c0bdb"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2023-52565",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T15:56:29.446061Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-11T17:33:36.805Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/usb/uvc/uvc_ctrl.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "09635bf4cdd4adf2160198a6041bcc7ca46c0558",
              "status": "affected",
              "version": "367703c3ec4f72208b8cae14310b8a2c955ec565",
              "versionType": "git"
            },
            {
              "lessThan": "8bcf70d787f7d53a3b85ad394f926cfef3eed023",
              "status": "affected",
              "version": "40140eda661ea4be219ef194a4f43b7b5e3bbd27",
              "versionType": "git"
            },
            {
              "lessThan": "41ebaa5e0eebea4c3bac96b72f9f8ae0d77c0bdb",
              "status": "affected",
              "version": "40140eda661ea4be219ef194a4f43b7b5e3bbd27",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "42cbbc6b2c39b02e07cbd24dc2155d4edb99dd04",
              "versionType": "git"
            },
            {
              "lessThan": "6.1.56",
              "status": "affected",
              "version": "6.1.16",
              "versionType": "semver"
            },
            {
              "lessThan": "6.3",
              "status": "affected",
              "version": "6.2.3",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/usb/uvc/uvc_ctrl.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.3"
            },
            {
              "lessThan": "6.3",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.56",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.5.*",
              "status": "unaffected",
              "version": "6.5.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.6",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.56",
                  "versionStartIncluding": "6.1.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5.6",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.2.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: uvcvideo: Fix OOB read\n\nIf the index provided by the user is bigger than the mask size, we might do\nan out of bound read."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.1,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The bug is triggered by a local VIDIOC_QUERYMENU ioctl on a UVC /dev/videoX node with a crafted menu index, not by USB descriptor/traffic from a malicious device.\nAC:L - The attacker fully controls the u32 index and can reliably force test_bit() past menu_mask into adjacent or unmapped memory without depending on races or other uncontrolled conditions.\nPR:L - Opening the video device and issuing VIDIOC_QUERYMENU requires only ordinary local access to /dev/videoX (e.g., video group or session ACL); querymenu does not call uvc_acquire_privileges or need CAP_*.\nUI:N - Once the attacker can open the existing UVC device node, exploitation needs no additional victim action such as plugging in a device or confirming a prompt.\nS:U - Impact remains within the local kernel/OS authority; this is a standard host kernel bug with no VM, IOMMU, or other security-authority boundary crossing.\nC:H - User-controlled index makes test_bit() an unbounded OOB read (bit oracle over attacker-chosen offsets), and a successful bit check can further OOB-index menu name tables and copy up to 32 bytes into the querymenu response.\nI:N - The vulnerable path only performs reads (test_bit/strscpy); the corresponding control-set path already bounds the value with ffs/fls, so there is no OOB write or integrity primitive.\nA:H - A sufficiently large index causes test_bit() to load from unmapped kernel addresses, producing a reliable kernel oops/crash and denial of service."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T09:10:25.951Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/09635bf4cdd4adf2160198a6041bcc7ca46c0558"
        },
        {
          "url": "https://git.kernel.org/stable/c/8bcf70d787f7d53a3b85ad394f926cfef3eed023"
        },
        {
          "url": "https://git.kernel.org/stable/c/41ebaa5e0eebea4c3bac96b72f9f8ae0d77c0bdb"
        }
      ],
      "title": "media: uvcvideo: Fix OOB read",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-52565",
    "datePublished": "2024-03-02T21:59:37.505Z",
    "dateReserved": "2024-03-02T21:55:42.567Z",
    "dateUpdated": "2026-08-05T09:10:25.951Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/09635bf4cdd4adf2160198a6041bcc7ca46c0558\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/8bcf70d787f7d53a3b85ad394f926cfef3eed023\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/41ebaa5e0eebea4c3bac96b72f9f8ae0d77c0bdb\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T23:03:20.865Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2023-52565\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-10T15:56:29.446061Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-11T12:42:17.626Z\"}}], \"cna\": {\"title\": \"media: uvcvideo: Fix OOB read\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.1, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:L - The bug is triggered by a local VIDIOC_QUERYMENU ioctl on a UVC /dev/videoX node with a crafted menu index, not by USB descriptor/traffic from a malicious device.\\nAC:L - The attacker fully controls the u32 index and can reliably force test_bit() past menu_mask into adjacent or unmapped memory without depending on races or other uncontrolled conditions.\\nPR:L - Opening the video device and issuing VIDIOC_QUERYMENU requires only ordinary local access to /dev/videoX (e.g., video group or session ACL); querymenu does not call uvc_acquire_privileges or need CAP_*.\\nUI:N - Once the attacker can open the existing UVC device node, exploitation needs no additional victim action such as plugging in a device or confirming a prompt.\\nS:U - Impact remains within the local kernel/OS authority; this is a standard host kernel bug with no VM, IOMMU, or other security-authority boundary crossing.\\nC:H - User-controlled index makes test_bit() an unbounded OOB read (bit oracle over attacker-chosen offsets), and a successful bit check can further OOB-index menu name tables and copy up to 32 bytes into the querymenu response.\\nI:N - The vulnerable path only performs reads (test_bit/strscpy); the corresponding control-set path already bounds the value with ffs/fls, so there is no OOB write or integrity primitive.\\nA:H - A sufficiently large index causes test_bit() to load from unmapped kernel addresses, producing a reliable kernel oops/crash and denial of service.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"367703c3ec4f72208b8cae14310b8a2c955ec565\", \"lessThan\": \"09635bf4cdd4adf2160198a6041bcc7ca46c0558\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"40140eda661ea4be219ef194a4f43b7b5e3bbd27\", \"lessThan\": \"8bcf70d787f7d53a3b85ad394f926cfef3eed023\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"40140eda661ea4be219ef194a4f43b7b5e3bbd27\", \"lessThan\": \"41ebaa5e0eebea4c3bac96b72f9f8ae0d77c0bdb\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"42cbbc6b2c39b02e07cbd24dc2155d4edb99dd04\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"6.1.16\", \"lessThan\": \"6.1.56\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"6.2.3\", \"lessThan\": \"6.3\", \"versionType\": \"semver\"}], \"programFiles\": [\"drivers/media/usb/uvc/uvc_ctrl.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.3\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.3\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.1.56\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.5.6\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.5.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/media/usb/uvc/uvc_ctrl.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/09635bf4cdd4adf2160198a6041bcc7ca46c0558\"}, {\"url\": \"https://git.kernel.org/stable/c/8bcf70d787f7d53a3b85ad394f926cfef3eed023\"}, {\"url\": \"https://git.kernel.org/stable/c/41ebaa5e0eebea4c3bac96b72f9f8ae0d77c0bdb\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmedia: uvcvideo: Fix OOB read\\n\\nIf the index provided by the user is bigger than the mask size, we might do\\nan out of bound read.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.56\", \"versionStartIncluding\": \"6.1.16\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.5.6\", \"versionStartIncluding\": \"6.3\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6\", \"versionStartIncluding\": \"6.3\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionStartIncluding\": \"6.2.3\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T09:10:25.951Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2023-52565\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-05T09:10:25.951Z\", \"dateReserved\": \"2024-03-02T21:55:42.567Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-03-02T21:59:37.505Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


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.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • 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…

Loading…