CWE
416 401
EPSS
0.013%
Advisory Published
Updated

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

First published: Thu Mar 27 2025(Updated: )

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.

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
Linux Kernel>=2.6.33
Linux Kernel>=2.6.33<4.14.306
Linux Kernel>=4.15<4.19.273
Linux Kernel>=4.20<5.4.232
Linux Kernel>=5.5<5.10.168
Linux Kernel>=5.11<5.15.93
Linux Kernel>=5.16<6.1.11
Linux Kernel=6.2-rc1
Linux Kernel=6.2-rc2
Linux Kernel=6.2-rc3
Linux Kernel=6.2-rc4
Linux Kernel=6.2-rc5
Linux Kernel=6.2-rc6

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2023-52989?

    CVE-2023-52989 has a low severity rating due to its nature of leaking memory in a specific context.

  • How do I fix CVE-2023-52989?

    To fix CVE-2023-52989, you should upgrade to a patched version of the Linux kernel, specifically version 2.6.33 or later.

  • Which versions of the Linux kernel are affected by CVE-2023-52989?

    CVE-2023-52989 affects Linux kernel versions prior to 2.6.33.

  • What is the nature of the vulnerability described in CVE-2023-52989?

    CVE-2023-52989 is a memory leak vulnerability in the FireWire subsystem during request subaction to the IEC 61883-1 FCP region.

  • Is there a published patch for CVE-2023-52989?

    Yes, a patch for CVE-2023-52989 has been published and is included in updates for the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203