malicious filesystem not being a security issue!?
malicious filesystem not being a security issue!?
Posted Oct 5, 2026 13:55 UTC (Mon) by csamuel (✭ supporter ✭, #2624)In reply to: malicious filesystem not being a security issue!? by mathstuf
Parent article: Coping with the onslaught of kernel security bugs
> For some filesystem bugs a CVE will not be assigned when a maliciously crafted or accidentally corrupted filesystem image is mounted by the kernel, and the kernel crashes or has other problems with it, unless the filesytem-specific userspace fsck program previously ran on the image before mounting, and it did not find any problems with it. In simpler terms, always run fsck on any untrusted filesystem image before mounting it.
So they will (or should) happily make CVEs for these crashes if the filesystem checker didn't spot the issue.
Personally I think even if it does it should be a CVE, but it's certainly not as clear cut as "we don't care about corrupt filesystems".
The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:
Note: you can avoid this step in the future by logging into your LWN account.
