# CVE-2021-47169: serial: rp2: use 'request\_firmware' instead of 'request\_firmware\_nowait'

> 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.23% (percentile 8, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-03-25T09:16:21.589Z
- **Modified:** 2026-06-17T04:16:49.207Z

## Who should check

- Anyone running Linux \>= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, \< 1e04d5d5fe5e76af68f834e1941fcbfa439653be; \>= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, \< c697244ce940ec07e2d745ccb63ca97fc0266fbc; \>= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, \< 1cc57cb32c84e059bd158494f746b665fc14d1b1; \>= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, \< 35265552c7fe9553c75e324c80f45e28ff14eb6e; \>= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, \< 915452f40e2f495e187276c4407a4f567ec2307e; \>= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, \< 6a931ceb0b9401fe18d0c500e08164bf9cc7be4b; \>= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, \< 9b07b6973f7359e2dd6a9fe6db0c142634c823b7; \>= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, \< 016002848c82eeb5d460489ce392d91fe18c475c
- Anyone running Linux 3.9

## Description

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

serial: rp2: use 'request\_firmware' instead of 'request\_firmware\_nowait'

In 'rp2\_probe', the driver registers 'rp2\_uart\_interrupt' then calls
'rp2\_fw\_cb' through 'request\_firmware\_nowait'. In 'rp2\_fw\_cb', if the
firmware don't exists, function just return without initializing ports
of 'rp2\_card'. But now the interrupt handler function has been
registered, and when an interrupt comes, 'rp2\_uart\_interrupt' may access
those ports then causing NULL pointer dereference or other bugs.

Because the driver does some initialization work in 'rp2\_fw\_cb', in
order to make the driver ready to handle interrupts, 'request\_firmware'
should be used instead of asynchronous 'request\_firmware\_nowait'.

This report reveals it:

INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.19.177-gdba4159c14ef-dirty \#45
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-
gc9ba5276e321-prebuilt.qemu.org 04/01/2014
Call Trace:
 \<IRQ\>
 \_\_dump\_stack lib/dump\_stack.c:77 \[inline\]
 dump\_stack+0xec/0x156 lib/dump\_stack.c:118
 assign\_lock\_key kernel/locking/lockdep.c:727 \[inline\]
 register\_lock\_class+0x14e5/0x1ba0 kernel/locking/lockdep.c:753
 \_\_lock\_acquire+0x187/0x3750 kernel/locking/lockdep.c:3303
 lock\_acquire+0x124/0x340 kernel/locking/lockdep.c:3907
 \_\_raw\_spin\_lock include/linux/spinlock\_api\_smp.h:142 \[inline\]
 \_raw\_spin\_lock+0x32/0x50 kernel/locking/spinlock.c:144
 spin\_lock include/linux/spinlock.h:329 \[inline\]
 rp2\_ch\_interrupt drivers/tty/serial/rp2.c:466 \[inline\]
 rp2\_asic\_interrupt.isra.9+0x15d/0x990 drivers/tty/serial/rp2.c:493
 rp2\_uart\_interrupt+0x49/0xe0 drivers/tty/serial/rp2.c:504
 \_\_handle\_irq\_event\_percpu+0xfb/0x770 kernel/irq/handle.c:149
 handle\_irq\_event\_percpu+0x79/0x150 kernel/irq/handle.c:189
 handle\_irq\_event+0xac/0x140 kernel/irq/handle.c:206
 handle\_fasteoi\_irq+0x232/0x5c0 kernel/irq/chip.c:725
 generic\_handle\_irq\_desc include/linux/irqdesc.h:155 \[inline\]
 handle\_irq+0x230/0x3a0 arch/x86/kernel/irq\_64.c:87
 do\_IRQ+0xa7/0x1e0 arch/x86/kernel/irq.c:247
 common\_interrupt+0xf/0xf arch/x86/entry/entry\_64.S:670
 \</IRQ\>
RIP: 0010:native\_safe\_halt+0x28/0x30 arch/x86/include/asm/irqflags.h:61
Code: 00 00 55 be 04 00 00 00 48 c7 c7 00 c2 2f 8c 48 89 e5 e8 fb 31 e7 f8
8b 05 75 af 8d 03 85 c0 7e 07 0f 00 2d 8a 61 65 00 fb f4 \<5d\> c3 90 90 90
90 90 90 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41
RSP: 0018:ffff88806b71fcc8 EFLAGS: 00000246 ORIG\_RAX: ffffffffffffffde
RAX: 0000000000000000 RBX: ffffffff8bde7e48 RCX: ffffffff88a21285
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffffff8c2fc200
RBP: ffff88806b71fcc8 R08: fffffbfff185f840 R09: fffffbfff185f840
R10: 0000000000000001 R11: fffffbfff185f840 R12: 0000000000000002
R13: ffffffff8bea18a0 R14: 0000000000000000 R15: 0000000000000000
 arch\_safe\_halt arch/x86/include/asm/paravirt.h:94 \[inline\]
 default\_idle+0x6f/0x360 arch/x86/kernel/process.c:557
 arch\_cpu\_idle+0xf/0x20 arch/x86/kernel/process.c:548
 default\_idle\_call+0x3b/0x60 kernel/sched/idle.c:93
 cpuidle\_idle\_call kernel/sched/idle.c:153 \[inline\]
 do\_idle+0x2ab/0x3c0 kernel/sched/idle.c:263
 cpu\_startup\_entry+0xcb/0xe0 kernel/sched/idle.c:369
 start\_secondary+0x3b8/0x4e0 arch/x86/kernel/smpboot.c:271
 secondary\_startup\_64+0xa4/0xb0 arch/x86/kernel/head\_64.S:243
BUG: unable to handle kernel NULL pointer dereference at 0000000000000010
PGD 8000000056d27067 P4D 8000000056d27067 PUD 56d28067 PMD 0
Oops: 0000 \[\#1\] PREEMPT SMP KASAN PTI
CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.19.177-gdba4159c14ef-dirty \#45
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-
gc9ba5276e321-prebuilt.qemu.org 04/01/2014
RIP: 0010:readl arch/x86/include/asm/io.h:59 \[inline\]
RIP: 0010:rp2\_ch\_interrupt drivers/tty/serial/rp2.c:472 \[inline\]
RIP: 0010:rp2\_asic\_interrupt.isra.9+0x181/0x990 drivers/tty/serial/rp2.c:
493
Co
---truncated---

## Affected and fixed versions

- Linux: \>= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, \< 1e04d5d5fe5e76af68f834e1941fcbfa439653be; \>= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, \< c697244ce940ec07e2d745ccb63ca97fc0266fbc; \>= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, \< 1cc57cb32c84e059bd158494f746b665fc14d1b1; \>= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, \< 35265552c7fe9553c75e324c80f45e28ff14eb6e; \>= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, \< 915452f40e2f495e187276c4407a4f567ec2307e; \>= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, \< 6a931ceb0b9401fe18d0c500e08164bf9cc7be4b; \>= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, \< 9b07b6973f7359e2dd6a9fe6db0c142634c823b7; \>= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, \< 016002848c82eeb5d460489ce392d91fe18c475c (cvelist)
- Linux: 3.9 (cvelist)

## Mitigation

- Upgrade Linux to 016002848c82eeb5d460489ce392d91fe18c475c or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2021-47169.md
Affected: Linux >= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, < 1e04d5d5fe5e76af68f834e1941fcbfa439653be; >= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, < c697244ce940ec07e2d745ccb63ca97fc0266fbc; >= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, < 1cc57cb32c84e059bd158494f746b665fc14d1b1; >= 7d9f49afa451d8565d00a5c…
Fixed in: Linux 1e04d5d5fe5e76af68f834e1941fcbfa439653be, Linux 1cc57cb32c84e059bd158494f746b665fc14d1b1, Linux 35265552c7fe9553c75e324c80f45e28ff14eb6e, Linux 915452f40e2f495e187276c4407a4f567ec2307e, Linux 6a931ceb0b9401fe18d0c500e08164bf9cc7be4b, Linux 9b07b6973f7359e2dd6a9fe6db0c142634c823b7, Linux 01600…

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-2021-47169 being exploited?

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

### How serious is CVE-2021-47169?

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

### Which versions are affected by CVE-2021-47169?

Linux \>= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, \< 1e04d5d5fe5e76af68f834e1941fcbfa439653be; \>= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, \< c697244ce940ec07e2d745ccb63ca97fc0266fbc; \>= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, \< 1cc57cb32c84e059bd158494f746b665fc14d1b1; \>= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, \< 35265552c7fe9553c75e324c80f45e28ff14eb6e; \>= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, \< 915452f40e2f495e187276c4407a4f567ec2307e; \>= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, \< 6a931ceb0b9401fe18d0c500e08164bf9cc7be4b; \>= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, \< 9b07b6973f7359e2dd6a9fe6db0c142634c823b7; \>= 7d9f49afa451d8565d00a5cea39acf9bb26feb50, \< 016002848c82eeb5d460489ce392d91fe18c475c; Linux 3.9.

### Is there a fix for CVE-2021-47169?

Yes. Fixed in Linux 1e04d5d5fe5e76af68f834e1941fcbfa439653be, Linux 1cc57cb32c84e059bd158494f746b665fc14d1b1, Linux 35265552c7fe9553c75e324c80f45e28ff14eb6e, Linux 915452f40e2f495e187276c4407a4f567ec2307e, Linux 6a931ceb0b9401fe18d0c500e08164bf9cc7be4b, Linux 9b07b6973f7359e2dd6a9fe6db0c142634c823b7, Linux 016002848c82eeb5d460489ce392d91fe18c475c. Upgrade Linux to 016002848c82eeb5d460489ce392d91fe18c475c or later.

### How do I check if I'm affected by CVE-2021-47169?

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/1e04d5d5fe5e76af68f834e1941fcbfa439653be>
- patch: <https://git.kernel.org/stable/c/c697244ce940ec07e2d745ccb63ca97fc0266fbc>
- patch: <https://git.kernel.org/stable/c/1cc57cb32c84e059bd158494f746b665fc14d1b1>
- patch: <https://git.kernel.org/stable/c/35265552c7fe9553c75e324c80f45e28ff14eb6e>
- patch: <https://git.kernel.org/stable/c/915452f40e2f495e187276c4407a4f567ec2307e>
- patch: <https://git.kernel.org/stable/c/6a931ceb0b9401fe18d0c500e08164bf9cc7be4b>
- patch: <https://git.kernel.org/stable/c/9b07b6973f7359e2dd6a9fe6db0c142634c823b7>
- patch: <https://git.kernel.org/stable/c/016002848c82eeb5d460489ce392d91fe18c475c>

## 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-2021-47169>

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