[Pkg-samba-maint] Bug#998423: samba: Shares with variable substitutions cause core dump upon connection from macOS Big Sur or newer

Harry Sintonen debianbugs at kyber.fi
Wed Nov 3 23:33:42 GMT 2021


Package: samba
Version: 2:4.13.13+dfsg-1
Severity: normal

Dear Maintainer,

Samba segfaults due to bogus TALLOC_FREE() call in create_conn_struct_cwd() function:

https://bugzilla.samba.org/show_bug.cgi?id=14809

I observe this crash when connecting to the share from macOS Monterey. Fix is available (see the ticket).

-- Package-specific info:
* /etc/samba/smb.conf present, but not attached
* /var/lib/samba/dhcp.conf present, and attached

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.14.0-3-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages samba depends on:
ii  adduser              3.118
ii  dpkg                 1.20.9
ii  init-system-helpers  1.60
ii  libbsd0              0.11.3-1
ii  libc6                2.32-4
ii  libgnutls30          3.7.2-2
ii  libldb2              2:2.2.2-2
ii  libpam-modules       1.4.0-10
ii  libpam-runtime       1.4.0-10
ii  libpopt0             1.18-3
ii  libpython3.9         3.9.7-4
ii  libtalloc2           2.3.1-2+b1
ii  libtasn1-6           4.17.0-2
ii  libtdb1              1.4.3-1+b1
ii  libtevent0           0.10.2-1
ii  libwbclient0         2:4.13.13+dfsg-1
ii  lsb-base             11.1.0
ii  procps               2:3.3.17-5
ii  python3              3.9.7-1
ii  python3-dnspython    2.0.0-1
ii  python3-samba        2:4.13.13+dfsg-1
ii  samba-common         2:4.13.13+dfsg-1
ii  samba-common-bin     2:4.13.13+dfsg-1
ii  samba-libs           2:4.13.13+dfsg-1
ii  tdb-tools            1.4.3-1+b1

Versions of packages samba recommends:
ii  attr                1:2.5.1-1
ii  logrotate           3.18.1-2
ii  python3-markdown    3.3.4-1
ii  samba-dsdb-modules  2:4.13.13+dfsg-1
ii  samba-vfs-modules   2:4.13.13+dfsg-1

Versions of packages samba suggests:
hi  bind9                     1:9.16.21-1
ii  bind9-utils [bind9utils]  1:9.16.21-1
hi  bind9utils                1:9.16.21-1
pn  ctdb                      <none>
pn  ldb-tools                 <none>
pn  ntp | chrony              <none>
pn  smbldap-tools             <none>
pn  ufw                       <none>
ii  winbind                   2:4.13.13+dfsg-1

-- debconf information excluded


More information about the Pkg-samba-maint mailing list