cve.bz

CVE-2023-52907 linux linux kernel: Use After Free

5.5 mediumEPSS 0.2%Fix available

Medium (5.5) in linux linux kernel. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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)

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 16th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-09-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-52907 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-52907?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-52907?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-52907 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux3.1 and later

Fixed in

ProductRelease lineFixed in
Linux4.144.14.303
Linux4.194.19.270
Linux5.45.4.229
Linux5.105.10.164
Linux5.155.15.89
Linux6.16.1.7
Linuxlater releases6.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux6.1.7-1DEBIAN-CVE-2023-52907
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-52907
Ubuntu18.04:LTSlinux4.15.0-208.220UBUNTU-CVE-2023-52907
Ubuntu18.04:LTSlinux-aws4.15.0-1153.166UBUNTU-CVE-2023-52907
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1097.105~18.04.1UBUNTU-CVE-2023-52907
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1162.177UBUNTU-CVE-2023-52907
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1104.110~18.04.1UBUNTU-CVE-2023-52907
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-52907
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1147.163UBUNTU-CVE-2023-52907
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1101.110~18.04.1UBUNTU-CVE-2023-52907
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-144.161~18.04.1UBUNTU-CVE-2023-52907
Ubuntu18.04:LTSlinux-ibm-5.45.4.0-1045.50~18.04.1UBUNTU-CVE-2023-52907
Ubuntu18.04:LTSlinux-kvm4.15.0-1137.142UBUNTU-CVE-2023-52907
60 more for Ubuntu in the JSON and on Ubuntu's page.
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.228.1SUSE-SU-2024:3251-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 1 morekernel-default5.14.21-150400.24.133.2SUSE-SU-2024:3408-1
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise Live Patching 15 SP5, Linux Enterprise Micro 5.5 and 2 morekernel-default5.14.21-150500.55.80.2SUSE-SU-2024:3483-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSSkernel-64kb, kernel-source, kernel-default and 1 more5.14.21-150400.24.133.2SUSE-SU-2024:3408-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 morekernel-default-base5.14.21-150400.24.133.2.150400.24.64.5SUSE-SU-2024:3408-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 morekernel-docs, kernel-syms5.14.21-150400.24.133.1SUSE-SU-2024:3408-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_601-8.3.1SUSE-SU-2024:3251-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_311-150400.9.3.2SUSE-SU-2024:3408-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5-RT_Update_191-150500.11.3.2SUSE-SU-2024:3209-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_191-150500.11.3.2SUSE-SU-2024:3483-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4kernel-rt, kernel-source-rt5.14.21-150400.15.91.3SUSE-SU-2024:3227-1
SUSELinux Enterprise Micro 5.5kernel-rt, kernel-source-rt5.14.21-150500.13.67.3SUSE-SU-2024:3209-1
16 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.5dtb-aarch64, kernel-syms, kernel-obs-qa and 1 more5.14.21-150500.55.80.1SUSE-SU-2024:3483-1
openSUSELeap 15.5kernel-64kb, kernel-docs, kernel-debug and 4 more5.14.21-150500.55.80.2SUSE-SU-2024:3483-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.66.1SUSE-SU-2024:3190-1
openSUSELeap 15.5kernel-rt, kernel-rt_debug, kernel-source-rt5.14.21-150500.13.67.3SUSE-SU-2024:3209-1
openSUSELeap 15.5kernel-syms-rt5.14.21-150500.13.67.1SUSE-SU-2024:3209-1
openSUSELeap 15.5, Leap Micro 5.5kernel-default-base5.14.21-150500.55.80.2.150500.6.35.6SUSE-SU-2024:3483-1
openSUSELeap Micro 5.5kernel-default5.14.21-150500.55.80.2SUSE-SU-2024:3483-1
openSUSELeap Micro 5.5kernel-rt5.14.21-150500.13.67.3SUSE-SU-2024:3209-1
Alpaquitastreamlinux-lts6.6.58-r0BELL-CVE-2023-52907

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A moderate-severity use-after-free vulnerability was found in the Linux kernel NFC pn533 USB driver (drivers/nfc/pn533/usb.c). When pn533_usb_send_frame() sends a frame, the in_urb can complete before the out_urb; the in_urb completion callback pn533_send_async_complete() then frees the skb data that is still being used as the transfer buffer of the outstanding out_urb, resulting in a use-after-free in the USB host controller driver. A local user with access to a system using pn533-based USB NFC hardware could exploit this race condition to cause kernel memory corruption, leading to a crash and denial of service. Red Hat rates this flaw as moderate severity (CVSS 3.1 score 5.5, AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) because exploitation requires local access and specific NFC USB hardware, and the primary consequence is loss of availability; this is lower than the upstream CVE.org rating of 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), as there is no evidence that this use-after-free provides confidentiality or integrity impact beyond the availability impact. Based on the current assessment, all products in scope for this flaw — Red Hat Enterprise Linux 6, 7, 8, and 9 kernel and kernel-rt streams, the community projects stream, and the hosted OpenShift (ARO and OSD) streams — are marked not affected.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-52907.

References

Check your stackJSON