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

- Severity: Medium 4.7 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2024-03-06T06:45:22.442Z
- Modified: 2026-06-17T06:43:05.917Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

media: rkisp1: Fix IRQ disable race issue

In rkisp1_isp_stop() and rkisp1_csi_disable() 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 25cb42af9ffabffec499e9e69e2fd3797774ce5b before bf808f58681cab64c81cd814551814fd34e540fe; from 25cb42af9ffabffec499e9e69e2fd3797774ce5b before fab483438342984f2a315fe13c882a80f0f7e545; from 25cb42af9ffabffec499e9e69e2fd3797774ce5b before 7bb1a2822aa2c2de4e09bf7c56dd93bd532f1fa7; from 25cb42af9ffabffec499e9e69e2fd3797774ce5b before 870565f063a58576e8a4529f122cac4325c6b395; 5.6 (not affected: before 5.6; from 6.1.77 up to 6.1.*; from 6.6.16 up to 6.6.*; from 6.7.4 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: before 6.1.77; from 6.2 before 6.6.16; from 6.7 before 6.7.4

## References

- <https://git.kernel.org/stable/c/bf808f58681cab64c81cd814551814fd34e540fe> (mailing-list, patch)
- <https://git.kernel.org/stable/c/fab483438342984f2a315fe13c882a80f0f7e545> (mailing-list, patch)
- <https://git.kernel.org/stable/c/7bb1a2822aa2c2de4e09bf7c56dd93bd532f1fa7> (mailing-list, patch)
- <https://git.kernel.org/stable/c/870565f063a58576e8a4529f122cac4325c6b395> (mailing-list, patch)

## Sources

- CVE List: [CVE-2023-52589](https://www.cve.org/CVERecord?id=CVE-2023-52589), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-52589](https://nvd.nist.gov/vuln/detail/CVE-2023-52589), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52589 · Whole record: https://cve.day/CVE-2023-52589.json · Rebuilt by cve.day 2026-11-25T22:58:33.275Z
