CVE-2023-52660

media: rkisp1: Fix IRQ handling due to shared interrupts

State
Published
Severity
Not scored
Published
May 17, 2024
Updated
May 11, 2026
Reserved
Mar 7, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 25cb42af9ffabffec499e9e69e2fd3797774ce5b to before abd34206f396d3ae50cddbd5aa840b8cd7f68c63Affected
  • 25cb42af9ffabffec499e9e69e2fd3797774ce5b to before b39b4d207d4f236a74e20d291f6356f2231fd9eeAffected
  • 25cb42af9ffabffec499e9e69e2fd3797774ce5b to before edcf92bc66d8361c51dff953a55210e5cfd95587Affected
  • 25cb42af9ffabffec499e9e69e2fd3797774ce5b to before ffb635bb398fc07cb38f8a7b4a82cbe5f412f08eAffected
LinuxLinux
  • 5.6Affected
  • before 5.6Not affected
  • 6.1.83 through 6.1.*Not affected
  • 6.6.23 through 6.6.*Not affected
  • 6.7.11 through 6.7.*Not affected
  • 6.8 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.