2019-02-04 12:08:20 |
Mikael Hartzell |
bug |
|
|
added bug |
2019-02-04 13:32:39 |
Sebastien Bacher |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2019-02-04 13:32:40 |
Sebastien Bacher |
samba (Ubuntu): importance |
Undecided |
High |
|
2019-02-04 13:42:13 |
Mikael Hartzell |
description |
There is a big memory leak bug in Samba 4.1 - 4.7.6. Depending on the circumstances all memory of the Ubuntu server will be eaten by Samba sooner or later. Then Linux Oom - killer will kill Samba which will either restart or hang.
On our Ubuntu Server 14.04.5 I need to restart Samba 1 - 2 times a week. This bug probably affects also Ubuntu 18.04 if this fix has not yet been backported.
This bug has been fixed upstream in Samba 4.7.7. The fix is only two lines of code and is caused by a misplaced "if" when releasing memory.
This upstream commit fixes the bug: https://gitlab.com/samba-team/samba/commit/461a1172ff819692aa0a2dc5ce7fc5379c8a529e
This is the Samba bug report: https://bugzilla.samba.org/show_bug.cgi?id=13372
And here the author apologizes for the bug :) https://lists.samba.org/archive/samba-technical/2018-April/126937.html
Please backport this fix to Ubuntu 14.04 and 18.04, thanks :)
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: samba 2:4.3.11+dfsg-0ubuntu0.14.04.19
ProcVersionSignature: Ubuntu 3.13.0-164.214-generic 3.13.11-ckt39
Uname: Linux 3.13.0-164-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.29
Architecture: amd64
BothFailedConnect: Yes
Date: Mon Feb 4 11:34:06 2019
InstallationDate: Installed on 2014-09-25 (1592 days ago)
InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3)
SambaServerRegression: Yes
SmbConfIncluded: No
SourcePackage: samba
UpgradeStatus: No upgrade log present (probably fresh install)
upstart.samba-ad-dc.override: manual |
There is a big memory leak bug in Samba 4.1 - 4.7.6. Depending on the circumstances all memory of the Ubuntu server will be eaten by Samba sooner or later. Then Linux Oom - killer will kill Samba which will either restart or hang.
On our Ubuntu Server 14.04.5 I need to restart Samba 1 - 2 times a week. This bug probably affects also Ubuntu 18.04 if this fix has not yet been backported.
This bug has been fixed upstream in Samba 4.7.7. The fix is only two lines of code and the bug is caused by a single misplaced "if" when releasing memory.
This upstream commit fixes the bug: https://gitlab.com/samba-team/samba/commit/461a1172ff819692aa0a2dc5ce7fc5379c8a529e
This is the Samba bug report: https://bugzilla.samba.org/show_bug.cgi?id=13372
And here the author apologizes for the bug :) https://lists.samba.org/archive/samba-technical/2018-April/126937.html
Please backport this fix to Ubuntu 14.04 and 18.04, thanks :)
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: samba 2:4.3.11+dfsg-0ubuntu0.14.04.19
ProcVersionSignature: Ubuntu 3.13.0-164.214-generic 3.13.11-ckt39
Uname: Linux 3.13.0-164-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.29
Architecture: amd64
BothFailedConnect: Yes
Date: Mon Feb 4 11:34:06 2019
InstallationDate: Installed on 2014-09-25 (1592 days ago)
InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3)
SambaServerRegression: Yes
SmbConfIncluded: No
SourcePackage: samba
UpgradeStatus: No upgrade log present (probably fresh install)
upstart.samba-ad-dc.override: manual |
|
2019-02-04 14:28:01 |
Mikael Hartzell |
bug watch added |
|
https://bugzilla.samba.org/show_bug.cgi?id=13372 |
|
2019-02-04 18:05:19 |
Andreas Hasenack |
nominated for series |
|
Ubuntu Bionic |
|
2019-02-04 18:05:19 |
Andreas Hasenack |
bug task added |
|
samba (Ubuntu Bionic) |
|
2019-02-04 18:05:19 |
Andreas Hasenack |
nominated for series |
|
Ubuntu Cosmic |
|
2019-02-04 18:05:19 |
Andreas Hasenack |
bug task added |
|
samba (Ubuntu Cosmic) |
|
2019-02-04 18:07:13 |
Andreas Hasenack |
bug task deleted |
samba (Ubuntu Cosmic) |
|
|
2019-02-04 18:08:10 |
Andreas Hasenack |
samba (Ubuntu): status |
New |
Fix Released |
|
2019-02-04 18:12:36 |
Andreas Hasenack |
samba (Ubuntu Bionic): status |
New |
Triaged |
|
2019-02-04 18:12:37 |
Andreas Hasenack |
samba (Ubuntu Bionic): importance |
Undecided |
High |
|
2019-02-04 18:12:48 |
Andreas Hasenack |
bug |
|
|
added subscriber Ubuntu Server |
2019-02-04 18:12:53 |
Andreas Hasenack |
tags |
amd64 apport-bug trusty |
amd64 apport-bug server-next trusty |
|
2019-02-04 19:45:27 |
Andreas Hasenack |
description |
There is a big memory leak bug in Samba 4.1 - 4.7.6. Depending on the circumstances all memory of the Ubuntu server will be eaten by Samba sooner or later. Then Linux Oom - killer will kill Samba which will either restart or hang.
On our Ubuntu Server 14.04.5 I need to restart Samba 1 - 2 times a week. This bug probably affects also Ubuntu 18.04 if this fix has not yet been backported.
This bug has been fixed upstream in Samba 4.7.7. The fix is only two lines of code and the bug is caused by a single misplaced "if" when releasing memory.
This upstream commit fixes the bug: https://gitlab.com/samba-team/samba/commit/461a1172ff819692aa0a2dc5ce7fc5379c8a529e
This is the Samba bug report: https://bugzilla.samba.org/show_bug.cgi?id=13372
And here the author apologizes for the bug :) https://lists.samba.org/archive/samba-technical/2018-April/126937.html
Please backport this fix to Ubuntu 14.04 and 18.04, thanks :)
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: samba 2:4.3.11+dfsg-0ubuntu0.14.04.19
ProcVersionSignature: Ubuntu 3.13.0-164.214-generic 3.13.11-ckt39
Uname: Linux 3.13.0-164-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.29
Architecture: amd64
BothFailedConnect: Yes
Date: Mon Feb 4 11:34:06 2019
InstallationDate: Installed on 2014-09-25 (1592 days ago)
InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3)
SambaServerRegression: Yes
SmbConfIncluded: No
SourcePackage: samba
UpgradeStatus: No upgrade log present (probably fresh install)
upstart.samba-ad-dc.override: manual |
[Impact]
* An explanation of the effects of the bug on users and
* justification for backporting the fix to the stable release.
* In addition, it is helpful, but not required, to include an
explanation of how the upload fixes this bug.
[Test Case]
* detailed instructions how to reproduce the bug
* these should allow someone who is not familiar with the affected
package to reproduce the bug and verify that the updated package fixes
the problem.
[Regression Potential]
* discussion of how regressions are most likely to manifest as a result of this change.
* It is assumed that any SRU candidate patch is well-tested before
upload and has a low overall risk of regression, but it's important
to make the effort to think about what ''could'' happen in the
event of a regression.
* This both shows the SRU team that the risks have been considered,
and provides guidance to testers in regression-testing the SRU.
[Other Info]
* Anything else you think is useful to include
* Anticipate questions from users, SRU, +1 maintenance, security teams and the Technical Board
* and address these questions in advance
[Original Description]
There is a big memory leak bug in Samba 4.1 - 4.7.6. Depending on the circumstances all memory of the Ubuntu server will be eaten by Samba sooner or later. Then Linux Oom - killer will kill Samba which will either restart or hang.
On our Ubuntu Server 14.04.5 I need to restart Samba 1 - 2 times a week. This bug probably affects also Ubuntu 18.04 if this fix has not yet been backported.
This bug has been fixed upstream in Samba 4.7.7. The fix is only two lines of code and the bug is caused by a single misplaced "if" when releasing memory.
This upstream commit fixes the bug: https://gitlab.com/samba-team/samba/commit/461a1172ff819692aa0a2dc5ce7fc5379c8a529e
This is the Samba bug report: https://bugzilla.samba.org/show_bug.cgi?id=13372
And here the author apologizes for the bug :) https://lists.samba.org/archive/samba-technical/2018-April/126937.html
Please backport this fix to Ubuntu 14.04 and 18.04, thanks :)
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: samba 2:4.3.11+dfsg-0ubuntu0.14.04.19
ProcVersionSignature: Ubuntu 3.13.0-164.214-generic 3.13.11-ckt39
Uname: Linux 3.13.0-164-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.29
Architecture: amd64
BothFailedConnect: Yes
Date: Mon Feb 4 11:34:06 2019
InstallationDate: Installed on 2014-09-25 (1592 days ago)
InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3)
SambaServerRegression: Yes
SmbConfIncluded: No
SourcePackage: samba
UpgradeStatus: No upgrade log present (probably fresh install)
upstart.samba-ad-dc.override: manual |
|
2019-02-04 20:20:35 |
Andreas Hasenack |
description |
[Impact]
* An explanation of the effects of the bug on users and
* justification for backporting the fix to the stable release.
* In addition, it is helpful, but not required, to include an
explanation of how the upload fixes this bug.
[Test Case]
* detailed instructions how to reproduce the bug
* these should allow someone who is not familiar with the affected
package to reproduce the bug and verify that the updated package fixes
the problem.
[Regression Potential]
* discussion of how regressions are most likely to manifest as a result of this change.
* It is assumed that any SRU candidate patch is well-tested before
upload and has a low overall risk of regression, but it's important
to make the effort to think about what ''could'' happen in the
event of a regression.
* This both shows the SRU team that the risks have been considered,
and provides guidance to testers in regression-testing the SRU.
[Other Info]
* Anything else you think is useful to include
* Anticipate questions from users, SRU, +1 maintenance, security teams and the Technical Board
* and address these questions in advance
[Original Description]
There is a big memory leak bug in Samba 4.1 - 4.7.6. Depending on the circumstances all memory of the Ubuntu server will be eaten by Samba sooner or later. Then Linux Oom - killer will kill Samba which will either restart or hang.
On our Ubuntu Server 14.04.5 I need to restart Samba 1 - 2 times a week. This bug probably affects also Ubuntu 18.04 if this fix has not yet been backported.
This bug has been fixed upstream in Samba 4.7.7. The fix is only two lines of code and the bug is caused by a single misplaced "if" when releasing memory.
This upstream commit fixes the bug: https://gitlab.com/samba-team/samba/commit/461a1172ff819692aa0a2dc5ce7fc5379c8a529e
This is the Samba bug report: https://bugzilla.samba.org/show_bug.cgi?id=13372
And here the author apologizes for the bug :) https://lists.samba.org/archive/samba-technical/2018-April/126937.html
Please backport this fix to Ubuntu 14.04 and 18.04, thanks :)
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: samba 2:4.3.11+dfsg-0ubuntu0.14.04.19
ProcVersionSignature: Ubuntu 3.13.0-164.214-generic 3.13.11-ckt39
Uname: Linux 3.13.0-164-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.29
Architecture: amd64
BothFailedConnect: Yes
Date: Mon Feb 4 11:34:06 2019
InstallationDate: Installed on 2014-09-25 (1592 days ago)
InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3)
SambaServerRegression: Yes
SmbConfIncluded: No
SourcePackage: samba
UpgradeStatus: No upgrade log present (probably fresh install)
upstart.samba-ad-dc.override: manual |
[Impact]
There is a memory leak in vfswrap_getwd() that, depending on the server usage, can become severe and trigger an OOM killer.
[Test Case]
It's hard to come up with a test case for memory leaks, because they can take a while to manifest.
[Regression Potential]
Patch is sane and has been applied upstream. It's already present in cosmic and later. The code that frees the pointer is only reached if the pointer isn't NULL.
[Other Info]
None at this time.
[Original Description]
There is a big memory leak bug in Samba 4.1 - 4.7.6. Depending on the circumstances all memory of the Ubuntu server will be eaten by Samba sooner or later. Then Linux Oom - killer will kill Samba which will either restart or hang.
On our Ubuntu Server 14.04.5 I need to restart Samba 1 - 2 times a week. This bug probably affects also Ubuntu 18.04 if this fix has not yet been backported.
This bug has been fixed upstream in Samba 4.7.7. The fix is only two lines of code and the bug is caused by a single misplaced "if" when releasing memory.
This upstream commit fixes the bug: https://gitlab.com/samba-team/samba/commit/461a1172ff819692aa0a2dc5ce7fc5379c8a529e
This is the Samba bug report: https://bugzilla.samba.org/show_bug.cgi?id=13372
And here the author apologizes for the bug :) https://lists.samba.org/archive/samba-technical/2018-April/126937.html
Please backport this fix to Ubuntu 14.04 and 18.04, thanks :)
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: samba 2:4.3.11+dfsg-0ubuntu0.14.04.19
ProcVersionSignature: Ubuntu 3.13.0-164.214-generic 3.13.11-ckt39
Uname: Linux 3.13.0-164-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.29
Architecture: amd64
BothFailedConnect: Yes
Date: Mon Feb 4 11:34:06 2019
InstallationDate: Installed on 2014-09-25 (1592 days ago)
InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3)
SambaServerRegression: Yes
SmbConfIncluded: No
SourcePackage: samba
UpgradeStatus: No upgrade log present (probably fresh install)
upstart.samba-ad-dc.override: manual |
|
2019-02-04 20:27:26 |
Andreas Hasenack |
samba (Ubuntu Bionic): assignee |
|
Andreas Hasenack (ahasenack) |
|
2019-02-04 20:27:28 |
Andreas Hasenack |
samba (Ubuntu Bionic): status |
Triaged |
In Progress |
|
2019-02-04 20:29:19 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~ahasenack/ubuntu/+source/samba/+git/samba/+merge/362700 |
|
2019-02-27 18:17:05 |
Brian Murray |
samba (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2019-02-27 18:17:09 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2019-02-27 18:17:10 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2019-02-27 18:17:15 |
Brian Murray |
tags |
amd64 apport-bug server-next trusty |
amd64 apport-bug server-next trusty verification-needed verification-needed-bionic |
|
2019-02-27 18:21:27 |
Brian Murray |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2019-03-27 14:09:19 |
Andreas Hasenack |
tags |
amd64 apport-bug server-next trusty verification-needed verification-needed-bionic |
amd64 apport-bug server-next trusty verification-done-bionic verification-needed |
|
2019-04-01 13:44:36 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2019-04-01 13:44:35 |
Launchpad Janitor |
samba (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|