# CVE-2023-52907: nfc: pn533: Wait for out\_urb's completion in pn533\_usb\_send\_frame()

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.32% (percentile 17, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-08-21T06:10:48.171Z
- **Modified:** 2026-08-05T09:11:54.905Z

## Who should check

- Anyone running Linux \>= c46ee38620a2aa2b25b16bc9738ace80dbff76a4, \< 35529d6b827eedb6bf7e81130e4b7e0aba9e58d2; \>= c46ee38620a2aa2b25b16bc9738ace80dbff76a4, \< 321db5131c92983dac4f3338e8fbb6df214238c0; \>= c46ee38620a2aa2b25b16bc9738ace80dbff76a4, \< 9424d2205fe94a095fb9365ec0c6137f0b394a2b; \>= c46ee38620a2aa2b25b16bc9738ace80dbff76a4, \< 0ca78c99656f5c448567db1e148367aa3b01c80a; \>= c46ee38620a2aa2b25b16bc9738ace80dbff76a4, \< 39ae73e581112cfe27ba50aecb1c891ce57cecb1; \>= c46ee38620a2aa2b25b16bc9738ace80dbff76a4, \< 8998db5021a28ad67aa8d627bdb4226e4046ccc4; \>= c46ee38620a2aa2b25b16bc9738ace80dbff76a4, \< 9dab880d675b9d0dd56c6428e4e8352a3339371d
- Anyone running Linux 3.1

## Description

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

nfc: pn533: Wait for out\_urb's completion in pn533\_usb\_send\_frame()

Fix a use-after-free that occurs in hcd when in\_urb sent from
pn533\_usb\_send\_frame() is completed earlier than out\_urb. Its callback
frees the skb data in pn533\_send\_async\_complete() that is used as a
transfer buffer of out\_urb. Wait before sending in\_urb until the
callback of out\_urb is called. To modify the callback of out\_urb alone,
separate the complete function of out\_urb and ack\_urb.

Found by a modified version of syzkaller.

BUG: KASAN: use-after-free in dummy\_timer
Call Trace:
 memcpy (mm/kasan/shadow.c:65)
 dummy\_perform\_transfer (drivers/usb/gadget/udc/dummy\_hcd.c:1352)
 transfer (drivers/usb/gadget/udc/dummy\_hcd.c:1453)
 dummy\_timer (drivers/usb/gadget/udc/dummy\_hcd.c:1972)
 arch\_static\_branch (arch/x86/include/asm/jump\_label.h:27)
 static\_key\_false (include/linux/jump\_label.h:207)
 timer\_expire\_exit (include/trace/events/timer.h:127)
 call\_timer\_fn (kernel/time/timer.c:1475)
 expire\_timers (kernel/time/timer.c:1519)
 \_\_run\_timers (kernel/time/timer.c:1790)
 run\_timer\_softirq (kernel/time/timer.c:1803)

## Affected and fixed versions

- Linux: \>= c46ee38620a2aa2b25b16bc9738ace80dbff76a4, \< 35529d6b827eedb6bf7e81130e4b7e0aba9e58d2; \>= c46ee38620a2aa2b25b16bc9738ace80dbff76a4, \< 321db5131c92983dac4f3338e8fbb6df214238c0; \>= c46ee38620a2aa2b25b16bc9738ace80dbff76a4, \< 9424d2205fe94a095fb9365ec0c6137f0b394a2b; \>= c46ee38620a2aa2b25b16bc9738ace80dbff76a4, \< 0ca78c99656f5c448567db1e148367aa3b01c80a; \>= c46ee38620a2aa2b25b16bc9738ace80dbff76a4, \< 39ae73e581112cfe27ba50aecb1c891ce57cecb1; \>= c46ee38620a2aa2b25b16bc9738ace80dbff76a4, \< 8998db5021a28ad67aa8d627bdb4226e4046ccc4; \>= c46ee38620a2aa2b25b16bc9738ace80dbff76a4, \< 9dab880d675b9d0dd56c6428e4e8352a3339371d (cvelist)
- Linux: 3.1 (cvelist)

## Mitigation

- Upgrade Linux to 9dab880d675b9d0dd56c6428e4e8352a3339371d or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-52907.md
Affected: Linux >= c46ee38620a2aa2b25b16bc9738ace80dbff76a4, < 35529d6b827eedb6bf7e81130e4b7e0aba9e58d2; >= c46ee38620a2aa2b25b16bc9738ace80dbff76a4, < 321db5131c92983dac4f3338e8fbb6df214238c0; >= c46ee38620a2aa2b25b16bc9738ace80dbff76a4, < 9424d2205fe94a095fb9365ec0c6137f0b394a2b; >= c46ee38620a2aa2b25b16bc…
Fixed in: Linux 35529d6b827eedb6bf7e81130e4b7e0aba9e58d2, Linux 321db5131c92983dac4f3338e8fbb6df214238c0, Linux 9424d2205fe94a095fb9365ec0c6137f0b394a2b, Linux 0ca78c99656f5c448567db1e148367aa3b01c80a, Linux 39ae73e581112cfe27ba50aecb1c891ce57cecb1, Linux 8998db5021a28ad67aa8d627bdb4226e4046ccc4, Linux 9dab8…

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-2023-52907 being exploited?

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

### How serious is CVE-2023-52907?

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

### Which versions are affected by CVE-2023-52907?

Linux \>= c46ee38620a2aa2b25b16bc9738ace80dbff76a4, \< 35529d6b827eedb6bf7e81130e4b7e0aba9e58d2; \>= c46ee38620a2aa2b25b16bc9738ace80dbff76a4, \< 321db5131c92983dac4f3338e8fbb6df214238c0; \>= c46ee38620a2aa2b25b16bc9738ace80dbff76a4, \< 9424d2205fe94a095fb9365ec0c6137f0b394a2b; \>= c46ee38620a2aa2b25b16bc9738ace80dbff76a4, \< 0ca78c99656f5c448567db1e148367aa3b01c80a; \>= c46ee38620a2aa2b25b16bc9738ace80dbff76a4, \< 39ae73e581112cfe27ba50aecb1c891ce57cecb1; \>= c46ee38620a2aa2b25b16bc9738ace80dbff76a4, \< 8998db5021a28ad67aa8d627bdb4226e4046ccc4; \>= c46ee38620a2aa2b25b16bc9738ace80dbff76a4, \< 9dab880d675b9d0dd56c6428e4e8352a3339371d; Linux 3.1.

### Is there a fix for CVE-2023-52907?

Yes. Fixed in Linux 35529d6b827eedb6bf7e81130e4b7e0aba9e58d2, Linux 321db5131c92983dac4f3338e8fbb6df214238c0, Linux 9424d2205fe94a095fb9365ec0c6137f0b394a2b, Linux 0ca78c99656f5c448567db1e148367aa3b01c80a, Linux 39ae73e581112cfe27ba50aecb1c891ce57cecb1, Linux 8998db5021a28ad67aa8d627bdb4226e4046ccc4, Linux 9dab880d675b9d0dd56c6428e4e8352a3339371d. Upgrade Linux to 9dab880d675b9d0dd56c6428e4e8352a3339371d or later.

### How do I check if I'm affected by CVE-2023-52907?

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/35529d6b827eedb6bf7e81130e4b7e0aba9e58d2>
- patch: <https://git.kernel.org/stable/c/321db5131c92983dac4f3338e8fbb6df214238c0>
- patch: <https://git.kernel.org/stable/c/9424d2205fe94a095fb9365ec0c6137f0b394a2b>
- patch: <https://git.kernel.org/stable/c/0ca78c99656f5c448567db1e148367aa3b01c80a>
- patch: <https://git.kernel.org/stable/c/39ae73e581112cfe27ba50aecb1c891ce57cecb1>
- patch: <https://git.kernel.org/stable/c/8998db5021a28ad67aa8d627bdb4226e4046ccc4>
- patch: <https://git.kernel.org/stable/c/9dab880d675b9d0dd56c6428e4e8352a3339371d>

## 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-2023-52907>

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