systemd-resolved crashed with SIGSEGV in dns_packet_is_reply_for()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
Medium
|
Dimitri John Ledkov | ||
Xenial |
Fix Released
|
Low
|
Unassigned | ||
Zesty |
Fix Released
|
Low
|
Unassigned |
Bug Description
[Impact]
* Null-pointer dereference in resolved, results in resolved crash and reports on launchpad and errors.
[Test Case]
* Unknown steps to reproduce
* Monitor the drop off in crashes on errors.ubuntu.com:
https:/
[Regression Potential]
* The behavior is similar, instead of crashing resolved it returns an error in the relevant function. Whilst this may not result in correct dns resolution for the affected dns packets, it should not result in resolved crashes.
[Original Bug Report]
This is one of background errors that happens without any active app being involved.
For the records, I had open: Firefox, Slack, Franz and the Terminal
The Ubuntu Error Tracker has been receiving reports about a problem regarding systemd. This problem was most recently seen with package version 233-6ubuntu2, the problem page at https:/
If you do not have access to the Ubuntu Error Tracker you can request it at http://
ProblemType: Crash
DistroRelease: Ubuntu 16.10
Package: systemd 231-5
ProcVersionSign
Uname: Linux 4.4.0-9136-generic x86_64
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
CrashCounter: 1
Date: Thu Sep 8 09:33:55 2016
ExecutablePath: /lib/systemd/
InstallationDate: Installed on 2013-06-06 (1189 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MachineType: Dell Inc. Dell System XPS L322X
ProcCmdline: /lib/systemd/
ProcKernelCmdLine: BOOT_IMAGE=
Signal: 11
SourcePackage: systemd
StacktraceTop:
?? ()
?? ()
?? () from /lib/systemd/
sd_event_dispatch () from /lib/systemd/
sd_event_run () from /lib/systemd/
Title: systemd-resolved crashed with SIGSEGV in sd_event_dispatch()
UpgradeStatus: Upgraded to yakkety on 2016-09-03 (4 days ago)
UserGroups:
dmi.bios.date: 04/18/2013
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A08
dmi.board.name: 0PJHXN
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: Dell System XPS L322X
dmi.sys.vendor: Dell Inc.
tags: | added: zesty |
Changed in systemd (Ubuntu): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
tags: | added: bugpattern-needed |
tags: | added: artful |
information type: | Private Security → Public Security |
tags: | added: patch |
Changed in systemd (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in systemd (Ubuntu Zesty): | |
status: | New → Fix Committed |
description: | updated |
tags: | added: apport-request-retrace |
description: | updated |
tags: | added: verification-done-zesty |
Changed in systemd (Ubuntu Xenial): | |
milestone: | none → ubuntu-16.04.3 |
Changed in systemd (Ubuntu Yakkety): | |
status: | Confirmed → In Progress |
no longer affects: | systemd (Ubuntu Yakkety) |
StacktraceTop: is_reply_ for (key=0x558fe280 27b0, p=0x558fe27fdb50) at ../src/ resolve/ resolved- dns-packet. c:2267 n_process_ reply (t=0x558fe28027e0, p=0x558fe27fdb50) at ../src/ resolve/ resolved- dns-transaction .c:1010 packet. lto_priv. 85 (s=<optimized out>, fd=<optimized out>, revents=<optimized out>, userdata= 0x558fe28027e0) at ../src/ resolve/ resolved- dns-transaction .c:1107 dispatch. lto_priv. 92 (s=0x558fe27f2ea0) at ../src/ libsystemd/ sd-event/ sd-event. c:2267 0x558fe2790280) at ../src/ libsystemd/ sd-event/ sd-event. c:2626
dns_packet_
dns_transactio
on_dns_
source_
sd_event_dispatch (e=e@entry=