public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tom spot Callaway <spotaws@amazon.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ntfs-3g] epel9: merge upstream fix for behavior regression causes by other security fixes (from 2026.9.28)
Date: Tue, 29 Sep 2026 14:37:29 GMT	[thread overview]
Message-ID: <179069264968.1.15101969335065211453.rpms-ntfs-3g-83d9449087dd@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ntfs-3g
Branch : epel9
Commit : 83d9449087dd9c2585194297b6a0ce56122ff741
Author : Tom spot Callaway <spotaws@amazon.com>
Date   : 2026-09-29T10:37:23-04:00
Stats  : +46/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/ntfs-3g/c/83d9449087dd9c2585194297b6a0ce56122ff741?branch=epel9

Log:
merge upstream fix for behavior regression causes by other security fixes (from 2026.9.28)

---
diff --git a/9398030d978b064c62f304b1a514c7a494d37b62.patch b/9398030d978b064c62f304b1a514c7a494d37b62.patch
new file mode 100644
index 0000000..05fd902
--- /dev/null
+++ b/9398030d978b064c62f304b1a514c7a494d37b62.patch
@@ -0,0 +1,39 @@
+From 9398030d978b064c62f304b1a514c7a494d37b62 Mon Sep 17 00:00:00 2001
+From: Erik Larsson <erik@tuxera.com>
+Date: Mon, 28 Sep 2026 12:05:41 +0300
+Subject: [PATCH] Revert "attrib.c: check the multi sector transfer fixup on
+ read"
+
+This is done in response to a regression from version 2026.7.7 reported
+in github issue #217, reported by @amehn77, and in issue #218, opened by
+@xcdmrCHP.
+
+This reverts commit 056ce3a90d995894bfd4ce282be7b66ebb20e7ac.
+---
+ libntfs-3g/attrib.c | 13 ++-----------
+ 1 file changed, 2 insertions(+), 11 deletions(-)
+
+diff --git a/libntfs-3g/attrib.c b/libntfs-3g/attrib.c
+index 3f122747..87b30f95 100644
+--- a/libntfs-3g/attrib.c
++++ b/libntfs-3g/attrib.c
+@@ -2673,17 +2673,8 @@ s64 ntfs_attr_mst_pread(ntfs_attr *na, const s64 pos, const s64 bk_cnt,
+ 		/* log errors unless silenced */
+ 	warn = !na->ni || !na->ni->vol || !NVolNoFixupWarn(na->ni->vol);
+ 	for (end = (u8*)dst + br * bk_size; (u8*)dst < end; dst = (u8*)dst +
+-			bk_size) {
+-		/*
+-		 * A record which cannot be multi sector transfer protected at
+-		 * all (EINVAL) has not been deprotected, so it must not be
+-		 * used. A record damaged by an incomplete transfer (EIO) is
+-		 * left to the caller, which detects it by the BAAD magic.
+-		 */
+-		if (ntfs_mst_post_read_fixup_warn((NTFS_RECORD*)dst, bk_size,
+-					warn) && (errno == EINVAL))
+-			return -1;
+-	}
++			bk_size)
++		ntfs_mst_post_read_fixup_warn((NTFS_RECORD*)dst, bk_size, warn);
+ 	/* Finally, return the number of blocks read. */
+ 	return br;
+ }

diff --git a/ntfs-3g.spec b/ntfs-3g.spec
index f48783d..d3ac065 100644
--- a/ntfs-3g.spec
+++ b/ntfs-3g.spec
@@ -8,7 +8,7 @@
 Name:           ntfs-3g
 Epoch:          2
 Version:        2022.10.3
-Release:        12%{?dist}
+Release:        13%{?dist}
 Summary:        Linux NTFS userspace driver
 # Automatically converted from old format: GPLv2+ - review is highly recommended.
 License:        GPL-2.0-or-later
@@ -46,6 +46,9 @@ Patch113:       5_ntfs-3g_2022.10.3-SA_2026-06-1_11.patch
 Patch114:       6_ntfs-3g_2022.10.3-SA_2026-06-1_12.patch
 Patch115:       7_ntfs-3g_2022.10.3-SA_2026-06-1_19.patch
 Patch116:       8_ntfs-3g_2022.10.3-SA_2026-06-1_20.patch
+# This is the only critical change in 2026.9.28
+# regression, not security
+Patch117:       https://github.com/tuxera/ntfs-3g/commit/9398030d978b064c62f304b1a514c7a494d37b62.patch
 
 BuildRequires:  make
 # ntfs-3g BuildRequires
@@ -224,6 +227,9 @@ rm -rf %{buildroot}%{_defaultdocdir}/%{name}/README
 %exclude %{_mandir}/man8/ntfs-3g*
 
 %changelog
+* Tue Sep 29 2026 Tom Callaway <spot@fedoraproject.org> - 2:2022.10.3-13
+- merge upstream fix for behavior regression causes by other security fixes (from 2026.9.28)
+
 * Fri Sep 25 2026 Tom Callaway <spot@fedoraproject.org> - 2:2022.10.3-12
 - apply upstream patches for:
   NTFS-3G-SA_2026-06-1_20

                 reply	other threads:[~2026-09-29 14:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179069264968.1.15101969335065211453.rpms-ntfs-3g-83d9449087dd@fedoraproject.org \
    --to=spotaws@amazon.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox