CVE-2023-52989

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

MEDIUM
5.5
CVSS Score
Published: March 27, 2025 at 04:43 PM UTC
Updated: June 17, 2026 at 06:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.33 ≤ v < 4.14.3062.6.33 ≤ v < 4.19.2732.6.33 ≤ v < 5.10.1682.6.33 ≤ v < 5.15.932.6.33 ≤ v < 5.4.2322.6.33 ≤ v < 6.1.112.6.33 ≤ v < 6.24.15 ≤ v < 4.19.2734.20 ≤ v < 5.4.2325.11 ≤ v < 5.15.935.16 ≤ v < 6.1.115.5 ≤ v < 5.10.168281e20323ab72180137824a298ee9e21e6f9acf66.2 rc16.2 rc26.2 rc36.2 rc46.2 rc56.2 rc6
Vendor states this is fixed in 356ff89acdbe6a66019154bc7eb2d300f5b15103 (fixed)
Vendor states this is fixed in 531390a243ef47448f8bad01c186c2787666bf4d (fixed)
Vendor states this is fixed in 53785fd9b315583cf029e39f72b73d23704a2253 (fixed)
Vendor states this is fixed in 5f4543c9382ae2d5062f6aa4fecae0c9258d0b0e (fixed)
Vendor states this is fixed in b2cd3947d116bb9ba7ff097b5fc747a8956764db (fixed)
Vendor states this is fixed in c8bdc88216f09cb7387fedbdf613524367328616 (fixed)
Vendor states this is fixed in d5a2dcee53fa6e6e2822f93cb3f1b0cd23163bee (fixed)
Vendor states this is fixed in 2.6.33 (unaffected)
Vendor states this is fixed in 4.14.306 (unaffected)
Vendor states this is fixed in 4.19.273 (unaffected)
Vendor states this is fixed in 5.10.168 (unaffected)
Vendor states this is fixed in 5.15.93 (unaffected)
Vendor states this is fixed in 5.4.232 (unaffected)
Vendor states this is fixed in 6.1.11 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/356ff89acdbe6a66019154bc7eb2d300f5b15103
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/531390a243ef47448f8bad01c186c2787666bf4d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/53785fd9b315583cf029e39f72b73d23704a2253
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5f4543c9382ae2d5062f6aa4fecae0c9258d0b0e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b2cd3947d116bb9ba7ff097b5fc747a8956764db
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c8bdc88216f09cb7387fedbdf613524367328616
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d5a2dcee53fa6e6e2822f93cb3f1b0cd23163bee

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card