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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-11-08 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2024-50196, DEBIAN-CVE-2024-50196
- Record: https://cvemate.com/vulnerability/CVE-2024-50196 · JSON: https://cvemate.com/vulnerability/CVE-2024-50196/json

## Description

````text
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
```
````

## Signals

- CVSS: 5.5 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.207%, percentile 11.364%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 134)

- debian linux (Debian): \< 6.1.115-1 \| \< 6.11.5-1
- ubuntu linux (Ubuntu): \< 5.4.0-224.244 \| \< 5.15.0-133.144 \| \< 6.8.0-56.58
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.4.0-1153.163 \| \< 5.15.0-1078.85 \| \< 6.8.0-1025.27
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1080.87~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1153.163~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1027.29~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 5.4.0-1153.163+fips1 \| All versions (No fix recorded) \| \< 5.15.0-1078.85+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1156.163 \| \< 5.15.0-1081.90 \| \< 6.8.0-1025.30
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1081.90~20.04.1

## References (first 20 of 46)

- <https://git.kernel.org/stable/c/655f5d4662b958122b260be05aa6dfdf8768efe6>
- <https://git.kernel.org/stable/c/4a81800ef05bea5a9896f199677f7b7f5020776a>
- <https://git.kernel.org/stable/c/20728e86289ab463b99b7ab4425515bd26aba417>
- <https://git.kernel.org/stable/c/dcbe9954634807ec54e22bde278b5b269f921381>
- <https://git.kernel.org/stable/c/93b8ddc54507a227087c60a0013ed833b6ae7d3c>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://ubuntu.com/security/CVE-2024-50196>
- <https://www.cve.org/CVERecord?id=CVE-2024-50196>
- <https://git.kernel.org/linus/93b8ddc54507a227087c60a0013ed833b6ae7d3c>
- <https://ubuntu.com/security/notices/USN-7276-1>
- <https://ubuntu.com/security/notices/USN-7277-1>
- <https://ubuntu.com/security/notices/USN-7288-1>
- <https://ubuntu.com/security/notices/USN-7289-1>
- <https://ubuntu.com/security/notices/USN-7291-1>
- <https://ubuntu.com/security/notices/USN-7288-2>
- <https://ubuntu.com/security/notices/USN-7289-2>
- <https://ubuntu.com/security/notices/USN-7289-3>
- <https://ubuntu.com/security/notices/USN-7305-1>
- <https://ubuntu.com/security/notices/USN-7289-4>
- <https://ubuntu.com/security/notices/USN-7308-1>

---

Data as of 2026-12-05T04:22:35.152Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
