Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2023-52660

media: rkisp1: Fix IRQ handling due to shared interrupts

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 25cb42af9ffabffec499e9e69e2fd3797774ce5b to < abd34206f396d3ae50cddbd5aa840b8cd7f68c63affected
  • 25cb42af9ffabffec499e9e69e2fd3797774ce5b to < b39b4d207d4f236a74e20d291f6356f2231fd9eeaffected
  • 25cb42af9ffabffec499e9e69e2fd3797774ce5b to < edcf92bc66d8361c51dff953a55210e5cfd95587affected
  • 25cb42af9ffabffec499e9e69e2fd3797774ce5b to < ffb635bb398fc07cb38f8a7b4a82cbe5f412f08eaffected

Linux Linux

Default version status: affected

  • 5.6affected
  • 0 to < 5.6unaffected
  • 6.1.83 to ≤ 6.1.*unaffected
  • 6.6.23 to ≤ 6.6.*unaffected
  • 6.7.11 to ≤ 6.7.*unaffected
  • 6.8 to ≤ *unaffected

References