[Bug 2060967] Re: noble/rsync buffer overflow detected
Andreas Hasenack
2060967 at bugs.launchpad.net
Fri Apr 12 19:12:15 UTC 2024
I'm surprised this wasn't caught by the DEP8 tests. Care to also perhaps
add a simple smoke test, like (note it's not using ssh or any network):
$ rsync -F --delete-after --archive /etc/os-release /tmp/
*** buffer overflow detected ***: terminated
rsync: connection unexpectedly closed (34 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(231) [sender=3.2.7]
** Changed in: rsync (Ubuntu)
Importance: Undecided => High
** Changed in: rsync (Ubuntu)
Importance: High => Critical
--
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