hn.today

NTFS3 Hardened in Linux 7.4 Against Corrupted Maliciously-Crafted NTFS Volumes

phoronix.com13 points0 comments
Screenshot of NTFS3 Hardened in Linux 7.4 Against Corrupted Maliciously-Crafted NTFS Volumes

Linux 7.4 brings a security-focused update to NTFS3, the in-kernel driver that can read and write NTFS volumes. Paragon Software contributor Konstantin Komarov submitted fixes aimed at making the driver handle damaged filesystems and volumes deliberately constructed to trigger bugs. The work follows reports from fuzz testing and Kernel Address Sanitizer, which exposed flaws in the driver’s C code. NTFS3 remains an alternative to the newer NTFS read/write driver merged into Linux 7.1.

The fixes address several ways malformed filesystem data could compromise kernel or user-space safety: a potential 64-kilobyte kernel-heap leak, damaged compressed files exposing uninitialized page-cache contents, a heap overflow, and mounting code writing beyond the buffer allocated for an MFT record. The update also adds an “ugm” mount option, enabled by default, for handling WSL-related ownership and permissions. Setting “ugm=0” prevents newly created files from receiving the WSL uid, gid, and mode extended attributes, which Windows does not use. Overall, the changes prioritize resilience when mounting untrusted or corrupted NTFS volumes rather than adding broad new filesystem capabilities.

Read on phoronix.com0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Security

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.