From: Xavier Roche <rocheml@httrack.com>
To: LKML <linux-kernel@vger.kernel.org>
Subject: Question on page length clamping in hash walk fix and syscall crashes
Date: Thu, 28 Jul 2016 11:49:47 +0200 (CEST) [thread overview]
Message-ID: <alpine.DEB.2.11.1607281136220.16950@proliant.localnet> (raw)
Hi folks,
We stumble upon an issue while using an AF_ALG socket to compute a hash
(crc32) directly in the kernel (using splice magic)
The issue has been fixed AFAICS by Herbert Xu in
cc440a5b68873b7b98c3130d09a69a1b13acb0b7 in a rather isolated patch (three
lines diff)
I could validate that the patch does indeed fix the issue we were having.
This bug seems to be more than a computation issue, as we experienced
weird crashes in random syscall when it is triggered (ie. unpatched),
such as fork, or futex-related primitives (!).
The issue can be reproduced with this standalone program:
https://bitbucket.org/scality/xavier-sandbox-public/raw/HEAD/kernel/issues/splicertest.c
Most up-to-date stable distro are using the buggy version (Centos 7:
3.10.0, Ubuntu trusty: 3.13.0, Fedora 22: 4.3.6, etc.)
Question: is the weird behavior observed (crashes inside kernel)
"normal" w.r.t this issue, and how cherry-pick policy is organized w.r.t
older kernel releases (LTS only ?)
[ Typically the bug does not appear in 3.14.70, 3.16.0, 3.19.0 or 4.2.0 ]
And sorry in advance if this question has already been answered, but I
could not find any clear hint.
reply other threads:[~2016-07-28 10:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=alpine.DEB.2.11.1607281136220.16950@proliant.localnet \
--to=rocheml@httrack.com \
--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
all inboxes | Powered by JetHome®