Bug 1386076

Summary: [DELL 7.3 BUG] Systemd assertion failure when PID 1 receives a zero-length message over notify socket.
Product: Red Hat Enterprise Linux 7 Reporter: Sujith <sujith_pandel>
Component: systemdAssignee: systemd-maint
Status: CLOSED DUPLICATE QA Contact: qe-baseos-daemons
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.3CC: jsynacek, kasmith, linux-bugs, sujith_pandel, systemd-maint-list
Target Milestone: rcFlags: sujith_pandel: needinfo? (jsynacek)
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-18 07:18:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Sujith 2016-10-18 04:53:48 UTC
Description of problem:
This bug was reported upstream and looks to be a security vulnerability for the OS.
Request to pull in the required fix into RHEL-7.3 since this can be observed in RHEL-7.3 as well.

Version-Release number of selected component (if applicable):
systemd-219-30.el7

How reproducible:
Always

Steps to Reproduce:
1.Boot into RHEL-7.3
2. Run the script:
while true; do NOTIFY_SOCKET=/run/systemd/notify systemd-notify ""; done
3. system hangs; cannot reboot/shutdown.

Actual results:
system hangs; cannot reboot/shutdown.

Expected results:
System should not hang

Additional info:
Upstream discussion:
https://github.com/systemd/systemd/issues/4234

Upstream fix:
https://github.com/systemd/systemd/commit/8523bf7dd514a3a2c6114b7b8fb8f308b4f09fc4

https://github.com/systemd/systemd/commit/a86b76753d7868c2d05f046f601bc7dc89fc2203

Comment 2 Jan Synacek 2016-10-18 07:18:09 UTC

*** This bug has been marked as a duplicate of bug 1380175 ***

Comment 3 Sujith 2016-10-18 07:26:09 UTC
Hi Jan,
I do not have access to bug 1380175.
Can you tell me which build of RHEL-7.3 this fix is targeted for?

-
Sujith

Comment 4 Jan Synacek 2016-10-18 07:32:58 UTC
It's a 7.4 blocker, but has already been fixed in 7.2.

Comment 5 Jan Synacek 2016-10-18 07:33:35 UTC
And the build is systemd-219-30.el7_3.1.

Comment 6 Sujith 2016-10-20 06:01:57 UTC
RHEL-7.3-RC-2 does not have this fix since its having older 
systemd-219-30.el7.

Will it be included in RHEL-7.3-GA or RHEL-7.3 z-stream?