<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/fs/ntfs/ea.c, branch master</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=master</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2026-03-16T11:27:40Z</updated>
<entry>
<title>ntfs: harden ntfs_listxattr against EA entries</title>
<updated>2026-03-16T11:27:40Z</updated>
<author>
<name>Hyunchul Lee</name>
<email>hyc.lee@gmail.com</email>
</author>
<published>2026-03-09T07:40:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e6a95c5a8066b4d6a74651f89612f13ed1a03fe6'/>
<id>urn:sha1:e6a95c5a8066b4d6a74651f89612f13ed1a03fe6</id>
<content type='text'>
Validate every EA entry only if the buffer length is required to prevent
large memory allocation.

Signed-off-by: Hyunchul Lee &lt;hyc.lee@gmail.com&gt;
Signed-off-by: Namjae Jeon &lt;linkinjeon@kernel.org&gt;
</content>
</entry>
<entry>
<title>ntfs: harden ntfs_ea_lookup against malformed EA entries</title>
<updated>2026-03-16T11:27:38Z</updated>
<author>
<name>Hyunchul Lee</name>
<email>hyc.lee@gmail.com</email>
</author>
<published>2026-03-09T07:06:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c451d34ae14201c2bb40652bf74072a79ff82f7d'/>
<id>urn:sha1:c451d34ae14201c2bb40652bf74072a79ff82f7d</id>
<content type='text'>
Validate p_ea-&gt;ea_name_length tightly, and the used entry size
for every EA.

Signed-off-by: Hyunchul Lee &lt;hyc.lee@gmail.com&gt;
Signed-off-by: Namjae Jeon &lt;linkinjeon@kernel.org&gt;
</content>
</entry>
<entry>
<title>ntfs: check $EA query-length in ntfs_ea_get</title>
<updated>2026-03-16T11:27:36Z</updated>
<author>
<name>Hyunchul Lee</name>
<email>hyc.lee@gmail.com</email>
</author>
<published>2026-03-09T07:06:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=10993e525b1ee81cbe02a8ca7d0005712f6b3d82'/>
<id>urn:sha1:10993e525b1ee81cbe02a8ca7d0005712f6b3d82</id>
<content type='text'>
if ea_info_qlen exceeds all_ea_size, OOB can happen.

Signed-off-by: Hyunchul Lee &lt;hyc.lee@gmail.com&gt;
Signed-off-by: Namjae Jeon &lt;linkinjeon@kernel.org&gt;
</content>
</entry>
<entry>
<title>ntfs: validate WSL EA payload sizes</title>
<updated>2026-03-16T11:27:34Z</updated>
<author>
<name>Hyunchul Lee</name>
<email>hyc.lee@gmail.com</email>
</author>
<published>2026-03-09T04:06:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a5325419e9fb086f79334723a54481336dc9d561'/>
<id>urn:sha1:a5325419e9fb086f79334723a54481336dc9d561</id>
<content type='text'>
Enforce the exact-size reads for $LXUID, $LXGID, $LXMOD, $LXDEV.

Signed-off-by: Hyunchul Lee &lt;hyc.lee@gmail.com&gt;
Signed-off-by: Namjae Jeon &lt;linkinjeon@kernel.org&gt;
</content>
</entry>
<entry>
<title>ntfs: fix WSL ea restore condition</title>
<updated>2026-03-16T11:27:30Z</updated>
<author>
<name>Hyunchul Lee</name>
<email>hyc.lee@gmail.com</email>
</author>
<published>2026-03-11T23:36:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a73258681279bceb4e9210d86204bae14d3ea795'/>
<id>urn:sha1:a73258681279bceb4e9210d86204bae14d3ea795</id>
<content type='text'>
Use NTFS_VOL_GID(not NTFS_VOL_UID) for restoring the gid, and call
ntfs_ea_get_wsl_inode() only when $EA_INFORMATION exists.

Signed-off-by: Hyunchul Lee &lt;hyc.lee@gmail.com&gt;
Signed-off-by: Namjae Jeon &lt;linkinjeon@kernel.org&gt;
</content>
</entry>
<entry>
<title>ntfs: add missing newlines to pr_err() messages</title>
<updated>2026-03-10T08:52:13Z</updated>
<author>
<name>Woody Suwalski</name>
<email>terraluna977@gmail.com</email>
</author>
<published>2026-03-10T08:50:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ea3566a3fa235cd0325b2bedf91ceec65073004b'/>
<id>urn:sha1:ea3566a3fa235cd0325b2bedf91ceec65073004b</id>
<content type='text'>
There is an inconsistent use of pr_err() statements in the current code.
Many error messages are missing the \n termination, what results in the
messages being printed with a delay, only after a next printk() line is
printed. It prevents relying on printk() to monitor the driver errors.
This patch is modifying only text messages, no functional change.

Signed-off-by: Woody Suwalski &lt;terraluna977@gmail.com&gt;
Signed-off-by: Namjae Jeon &lt;linkinjeon@kernel.org&gt;
</content>
</entry>
<entry>
<title>ntfs: Fix null pointer dereference</title>
<updated>2026-02-26T09:26:00Z</updated>
<author>
<name>Ethan Tidmore</name>
<email>ethantidmore06@gmail.com</email>
</author>
<published>2026-02-25T22:24:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=40c31f0563ec10e5b112be35e2e003f8ce4afe98'/>
<id>urn:sha1:40c31f0563ec10e5b112be35e2e003f8ce4afe98</id>
<content type='text'>
The variable ctx can be null and once confirmed to be null in its error
path goes to label err_out. Once there it can be immediately dereferenced
by the function ntfs_attr_put_search_ctx() which has no null pointer check.

Detected by Smatch:
fs/ntfs/ea.c:687 ntfs_new_attr_flags() error:
we previously assumed 'ctx' could be null (see line 577)

Add null pointer check before running  ntfs_attr_put_search_ctx() in
error path.

Signed-off-by: Ethan Tidmore &lt;ethantidmore06@gmail.com&gt;
Reviewed-by: Hyunchul Lee &lt;hyc.lee@gmail.com&gt;
Signed-off-by: Namjae Jeon &lt;linkinjeon@kernel.org&gt;
</content>
</entry>
<entry>
<title>ntfs: add reparse and ea operations</title>
<updated>2026-02-19T12:50:54Z</updated>
<author>
<name>Namjae Jeon</name>
<email>linkinjeon@kernel.org</email>
</author>
<published>2026-02-13T01:45:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fc053f05ca282a5e760b41f6560ac835c4e28037'/>
<id>urn:sha1:fc053f05ca282a5e760b41f6560ac835c4e28037</id>
<content type='text'>
Implement support for Extended Attributes and Reparse Points, enabling
Posix ACL support and, and compatibility with Windows Subsystem for
Linux (WSL) metadata.

Acked-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Namjae Jeon &lt;linkinjeon@kernel.org&gt;
</content>
</entry>
</feed>
