CVE-2023-52660
JSON

5.5medium

media: rkisp1: Fix IRQ handling due to shared interrupts

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 25cb42af9ffabffec499e9e69e2fd3797774ce5b before abd34206f396d3ae50cddbd5aa840b8cd7f68c63, from 25cb42af9ffabffec499e9e69e2fd3797774ce5b before b39b4d207d4f236a74e20d291f6356f2231fd9ee, from 25cb42af9ffabffec499e9e69e2fd3797774ce5b before edcf92bc66d8361c51dff953a55210e5cfd95587, from 25cb42af9ffabffec499e9e69e2fd3797774ce5b before ffb635bb398fc07cb38f8a7b4a82cbe5f412f08e, 5.6
Not affected: before 5.6, from 6.1.83 up to 6.1.*, from 6.6.23 up to 6.6.*, from 6.7.11 up to 6.7.*, from 6.8 up to *
CVE List
linux linux_kernelfrom 5.6 before 6.1.83, from 6.2 before 6.6.23, from 6.7 before 6.7.11, 6.8NVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

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á apagado, el SoC se bloqueará cuando el controlador intente acceder a los registros del ISP. Esto se puede reproducir incluso sin que la plataforma comparta la línea IRQ: habilite CONFIG_DEBUG_SHIRQ y descargue el controlador, y la placa se bloqueará. Solucione este problema agregando un nuevo campo, 'irqs_enabled', que se utiliza para salir del controlador de interrupciones cuando el ISP no está operativo.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-52660 changed 2026-05-11CVE Terms of Use
NVDCVE-2023-52660 changed 2026-06-17Public domain