CVE-2023-54194 Details
Description
In the Linux kernel, the following vulnerability has been resolved: exfat: use kvmalloc_array/kvfree instead of kmalloc_array/kfree The call stack shown below is a scenario in the Linux 4.19 kernel. Allocating memory failed where exfat fs use kmalloc_array due to system memory fragmentation, while the u-disk was inserted without recognition. Devices such as u-disk using the exfat file system are pluggable and may be insert into the system at any time. However, long-term running systems cannot guarantee the continuity of physical memory. Therefore, it's necessary to address this issue. Binder:2632_6: page allocation failure: order:4, mode:0x6040c0(GFP_KERNEL|__GFP_COMP), nodemask=(null) Call trace: [242178.097582] dump_backtrace+0x0/0x4 [242178.097589] dump_stack+0xf4/0x134 [242178.097598] warn_alloc+0xd8/0x144 [242178.097603] __alloc_pages_nodemask+0x1364/0x1384 [242178.097608] kmalloc_order+0x2c/0x510 [242178.097612] kmalloc_order_trace+0x40/0x16c [242178.097618] __kmalloc+0x360/0x408 [242178.097624] load_alloc_bitmap+0x160/0x284 [242178.097628] exfat_fill_super+0xa3c/0xe7c [242178.097635] mount_bdev+0x2e8/0x3a0 [242178.097638] exfat_fs_mount+0x40/0x50 [242178.097643] mount_fs+0x138/0x2e8 [242178.097649] vfs_kern_mount+0x90/0x270 [242178.097655] do_mount+0x798/0x173c [242178.097659] ksys_mount+0x114/0x1ac [242178.097665] __arm64_sys_mount+0x24/0x34 [242178.097671] el0_svc_common+0xb8/0x1b8 [242178.097676] el0_svc_handler+0x74/0x90 [242178.097681] el0_svc+0x8/0x340 By analyzing the exfat code,we found that continuous physical memory is not required here,so kvmalloc_array is used can solve this problem.
A memory allocation vulnerability has been identified in the Linux kernel's exFAT file system implementation, specifically in versions through 4.19. The issue arises from the use of 'kmalloc_array' for memory allocation, which can lead to failures due to system memory fragmentation. This problem becomes apparent when a USB disk using the exFAT file system is inserted, as the device may not be recognized. The vulnerability stems from the fact that long-running systems cannot ensure the continuity of physical memory, causing allocation failures. The issue can be exploited by inserting a pluggable device using the exFAT file system into the system.
The vulnerability has been addressed in the Linux kernel by changing the memory allocation method for the exFAT file system from 'kmalloc_array' to 'kvmalloc_array', which is more suitable for the fragmented memory conditions. Users should upgrade to the latest version of the Linux kernel where this change has been implemented.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0c5c3e8a2550b6b2a304b45f260296db9c09df96 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/1427a7e96fb90d0896f74f5bcd21feb03cc7c3d0 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/79d16a84ea41272dfcb0c00f9798ddd0edd8098d | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/8a34a242cf03211cc89f68308d149b793f63c479 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/daf60d6cca26e50d65dac374db92e58de745ad26 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 28, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 30, 2025 | New CVE Received | kernel.org |
Volerion