cve-2023-52660
Vulnerability from cvelistv5
Published
2024-05-17 12:08
Modified
2024-12-19 08:23
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: 5.6
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"
            }
          ]
        }
      ],
      "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": "2024-12-19T08:23:33.693Z",
        "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-5f407fcff5a0"
      }
    }
  },
  "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": "2024-12-19T08:23:33.693Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-52660\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-05-17T13:15:57.770\",\"lastModified\":\"2024-11-21T08:40:18.393\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"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.\"},{\"lang\":\"es\",\"value\":\" En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: media: rkisp1: Corrige el manejo de IRQ debido a interrupciones compartidas. El controlador solicita las interrupciones como IRQF_SHARED, por lo que se puede llamar a los controladores de interrupciones en cualquier momento. Si se produce una llamada de este tipo mientras el ISP est\u00e1 apagado, el SoC se bloquear\u00e1 cuando el controlador intente acceder a los registros del ISP. Esto se puede reproducir incluso sin que la plataforma comparta la l\u00ednea IRQ: habilite CONFIG_DEBUG_SHIRQ y descargue el controlador, y la placa se bloquear\u00e1. Solucione este problema agregando un nuevo campo, \u0027irqs_enabled\u0027, que se utiliza para salir del controlador de interrupciones cuando el ISP no est\u00e1 operativo.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/abd34206f396d3ae50cddbd5aa840b8cd7f68c63\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b39b4d207d4f236a74e20d291f6356f2231fd9ee\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/edcf92bc66d8361c51dff953a55210e5cfd95587\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ffb635bb398fc07cb38f8a7b4a82cbe5f412f08e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/abd34206f396d3ae50cddbd5aa840b8cd7f68c63\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/b39b4d207d4f236a74e20d291f6356f2231fd9ee\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/edcf92bc66d8361c51dff953a55210e5cfd95587\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/ffb635bb398fc07cb38f8a7b4a82cbe5f412f08e\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}"
  }
}


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.