Debian Patches

Status for ntfs-3g/1:2022.10.3-5+deb13u1

Patch Description Author Forwarded Bugs Origin Last update
Fix_use-after-free_in_ntfs_uppercase_mbs.patch unistr.c: Fix use-after-free in 'ntfs_uppercase_mbs'.
If 'utf8_to_unicode' throws an error due to an invalid UTF-8 sequence,
then 'n' will be less than 0 and the loop will terminate without storing
anything in '*t'. After the loop the uppercase string's allocation is
freed, however after it is freed it is unconditionally accessed through
'*t', which points into the freed allocation, for the purpose of NULL-
terminating the string. This leads to a use-after-free.
Fixed by only NULL-terminating the string when no error has been thrown.

Thanks for Jeffrey Bencteux for reporting this issue:
https://github.com/tuxera/ntfs-3g/issues/84
Erik Larsson <erik@tuxera.com> no 2023-06-13
ntfs-3g_2022.10.3-cve_2026-02.patch acls.c: Fix heap buffer overflow in 'ntfs_build_permissions_posix'.

The root cause was that the memory allocated for the ACE entries was
insufficient for the worst case scenario when group entries were added
for mask entries that didn't have a corresponding group entry already.
Fixed by allocating space for the worst case number of ACE entries.

This was reported by Andrea Bocchetti with a thorough report which made
it very easy to fix.

This is a backport of the original patch to version 2022.10.3.
Erik Larsson <erik@tuxera.com> no 2026-02-24

All known versions for source package 'ntfs-3g'

Links