exfat: resolve memory leak from exfat_create_upcase_table()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.10.136.11.26.12In the Linux kernel, the following vulnerability has been resolved:
exfat: resolve memory leak from exfat_create_upcase_table()
If exfat_load_upcase_table reaches end and returns -EINVAL, allocated memory doesn't get freed and while exfat_load_default_upcase_table allocates more memory, leading to a memory leak.
Here's link to syzkaller crash report illustrating this issue: https://syzkaller.appspot.com/text?tag=CrashReport&x=1406c201980000
From the CVE record · Linux
The Linux kernel's exfat upcase table loading can leak memory if exfat_load_upcase_table reaches the end and returns -EINVAL, after which exfat_load_default_upcase_table allocates more memory. The input does not establish how an attacker could trigger this condition or whether access or user interaction is required.
Engineers running Linux kernels with exfat support should check their versions; affected versions are not specified.