# CVE-2023-54050: linux: In the Linux kernel, the following vulnerability has been resolved:  ubifs: Fix memleak when insert_old_idx() failed...

CVE-2023-54050 is fixed in linux on 1 platform, first by DEBIAN-CVE-2023-54050, released December 24, 2025. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2023-54050
- Priority: High
- CVSS: 7.8 (high)
- EPSS: 0.0020
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 24, 2025

## Description

In the Linux kernel, the following vulnerability has been resolved:  ubifs: Fix memleak when insert_old_idx() failed  Following process will cause a memleak for copied up znode:  dirty_cow_znode   zn = copy_znode(c, znode);   err = insert_old_idx(c, zbr->lnum, zbr->offs);   if (unlikely(err))      return ERR_PTR(err);   // No one refers to zn.  Fetch a reproducer in [Link].  Function copy_znode() is split into 2 parts: resource allocation and znode replacement, insert_old_idx() is split in similar way, so resource cleanup could be done in error handling path without corrupting metadata(mem & disk). It's okay that old index inserting is put behind of add_idx_dirt(), old index is used in layout_leb_in_gaps(), so the two processes do not depend on each other.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 12.15 (bookworm) | 6.1.37-1 | [DEBIAN-CVE-2023-54050](https://patchblox.com/security/data/fix/linux/debian-cve-2023-54050.md) | Dec 24, 2025 |
| Linux | linux Debian 13.5 (trixie) | 6.3.7-1 | [DEBIAN-CVE-2023-54050](https://patchblox.com/security/data/fix/linux/debian-cve-2023-54050.md) | Dec 24, 2025 |
| Linux | linux Debian 14 | 6.3.7-1 | [DEBIAN-CVE-2023-54050](https://patchblox.com/security/data/fix/linux/debian-cve-2023-54050.md) | Dec 24, 2025 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
