# CVE-2024-50196: pinctrl: ocelot: fix system hang on level based interrupts

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-754
- **Published:** 2024-11-08T05:54:10.949Z
- **Modified:** 2026-06-17T08:03:50.810Z

## Who should check

- Anyone running Linux \>= ce8dc0943357a5d10b05dcf0556b537c1d7b8b1f, \< 655f5d4662b958122b260be05aa6dfdf8768efe6; \>= ce8dc0943357a5d10b05dcf0556b537c1d7b8b1f, \< 4a81800ef05bea5a9896f199677f7b7f5020776a; \>= ce8dc0943357a5d10b05dcf0556b537c1d7b8b1f, \< 20728e86289ab463b99b7ab4425515bd26aba417; \>= ce8dc0943357a5d10b05dcf0556b537c1d7b8b1f, \< dcbe9954634807ec54e22bde278b5b269f921381; \>= ce8dc0943357a5d10b05dcf0556b537c1d7b8b1f, \< 93b8ddc54507a227087c60a0013ed833b6ae7d3c
- Anyone running Linux 4.16

## 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 and fixed versions

- Linux: \>= ce8dc0943357a5d10b05dcf0556b537c1d7b8b1f, \< 655f5d4662b958122b260be05aa6dfdf8768efe6; \>= ce8dc0943357a5d10b05dcf0556b537c1d7b8b1f, \< 4a81800ef05bea5a9896f199677f7b7f5020776a; \>= ce8dc0943357a5d10b05dcf0556b537c1d7b8b1f, \< 20728e86289ab463b99b7ab4425515bd26aba417; \>= ce8dc0943357a5d10b05dcf0556b537c1d7b8b1f, \< dcbe9954634807ec54e22bde278b5b269f921381; \>= ce8dc0943357a5d10b05dcf0556b537c1d7b8b1f, \< 93b8ddc54507a227087c60a0013ed833b6ae7d3c (cvelist)
- Linux: 4.16 (cvelist)

## Mitigation

- Upgrade Linux to 93b8ddc54507a227087c60a0013ed833b6ae7d3c or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-50196. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-50196.md
Affected: Linux >= ce8dc0943357a5d10b05dcf0556b537c1d7b8b1f, < 655f5d4662b958122b260be05aa6dfdf8768efe6; >= ce8dc0943357a5d10b05dcf0556b537c1d7b8b1f, < 4a81800ef05bea5a9896f199677f7b7f5020776a; >= ce8dc0943357a5d10b05dcf0556b537c1d7b8b1f, < 20728e86289ab463b99b7ab4425515bd26aba417; >= ce8dc0943357a5d10b05dcf…
Fixed in: Linux 655f5d4662b958122b260be05aa6dfdf8768efe6, Linux 4a81800ef05bea5a9896f199677f7b7f5020776a, Linux 20728e86289ab463b99b7ab4425515bd26aba417, Linux 93b8ddc54507a227087c60a0013ed833b6ae7d3c

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-50196 being exploited?

There is no confirmed exploitation: CVE-2024-50196 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-50196?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-50196?

Linux \>= ce8dc0943357a5d10b05dcf0556b537c1d7b8b1f, \< 655f5d4662b958122b260be05aa6dfdf8768efe6; \>= ce8dc0943357a5d10b05dcf0556b537c1d7b8b1f, \< 4a81800ef05bea5a9896f199677f7b7f5020776a; \>= ce8dc0943357a5d10b05dcf0556b537c1d7b8b1f, \< 20728e86289ab463b99b7ab4425515bd26aba417; \>= ce8dc0943357a5d10b05dcf0556b537c1d7b8b1f, \< dcbe9954634807ec54e22bde278b5b269f921381; \>= ce8dc0943357a5d10b05dcf0556b537c1d7b8b1f, \< 93b8ddc54507a227087c60a0013ed833b6ae7d3c; Linux 4.16.

### Is there a fix for CVE-2024-50196?

Yes. Fixed in Linux 655f5d4662b958122b260be05aa6dfdf8768efe6, Linux 4a81800ef05bea5a9896f199677f7b7f5020776a, Linux 20728e86289ab463b99b7ab4425515bd26aba417, Linux 93b8ddc54507a227087c60a0013ed833b6ae7d3c. Upgrade Linux to 93b8ddc54507a227087c60a0013ed833b6ae7d3c or later.

### How do I check if I'm affected by CVE-2024-50196?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/655f5d4662b958122b260be05aa6dfdf8768efe6>
- patch: <https://git.kernel.org/stable/c/4a81800ef05bea5a9896f199677f7b7f5020776a>
- patch: <https://git.kernel.org/stable/c/20728e86289ab463b99b7ab4425515bd26aba417>
- patch: <https://git.kernel.org/stable/c/dcbe9954634807ec54e22bde278b5b269f921381>
- patch: <https://git.kernel.org/stable/c/93b8ddc54507a227087c60a0013ed833b6ae7d3c>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-50196>

HTML: <https://flawdb.com/CVE-2024-50196> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-50196>
