CVE-2023-53276
ubifs: Free memory for tmpfile name
Mitigation
- Upgrade Linux to 1fb815b38bb31d6af9bd0540b8652a0d6fe6cfd3 or later.
Who should check
- Anyone running Linux >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 8ad8c67a897e68426e85990ebfe0a7d1f71fc79f; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 107d481642c356a5668058066360fc473911e628; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 823f554747f8aafaa965fb2f3ae794110ed429ef; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < b8f444a4fadfb5070ed7e298e0a5ceb4a18014f3; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < ce840284929b75dbbf062e0ce7fcb78a63b08b5e; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 29738e1bcc799dd754711d4e4aab967f0c018175; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < fd197308c0e4f738c7ea687d5332035c5753881c; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 1e43d4284bdc3bd34bd770fea13910ac37ab0618; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 1fb815b38bb31d6af9bd0540b8652a0d6fe6cfd3
- Anyone running Linux 4.10
Vulnerability facts
- Affected
- Linux >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 8ad8c67a897e68426e85990ebfe0a7d1f71fc79f; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 107d481642c356a5668058066360fc473911e628; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 823f554747f8aafaa965fb2f3ae794110ed429ef; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < b8f444a4fadfb5070ed7e298e0a5ceb4a18014f3; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < ce840284929b75dbbf062e0ce7fcb78a63b08b5e; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 29738e1bcc799dd754711d4e4aab967f0c018175; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < fd197308c0e4f738c7ea687d5332035c5753881c; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 1e43d4284bdc3bd34bd770fea13910ac37ab0618; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 1fb815b38bb31d6af9bd0540b8652a0d6fe6cfd3; Linux 4.10
- Fixed in
- Linux 8ad8c67a897e68426e85990ebfe0a7d1f71fc79f, Linux 107d481642c356a5668058066360fc473911e628, Linux 823f554747f8aafaa965fb2f3ae794110ed429ef, Linux 29738e1bcc799dd754711d4e4aab967f0c018175, Linux 1e43d4284bdc3bd34bd770fea13910ac37ab0618, Linux 1fb815b38bb31d6af9bd0540b8652a0d6fe6cfd3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
- CWE
- CWE-401
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 8ad8c67a897e68426e85990ebfe0a7d1f71fc79f; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 107d481642c356a5668058066360fc473911e628; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 823f554747f8aafaa965fb2f3ae794110ed429ef; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < b8f444a4fadfb5070ed7e298e0a5ceb4a18014f3; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < ce840284929b75dbbf062e0ce7fcb78a63b08b5e; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 29738e1bcc799dd754711d4e4aab967f0c018175; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < fd197308c0e4f738c7ea687d5332035c5753881c; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 1e43d4284bdc3bd34bd770fea13910ac37ab0618; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 1fb815b38bb31d6af9bd0540b8652a0d6fe6cfd3 | — | cvelist |
| Linux | 4.10 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-53276. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-53276.md Affected: Linux >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 8ad8c67a897e68426e85990ebfe0a7d1f71fc79f; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 107d481642c356a5668058066360fc473911e628; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 823f554747f8aafaa965fb2f3ae794110ed429ef; >= f4f61d2cc6d8789a52245a4… Fixed in: Linux 8ad8c67a897e68426e85990ebfe0a7d1f71fc79f, Linux 107d481642c356a5668058066360fc473911e628, Linux 823f554747f8aafaa965fb2f3ae794110ed429ef, Linux 29738e1bcc799dd754711d4e4aab967f0c018175, Linux 1e43d4284bdc3bd34bd770fea13910ac37ab0618, Linux 1fb815b38bb31d6af9bd0540b8652a0d6fe6cfd3 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/8ad8c67a897e68426e85990ebfe0a7d1f71fc79f
- https://git.kernel.org/stable/c/107d481642c356a5668058066360fc473911e628
- https://git.kernel.org/stable/c/823f554747f8aafaa965fb2f3ae794110ed429ef
- https://git.kernel.org/stable/c/b8f444a4fadfb5070ed7e298e0a5ceb4a18014f3
- https://git.kernel.org/stable/c/ce840284929b75dbbf062e0ce7fcb78a63b08b5e
- https://git.kernel.org/stable/c/29738e1bcc799dd754711d4e4aab967f0c018175
- https://git.kernel.org/stable/c/fd197308c0e4f738c7ea687d5332035c5753881c
- https://git.kernel.org/stable/c/1e43d4284bdc3bd34bd770fea13910ac37ab0618
- https://git.kernel.org/stable/c/1fb815b38bb31d6af9bd0540b8652a0d6fe6cfd3
FAQ
Is CVE-2023-53276 being exploited?
There is no confirmed exploitation: CVE-2023-53276 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-53276?
Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-53276?
Linux >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 8ad8c67a897e68426e85990ebfe0a7d1f71fc79f; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 107d481642c356a5668058066360fc473911e628; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 823f554747f8aafaa965fb2f3ae794110ed429ef; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < b8f444a4fadfb5070ed7e298e0a5ceb4a18014f3; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < ce840284929b75dbbf062e0ce7fcb78a63b08b5e; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 29738e1bcc799dd754711d4e4aab967f0c018175; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < fd197308c0e4f738c7ea687d5332035c5753881c; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 1e43d4284bdc3bd34bd770fea13910ac37ab0618; >= f4f61d2cc6d8789a52245a4733b3e5643be154f3, < 1fb815b38bb31d6af9bd0540b8652a0d6fe6cfd3; Linux 4.10.
Is there a fix for CVE-2023-53276?
Yes. Fixed in Linux 8ad8c67a897e68426e85990ebfe0a7d1f71fc79f, Linux 107d481642c356a5668058066360fc473911e628, Linux 823f554747f8aafaa965fb2f3ae794110ed429ef, Linux 29738e1bcc799dd754711d4e4aab967f0c018175, Linux 1e43d4284bdc3bd34bd770fea13910ac37ab0618, Linux 1fb815b38bb31d6af9bd0540b8652a0d6fe6cfd3. Upgrade Linux to 1fb815b38bb31d6af9bd0540b8652a0d6fe6cfd3 or later.
How do I check if I'm affected by CVE-2023-53276?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.