# CVE-2025-21821: fbdev: omap: use threaded IRQ for LCD DMA

> 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, NVD) `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.29% (percentile 14, 2026-11-28)
- **Published:** 2025-02-27T20:06:12.722Z
- **Modified:** 2026-06-17T08:44:22.720Z

## Who should check

- Anyone running Linux \>= c73b9099da4fb5703abaa804a0377850eea66cb5, \< 7bbbd311dd503653a2cc86d9226740883051dc92; \>= c73b9099da4fb5703abaa804a0377850eea66cb5, \< fb6a5edb60921887d7d10619fcdcbee9759552cb; \>= c73b9099da4fb5703abaa804a0377850eea66cb5, \< aa8e22cbedeb626f2a6bda0aea362353d627cd0a; \>= c73b9099da4fb5703abaa804a0377850eea66cb5, \< 8392ea100f0b86c234c739c6662f39f0ccc0cefd; \>= c73b9099da4fb5703abaa804a0377850eea66cb5, \< e4b6b665df815b4841e71b72f06446884e8aad40
- Anyone running Linux 5.19

## Description

In the Linux kernel, the following vulnerability has been resolved:

fbdev: omap: use threaded IRQ for LCD DMA

When using touchscreen and framebuffer, Nokia 770 crashes easily with:

    BUG: scheduling while atomic: irq/144-ads7846/82/0x00010000
    Modules linked in: usb\_f\_ecm g\_ether usb\_f\_rndis u\_ether libcomposite configfs omap\_udc ohci\_omap ohci\_hcd
    CPU: 0 UID: 0 PID: 82 Comm: irq/144-ads7846 Not tainted 6.12.7-770 \#2
    Hardware name: Nokia 770
    Call trace:
     unwind\_backtrace from show\_stack+0x10/0x14
     show\_stack from dump\_stack\_lvl+0x54/0x5c
     dump\_stack\_lvl from \_\_schedule\_bug+0x50/0x70
     \_\_schedule\_bug from \_\_schedule+0x4d4/0x5bc
     \_\_schedule from schedule+0x34/0xa0
     schedule from schedule\_preempt\_disabled+0xc/0x10
     schedule\_preempt\_disabled from \_\_mutex\_lock.constprop.0+0x218/0x3b4
     \_\_mutex\_lock.constprop.0 from clk\_prepare\_lock+0x38/0xe4
     clk\_prepare\_lock from clk\_set\_rate+0x18/0x154
     clk\_set\_rate from sossi\_read\_data+0x4c/0x168
     sossi\_read\_data from hwa742\_read\_reg+0x5c/0x8c
     hwa742\_read\_reg from send\_frame\_handler+0xfc/0x300
     send\_frame\_handler from process\_pending\_requests+0x74/0xd0
     process\_pending\_requests from lcd\_dma\_irq\_handler+0x50/0x74
     lcd\_dma\_irq\_handler from \_\_handle\_irq\_event\_percpu+0x44/0x130
     \_\_handle\_irq\_event\_percpu from handle\_irq\_event+0x28/0x68
     handle\_irq\_event from handle\_level\_irq+0x9c/0x170
     handle\_level\_irq from generic\_handle\_domain\_irq+0x2c/0x3c
     generic\_handle\_domain\_irq from omap1\_handle\_irq+0x40/0x8c
     omap1\_handle\_irq from generic\_handle\_arch\_irq+0x28/0x3c
     generic\_handle\_arch\_irq from call\_with\_stack+0x1c/0x24
     call\_with\_stack from \_\_irq\_svc+0x94/0xa8
    Exception stack(0xc5255da0 to 0xc5255de8)
    5da0: 00000001 c22fc620 00000000 00000000 c08384a8 c106fc00 00000000 c240c248
    5dc0: c113a600 c3f6ec30 00000001 00000000 c22fc620 c5255df0 c22fc620 c0279a94
    5de0: 60000013 ffffffff
     \_\_irq\_svc from clk\_prepare\_lock+0x4c/0xe4
     clk\_prepare\_lock from clk\_get\_rate+0x10/0x74
     clk\_get\_rate from uwire\_setup\_transfer+0x40/0x180
     uwire\_setup\_transfer from spi\_bitbang\_transfer\_one+0x2c/0x9c
     spi\_bitbang\_transfer\_one from spi\_transfer\_one\_message+0x2d0/0x664
     spi\_transfer\_one\_message from \_\_spi\_pump\_transfer\_message+0x29c/0x498
     \_\_spi\_pump\_transfer\_message from \_\_spi\_sync+0x1f8/0x2e8
     \_\_spi\_sync from spi\_sync+0x24/0x40
     spi\_sync from ads7846\_halfd\_read\_state+0x5c/0x1c0
     ads7846\_halfd\_read\_state from ads7846\_irq+0x58/0x348
     ads7846\_irq from irq\_thread\_fn+0x1c/0x78
     irq\_thread\_fn from irq\_thread+0x120/0x228
     irq\_thread from kthread+0xc8/0xe8
     kthread from ret\_from\_fork+0x14/0x28

As a quick fix, switch to a threaded IRQ which provides a stable system.

## Affected and fixed versions

- Linux: \>= c73b9099da4fb5703abaa804a0377850eea66cb5, \< 7bbbd311dd503653a2cc86d9226740883051dc92; \>= c73b9099da4fb5703abaa804a0377850eea66cb5, \< fb6a5edb60921887d7d10619fcdcbee9759552cb; \>= c73b9099da4fb5703abaa804a0377850eea66cb5, \< aa8e22cbedeb626f2a6bda0aea362353d627cd0a; \>= c73b9099da4fb5703abaa804a0377850eea66cb5, \< 8392ea100f0b86c234c739c6662f39f0ccc0cefd; \>= c73b9099da4fb5703abaa804a0377850eea66cb5, \< e4b6b665df815b4841e71b72f06446884e8aad40 (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-21821.md
Affected: Linux >= c73b9099da4fb5703abaa804a0377850eea66cb5, < 7bbbd311dd503653a2cc86d9226740883051dc92; >= c73b9099da4fb5703abaa804a0377850eea66cb5, < fb6a5edb60921887d7d10619fcdcbee9759552cb; >= c73b9099da4fb5703abaa804a0377850eea66cb5, < aa8e22cbedeb626f2a6bda0aea362353d627cd0a; >= c73b9099da4fb5703abaa80…
Fixed in: Linux 7bbbd311dd503653a2cc86d9226740883051dc92, Linux 8392ea100f0b86c234c739c6662f39f0ccc0cefd

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-2025-21821 being exploited?

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

### How serious is CVE-2025-21821?

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

### Which versions are affected by CVE-2025-21821?

Linux \>= c73b9099da4fb5703abaa804a0377850eea66cb5, \< 7bbbd311dd503653a2cc86d9226740883051dc92; \>= c73b9099da4fb5703abaa804a0377850eea66cb5, \< fb6a5edb60921887d7d10619fcdcbee9759552cb; \>= c73b9099da4fb5703abaa804a0377850eea66cb5, \< aa8e22cbedeb626f2a6bda0aea362353d627cd0a; \>= c73b9099da4fb5703abaa804a0377850eea66cb5, \< 8392ea100f0b86c234c739c6662f39f0ccc0cefd; \>= c73b9099da4fb5703abaa804a0377850eea66cb5, \< e4b6b665df815b4841e71b72f06446884e8aad40; Linux 5.19.

### Is there a fix for CVE-2025-21821?

Yes. Fixed in Linux 7bbbd311dd503653a2cc86d9226740883051dc92, Linux 8392ea100f0b86c234c739c6662f39f0ccc0cefd. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-21821?

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/7bbbd311dd503653a2cc86d9226740883051dc92>
- patch: <https://git.kernel.org/stable/c/fb6a5edb60921887d7d10619fcdcbee9759552cb>
- patch: <https://git.kernel.org/stable/c/aa8e22cbedeb626f2a6bda0aea362353d627cd0a>
- patch: <https://git.kernel.org/stable/c/8392ea100f0b86c234c739c6662f39f0ccc0cefd>
- patch: <https://git.kernel.org/stable/c/e4b6b665df815b4841e71b72f06446884e8aad40>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.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-2025-21821>

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