CVE-2024-50196

pinctrl: ocelot: fix system hang on level based interrupts

MEDIUM
5.5
CVSS Score
Published: November 8, 2024 at 05:54 AM UTC
Updated: June 17, 2026 at 08:03 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: pinctrl: ocelot: fix system hang on level based interrupts The current implementation only calls chained_irq_enter() and chained_irq_exit() if it detects pending interrupts. ``` for (i = 0; i < info->stride; i++) { uregmap_read(info->map, id_reg + 4 * i, &reg); if (!reg) continue; chained_irq_enter(parent_chip, desc); ``` However, in case of GPIO pin configured in level mode and the parent controller configured in edge mode, GPIO interrupt might be lowered by the hardware. In the result, if the interrupt is short enough, the parent interrupt is still pending while the GPIO interrupt is cleared; chained_irq_enter() never gets called and the system hangs trying to service the parent interrupt. Moving chained_irq_enter() and chained_irq_exit() outside the for loop ensures that they are called even when GPIO interrupt is lowered by the hardware. The similar code with chained_irq_enter() / chained_irq_exit() functions wrapping interrupt checking loop may be found in many other drivers: ``` grep -r -A 10 chained_irq_enter drivers/pinctrl ```

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.15.1694.16 ≤ v < 5.15.1694.16 ≤ v < 6.1.1144.16 ≤ v < 6.11.54.16 ≤ v < 6.124.16 ≤ v < 6.6.585.16 ≤ v < 6.1.1146.2 ≤ v < 6.6.586.7 ≤ v < 6.11.56.12 rc16.12 rc26.12 rc3ce8dc0943357a5d10b05dcf0556b537c1d7b8b1f
Vendor states this is fixed in 20728e86289ab463b99b7ab4425515bd26aba417 (fixed)
Vendor states this is fixed in 4a81800ef05bea5a9896f199677f7b7f5020776a (fixed)
Vendor states this is fixed in 655f5d4662b958122b260be05aa6dfdf8768efe6 (fixed)
Vendor states this is fixed in 93b8ddc54507a227087c60a0013ed833b6ae7d3c (fixed)
Vendor states this is fixed in dcbe9954634807ec54e22bde278b5b269f921381 (fixed)
Vendor states this is fixed in 4.16 (unaffected)
Vendor states this is fixed in 5.15.169 (unaffected)
Vendor states this is fixed in 6.1.114 (unaffected)
Vendor states this is fixed in 6.11.5 (unaffected)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.6.58 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/20728e86289ab463b99b7ab4425515bd26aba417
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4a81800ef05bea5a9896f199677f7b7f5020776a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/655f5d4662b958122b260be05aa6dfdf8768efe6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/93b8ddc54507a227087c60a0013ed833b6ae7d3c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/dcbe9954634807ec54e22bde278b5b269f921381
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-754

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card