Bug 1300038

Summary: Samba 4.3.4: PANIC: Bad talloc magic value - wrong talloc version used/mixed
Product: [Fedora] Fedora Reporter: René van Dorst <opensource>
Component: sambaAssignee: Alexander Bokovoy <abokovoy>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 23CC: abokovoy, asn, extras-orphan, fujisan43, gdeschner, jarrpa, jlayton, lmohanty, madam, sbose, ssorce
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: samba-4.3.4-1.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-25 02:20:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description René van Dorst 2016-01-19 19:32:45 UTC
Description of problem:
Samba panics at start.

Version-Release number of selected component (if applicable):
See below.

How reproducible:
[root@ipa root]# smbd -F -S
smbd version 4.3.4 started.
Copyright Andrew Tridgell and the Samba Team 1992-2015
Bad talloc magic value - wrong talloc version used/mixed
PANIC: Bad talloc magic value - wrong talloc version used/mixed
Aborted (core dumped)

Additional info:

List of packages that were automaticly updated Saturday.

================================================================================
 Package                    Arch     Version                    Repository
                                                                           Size
================================================================================
Upgrading:
 btrfs-progs                x86_64   4.3.1-1.fc23               updates   573 k
 coreutils                  x86_64   8.24-5.fc23                updates   2.8 M
 dhcp-client                x86_64   12:4.3.3-8.P1.fc23         updates   300 k
 dhcp-common                noarch   12:4.3.3-8.P1.fc23         updates   194 k
 dhcp-libs                  x86_64   12:4.3.3-8.P1.fc23         updates   138 k
 dovecot                    x86_64   1:2.2.21-1.fc23            updates   3.3 M
 dovecot-pigeonhole         x86_64   1:2.2.21-1.fc23            updates   349 k
 glusterfs                  x86_64   3.7.6-2.fc23               updates   466 k
 glusterfs-api              x86_64   3.7.6-2.fc23               updates    84 k
 glusterfs-client-xlators   x86_64   3.7.6-2.fc23               updates   763 k
 glusterfs-fuse             x86_64   3.7.6-2.fc23               updates   134 k
 glusterfs-libs             x86_64   3.7.6-2.fc23               updates   337 k
 libsmbclient               x86_64   2:4.3.4-0.fc23             updates   122 k
 libwbclient                x86_64   2:4.3.4-0.fc23             updates    95 k
 mesa-libEGL                x86_64   11.1.0-2.20151218.fc23     updates   107 k
 mesa-libGL                 x86_64   11.1.0-2.20151218.fc23     updates   194 k
 mesa-libGLES               x86_64   11.1.0-2.20151218.fc23     updates    43 k
 mesa-libgbm                x86_64   11.1.0-2.20151218.fc23     updates    56 k
 mesa-libglapi              x86_64   11.1.0-2.20151218.fc23     updates    63 k
 mesa-libwayland-egl        x86_64   11.1.0-2.20151218.fc23     updates    38 k
 openssh                    x86_64   7.1p2-1.fc23               updates   429 k
 openssh-clients            x86_64   7.1p2-1.fc23               updates   634 k
 openssh-server             x86_64   7.1p2-1.fc23               updates   460 k
 opus                       x86_64   1.1.2-1.fc23               updates   181 k
 python-cryptography        x86_64   1.2.1-1.fc23               updates   465 k
 python-kdcproxy            noarch   0.3.2-1.fc23               updates    32 k
 samba                      x86_64   2:4.3.4-0.fc23             updates   627 k
 samba-client               x86_64   2:4.3.4-0.fc23             updates   548 k
 samba-client-libs          x86_64   2:4.3.4-0.fc23             updates   4.6 M
 samba-common               noarch   2:4.3.4-0.fc23             updates   184 k
 samba-common-libs          x86_64   2:4.3.4-0.fc23             updates   157 k
 samba-common-tools         x86_64   2:4.3.4-0.fc23             updates   447 k
 samba-libs                 x86_64   2:4.3.4-0.fc23             updates   259 k
 samba-python               x86_64   2:4.3.4-0.fc23             updates   1.9 M
 samba-winbind              x86_64   2:4.3.4-0.fc23             updates   481 k
 samba-winbind-modules      x86_64   2:4.3.4-0.fc23             updates   106 k
 sqlite                     x86_64   3.10.0-1.fc23              updates   476 k

Transaction Summary
================================================================================
Upgrade  37 Packages

Comment 1 René van Dorst 2016-01-19 19:40:05 UTC
Created attachment 1116341 [details]
Samba Coredump.

Samba Coredump

Comment 2 René van Dorst 2016-01-19 19:47:20 UTC
Today I was trying to access my samba shares. 
I noticed that it was not working.

My server does updates automaticly.

It was working before the update.



Samba did changed something to this.

o  Stefan Metzmacher <metze>
   * BUG 11394: Crash: Bad talloc magic value - access after free.

Comment 4 Guenther Deschner 2016-01-22 10:28:14 UTC
*** Bug 1301006 has been marked as a duplicate of this bug. ***

Comment 5 Guenther Deschner 2016-01-22 10:30:25 UTC
Alexander already has a patch and is currently testing it.

Comment 6 Fedora Update System 2016-01-22 15:37:07 UTC
samba-4.3.4-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-1826c5843b

Comment 7 Alexander Bokovoy 2016-01-22 15:38:05 UTC
Please give a test and add your karma for https://bodhi.fedoraproject.org/updates/FEDORA-2016-1826c5843b

Comment 8 Fedora Update System 2016-01-24 04:50:53 UTC
samba-4.3.4-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-1826c5843b

Comment 9 Fedora Update System 2016-01-25 02:20:31 UTC
samba-4.3.4-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.