CVE-2023-52589: media: rkisp1: Fix IRQ disable race issue

Published Mar 6, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

media: rkisp1: Fix IRQ disable race issue

In rkisp1ispstop() and rkisp1csidisable() the driver masks the interrupts and then apparently assumes that the interrupt handler won't be running, and proceeds in the stop procedure. This is not the case, as the interrupt handler can already be running, which would lead to the ISP being disabled while the interrupt handler handling a captured frame.

This brings up two issues: 1) the ISP could be powered off while the interrupt handler is still running and accessing registers, leading to board lockup, and 2) the interrupt handler code and the code that disables the streaming might do things that conflict.

It is not clear to me if 2) causes a real issue, but 1) can be seen with a suitable delay (or printk in my case) in the interrupt handler, leading to board lockup.

Affected Software

4 affected componentsFixes available
Linux Linux kernel<6.1.77
Linux Linux kernel>=6.2<6.6.16
Linux Linux kernel>=6.7<6.7.4
debian/linux<=5.10.223-1, <=5.10.234-1
6.1.129-16.1.135-16.12.25-16.12.27-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1

Event History

Mar 6, 2024
CVE Published
via MITRE·06:45 AM
Data Sourced
via MITRE·06:45 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2023-52589?

CVE-2023-52589 has been classified as a moderate severity vulnerability.

2

How do I fix CVE-2023-52589?

To fix CVE-2023-52589, update the Linux kernel to versions 6.1.123-1, 6.1.119-1, 6.12.11-1, or 6.12.12-1.

3

What systems are affected by CVE-2023-52589?

CVE-2023-52589 affects several versions of the Linux kernel, specifically those up to version 5.10.226-1.

4

What causes CVE-2023-52589?

CVE-2023-52589 is caused by an IRQ disable race condition in the rkisp1 driver within the Linux kernel.

5

Is CVE-2023-52589 being actively exploited?

As of now, there are no public reports indicating that CVE-2023-52589 is being actively exploited.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203