CVE-2023-52907: nfc: pn533: Wait for out_urb's completion in pn533_usb_send_frame()
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)
Security readout for executives and security teams
Plain-English summary
CVE-2023-52907 is a Linux kernel memory-safety bug in the PN533 USB NFC driver. A local user could potentially trigger kernel memory corruption, with high confidentiality, integrity, and availability impact per CVSS. It is not listed as CISA KEV in the provided data, so active exploitation is not established.
Executive priority
Treat as a high-priority kernel update for Linux fleets where NFC/PN533 USB support is present. Business urgency is lower than internet-exposed remote bugs, but kernel memory corruption with local privileges can support privilege escalation or system compromise.
Technical view
The issue is a use-after-free in pn533_usb_send_frame(). If an input URB completes before the output URB, callback logic can free skb data still used as an output transfer buffer. The fix waits for out_urb completion and separates callbacks. It was found with a modified syzkaller and KASAN.
Likely exposure
Exposure is most relevant to Linux systems with the PN533 USB NFC driver enabled or in use. The CVSS vector is local, low complexity, low privileges, and no user interaction. Systems without this driver or hardware are likely less exposed, but kernel configuration and vendor backports should be verified.
Exploitation context
The provided sources show local attack characteristics and high impact, but do not show active exploitation, public exploit availability, or remote reachability. The bug was discovered through fuzzing, not reported as exploited in the provided bundle.
Researcher notes
Version evidence is limited to the provided CVE bundle and upstream stable commits. No CWE, exploit proof, or KEV listing is provided. Validate affectedness through kernel source, package changelogs, or distribution advisories because vendors may backport fixes without changing upstream version labels.
Mitigation direction
Apply Linux distribution kernel updates that include the referenced stable fixes.
Prioritize systems using PN533 USB NFC functionality or exposing NFC devices to local users.
If no update is available, check vendor guidance for supported temporary mitigations.
Track vendor advisories for backported fixes, not only upstream version numbers.
Validation and detection
Inventory Linux kernels and identify systems with PN533 USB NFC support enabled.
Confirm the running kernel includes a vendor backport or one referenced stable fix.
Review distribution security advisories for CVE-2023-52907 coverage.
Verify CISA KEV status before claiming active exploitation.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2023-52907 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.