gpio: mt7621: avoid corruption of shared interrupt trigger state (Linux Linux)

CVE-2026-72062
Not available

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 12 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: gpio: mt7621: avoid corruption of shared interrupt trigger state The bank-shared fields like 'rising' and 'falling' are modified using non-atomic read-modify-write operations. Since every gpio chip instance represents an entire bank of 32 pins, if 'mediatek_gpio_irq_type()' is called concurrently for different IRQs on the same bank a possible overwrite of each other's configuration is possible. Thus, protect this state with 'gpio_generic_lock_irqsave' lock in the same way it is handled in irp_chip 'mediatek_gpio_irq_mask()' and 'mediatek_gpio_irq_unmask()' callbacks.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 4ba9c3afda41213ec98c30053e32963892e6dc7c < bddf9314a57a243dd11ed945ba11e146e331257e ; affected 4ba9c3afda41213ec98c30053e32963892e6dc7c < 207d3ebf36f654a43a934addeb4d6775cb2dd667 ; affected 4ba9c3afda41213ec98c30053e32963892e6dc7c < 877a243006788aaa586b2d087f27c9f3628071b0 ; affected 4ba9c3afda41213ec98c30053e32963892e6dc7c < d3b9026ef78da3018a7d2c5a9c9d611de6d45c47 ; affected 4ba9c3afda41213ec98c30053e32963892e6dc7c < a60a40c9ba30edd06d3fb4215fdf430ed968728e ; affected 4ba9c3afda41213ec98c30053e32963892e6dc7c < 1781172526d1092323af443fa03f00e6de560401
Linux · Linuxaffected 4.19 ; unaffected 0 < 4.19 ; unaffected 6.1.184 ≤ 6.1.* ; unaffected 6.6.148 ≤ 6.6.* ; unaffected 6.12.101 ≤ 6.12.* ; unaffected 6.18.40 ≤ 6.18.*

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