# CVE-2023-53318: recordmcount: Fix memory leaks in the uwrite function

- 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.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-09-16T16:11:54.677Z
- Modified: 2026-06-17T06:44:52.450Z
- 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:

recordmcount: Fix memory leaks in the uwrite function

Common realloc mistake: 'file_append' nulled but not freed upon failure

(As written by CVE List.)

## Affected

- Linux Linux: from a50bd43935586420fb75f4558369eb08566fac5e before bd39f68a309a947670379bf9a39b16c584f86ddb; from a50bd43935586420fb75f4558369eb08566fac5e before 444ec005404cead222ebce2561a9451c9ee5ad89; from a50bd43935586420fb75f4558369eb08566fac5e before 3ed95a6f6c646e8bb15c354536e0ab10e8f39c08; from a50bd43935586420fb75f4558369eb08566fac5e before 2d9ca5f62f2ba160ff9c9be4adf401c46c04edef; from a50bd43935586420fb75f4558369eb08566fac5e before ff70ad9159fbb566b2c15724f44207e8deccd527; from a50bd43935586420fb75f4558369eb08566fac5e before 895130e63c93926f07caf5db286b97bd27b81de9; from a50bd43935586420fb75f4558369eb08566fac5e before 25c9b185f121812cbc215fdaa1192c6b9025b428; from a50bd43935586420fb75f4558369eb08566fac5e before fa359d068574d29e7d2f0fdd0ebe4c6a12b5cfb9; fa41a0adbc216e18afe7a2dd4386f614899a0653; 334e907923e9cab057020a9c7ec7d9f32ead6573; from 3.2.76 before 3.3; from 3.4.113 before 3.5; and 1 more (not affected: before 4.4; from 4.14.316 up to 4.14.*; from 4.19.284 up to 4.19.*; from 5.4.244 up to 5.4.*; from 5.10.181 up to 5.10.*; from 5.15.113 up to 5.15.*; from 6.1.30 up to 6.1.*; from 6.3.4 up to 6.3.*; from 6.4 up to *)
- linux linux_kernel: before 4.14.316; from 4.15 before 4.19.284; from 4.20 before 5.4.244; from 5.5 before 5.10.181; from 5.11 before 5.15.113; from 5.16 before 6.1.30; from 6.2 before 6.3.4

## 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/bd39f68a309a947670379bf9a39b16c584f86ddb> (patch)
- <https://git.kernel.org/stable/c/444ec005404cead222ebce2561a9451c9ee5ad89> (patch)
- <https://git.kernel.org/stable/c/3ed95a6f6c646e8bb15c354536e0ab10e8f39c08> (patch)
- <https://git.kernel.org/stable/c/2d9ca5f62f2ba160ff9c9be4adf401c46c04edef> (patch)
- <https://git.kernel.org/stable/c/ff70ad9159fbb566b2c15724f44207e8deccd527> (patch)
- <https://git.kernel.org/stable/c/895130e63c93926f07caf5db286b97bd27b81de9> (patch)
- <https://git.kernel.org/stable/c/25c9b185f121812cbc215fdaa1192c6b9025b428> (patch)
- <https://git.kernel.org/stable/c/fa359d068574d29e7d2f0fdd0ebe4c6a12b5cfb9> (patch)

## Sources

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

---

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