systemd-resolved segfault in hashmap_iterate_entry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
In Progress
|
Medium
|
Matthew Ruffell |
Bug Description
installed libnss-resolve that put "resolve" in nsswitch.conf.
$ lsb_release -rd
Description: Ubuntu 20.04.3 LTS
Release: 20.04
$ dpkg -l systemd | grep systemd
ii systemd 245.4-4ubuntu3.13 amd64 system and service manager
$ grep ^hosts /etc/nsswitch.conf
hosts: files libvirt mdns4_minimal resolve [NOTFOUND=return] dns mymachines
systemd-resolved crashed once with segmentation fault.
(gdb) bt
#0 0x00007f119c67693a in hashmap_
#1 0x00007f119c6789d6 in internal_
at ../src/
#2 0x00007f119c678a8b in set_iterate (s=<optimised out>, i=i@entry=
#3 0x000055ba5e0ea917 in dns_query_
#4 0x000055ba5e0e9f0c in dns_query_
#5 0x000055ba5e0ea178 in dns_transaction
#6 0x000055ba5e0e27cd in dns_transaction
#7 0x000055ba5e0e3649 in dns_transaction
at ../src/
#8 0x000055ba5e0e40ab in on_dns_packet (s=<optimised out>, fd=<optimised out>, revents=<optimised out>, userdata=
at ../src/
#9 0x00007f119c5e6c77 in source_dispatch (s=s@entry=
#10 0x00007f119c5e6f11 in sd_event_dispatch (e=e@entry=
#11 0x00007f119c5e8948 in sd_event_run (e=e@entry=
#12 0x00007f119c5e8b6f in sd_event_loop (e=0x55ba5f320430) at ../src/
#13 0x000055ba5e0c326a in run (argv=<optimised out>, argc=<optimised out>) at ../src/
#14 main (argc=<optimised out>, argv=<optimised out>) at ../src/
This seems to have been reported upstream
https:/
Changed in systemd (Ubuntu Focal): | |
status: | New → In Progress |
importance: | Low → Medium |
assignee: | nobody → Matthew Ruffell (mruffell) |
tags: | added: sts |
The mentioned fix in the upstream report has been in systemd since 2021.