From: Tejun Heo <tj@kernel.org>
To: vcaputo@pengaru.com
Cc: Bronek Kozicki <brok@incorrekt.com>, linux-kernel@vger.kernel.org
Subject: Re: PROBLEM: NULL pointer dereference in kernel 4.14.6
Date: Tue, 19 Dec 2017 05:42:39 -0800 [thread overview]
Message-ID: <20171219134239.GN3919388@devbig577.frc2.facebook.com> (raw)
In-Reply-To: <20171217232448.yfaxxew2ijaay7iu@shells.gnugeneration.com>
On Sun, Dec 17, 2017 at 03:24:48PM -0800, vcaputo@pengaru.com wrote:
> On Sun, Dec 17, 2017 at 05:49:44PM +0000, Bronek Kozicki wrote:
> > I just upgraded to 4.14.7 and tried to reproduce this error, this time under strace. As you can see this happens when systemctl tries to read a specific entry under /sys/fs . In case this matters, the entry is for a small virtual machine running under qemu/kvm and managed by libvirt.
> >
> > open("/sys/fs/cgroup/unified/machine.slice", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 5
> > fstat(5, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
> > getdents(5, /* 12 entries */, 32768) = 464
> > openat(AT_FDCWD, "/sys/fs/cgroup/unified/machine.slice/machine-qemu\\x2d1\\x2dkartuzy\\x2dspice.scope/cgroup.procs", O_RDONLY|O_CLOEXEC) = 8
> > fstat(8, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
> > read(8, <unfinished ...>) = ?
> > +++ killed by SIGKILL +++
> > [1] 12078 killed strace -- systemctl status
> >
> >
>
> This recently came through lkml, may be related:
> https://marc.info/?l=linux-kernel&m=151320108922415&w=2
It looks like it could be the same problem. Working on the fix now.
Will let you know when I have something.
Thanks.
--
tejun
next prev parent reply other threads:[~2017-12-19 13:42 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-17 12:14 Bronek Kozicki
2017-12-17 13:29 ` Bronek Kozicki
2017-12-17 17:49 ` Bronek Kozicki
2017-12-17 18:25 ` Randy Dunlap
2017-12-17 18:30 ` Bronek Kozicki
2017-12-17 18:31 ` Randy Dunlap
2017-12-17 18:48 ` Bronek Kozicki
2017-12-17 23:24 ` vcaputo
2017-12-18 19:56 ` Bronek Kozicki
2017-12-19 13:42 ` Tejun Heo [this message]
2017-12-20 15:14 ` Tejun Heo
2017-12-20 18:04 ` Bronek Kozicki
2017-12-18 20:17 George Amanakis
2017-12-19 22:37 ` Tejun Heo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171219134239.GN3919388@devbig577.frc2.facebook.com \
--to=tj@kernel.org \
--cc=brok@incorrekt.com \
--cc=linux-kernel@vger.kernel.org \
--cc=vcaputo@pengaru.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome