CVE-2023-53468
BaseFortify
Publication date: 2025-10-01
Last updated on: 2025-10-02
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a memory leak in the Linux kernel's UBIFS filesystem code, specifically in the alloc_wbufs() function. When ubifs_wbuf_init() returns an error during a loop in alloc_wbufs(), previously allocated memory buffers (wbuf->buf and wbuf->inodes) are not freed, causing a memory leak. The fix involves adding error handling to free allocated memory when an error occurs.
How can this vulnerability impact me? :
This vulnerability can cause memory leaks in the Linux kernel when mounting UBIFS filesystems, potentially leading to increased memory usage and reduced system stability or performance over time if the leaked memory accumulates.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by using the Linux kernel's kmemleak tool, which reports memory leaks related to ubifs. You can enable kmemleak and check for unreferenced objects related to ubifs, especially those involving mount processes. Commands to enable and check kmemleak include: 1. Enable kmemleak (if not already enabled): echo scan > /sys/kernel/debug/kmemleak 2. Check kmemleak reports: cat /sys/kernel/debug/kmemleak Look for memory leaks with backtraces involving ubifs_mount and ubifs_wbuf_init functions as indicated in the vulnerability description.
What immediate steps should I take to mitigate this vulnerability?
The immediate step to mitigate this vulnerability is to update the Linux kernel to a version where the ubifs memory leak in alloc_wbufs() has been fixed. The fix involves proper error handling in alloc_wbufs() to free allocated memory when ubifs_wbuf_init() returns an error. Until an update is applied, monitoring for memory leaks using kmemleak and avoiding mounting ubifs filesystems if possible may reduce exposure.