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

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2025-03-27T16:43:25.684Z
- Modified: 2026-06-17T06:44:03.987Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 281e20323ab72180137824a298ee9e21e6f9acf6 before b2cd3947d116bb9ba7ff097b5fc747a8956764db; from 281e20323ab72180137824a298ee9e21e6f9acf6 before 356ff89acdbe6a66019154bc7eb2d300f5b15103; from 281e20323ab72180137824a298ee9e21e6f9acf6 before 53785fd9b315583cf029e39f72b73d23704a2253; from 281e20323ab72180137824a298ee9e21e6f9acf6 before d5a2dcee53fa6e6e2822f93cb3f1b0cd23163bee; from 281e20323ab72180137824a298ee9e21e6f9acf6 before 5f4543c9382ae2d5062f6aa4fecae0c9258d0b0e; from 281e20323ab72180137824a298ee9e21e6f9acf6 before c8bdc88216f09cb7387fedbdf613524367328616; from 281e20323ab72180137824a298ee9e21e6f9acf6 before 531390a243ef47448f8bad01c186c2787666bf4d; 2.6.33 (not affected: before 2.6.33; from 4.14.306 up to 4.14.*; from 4.19.273 up to 4.19.*; from 5.4.232 up to 5.4.*; from 5.10.168 up to 5.10.*; from 5.15.93 up to 5.15.*; from 6.1.11 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 2.6.33 before 4.14.306; from 4.15 before 4.19.273; from 4.20 before 5.4.232; from 5.5 before 5.10.168; from 5.11 before 5.15.93; from 5.16 before 6.1.11; 6.2

## Every score

- CISA-ADP: 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`
- NVD: 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`

## References

- <https://git.kernel.org/stable/c/b2cd3947d116bb9ba7ff097b5fc747a8956764db> (patch)
- <https://git.kernel.org/stable/c/356ff89acdbe6a66019154bc7eb2d300f5b15103> (patch)
- <https://git.kernel.org/stable/c/53785fd9b315583cf029e39f72b73d23704a2253> (patch)
- <https://git.kernel.org/stable/c/d5a2dcee53fa6e6e2822f93cb3f1b0cd23163bee> (patch)
- <https://git.kernel.org/stable/c/5f4543c9382ae2d5062f6aa4fecae0c9258d0b0e> (patch)
- <https://git.kernel.org/stable/c/c8bdc88216f09cb7387fedbdf613524367328616> (patch)
- <https://git.kernel.org/stable/c/531390a243ef47448f8bad01c186c2787666bf4d> (patch)

## Sources

- CVE List: [CVE-2023-52989](https://www.cve.org/CVERecord?id=CVE-2023-52989), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-52989](https://nvd.nist.gov/vuln/detail/CVE-2023-52989), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52989 · Whole record: https://cve.day/CVE-2023-52989.json · Rebuilt by cve.day 2026-11-25T22:58:34.590Z
