host crashed with SIGABRT in isc_assertion_failed()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| BIND |
Undecided
|
Unassigned | ||
| bind9 (Ubuntu) |
Medium
|
Andreas Hasenack | ||
| Xenial |
Undecided
|
Unassigned | ||
| Bionic |
Undecided
|
Unassigned |
Bug Description
[Impact]
* If a tool using the routines defined in bin/dig/dighost.c is sent an
interruption signal around the time a connection timeout is scheduled
to fire, connect_timeout() may be executed after destroy_libs()
detaches from the global task (setting 'global_task' to NULL), which
results in a crash upon a UDP retry due to bringup_timer() attempting
to create a timer with 'task' set to NULL.
* Fix by preventing connect_timeout() from attempting a retry when
shutdown is in progress.
[Test Case]
* That is the bad part of this SRU, there is no known testcase.
If you look at https:/
Just like the other fix we intend to group with (for xenial).
Maybe more time in proposed to be a bit safer?
[Regression Potential]
* This is in bind and Ubuntu releases for quite a while so general
confidence is high. I could think of issue if this - on the backport -
works differently as it is using a global variable (urgs) to detect if
a shutdown is in progress. But overall it should replace a hard crash
with a softer early exit that seems ok.
[Other Info]
* There is a patch adding "sleep 10" to the code to force the bug,
but then I'd not test the packages in proposed right :-/
I wake up the computer.Then It shows a blank black screen with a sidebar (favourite apps).I can't login.
Then I suspend the computer again and wake up it.It shows a error reporting dialog
ProblemType: Crash
DistroRelease: Ubuntu 18.10
Package: bind9-host 1:9.11.
ProcVersionSign
Uname: Linux 4.18.0-10-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.10-0ubuntu11
Architecture: amd64
Date: Mon Oct 15 23:48:32 2018
ExecutablePath: /usr/bin/host
InstallationDate: Installed on 2018-10-10 (5 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Beta amd64 (20180927)
ProcCmdline: host -t soa local.
ProcEnviron: PATH=(custom, no user)
Signal: 6
SourcePackage: bind9
StacktraceTop:
isc_assertion_
isc.timer_create () from /usr/lib/
?? ()
?? ()
?? ()
Title: host crashed with SIGABRT in isc_assertion_
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
Related branches
- Andreas Hasenack: Approve on 2019-08-08
- Canonical Server Team: Pending requested 2019-08-07
- Ubuntu Server Dev import team: Pending requested 2019-08-07
-
Diff: 71 lines (+49/-0)3 files modifieddebian/changelog (+7/-0)
debian/patches/fix-shutdown-race.diff (+41/-0)
debian/patches/series (+1/-0)
- Andreas Hasenack: Approve on 2019-08-07
- Canonical Server Team: Pending requested 2019-08-05
- Ubuntu Server Dev import team: Pending requested 2019-08-05
-
Diff: 166 lines (+132/-0)5 files modifieddebian/changelog (+8/-0)
debian/patches/fix-shutdown-race.diff (+41/-0)
debian/patches/series (+3/-0)
debian/patches/ubuntu/lp-1833400-master-Remove-REQUIRE-preventing-change-4592-from-wo.patch (+33/-0)
debian/patches/ubuntu/lp-1833400-master-fix-dispatch.c-shutdown-race.patch (+47/-0)
- Andreas Hasenack: Approve on 2019-06-27
- Canonical Server Core Reviewers: Pending requested 2019-06-27
- Canonical Server Team: Pending requested 2019-06-27
-
Diff: 953 lines (+646/-83)10 files modifieddebian/bind9.install (+0/-2)
debian/changelog (+574/-0)
debian/control (+2/-5)
debian/dnsutils.install (+0/-2)
debian/libdns1104.symbols (+0/-66)
debian/patches/enable-udp-in-host-command.diff (+26/-0)
debian/patches/fix-shutdown-race.diff (+41/-0)
debian/patches/series (+2/-0)
debian/rules (+1/-4)
debian/tests/simpletest (+0/-4)
- Bryce Harrington: Approve on 2019-06-21
- Andreas Hasenack: Approve on 2019-06-21
- Canonical Server Team: Pending requested 2019-06-21
- Canonical Server packageset reviewers: Pending requested 2019-06-19
-
Diff: 972 lines (+666/-83)11 files modifieddebian/bind9.install (+0/-2)
debian/changelog (+549/-0)
debian/control (+2/-5)
debian/dnsutils.install (+0/-2)
debian/libdns1104.symbols (+0/-66)
debian/patches/CVE-2019-6471.patch (+44/-0)
debian/patches/enable-udp-in-host-command.diff (+26/-0)
debian/patches/fix-shutdown-race.diff (+41/-0)
debian/patches/series (+3/-0)
debian/rules (+1/-4)
debian/tests/simpletest (+0/-4)
- Christian Ehrhardt : Approve on 2019-01-22
- Canonical Server Team: Pending requested 2019-01-17
-
Diff: 778 lines (+492/-83)10 files modifieddebian/bind9.install (+0/-2)
debian/changelog (+420/-0)
debian/control (+2/-5)
debian/dnsutils.install (+0/-2)
debian/libdns1104.symbols (+0/-66)
debian/patches/enable-udp-in-host-command.diff (+26/-0)
debian/patches/fix-shutdown-race.diff (+41/-0)
debian/patches/series (+2/-0)
debian/rules (+1/-4)
debian/tests/simpletest (+0/-4)
- Christian Ehrhardt : Approve on 2018-12-13
- Canonical Server Team: Pending requested 2018-12-11
- Ubuntu Server Dev import team: Pending requested 2018-12-11
-
Diff: 752 lines (+472/-83)10 files modifieddebian/bind9.install (+0/-2)
debian/changelog (+400/-0)
debian/control (+2/-5)
debian/dnsutils.install (+0/-2)
debian/libdns1104.symbols (+0/-66)
debian/patches/enable-udp-in-host-command.diff (+26/-0)
debian/patches/fix-shutdown-race.diff (+41/-0)
debian/patches/series (+2/-0)
debian/rules (+1/-4)
debian/tests/simpletest (+0/-4)
CVE References
blurhy (blurhy) wrote : | #1 |
Apport retracing service (apport) wrote : | #2 |
Changed in bind9 (Ubuntu): | |
importance: | Undecided → Medium |
tags: | removed: need-amd64-retrace |
Andreas Hasenack (ahasenack) wrote : | #6 |
Thanks for filing this bug in Ubuntu.
I filed this bug upstream for now: https:/
If this happens again, please let us know, as having a way to reproduce it reliably would be very helpful.
no longer affects: | bind |
Changed in bind9 (Ubuntu): | |
status: | New → Triaged |
information type: | Private → Public |
Andreas Hasenack (ahasenack) wrote : | #7 |
https:/
tags: | added: server-next |
Andreas Hasenack (ahasenack) wrote : | #8 |
As soon as the ubuntu archive is open again, we can work on this.
Changed in bind9 (Ubuntu): | |
assignee: | nobody → Andreas Hasenack (ahasenack) |
status: | Triaged → In Progress |
Launchpad Janitor (janitor) wrote : | #9 |
This bug was fixed in the package bind9 - 1:9.11.
---------------
bind9 (1:9.11.
* Merge with Debian unstable. Remaining changes:
- Build without lmdb support as that package is in Universe
- Don't build dnstap as it depends on universe packages:
+ d/control: drop build-depends on libfstrm-dev, libprotobuf-c-dev and
+ d/dnsutils.install: don't install dnstap
+ d/libdns1104.
+ d/rules: don't build dnstap nor install dnstap.proto
* Dropped:
- SECURITY UPDATE: denial of service crash when deny-answer-aliases
option is used
+ debian/
trigger a crash if deny-answer-aliases was set
+ debian/
+ debian/
chainingp correctly, add test
+ CVE-2018-5740
[Fixed in new upstream version 9.11.5]
- d/extras/
line (Closes: #904983)
[Fixed in 1:9.11.4+dfsg-4]
- Add a patch to fix named-pkcs11 crashing on startup. (LP #1769440)
[Fixed in 1:9.11.4.P1+dfsg-1]
- Cherrypick from debian: Add new dst__openssledd
(it depends on OpenSSL version) (Closes: #897643)
[Fixed in 1:9.11.4.P1+dfsg-1]
* Added:
- d/p/enable-
option (LP: #1804648)
- d/p/fix-
close to a query timeout (LP: #1797926)
- d/t/simpletest: drop the internetsociety.org test as it requires
network egress access that is not available in the Ubuntu autopkgtest
farm.
bind9 (1:9.11.5+dfsg-1) unstable; urgency=medium
* Use <email address hidden> as Maintainer address
* New upstream version 9.11.5+dfsg
* Add EXTENSIONS= to version file programmatically, not with the patch
* Rebase patches for BIND 9.11.5
* Adjust package names for new SONAMEs
bind9 (1:9.11.
* Also avoid OpenSSL 1.1.1 in udebs.
Thanks to KiBi for the hint
* autopkgtest: Make an external query and check for DNSSEC
bind9 (1:9.11.
* Temporarily disable EDDSA to relax OpenSSL version requirement
bind9 (1:9.11.
[ Bernhard Schmidt ]
* Add a very simple autopkgtest (dig @127.0.0.1)
[ Ondřej Surý ]
* New upstream version 9.11.4.P2+dfsg
* Rebase patches for BIND 9.11.4-P2
bind9 (1:9.11.
[ Timo Aaltonen ]
* skip-rtld-
crashing on startup. (LP: #1769440)
[ Bernhard Schmidt ]
* Add gbp.conf for pristine-tar usage
* d/watch: Properly deal with -P patch releases
[ Ondřej Surý ]
* Don't fail to start if /etc/default/bind9 doesn't exist
* New upstream version 9.11.4.P1+dfsg
* Rebase patches for BIND 9.11.4-P1
* Add new dst__open...
Changed in bind9 (Ubuntu): | |
status: | In Progress → Fix Released |
Christian Ehrhardt (paelzer) wrote : | #10 |
It seems this crash was actually really common :-/
https:/
Glad that it is already fixed!
I created a bug of the error tracker and will dup it onto this one.
But I wonder if we could/should consider SRUing this @Andreas opinions?
Changed in bind: | |
status: | New → Fix Released |
Christian Ehrhardt (paelzer) wrote : | #11 |
This also was discussed upstream, lets link that one here as well.
=> https:/
Changed in bind9 (Ubuntu Xenial): | |
status: | New → Confirmed |
Changed in bind9 (Ubuntu Bionic): | |
status: | New → Confirmed |
description: | updated |
Christian Ehrhardt (paelzer) wrote : | #12 |
Uploaded to -unapproved for SRU Team review
Hello blurhy, or anyone else affected,
Accepted bind9 into bionic-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-
Further information regarding the verification process can be found at https:/
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.
Changed in bind9 (Ubuntu Bionic): | |
status: | Confirmed → Fix Committed |
tags: | added: verification-needed verification-needed-bionic |
Changed in bind9 (Ubuntu Xenial): | |
status: | Confirmed → Fix Committed |
tags: | added: verification-needed-xenial |
Brian Murray (brian-murray) wrote : | #14 |
Hello blurhy, or anyone else affected,
Accepted bind9 into xenial-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-
Further information regarding the verification process can be found at https:/
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.
Christian Ehrhardt (paelzer) wrote : | #15 |
I was testing the package in Xenial and Bionic a bit in general as we have no explicit crash steps as outlined in the SRU template. It worked fine for me through an upgrade and with some simple name resolutions using the bind9 tools like bind9-host through the local named.
Setting verified, but given that we lack an explicit test I'd not mind if we keep this in -proposed a bit linger than usual before releasing it just to give things an extra chance to be spotted.
tags: |
added: verification-done verification-done-bionic verification-done-xenial removed: verification-needed verification-needed-bionic verification-needed-xenial |
tags: | added: block-proposed |
Christian Ehrhardt (paelzer) wrote : | #16 |
Still heard nothing of any issues from any proposed testing, I think it is time to release it now - removing block-proposed.
tags: | removed: block-proposed |
Launchpad Janitor (janitor) wrote : | #17 |
This bug was fixed in the package bind9 - 1:9.11.
---------------
bind9 (1:9.11.
* d/p/fix-
close to a query timeout (LP: #1797926)
-- Christian Ehrhardt <email address hidden> Wed, 07 Aug 2019 16:43:40 +0200
Changed in bind9 (Ubuntu Bionic): | |
status: | Fix Committed → Fix Released |
The verification of the Stable Release Update for bind9 has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
Launchpad Janitor (janitor) wrote : | #19 |
This bug was fixed in the package bind9 - 1:9.10.
---------------
bind9 (1:9.10.
* d/p/ubuntu/
* d/p/fix-
close to a query timeout (LP: #1797926)
-- Christian Ehrhardt <email address hidden> Mon, 05 Aug 2019 07:30:49 +0200
Changed in bind9 (Ubuntu Xenial): | |
status: | Fix Committed → Fix Released |
StacktraceTop: failed (file=file@ entry=0x7fe590c b769c "../../ ../lib/ isc/timer. c", line=line@ entry=392, type=type@ entry=isc_ assertiontype_ require, cond=cond@ entry=0x7fe590c b0103 "task != ((void *)0)") at ../../. ./lib/isc/ assertions. c:52 0x7fe58d741010, type=<optimized out>, expires=<optimized out>, interval=<optimized out>, task=0x0, action= 0x55bcf1af75c0 <connect_timeout>, arg=0x7fe58d74e018, timerp= 0x7fe58d74e288) at ../../. ./lib/isc/ timer.c: 457 0x7fe58d74e018, default_ timeout= <optimized out>) at ../../. ./bin/dig/ dighost. c:2949 0x7fe58d74e018) at ../../. ./bin/dig/ dighost. c:3135 ./bin/dig/ dighost. c:3265
isc_assertion_
isc__timer_create (manager0=
bringup_timer (query=
send_udp (query=
connect_timeout (task=<optimized out>, event=<optimized out>) at ../../.