CVE-2023-52989 json
firewire: fix memory leak for payload of request subaction to IEC 61883-1 FCP region
published 2025-03-27 19 mo ago modified 2026-06-17 4 mo ago also EUVD-2023-59731
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 18%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.14.306, 4.19.273, 5.4.232, 5.10.168, 5.15.93, 6.1.11, 6.2
- linux Debian 14, Debian 13, Debian 12 6.1.11-1
debian advisories DEBIAN-CVE-2023-52989
- linux Ubuntu 18.04 LTS 4.15.0-211.222
- linux Ubuntu 20.04 LTS 5.4.0-149.166
- linux Ubuntu 22.04 LTS 5.15.0-72.79
- linux-aws Ubuntu 18.04 LTS 4.15.0-1156.169
- linux-aws Ubuntu 20.04 LTS 5.4.0-1102.110
- linux-aws Ubuntu 22.04 LTS 5.15.0-1036.40
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1105.114
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1034.42
ubuntu advisories UBUNTU-CVE-2023-52989
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-64kb SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS, SLE High Performance Computing 15 SP5-ESPOS 5.14.21-150500.55.100.1
- kernel-syms SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 5.14.21-150500.55.100.1
- kernel-source SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +2 more 5.14.21-150500.55.100.1
- kernel-default SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +3 more 5.14.21-150500.55.100.1
- kernel-obs-build SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 5.14.21-150500.55.100.1
- kernel-default-base SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +2 more 5.14.21-150500.55.100.1.150500.6.47.1
- kernel-64kb SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS, SLE High Performance Computing 15 SP4-ESPOS 5.14.21-150400.24.161.1
- kernel-syms SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +3 more 5.14.21-150400.24.161.1
suse advisories SUSE-SU-2025:01983-1SUSE-SU-2025:1241-1SUSE-SU-2025:1195-1SUSE-SU-2025:1183-1SUSE-SU-2025:1176-1
- git.kernel.org/stable/c/b2cd3947d116bb9ba7ff097b5fc747a8956764db commit
- git.kernel.org/stable/c/356ff89acdbe6a66019154bc7eb2d300f5b15103 commit
- git.kernel.org/stable/c/53785fd9b315583cf029e39f72b73d23704a2253 commit
- git.kernel.org/stable/c/d5a2dcee53fa6e6e2822f93cb3f1b0cd23163bee commit
- git.kernel.org/stable/c/5f4543c9382ae2d5062f6aa4fecae0c9258d0b0e commit
- git.kernel.org/stable/c/c8bdc88216f09cb7387fedbdf613524367328616 commit
- git.kernel.org/stable/c/531390a243ef47448f8bad01c186c2787666bf4d commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-52989 updated cvss 5.5
kernel: firewire: fix memory leak for payload of request subaction to IEC 61883-1 FCP region
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 13 mo ago
Exploit prediction
0.26% chance of exploitation in the next 30 days, higher than 18% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-401 Missing Release of Memory after Effective Lifetime
- Technology feeds
References
-
git.kernel.org
/stable/c/b2cd3947d116bb9ba7ff097b5fc747a8956764db
patch
-
git.kernel.org
/stable/c/356ff89acdbe6a66019154bc7eb2d300f5b15103
patch
-
git.kernel.org
/stable/c/53785fd9b315583cf029e39f72b73d23704a2253
patch
-
git.kernel.org
/stable/c/d5a2dcee53fa6e6e2822f93cb3f1b0cd23163bee
patch
-
git.kernel.org
/stable/c/5f4543c9382ae2d5062f6aa4fecae0c9258d0b0e
patch
-
git.kernel.org
/stable/c/c8bdc88216f09cb7387fedbdf613524367328616
patch
-
git.kernel.org
/stable/c/531390a243ef47448f8bad01c186c2787666bf4d
patch
Sources
- CVE List CVE-2023-52989
- NVD CVE-2023-52989
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.