
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2023-52907 addresses a use-after-free vulnerability in the Linux kernel's NFC pn533 driver. The issue occurs when in_urb sent from pn533_usb_send_frame() is completed earlier than out_urb, causing its callback to free the skb data in pn533_send_async_complete() that is used as a transfer buffer of out_urb (Kernel Git).
The vulnerability manifests as a race condition in the pn533_usb_send_frame() function where the completion order of URBs (USB Request Blocks) can lead to a use-after-free condition. The issue was discovered using a modified version of the syzkaller kernel fuzzer. The bug trace shows the use-after-free occurring in dummy_timer, with the call trace involving memcpy operations and USB transfer handling (Kernel Git).
This vulnerability could potentially lead to memory corruption in the Linux kernel when using NFC devices with the pn533 driver. The use-after-free condition could result in system crashes or potentially allow an attacker to execute arbitrary code with kernel privileges (Kernel Git).
The vulnerability requires local access to a system with an NFC device using the pn533 driver. It was discovered through kernel fuzzing, suggesting that it could be triggered through specific USB device interactions (Kernel Git).
The issue has been fixed by implementing a wait mechanism before sending in_urb until the callback of out_urb is called. The fix includes separating the complete function of out_urb and ack_urb to properly handle the completion order. Users should update their Linux kernel to a version containing the fix (Kernel Git).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."