CVE-2023-52660 (GCVE-0-2023-52660)
Vulnerability from cvelistv5
Published
2024-05-17 12:08
Modified
2025-05-04 07:41
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: media: rkisp1: Fix IRQ handling due to shared interrupts The driver requests the interrupts as IRQF_SHARED, so the interrupt handlers can be called at any time. If such a call happens while the ISP is powered down, the SoC will hang as the driver tries to access the ISP registers. This can be reproduced even without the platform sharing the IRQ line: Enable CONFIG_DEBUG_SHIRQ and unload the driver, and the board will hang. Fix this by adding a new field, 'irqs_enabled', which is used to bail out from the interrupt handler when the ISP is not operational.
Impacted products
Vendor Product Version
Linux Linux Version: 25cb42af9ffabffec499e9e69e2fd3797774ce5b
Version: 25cb42af9ffabffec499e9e69e2fd3797774ce5b
Version: 25cb42af9ffabffec499e9e69e2fd3797774ce5b
Version: 25cb42af9ffabffec499e9e69e2fd3797774ce5b
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2023-52660",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-06-17T17:39:29.830848Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-17T17:43:38.030Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T23:03:21.359Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/abd34206f396d3ae50cddbd5aa840b8cd7f68c63"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/b39b4d207d4f236a74e20d291f6356f2231fd9ee"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/edcf92bc66d8361c51dff953a55210e5cfd95587"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/ffb635bb398fc07cb38f8a7b4a82cbe5f412f08e"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/platform/rockchip/rkisp1/rkisp1-capture.c",
            "drivers/media/platform/rockchip/rkisp1/rkisp1-common.h",
            "drivers/media/platform/rockchip/rkisp1/rkisp1-csi.c",
            "drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c",
            "drivers/media/platform/rockchip/rkisp1/rkisp1-isp.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "abd34206f396d3ae50cddbd5aa840b8cd7f68c63",
              "status": "affected",
              "version": "25cb42af9ffabffec499e9e69e2fd3797774ce5b",
              "versionType": "git"
            },
            {
              "lessThan": "b39b4d207d4f236a74e20d291f6356f2231fd9ee",
              "status": "affected",
              "version": "25cb42af9ffabffec499e9e69e2fd3797774ce5b",
              "versionType": "git"
            },
            {
              "lessThan": "edcf92bc66d8361c51dff953a55210e5cfd95587",
              "status": "affected",
              "version": "25cb42af9ffabffec499e9e69e2fd3797774ce5b",
              "versionType": "git"
            },
            {
              "lessThan": "ffb635bb398fc07cb38f8a7b4a82cbe5f412f08e",
              "status": "affected",
              "version": "25cb42af9ffabffec499e9e69e2fd3797774ce5b",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/platform/rockchip/rkisp1/rkisp1-capture.c",
            "drivers/media/platform/rockchip/rkisp1/rkisp1-common.h",
            "drivers/media/platform/rockchip/rkisp1/rkisp1-csi.c",
            "drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c",
            "drivers/media/platform/rockchip/rkisp1/rkisp1-isp.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.6"
            },
            {
              "lessThan": "5.6",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.83",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.23",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.7.*",
              "status": "unaffected",
              "version": "6.7.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.8",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.83",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.23",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.7.11",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.8",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: rkisp1: Fix IRQ handling due to shared interrupts\n\nThe driver requests the interrupts as IRQF_SHARED, so the interrupt\nhandlers can be called at any time. If such a call happens while the ISP\nis powered down, the SoC will hang as the driver tries to access the\nISP registers.\n\nThis can be reproduced even without the platform sharing the IRQ line:\nEnable CONFIG_DEBUG_SHIRQ and unload the driver, and the board will\nhang.\n\nFix this by adding a new field, \u0027irqs_enabled\u0027, which is used to bail\nout from the interrupt handler when the ISP is not operational."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T07:41:04.176Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/abd34206f396d3ae50cddbd5aa840b8cd7f68c63"
        },
        {
          "url": "https://git.kernel.org/stable/c/b39b4d207d4f236a74e20d291f6356f2231fd9ee"
        },
        {
          "url": "https://git.kernel.org/stable/c/edcf92bc66d8361c51dff953a55210e5cfd95587"
        },
        {
          "url": "https://git.kernel.org/stable/c/ffb635bb398fc07cb38f8a7b4a82cbe5f412f08e"
        }
      ],
      "title": "media: rkisp1: Fix IRQ handling due to shared interrupts",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-52660",
    "datePublished": "2024-05-17T12:08:39.897Z",
    "dateReserved": "2024-03-07T14:49:46.884Z",
    "dateUpdated": "2025-05-04T07:41:04.176Z",
    "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/abd34206f396d3ae50cddbd5aa840b8cd7f68c63\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/b39b4d207d4f236a74e20d291f6356f2231fd9ee\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/edcf92bc66d8361c51dff953a55210e5cfd95587\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/ffb635bb398fc07cb38f8a7b4a82cbe5f412f08e\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T23:03:21.359Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2023-52660\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-06-17T17:39:29.830848Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-06-17T17:39:31.046Z\"}}], \"cna\": {\"title\": \"media: rkisp1: Fix IRQ handling due to shared interrupts\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"25cb42af9ffabffec499e9e69e2fd3797774ce5b\", \"lessThan\": \"abd34206f396d3ae50cddbd5aa840b8cd7f68c63\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"25cb42af9ffabffec499e9e69e2fd3797774ce5b\", \"lessThan\": \"b39b4d207d4f236a74e20d291f6356f2231fd9ee\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"25cb42af9ffabffec499e9e69e2fd3797774ce5b\", \"lessThan\": \"edcf92bc66d8361c51dff953a55210e5cfd95587\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"25cb42af9ffabffec499e9e69e2fd3797774ce5b\", \"lessThan\": \"ffb635bb398fc07cb38f8a7b4a82cbe5f412f08e\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/media/platform/rockchip/rkisp1/rkisp1-capture.c\", \"drivers/media/platform/rockchip/rkisp1/rkisp1-common.h\", \"drivers/media/platform/rockchip/rkisp1/rkisp1-csi.c\", \"drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c\", \"drivers/media/platform/rockchip/rkisp1/rkisp1-isp.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.6\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.6\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.1.83\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.23\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.7.11\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.7.*\"}, {\"status\": \"unaffected\", \"version\": \"6.8\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/media/platform/rockchip/rkisp1/rkisp1-capture.c\", \"drivers/media/platform/rockchip/rkisp1/rkisp1-common.h\", \"drivers/media/platform/rockchip/rkisp1/rkisp1-csi.c\", \"drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c\", \"drivers/media/platform/rockchip/rkisp1/rkisp1-isp.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/abd34206f396d3ae50cddbd5aa840b8cd7f68c63\"}, {\"url\": \"https://git.kernel.org/stable/c/b39b4d207d4f236a74e20d291f6356f2231fd9ee\"}, {\"url\": \"https://git.kernel.org/stable/c/edcf92bc66d8361c51dff953a55210e5cfd95587\"}, {\"url\": \"https://git.kernel.org/stable/c/ffb635bb398fc07cb38f8a7b4a82cbe5f412f08e\"}], \"x_generator\": {\"engine\": \"bippy-5f407fcff5a0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmedia: rkisp1: Fix IRQ handling due to shared interrupts\\n\\nThe driver requests the interrupts as IRQF_SHARED, so the interrupt\\nhandlers can be called at any time. If such a call happens while the ISP\\nis powered down, the SoC will hang as the driver tries to access the\\nISP registers.\\n\\nThis can be reproduced even without the platform sharing the IRQ line:\\nEnable CONFIG_DEBUG_SHIRQ and unload the driver, and the board will\\nhang.\\n\\nFix this by adding a new field, \u0027irqs_enabled\u0027, which is used to bail\\nout from the interrupt handler when the ISP is not operational.\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-12-19T08:23:33.693Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2023-52660\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-12-19T08:23:33.693Z\", \"dateReserved\": \"2024-03-07T14:49:46.884Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-05-17T12:08:39.897Z\", \"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 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…