Re: [Bug] Memory allocation errors and system crashing due to buggy disk cache/inode allocations by ntfs3 kernel module.
From: Konstantin Komarov
Date: Fri Nov 14 2025 - 04:39:50 EST
On 10/4/25 13:26, craftfever@xxxxxxxxxxxx wrote:
I'm posting there first time, so I through it like generic bug mailing list, but I can say, that, for example, version 6.12.50-lts a little less pron to bug, but it occurs there as well. I'm using Linux 6.16.10 for now. So, bug is present a while, but i hardly to tell, in what kernel version it appeared, cause earlier, I didn't manage that big amount of files. Again, it's okay with ntfs-3g.Hello,
Oct 4, 2025, 14:12 by regressions@xxxxxxxxxxxxx:
On 10/4/25 13:03, craftfever@xxxxxxxxxxxx wrote:
Oct 4, 2025, 11:55 by craftfever@xxxxxxxxxxxx:Thx for the report.
I'm expecting serious bug when writing large amount of files toTo reproduce a bug, try cloning two big Git repositories to an
NTFS hard drive, shortly after memory allocation errors and system
crash occurs/ Firstly, I thought, than this is bug in linux kernel
itself, somewhat disk cache allocation error, but when I tested
same operations on ext4 drive or using NTFS-3G module, bug is not
present.
external NTFS drive mounted with ntfs3 module.
What kernel version are your using?
You CCed the regression list, so I assume this used to work, which leads
to two more questions: What was the last version where this works? Could
you bisect?
Ciao, Thorsten
I tried to reproduce the problem by cloning multiple large Git repositories
onto an ntfs3-mounted NTFS volume, but the issue did not trigger on my side
and no system crash occurred.
Could you provide a bit more detail about your case?
- What appears in the kernel logs before the crash or before the process
enters the unkillable state? Any warnings, memory allocation errors,
stack traces, or lockdep messages from dmesg would be very useful.
- What mount options are you using for ntfs3?
- Roughly how much data or how many files are needed to trigger the
behavior?
- Does the problem happen immediately, or only after sustained I/O or high
memory pressure?
If you can capture the relevant portion of dmesg or the last messages
shown before the freeze/hang, that would help a lot in diagnosing this.
Regards,
Konstantin