systemd-resolve segfault
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
Undecided
|
Unassigned | ||
Impish |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* systemd-resolved stops replying to clients on the local LAN.
* logging segfault crashes in dmesg:
[836786.046514] systemd-
[836786.046524] Code: Bad RIP value.
[840887.303994] traps: systemd-
[844395.313421] systemd-
[844395.313431] Code: 48 85 c0 74 0e 48 8b 8d 00 01 00 00 48 89 88 00 01 00 00 48 8b 85 00 01 00 00 48 85 c0 0f 84 1d 01 00 00 48 8b 95 f8 00 00 00 <48> 89 90 f8 00 00 00 48 c7 85 00 01 00 00 00 00 00 00 48 c7 85 f8
* The upload backports the upstream fix (https:/
[Test Plan]
* Setup /etc/systemd/
[Resolve]
DNS=46.
DNSSEC=yes
DNSOverTLS=
MulticastDNS=no
LLMNR=no
Cache=yes
DNSStubListener=yes
Domains=~.
* wait for ~24-48 hours and observe if any crash happens
[Where problems could occur]
* Any regression would likely cause crashes in systemd-resolved, making it unresponsive to DNS network name requests to local applications.
[Other Info]
* Reported upstream: https:/
* Fixed upstream in v248: https:/
=== Original description ===
systemd-resolve keep crashing and it is very annoying as sometimes it severely interrupt normal dns resolving.
Last uploaded report is 2d9e7378-
Typical error in dmesg:
systemd-
apport hints me that problem is related to mdns
#3 0x00007f3e903c2f11 in sd_event_dispatch () from /lib/systemd/
It might be (or not) related that some hosts with mdns in my network have ipv6 enabled.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: systemd 245.4-4ubuntu3.7
ProcVersionSign
Uname: Linux 5.4.0-75-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Thu Jul 1 08:22:51 2021
InstallationDate: Installed on 2018-12-05 (938 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3)
MachineType: System manufacturer System Product Name
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: systemd
UpgradeStatus: Upgraded to focal on 2020-05-22 (405 days ago)
dmi.bios.date: 05/12/2020
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1205
dmi.board.
dmi.board.name: ROG STRIX X399-E GAMING
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.
dmi.sys.vendor: System manufacturer
Related branches
- Dan Streetman: Pending requested
-
Diff: 331 lines (+239/-17)4 files modifieddebian/changelog (+11/-0)
debian/patches/resolved-disable-event-sources-before-unreffing-them.patch (+22/-16)
debian/patches/resolved-fix-braino-with-reference-counting-and-linked-li.patch (+204/-0)
debian/patches/series (+2/-1)
CVE References
tags: | added: rls-ff-incoming |
tags: | added: fr-1490 |
tags: | removed: rls-ff-incoming |
description: | updated |
Here is backtrace, as i am unable to attach crash report (launchpad gives error) systemd- resolved. 102.crash gnu.org/ licenses/ gpl.html> www.gnu. org/software/ gdb/bugs/>. www.gnu. org/software/ gdb/documentati on/>.
apport-retrace -g _lib_systemd_
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://
Find the GDB manual and other documentation resources online at:
<http://
For help, type "help". systemd- resolved. .. systemd- resolved) 64-linux- gnu/libthread_ db.so.1" . systemd- resolved' . libsystemd- shared- 245.so libsystemd- shared- 245.so libsystemd- shared- 245.so libsystemd- shared- 245.so 03e40, argc=1, argv=0x7ffe2fd0 ba18, init=<optimized out>, fini=<optimized out>, rtld_fini= <optimized out>, stack_end= 0x7ffe2fd0ba08) libc-start. c:308 40094, 94901453740880, 140729700629008, 0, 0, 780773697836459 1202, 791615875775702 1282}, mask_was_saved = 0}}, priv = {pad = {
not_first_ call = <optimized out>
Type "apropos word" to search for commands related to "word".
Reading symbols from /lib/systemd/
(No debugging symbols found in /lib/systemd/
warning: core file may not match specified executable file.
[New LWP 1792202]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
Core was generated by `/lib/systemd/
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000564ff982f3e0 in ?? ()
(gdb) bt full
#0 0x0000564ff982f3e0 in ?? ()
No symbol table info available.
#1 0x0000564ff772a97f in ?? ()
No symbol table info available.
#2 0x00007f3e903c2b96 in ?? () from /lib/systemd/
No symbol table info available.
#3 0x00007f3e903c2f11 in sd_event_dispatch () from /lib/systemd/
No symbol table info available.
#4 0x00007f3e903c4948 in sd_event_run () from /lib/systemd/
No symbol table info available.
#5 0x00007f3e903c4b6f in sd_event_loop () from /lib/systemd/
No symbol table info available.
#6 0x0000564ff770522a in ?? ()
No symbol table info available.
#7 0x00007f3e905cc0b3 in __libc_start_main (main=0x564ff77
at ../csu/
self = <optimized out>
result = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {94901453980416, -78072793518040
0x0, 0x0, 0x1, 0x7ffe2fd0ba18}, data = {prev = 0x0, cleanup = 0x0, canceltype = 1}}}
#8 0x0000564ff7705b7e in ?? ()
No symbol table info available.