# CVE-2023-54194: exfat: use kvmalloc\_array/kvfree instead of kmalloc\_array/kfree

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.26% (percentile 11, 2026-11-26)
- **Published:** 2025-12-30T12:09:01.436Z
- **Modified:** 2026-10-28T19:10:00.193Z

## Who should check

- Anyone running Linux \>= 1e49a94cf707204b66a3fb242f2814712c941f52, \< 79d16a84ea41272dfcb0c00f9798ddd0edd8098d; \>= 1e49a94cf707204b66a3fb242f2814712c941f52, \< 8a34a242cf03211cc89f68308d149b793f63c479; \>= 1e49a94cf707204b66a3fb242f2814712c941f52, \< 1427a7e96fb90d0896f74f5bcd21feb03cc7c3d0; \>= 1e49a94cf707204b66a3fb242f2814712c941f52, \< 0c5c3e8a2550b6b2a304b45f260296db9c09df96; \>= 1e49a94cf707204b66a3fb242f2814712c941f52, \< daf60d6cca26e50d65dac374db92e58de745ad26
- Anyone running Linux 5.7

## 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.

## Affected and fixed versions

- Linux: \>= 1e49a94cf707204b66a3fb242f2814712c941f52, \< 79d16a84ea41272dfcb0c00f9798ddd0edd8098d; \>= 1e49a94cf707204b66a3fb242f2814712c941f52, \< 8a34a242cf03211cc89f68308d149b793f63c479; \>= 1e49a94cf707204b66a3fb242f2814712c941f52, \< 1427a7e96fb90d0896f74f5bcd21feb03cc7c3d0; \>= 1e49a94cf707204b66a3fb242f2814712c941f52, \< 0c5c3e8a2550b6b2a304b45f260296db9c09df96; \>= 1e49a94cf707204b66a3fb242f2814712c941f52, \< daf60d6cca26e50d65dac374db92e58de745ad26 (cvelist)
- Linux: 5.7 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-54194. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54194.md
Affected: Linux >= 1e49a94cf707204b66a3fb242f2814712c941f52, < 79d16a84ea41272dfcb0c00f9798ddd0edd8098d; >= 1e49a94cf707204b66a3fb242f2814712c941f52, < 8a34a242cf03211cc89f68308d149b793f63c479; >= 1e49a94cf707204b66a3fb242f2814712c941f52, < 1427a7e96fb90d0896f74f5bcd21feb03cc7c3d0; >= 1e49a94cf707204b66a3fb2…
Fixed in: Linux 79d16a84ea41272dfcb0c00f9798ddd0edd8098d, Linux 8a34a242cf03211cc89f68308d149b793f63c479, Linux 1427a7e96fb90d0896f74f5bcd21feb03cc7c3d0, Linux 0c5c3e8a2550b6b2a304b45f260296db9c09df96

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.
```

## FAQ

### Is CVE-2023-54194 being exploited?

There is no confirmed exploitation: CVE-2023-54194 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-54194?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-54194?

Linux \>= 1e49a94cf707204b66a3fb242f2814712c941f52, \< 79d16a84ea41272dfcb0c00f9798ddd0edd8098d; \>= 1e49a94cf707204b66a3fb242f2814712c941f52, \< 8a34a242cf03211cc89f68308d149b793f63c479; \>= 1e49a94cf707204b66a3fb242f2814712c941f52, \< 1427a7e96fb90d0896f74f5bcd21feb03cc7c3d0; \>= 1e49a94cf707204b66a3fb242f2814712c941f52, \< 0c5c3e8a2550b6b2a304b45f260296db9c09df96; \>= 1e49a94cf707204b66a3fb242f2814712c941f52, \< daf60d6cca26e50d65dac374db92e58de745ad26; Linux 5.7.

### Is there a fix for CVE-2023-54194?

Yes. Fixed in Linux 79d16a84ea41272dfcb0c00f9798ddd0edd8098d, Linux 8a34a242cf03211cc89f68308d149b793f63c479, Linux 1427a7e96fb90d0896f74f5bcd21feb03cc7c3d0, Linux 0c5c3e8a2550b6b2a304b45f260296db9c09df96. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54194?

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.

## References

- other: <https://git.kernel.org/stable/c/79d16a84ea41272dfcb0c00f9798ddd0edd8098d>
- other: <https://git.kernel.org/stable/c/8a34a242cf03211cc89f68308d149b793f63c479>
- other: <https://git.kernel.org/stable/c/1427a7e96fb90d0896f74f5bcd21feb03cc7c3d0>
- other: <https://git.kernel.org/stable/c/0c5c3e8a2550b6b2a304b45f260296db9c09df96>
- other: <https://git.kernel.org/stable/c/daf60d6cca26e50d65dac374db92e58de745ad26>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-54194>

HTML: <https://flawdb.com/CVE-2023-54194> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-54194>
