Vulnerability · Published Mar 27, 2025 · Assigned by Linux

CVE-2023-52989firewire: fix memory leak for payload of request subaction to IEC 61883-1 FCP region

Medium 5.5

In plain English

A medium-severity memory leak in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.3%top 81.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

In the Linux kernel, the following vulnerability has been resolved: firewire: fix memory leak for payload of request subaction to IEC 61883-1 FCP region This patch is fix for Linux kernel v2.6.33 or later. For request subaction to IEC 61883-1 FCP region, Linux FireWire subsystem have had an issue of use-after-free. The subsystem allows multiple user space listeners to the region, while data of the payload was likely released before the listeners execute read(2) to access to it for copying to user space. The issue was fixed by a commit 281e20323ab7 ("firewire: core: fix use-after-free regression in FCP handler"). The object of payload is duplicated in kernel space for each listener. When the listener executes ioctl(2) with FW_CDEV_IOC_SEND_RESPONSE request, the object is going to be released. However, it causes memory leak since the commit relies on call of release_request() in drivers/firewire/core-cdev.c. Against the expectation, the function is never called due to the design of release_client_resource(). The function delegates release task to caller when called with non-NULL fourth argument. The implementation of ioctl_send_response() is the case. It should release the object explicitly. This commit fixes the bug.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12linux6.1.11-1DEBIAN-CVE-2023-52989
Debian:13linux6.1.11-1DEBIAN-CVE-2023-52989
Debian:14linux6.1.11-1DEBIAN-CVE-2023-52989
Ubuntu:22.04:LTSlinux5.15.0-72.79UBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-aws5.15.0-1036.40UBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-aws-6.5no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-azure5.15.0-1038.45UBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-azure-6.5no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-azure-fde5.15.0-1038.45.1UBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-gcp5.15.0-1034.42UBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-gcp-6.5no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-gke5.15.0-1033.38UBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-gkeop5.15.0-1020.25UBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-hwe-6.5no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-ibm5.15.0-1030.33UBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1030.35UBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-kvm5.15.0-1033.38UBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-72.79UBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.5no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-nvidia5.15.0-1025.25UBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-nvidia-6.5no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-oem-6.1no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-oem-6.5no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-oracle5.15.0-1035.41UBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-oracle-6.5no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-raspi5.15.0-1029.31UBUNTU-CVE-2023-52989
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2023-52989
Ubuntu:24.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-riscv-6.5no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2023-52989
Ubuntu:22.04:LTSlinux-starfive-6.5no fix listedUBUNTU-CVE-2023-52989

Affected products (as reported)

VendorProductVersions
Linux Linux 281e20323ab72180137824a298ee9e21e6f9acf6 – before b2cd3947d116bb9ba7ff097b5fc747a8956764db281e20323ab72180137824a298ee9e21e6f9acf6 – before 356ff89acdbe6a66019154bc7eb2d300f5b15103281e20323ab72180137824a298ee9e21e6f9acf6 – before 53785fd9b315583cf029e39f72b73d23704a2253281e20323ab72180137824a298ee9e21e6f9acf6 – before d5a2dcee53fa6e6e2822f93cb3f1b0cd23163bee281e20323ab72180137824a298ee9e21e6f9acf6 – before 5f4543c9382ae2d5062f6aa4fecae0c9258d0b0e281e20323ab72180137824a298ee9e21e6f9acf6 – before c8bdc88216f09cb7387fedbdf613524367328616281e20323ab72180137824a298ee9e21e6f9acf6 – before 531390a243ef47448f8bad01c186c2787666bf4d
Linux Linux 2.6.33

Weakness: CWE-401 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References