CVE-2023-54134
Memory Leak in Linux Kernel Autofs Waitqueues Causes Resource Exhaustion
Publication date: 2025-12-24
Last updated on: 2025-12-24
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | kernel | * |
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
What immediate steps should I take to mitigate this vulnerability?
The vulnerability is fixed in the Linux kernel by ensuring that autofs waitqueues are properly freed when their usage counter reaches zero, preventing memory leaks. Immediate mitigation involves updating the Linux kernel to a version where this fix is applied.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability involves a memory leak in the Linux kernel's autofs subsystem related to waitqueues. Detection can be done by monitoring kernel logs for memory leak BUG messages similar to those reported by Syzkaller, such as 'BUG: memory leak unreferenced object' with details about autofs waitqueues. You can check kernel logs using commands like 'dmesg | grep -i autofs' or 'journalctl -k | grep -i autofs'. Additionally, monitoring system behavior for symptoms of memory leaks or automount issues may help. However, no specific detection commands or network detection methods are provided.
Can you explain this vulnerability to me?
This vulnerability is a memory leak in the Linux kernel's autofs component. Specifically, waitqueue structures used in autofs_catatonic_mode are not properly freed when their usage counter reaches zero. This happens because during certain operations, such as an AUTOFS_IOC_EXPIRE_MULTI ioctl, waitqueues are allocated but not correctly released if interrupted. As a result, these waitqueues remain unreferenced and consume memory unnecessarily.
How can this vulnerability impact me? :
The memory leak caused by this vulnerability can lead to increased memory consumption in the system over time, potentially degrading system performance or causing resource exhaustion. This can affect the stability and reliability of systems using the autofs feature in the Linux kernel, especially if the automount daemon is frequently performing expire operations.