Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #209113

Re: [DNG] Linux system can be brought down by sending SIGILL to Systemd

From Reco <recoverym4n@enotuniq.net>
Newsgroups linux.debian.user
Subject Re: [DNG] Linux system can be brought down by sending SIGILL to Systemd
Date 2019-05-25 09:50 +0200
Message-ID <y1zBf-ik-1@gated-at.bofh.it> (permalink)
References <y1pVf-2LG-5@gated-at.bofh.it> <y1pVf-2LG-3@gated-at.bofh.it> <y1qxX-3eQ-3@gated-at.bofh.it> <y1r0Z-3pF-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


	Hi.

On Sat, May 25, 2019 at 12:21:07AM +0200, arne wrote:
> On Fri, 24 May 2019 23:43:49 +0200
> arne <sp113438@telfort.nl> wrote:
> 
> > On Fri, 24 May 2019 14:01:35 -0700
> > Fred <fred@blakemfg.com> wrote:
> > 
> > > Hello,
> > > I subscribe to the Devuan Linux mailing list.  This posting just
> > > arrived and it appears quite important to Debian.
> > > 
> > > -------- Forwarded Message --------
> > > Subject: 	[DNG] Linux system can be brought down by sending
> > > SIGILL to Systemd
> > > Date: 	Fri, 24 May 2019 22:04:34 +0200
> > > From: 	Martin Steigerwald <martin@lichtvoll.de>
> > > To: 	DNG <dng@lists.dyne.org>
> > > 
> > > 
> > > 
> > > Hi!
> > > 
> > > Today in a Linux training a participant attempted to bring down
> > > Debian workstation with Systemd by sending signals to PID 1 as I
> > > invited them to try to bring down PID 1 while thinking for myself
> > > that this would not be possible from my past experiences about
> > > trying to bring down PID 1 – init – myself.  
> > 
> > # while true; do kill -ILL 1 ; echo -n "." ;  sleep 0.5 ; done
> > ...........................^C
> > 
> > no problem here
> > kernel 5.1.4 stretch amd64 with systemd
> > 
> 
> Perhaps that test was a little too short so I let it run a little
> longer:
> 
> # while true; do kill -ILL 1 ; echo -n "." ;  sleep 0.5 ; done
> ..................................................................................................................................................................................................................................................................................................................................................................................................................................................^C
> 
> again no problem here.

Stretch's systemd:

# kill -ILL 1
Message from syslogd@xxx at May 25 10:19:09 ...
 systemd[1]: Caught <ILL>, dumped core as pid 822.
...
systemd[1]: Freezing execution.


The userspace and the kernel will work after this, but anything that's
related to systemd (including poweroff and shutdown) just hangs.

Seems harmless to me as one needs to be root to send signals to PID 1.

> I had no fear to run the script as I use systemd, so I know how to
> use the SysReq keys very well ;)

There's also that /proc/sysrq-trigger in the case the console isn't
accessible.

Reco

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Fwd: [DNG] Linux system can be brought down by sending SIGILL to  Systemd Fred <fred@blakemfg.com> - 2019-05-24 23:30 +0200
  Re: [DNG] Linux system can be brought down by sending SIGILL to  Systemd arne <sp113438@telfort.nl> - 2019-05-25 00:10 +0200
    Re: [DNG] Linux system can be brought down by sending SIGILL to  Systemd arne <sp113438@telfort.nl> - 2019-05-25 00:40 +0200
      Re: [DNG] Linux system can be brought down by sending SIGILL to  Systemd Reco <recoverym4n@enotuniq.net> - 2019-05-25 09:50 +0200
        Re: [DNG] Linux system can be brought down by sending SIGILL to  Systemd mick crane <mick.crane@gmail.com> - 2019-05-25 11:00 +0200
        Re: [DNG] Linux system can be brought down by sending SIGILL to  Systemd <tomas@tuxteam.de> - 2019-05-25 14:10 +0200
      Re: [DNG] Linux system can be brought down by sending SIGILL to  Systemd - PID 1 is killed it seems arne <sp113438@telfort.nl> - 2019-05-25 11:50 +0200
        Re: [DNG] Linux system can be brought down by sending SIGILL to  Systemd - PID 1 is killed it seems Kenneth Parker <sea7kenp@gmail.com> - 2019-05-25 15:00 +0200
          Re: [DNG] Linux system can be brought down by sending SIGILL to  Systemd - PID 1 is killed it seems <tomas@tuxteam.de> - 2019-05-25 15:30 +0200
          Re: [DNG] Linux system can be brought down by sending SIGILL to  Systemd - PID 1 is killed it seems arne <sp113438@telfort.nl> - 2019-05-25 15:30 +0200
  [Possibly fake news] [DNG] Linux system can be brought down by  sending SIGILL to Systemd <tomas@tuxteam.de> - 2019-05-25 08:40 +0200
    Re: [Possibly fake news] [DNG] Linux system can be brought down by  sending SIGILL to Systemd Curt <curty@free.fr> - 2019-05-25 10:20 +0200
    Re: [Possibly fake news] [DNG] Linux system can be brought down by  sending SIGILL to Systemd Nicolas George <george@nsup.org> - 2019-05-25 12:20 +0200

csiph-web