summaryrefslogtreecommitdiffstats
path: root/meta-filesystems/recipes-filesystems
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2026-04-30 18:48:45 +0800
committerKhem Raj <khem.raj@oss.qualcomm.com>2026-05-12 01:06:52 -0700
commit6cba4ed4d2df88e42c842321066ded3727cbb9b3 (patch)
treef6e26a7e36ceb14f74f5e5f3c91fc28f8e187a6f /meta-filesystems/recipes-filesystems
parent695729a1c1fc3d29aad9792ab7a354c87b653d38 (diff)
downloadmeta-openembedded-6cba4ed4d2df88e42c842321066ded3727cbb9b3.tar.gz
ntfs-3g-ntfsprogs: upgrade 2022.10.3 -> 2026.2.25
0001-unistr.c-Fix-use-after-free-in-ntfs_uppercase_mbs.patch removed since it's included in 2026.2.25 Changes: =========== - Fix bashism in configure script causing errors in non-bash shells. - (mkntfs) Enable microsecond-level volume creation time. - Fix two instances of an invalid errno state when encountering NULL in strings. - Fix a crash when a reparse tag could not be found in the index. - Fix incorrect MFT free records value when bitmap is expanded. - Fix 'extras' manpages being installed when extras are disabled. - Fix various instances of use-after-free conditions in the library and tools. - Fix typo in NTFS hibernation message. Thanks to Anil Kumar for the report/fix. - Escape commas in the fsname when libfuse 2.8 or higher is used. - (ntfsclone) Allow adjusting the sector size in the NTFS boot sector for the target device when restoring images. - Remove libdl dependency when building without external plugins. - (ntfsinfo) Show information about the logfile state when dumping metadata. - (ntfsinfo) Fix displaying crowded directories or indexes. - (ntfsinfo) Fix displaying the security descriptor list in ntfsinfo. - Fix heap buffer overflow when POSIX ACLs were enabled (CVE-2026-40706). Thanks to Andrea Bocchetti for the report. - (ntfsusermap) Fix overflow when constructing backup filename. - Fix two time-of-check-time-of-use conditions. - Fix missing malloc/sscanf return value checks. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Diffstat (limited to 'meta-filesystems/recipes-filesystems')
-rw-r--r--meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/files/0001-unistr.c-Fix-use-after-free-in-ntfs_uppercase_mbs.patch42
-rw-r--r--meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2026.2.25.bb (renamed from meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2022.10.3.bb)5
2 files changed, 2 insertions, 45 deletions
diff --git a/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/files/0001-unistr.c-Fix-use-after-free-in-ntfs_uppercase_mbs.patch b/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/files/0001-unistr.c-Fix-use-after-free-in-ntfs_uppercase_mbs.patch
deleted file mode 100644
index 3160f56880..0000000000
--- a/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/files/0001-unistr.c-Fix-use-after-free-in-ntfs_uppercase_mbs.patch
+++ /dev/null
@@ -1,42 +0,0 @@
1From 7b6210c5be46e5120b42c09f910e8f104bf3edf1 Mon Sep 17 00:00:00 2001
2From: Erik Larsson <erik@tuxera.com>
3Date: Tue, 13 Jun 2023 17:47:15 +0300
4Subject: [PATCH] unistr.c: Fix use-after-free in 'ntfs_uppercase_mbs'.
5
6If 'utf8_to_unicode' throws an error due to an invalid UTF-8 sequence,
7then 'n' will be less than 0 and the loop will terminate without storing
8anything in '*t'. After the loop the uppercase string's allocation is
9freed, however after it is freed it is unconditionally accessed through
10'*t', which points into the freed allocation, for the purpose of NULL-
11terminating the string. This leads to a use-after-free.
12Fixed by only NULL-terminating the string when no error has been thrown.
13
14Thanks for Jeffrey Bencteux for reporting this issue:
15https://github.com/tuxera/ntfs-3g/issues/84
16
17Upstream-Status: Backport [https://github.com/tuxera/ntfs-3g/commit/75dcdc2cf37478fad6c0e3427403d198b554951d]
18CVE: CVE-2023-52890
19Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
20
21---
22 libntfs-3g/unistr.c | 3 ++-
23 1 file changed, 2 insertions(+), 1 deletion(-)
24
25diff --git a/libntfs-3g/unistr.c b/libntfs-3g/unistr.c
26index 5854b3b..db8ddf4 100644
27--- a/libntfs-3g/unistr.c
28+++ b/libntfs-3g/unistr.c
29@@ -1189,8 +1189,9 @@ char *ntfs_uppercase_mbs(const char *low,
30 free(upp);
31 upp = (char*)NULL;
32 errno = EILSEQ;
33+ } else {
34+ *t = 0;
35 }
36- *t = 0;
37 }
38 return (upp);
39 }
40--
412.34.1
42
diff --git a/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2022.10.3.bb b/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2026.2.25.bb
index 3a7dd783b9..b3193d27b3 100644
--- a/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2022.10.3.bb
+++ b/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2026.2.25.bb
@@ -8,9 +8,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
8 8
9SRC_URI = "git://github.com/tuxera/ntfs-3g;protocol=https;branch=edge;tag=${PV} \ 9SRC_URI = "git://github.com/tuxera/ntfs-3g;protocol=https;branch=edge;tag=${PV} \
10 file://0001-libntfs-3g-Makefile.am-fix-install-failed-while-host.patch \ 10 file://0001-libntfs-3g-Makefile.am-fix-install-failed-while-host.patch \
11 file://0001-unistr.c-Fix-use-after-free-in-ntfs_uppercase_mbs.patch \ 11 "
12" 12SRCREV = "d1cb9e825d059ef5db0ccd30d5bce202edbd69dc"
13SRCREV = "78414d93613532fd82f3a82aba5d4a1c32898781"
14 13
15UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" 14UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
16 15