CVE-2023-52660

media: rkisp1: Fix IRQ handling due to shared interrupts

MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 13 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 25cb42af9ffabffec499e9e69e2fd3797774ce5b < abd34206f396d3ae50cddbd5aa840b8cd7f68c63 ; affected 25cb42af9ffabffec499e9e69e2fd3797774ce5b < b39b4d207d4f236a74e20d291f6356f2231fd9ee ; affected 25cb42af9ffabffec499e9e69e2fd3797774ce5b < edcf92bc66d8361c51dff953a55210e5cfd95587 ; affected 25cb42af9ffabffec499e9e69e2fd3797774ce5b < ffb635bb398fc07cb38f8a7b4a82cbe5f412f08e
Linux · Linuxaffected 5.6 ; unaffected 0 < 5.6 ; unaffected 6.1.83 ≤ 6.1.* ; unaffected 6.6.23 ≤ 6.6.* ; unaffected 6.7.11 ≤ 6.7.* ; unaffected 6.8 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD