From: Dave Jones <davej@redhat.com>
To: Dmitry Monakhov <dmonlist@gmail.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>, linux-ext4@vger.kernel.org
Subject: Re: kernel BUG at fs/ext4/inode.c:2982!
Date: Thu, 16 Oct 2014 10:33:46 -0400 [thread overview]
Message-ID: <20141016143346.GA9910@redhat.com> (raw)
In-Reply-To: <871tq8pdh4.fsf@openvz.org>
On Thu, Oct 16, 2014 at 01:31:51PM +0400, Dmitry Monakhov wrote:
> Dave Jones <davej@redhat.com> writes:
>
> > Just hit this on Linus' current tree while running my fuzz-tester.
> > (No logs unfortunatly, so no idea what actually happened).
> >
> > kernel BUG at fs/ext4/inode.c:2982!
> Looks
> familiar.http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-8086
> Are you playing with fcntl?
Actually, I was mistaken, there was a partial log.
Pid that oopsed was 24261. Last two calls of that pid was..
[child10:24261] [125] sendfile(out_fd=672, in_fd=672, offset=0x1, count=0xce89) = -1 (Bad address)
[child10:24261] [126] sendfile(out_fd=672, in_fd=672, offset=0x0, count=0xa1f000)
The second call was the one that oopsed.
No idea what fd 672 was unfortunatly. I'll have to add better logging of fd types.
At the same time that was running, other pids were also doing stuff with that same fd.
[child6:24355] [124] writev(fd=672, vec=0x1d2ec60, vlen=206)
[child8:24515] [1498] lseek(fd=672, offset=-1, whence=0x2)
Note that those calls also didn't complete, meaning they probably blocked on
some lock that the oopsing pid was holding.
So no recent fcntl's unless they were done before the last 2 syscalls each process did.
> Try this patch http://www.spinics.net/lists/linux-ext4/msg45683.html
I'll give it a try if I can get it reproducing easily, otherwise I cna't say
either way whether the patch is doing any good.
Dave
next prev parent reply other threads:[~2014-10-16 14:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-16 5:57 kernel BUG at fs/ext4/inode.c:2982! Dave Jones
2014-10-16 9:31 ` Dmitry Monakhov
2014-10-16 14:33 ` Dave Jones [this message]
2014-10-16 20:15 ` Dave Jones
2014-10-16 22:03 ` Dmitry Monakhov
2014-10-17 13:25 ` [PATCH] ext4: fix suboptimal seek_{data,hole} extents traversial Dmitry Monakhov
2014-11-25 21:14 ` Theodore Ts'o
2014-11-27 14:48 ` Dmitry Monakhov
2014-11-28 15:02 ` Dmitry Monakhov
2014-11-29 17:52 ` Theodore Ts'o
2014-12-01 11:25 ` Dmitry Monakhov
2014-10-17 17:27 ` kernel BUG at fs/ext4/inode.c:2982! Dave Jones
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=20141016143346.GA9910@redhat.com \
--to=davej@redhat.com \
--cc=dmonlist@gmail.com \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).