CVE-2023-53468ubifs: Fix memory leak in alloc_wbufs()
- 5.5MediumCVSS base score
- 0.16%Exploitation in 30 daysEPSS · top 95% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: ubifs: Fix memory leak in alloc_wbufs() kmemleak reported a sequence of memory leaks, and show them as following: unreferenced object 0xffff8881575f8400 (size 1024): comm "mount", pid 19625, jiffies 4297119604 (age 20.383s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<ffffffff8176cecd>] __kmalloc+0x4d/0x150 [<ffffffffa0406b2b>] ubifs_mount+0x307b/0x7170 [ubifs] [<ffffffff819fa8fd>] legacy_get_tree+0xed/0x1d0 [<ffffffff81936f2d>] vfs_get_tree+0x7d/0x230 [<ffffffff819b2bd4>] path_mount+0xdd4/0x17b0 [<ffffffff819b37aa>] __x64_sys_mount+0x1fa/0x270 [<ffffffff83c14295>] do_syscall_64+0x35/0x80 [<ffffffff83e0006a>] entry_SYSCALL_64_after_hwframe+0x46/0xb0 unreferenced object 0xffff8881798a6e00 (size 512): comm "mount", pid 19677, jiffies 4297121912 (age 37.816s) hex dump (first 32 bytes): 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk backtrace: [<ffffffff8176cecd>] __kmalloc+0x4d/0x150 [<ffffffffa0418342>] ubifs_wbuf_init+0x52/0x480 [ubifs] [<ffffffffa0406ca5>] ubifs_mount+0x31f5/0x7170 [ubifs] [<ffffffff819fa8fd>] legacy_get_tree+0xed/0x1d0 [<ffffffff81936f2d>] vfs_get_tree+0x7d/0x230 [<ffffffff819b2bd4>] path_mount+0xdd4/0x17b0 [<ffffffff819b37aa>] __x64_sys_mount+0x1fa/0x270 [<ffffffff83c14295>] do_syscall_64+0x35/0x80 [<ffffffff83e0006a>] entry_SYSCALL_64_after_hwframe+0x46/0xb0 The problem is that the ubifs_wbuf_init() returns an error in the loop which in the alloc_wbufs(), then the wbuf->buf and wbuf->inodes that were successfully alloced before are not freed. Fix it by adding error hanging path in alloc_wbufs() which frees the memory alloced before when ubifs_wbuf_init() returns an error.
Timeline
ID reserved
By Linux
Published
- 7 months later
· 7 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.16% · top 95% of all CVEs (17 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d – < 1f206002c6bc302bface871ef3f72c0bbcaa931c
- affected 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d – < bf50229494f0443b3f08427d7df63e5a7e2a796a
- affected 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d – < 3e29634eb56e6547272fe4e568f63421f8b3b9fa
- affected 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d – < 26ec45f1c504e15268383019df139d7983f1e67f
- affected 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d – < e11f36d3bc4d23f620754a948fe7b82b63dcb185
- affected 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d – < 4a1ff3c5d04b9079b4f768d9a71b51c4af578dd2
- affected 2.6.27
- unaffected < 2.6.27
- unaffected 5.4.235 – ≤ 5.4.*
- unaffected 5.10.173 – ≤ 5.10.*
- unaffected 5.15.100 – ≤ 5.15.*
- unaffected 6.1.18 – ≤ 6.1.*
- unaffected 6.2.5 – ≤ 6.2.*
- unaffected 6.3 – ≤ *
References
References6
- https://git.kernel.org/stable/c/1f206002c6bc302bface871ef3f72c0bbcaa931c (opens in a new tab)
- https://git.kernel.org/stable/c/bf50229494f0443b3f08427d7df63e5a7e2a796a (opens in a new tab)
- https://git.kernel.org/stable/c/3e29634eb56e6547272fe4e568f63421f8b3b9fa (opens in a new tab)
- https://git.kernel.org/stable/c/26ec45f1c504e15268383019df139d7983f1e67f (opens in a new tab)
- https://git.kernel.org/stable/c/e11f36d3bc4d23f620754a948fe7b82b63dcb185 (opens in a new tab)
- https://git.kernel.org/stable/c/4a1ff3c5d04b9079b4f768d9a71b51c4af578dd2 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-32800 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-53468)Record last updated .