[Bug 2060967] Re: noble/rsync buffer overflow detected
Mitchell Dzurick
2060967 at bugs.launchpad.net
Mon Apr 15 15:01:17 UTC 2024
Package is in proposed now. Testing in an LXC container shows a fix of
this behavior.
$ lxc launch ubuntu-daily:noble n
$ lxc shell n
# dpkg -s rsync | grep Version:
Version: 3.2.7-1build2
# rsync -F --delete-after --archive /etc/os-release /tmp/
*** buffer overflow detected ***: terminated
rsync: connection unexpectedly closed (11 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(231) [sender=3.2.7]
# cat <<EOF >/etc/apt/sources.list.d/ubuntu-$(lsb_release -cs)-proposed.list
deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs)-proposed restricted main multiverse universe
EOF
# apt update -y
# apt install rsync -t noble-proposed
Get:1 http://archive.ubuntu.com/ubuntu noble-proposed/main amd64 rsync amd64 3.2.7-1ubuntu1 [435 kB]
Fetched 435 kB in 1s (657 kB/s)
(Reading database ... 34265 files and directories currently installed.)
Preparing to unpack .../rsync_3.2.7-1ubuntu1_amd64.deb ...
Unpacking rsync (3.2.7-1ubuntu1) over (3.2.7-1build2) ...
Setting up rsync (3.2.7-1ubuntu1) ...
rsync.service is a disabled or a static unit not running, not starting it.
Processing triggers for man-db (2.12.0-4build1) ...
Scanning processes...
Scanning candidates...
# dpkg -s rsync | grep Version:
Version: 3.2.7-1ubuntu1
# rsync -F --delete-after --archive /etc/os-release /tmp/
# echo $?
0
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rsync in Ubuntu.
https://bugs.launchpad.net/bugs/2060967
Title:
noble/rsync buffer overflow detected
Status in rsync package in Ubuntu:
In Progress
Status in rsync source package in Focal:
Invalid
Status in rsync source package in Jammy:
Invalid
Status in rsync source package in Mantic:
Invalid
Bug description:
Hi,
running the following test case in a current (today/2024-04-11) Noble
install leads to a "buffer overflow detected":
$ rsync -F --delete-after --archive /etc/fstab 127.0.0.1:/tmp/
*** buffer overflow detected ***: terminated
rsync: connection unexpectedly closed (11 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(231) [sender=3.2.7]
Original use case for the above striped down rsync options is the
ansible module "synchronize".
ProblemType: Bug
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Thu Apr 11 14:38:46 2024
Dependencies:
gcc-14-base 14-20240330-1ubuntu2
init-system-helpers 1.66ubuntu1
libacl1 2.3.2-1
libc6 2.39-0ubuntu8
libgcc-s1 14-20240330-1ubuntu2
libidn2-0 2.3.7-2
liblz4-1 1.9.4-1
libpopt0 1.19+dfsg-1
libunistring5 1.1-2
libxxhash0 0.8.2-2
libzstd1 1.5.5+dfsg2-2
lsb-base 11.6
sysvinit-utils 3.08-6ubuntu2
zlib1g 1:1.3.dfsg-3.1ubuntu2
DistroRelease: Ubuntu 24.04
Package: rsync 3.2.7-1build2
PackageArchitecture: amd64
ProcCpuinfoMinimal:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 60
model name : Intel Core Processor (Haswell, no TSX, IBRS)
stepping : 1
microcode : 0x1
cpu MHz : 2397.222
cache size : 16384 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx rdtscp lm constant_tsc rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm cpuid_fault pti ssbd ibrs ibpb fsgsbase bmi1 avx2 smep bmi2 erms invpcid xsaveopt arat md_clear
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds mmio_unknown
bogomips : 4794.44
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
ProcVersionSignature: Ubuntu 6.8.0-22.22-generic 6.8.1
SourcePackage: rsync
Tags: noble
Uname: Linux 6.8.0-22-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
_MarkForUpload: True
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsync/+bug/2060967/+subscriptions
More information about the foundations-bugs
mailing list