Skip to content

Commit 41bbd89

Browse files
authored
Prepare rsync 3.5.2 (#1141)
* NEWS: prepare rsync 3.5.2 * packaging: simplify the release workflow * website: prepare rsync 3.5.2 * release: document CVE-2026-119741 * release: finalise rsync 3.5.2
1 parent 5479ce9 commit 41bbd89

10 files changed

Lines changed: 356 additions & 112 deletions

File tree

‎NEWS.md‎

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,50 @@
1-
# NEWS for UNRELEASED
1+
# NEWS for rsync 3.5.2 (4 Nov 2026)
22

33
## Changes in this version:
44

55
### BUG FIXES:
6+
- Fixed interrupted `--append` and `--inplace` transfers writing the final
7+
256 KiB buffer twice. An interrupted destination now remains a clean prefix
8+
which the next transfer can resume or repair.
9+
- Fixed uploads through `rrsync` when the destination file already exists.
10+
Existing files are now reached beneath a pinned parent directory instead of
11+
being passed as an unwritable `/proc/self/fd/N` destination.
12+
- Fixed poor matching performance on large sparse and repeated-block files
13+
when duplicate checksum chains exhausted the search limit. Valid basis
14+
blocks are no longer hidden behind duplicate entries.
15+
- Bounded strong-checksum work when a malicious receiver supplies weak
16+
checksums that collide with consecutive rolling windows
17+
(CVE-2026-119741).
18+
- Prevented the `--inplace` matcher from advancing its aligned basis index
19+
beyond the available checksum entries. This avoids signed overflow on large
20+
source files when the peer supplies a small block count.
21+
- Recovered from failed hard-link creation without aborting or hanging the
22+
generator. Remaining members fall back to a fresh hard-link group when the
23+
original destination inode cannot accept another link.
24+
- Prevented an out-of-bounds write while invalidating a sender checksum after
25+
a file read error when the negotiated checksum length is zero.
626
- Fixed a daemon receiver stack overflow when queued deletion output reached
727
`--max-alloc`. Quiet daemon transfers no longer queue deletion messages
828
unless the client requested them.
929
- Fixed a `--files-from` pull from a subdirectory of a daemon module, which
1030
read each listed file from the module root instead. It could send, and with
1131
`--remove-source-files` delete, a same-named file the module's filter
1232
excludes.
33+
- Fixed password files whose first line is empty. The parser no longer skips
34+
the empty line and uses a later password.
35+
- Escaped terminal control characters in filenames and diagnostics written to
36+
standard output, standard error and log files while preserving printable
37+
text in the active locale.
38+
- Preserved Cygwin and MSYS2 UNC roots during ownership-checked path walks.
39+
- Restored daemon startup from accepted named Unix sockets on standard input,
40+
including filesystem and Linux abstract sockets used for socket activation.
41+
Unnamed local socket pairs remain non-daemon channels.
42+
- Fixed forward-DNS hostname entries in daemon `hosts allow` and `hosts deny`
43+
lists for IPv6 peers. Address comparison is now binary and family-aware.
44+
- Preserved Unix symlink permissions on systems which require `fchmodat()` to
45+
change the mode of a symlink rather than its target.
46+
- Restored builds on systems without `O_CLOEXEC` or `O_DIRECTORY`, including
47+
Solaris 10.
1348

1449
### ENHANCEMENTS:
1550
- Added `--nice` to adjust CPU and I/O scheduling priorities for local and
@@ -22,7 +57,10 @@
2257
`113,295B/s`. File-list, created-directory and skipped-deletion counts also
2358
use thousands separators.
2459
- Added `--delay-symlinks` to defer creating new and changed symlinks until
25-
other transferred files are in place.
60+
other transferred files are in place. It implies `--no-inc-recursive` and
61+
requires protocol 29 or newer with support on the receiving side. It cannot
62+
be combined with `--remove-source-files`, `--hard-links`, `--compare-dest`,
63+
`--copy-dest` or `--link-dest`.
2664

2765
------------------------------------------------------------------------------
2866

@@ -5799,6 +5837,7 @@ to develop and test fixes.
57995837

58005838
| RELEASE DATE | VER. | DATE OF COMMIT\* | PROTOCOL |
58015839
|--------------|--------|------------------|-------------|
5840+
| 04 Nov 2026 | 3.5.2 | | 33 |
58025841
| 21 Sep 2026 | 3.5.1 | 21 Sep 2026 | 33 |
58035842
| 13 Aug 2026 | 3.5.0 | | 32 |
58045843
| 08 Jun 2026 | 3.4.4 | | 32 |

‎SECURITY.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,10 @@ characters in a (peer-controlled) filename written to the log file are escaped,
8888
so a name carrying C0/C1 terminal-escape bytes cannot inject sequences into an
8989
administrator's terminal when the log is viewed (CWE-117). The number of
9090
equal-weak-checksum blocks `hash_search()` examines per offset is also bounded
91-
(issue #217), so a crafted or degenerate checksum set with a very long
92-
equal-checksum chain cannot drive the sender's per-offset match-verify into a
93-
quadratic walk and pin one connection's CPU.
91+
(CVE-2026-70453, issue #217), and consecutive weak-checksum collisions cannot
92+
force a full strong-checksum calculation at every byte offset
93+
(CVE-2026-119741). These bounds prevent a crafted checksum set from pinning a
94+
sender process in `hash_search()`
9495

9596
Contributors adding code that consumes peer input should validate it at the
9697
point of receipt rather than relying on a downstream check.

‎packaging/lsb/rsync.spec‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Summary: A fast, versatile, remote (and local) file-copying tool
22
Name: rsync
3-
Version: 3.5.1
3+
Version: 3.5.2
44
%define fullversion %{version}
55
Release: 1
66
%define srcdir src
@@ -79,5 +79,5 @@ rm -rf $RPM_BUILD_ROOT
7979
%dir /etc/rsync-ssl/certs
8080

8181
%changelog
82-
* Mon Sep 21 2026 Rsync Project <rsync.project@gmail.com>
83-
Released 3.5.1.
82+
* Wed Nov 04 2026 Rsync Project <rsync.project@gmail.com>
83+
Released 3.5.2.

‎packaging/pkglib.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def get_NEWS_version_info(skip_version=None):
211211
212212
skip_version lets the caller exclude the version it is about to release.
213213
Its NEWS entry may already carry a release date -- dated by hand, or by an
214-
earlier run of --step-3-tweak -- and would otherwise be reported as the
214+
earlier run of --prepare-pr -- and would otherwise be reported as the
215215
PREVIOUS release, which is both wrong and fatal when it has no table row yet.
216216
"""
217217
rel_re = re.compile(r'^\| \S{2} \w{3} \d{4}\s+\|\s+(?P<ver>\d+\.\d+\.\d+)\s+\|\s+(?P<pdate>\d{2} \w{3} \d{4})?\s+\|\s+(?P<pver>\d+)\s+\|')

0 commit comments

Comments
 (0)