CVE-2023-53276
ubifs: Free memory for tmpfile name
- Published
- Updated
- Reserved
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: ubifs: Free memory for tmpfile name When opening a ubifs tmpfile on an encrypted directory, function fscrypt_setup_filename allocates memory for the name that is to be stored in the directory entry, but after the name has been copied to the directory entry inode, the memory is not freed. When running kmemleak on it we see that it is registered as a leak. The report below is triggered by a simple program 'tmpfile' just opening a tmpfile: unreferenced object 0xffff88810178f380 (size 32): comm "tmpfile", pid 509, jiffies 4294934744 (age 1524.742s) backtrace: __kmem_cache_alloc_node __kmalloc fscrypt_setup_filename ubifs_tmpfile vfs_tmpfile path_openat Free this memory after it has been copied to the inode.
Timeline
ID reserved
By Linux
Published
- 8 months later
· 8 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 |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 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 94% of all CVEs (8 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Weakness
Affected products
- affected f4f61d2cc6d8789a52245a4733b3e5643be154f3 – < 8ad8c67a897e68426e85990ebfe0a7d1f71fc79f
- affected f4f61d2cc6d8789a52245a4733b3e5643be154f3 – < 107d481642c356a5668058066360fc473911e628
- affected f4f61d2cc6d8789a52245a4733b3e5643be154f3 – < 823f554747f8aafaa965fb2f3ae794110ed429ef
- affected f4f61d2cc6d8789a52245a4733b3e5643be154f3 – < b8f444a4fadfb5070ed7e298e0a5ceb4a18014f3
- affected f4f61d2cc6d8789a52245a4733b3e5643be154f3 – < ce840284929b75dbbf062e0ce7fcb78a63b08b5e
- affected f4f61d2cc6d8789a52245a4733b3e5643be154f3 – < 29738e1bcc799dd754711d4e4aab967f0c018175
- affected f4f61d2cc6d8789a52245a4733b3e5643be154f3 – < fd197308c0e4f738c7ea687d5332035c5753881c
- affected f4f61d2cc6d8789a52245a4733b3e5643be154f3 – < 1e43d4284bdc3bd34bd770fea13910ac37ab0618
- affected f4f61d2cc6d8789a52245a4733b3e5643be154f3 – < 1fb815b38bb31d6af9bd0540b8652a0d6fe6cfd3
- affected 4.10
- unaffected < 4.10
- unaffected 4.14.315 – ≤ 4.14.*
- unaffected 4.19.283 – ≤ 4.19.*
- unaffected 5.4.243 – ≤ 5.4.*
- unaffected 5.10.180 – ≤ 5.10.*
- unaffected 5.15.111 – ≤ 5.15.*
- unaffected 6.1.28 – ≤ 6.1.*
- unaffected 6.2.15 – ≤ 6.2.*
- unaffected 6.3.2 – ≤ 6.3.*
- unaffected 6.4 – ≤ *
References (9)
- https://git.kernel.org/stable/c/8ad8c67a897e68426e85990ebfe0a7d1f71fc79f (opens in a new tab)
- https://git.kernel.org/stable/c/107d481642c356a5668058066360fc473911e628 (opens in a new tab)
- https://git.kernel.org/stable/c/823f554747f8aafaa965fb2f3ae794110ed429ef (opens in a new tab)
- https://git.kernel.org/stable/c/b8f444a4fadfb5070ed7e298e0a5ceb4a18014f3 (opens in a new tab)
- https://git.kernel.org/stable/c/ce840284929b75dbbf062e0ce7fcb78a63b08b5e (opens in a new tab)
- https://git.kernel.org/stable/c/29738e1bcc799dd754711d4e4aab967f0c018175 (opens in a new tab)
- https://git.kernel.org/stable/c/fd197308c0e4f738c7ea687d5332035c5753881c (opens in a new tab)
- https://git.kernel.org/stable/c/1e43d4284bdc3bd34bd770fea13910ac37ab0618 (opens in a new tab)
- https://git.kernel.org/stable/c/1fb815b38bb31d6af9bd0540b8652a0d6fe6cfd3 (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)
- 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-53276)Record last updated .