CVE-2016-7795: Input Validation

Published Sep 28, 2016
·
Updated

A flaw was found in the way systemd handled empty notification messages. A local attacker could use this flaw to make systemd freeze its execution, preventing further management of system services, system shutdown, or zombie process collection via systemd.

Other sources

It was found that systemd fails an assertion in managerinvokenotifymessage when a zero-length message is received over its notification socket. After failing the assertion, PID 1 hangs in the pause system call, making no longer possible to start and stop daemons or cleanly reboot the system. Inetd-style services managed by systemd no longer accept connections.

Since the notification socket, /run/systemd/notify, is world-writable, this allows a local user to perform a denial-of-service attack against systemd.

PoC:

NOTIFYSOCKET=/run/systemd/notify systemd-notify ""

Upstream bug report:

https://github.com/systemd/systemd/issues/4234

CVE request:

http://www.openwall.com/lists/oss-security/2016/09/28/9

The managerinvokenotifymessage function in systemd 231 and earlier allows local users to cause a denial of service (assertion failure and PID 1 hang) via a zero-length message received over a notify socket.

Affected Software

4 affected componentsFixes available
redhat/systemd<0:219-30.el7_3.3
0:219-30.el7_3.3
redhat/systemd<0:219-19.el7_2.18
0:219-19.el7_2.18
Ubuntu=16.04
Systemd Project Systemd<=231

Event History

Sep 28, 2016
CVE Published
12:00 AM
Sep 29, 2016
Data Sourced
08:22 AM
DescriptionSeverityAffected Software
Oct 13, 2016
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2016-7795?

CVE-2016-7795 is classified as a high severity vulnerability, affecting the stability of the systemd service manager.

2

How do I fix CVE-2016-7795?

To mitigate CVE-2016-7795, upgrade systemd to version 0:219-30.el7_3.3 or later for Red Hat systems, or ensure your systemd version is updated to 231 or newer for other distributions.

3

What systems are affected by CVE-2016-7795?

CVE-2016-7795 affects various versions of systemd, particularly on Red Hat Enterprise Linux 7 and Ubuntu 16.04.

4

Can CVE-2016-7795 cause system outages?

Yes, CVE-2016-7795 can lead to system outages by freezing systemd's execution, preventing service management.

5

Is CVE-2016-7795 a local or remote vulnerability?

CVE-2016-7795 is a local vulnerability, allowing local attackers to exploit the flaw.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203