CVE-2023-52660

media: rkisp1: Fix IRQ handling due to shared interrupts

published May 17, 2024

CVSS
—
EPSS
0%
Percentile
12.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00221 · 12.0th percentile
Published
2024-05-17T12:08Z
EPSS history
Timeline
  • 17 MAY 12:08Z
    media: rkisp1: Fix IRQ handling due to shared interrupts
    cvelistv5