From: "Toralf Förster" <toralf.foerster@gmx.de>
To: Dave Jones <davej@redhat.com>,
richard -rw- weinberger <richard.weinberger@gmail.com>,
linux-mm@kvack.org, user-mode-linux-user@lists.sourceforge.net,
Linux Kernel <linux-kernel@vger.kernel.org>,
Davi Arnaut <davi.arnaut@gmail.com>
Subject: Re: SLUB + UML : WARNING: at mm/page_alloc.c:2386
Date: Thu, 14 Mar 2013 22:24:16 +0100 [thread overview]
Message-ID: <51424000.1030309@gmx.de> (raw)
In-Reply-To: <20130314212107.GA23056@redhat.com>
On 03/14/2013 10:21 PM, Dave Jones wrote:
> hah, strndup_user taking a signed long instead of a size_t as it's length arg.
>
> either it needs to change, or it needs an explicit check for < 1
>
> I wonder how many other paths make it possible to pass negative numbers here.
just for the statistics - currently -14 rules :
2013-03-14T22:06:21.618+01:00 trinity kernel: memdup_user: -14
2013-03-14T22:06:25.664+01:00 trinity kernel: memdup_user: 28
2013-03-14T22:06:25.664+01:00 trinity kernel: memdup_user: -14
2013-03-14T22:06:37.533+01:00 trinity kernel: memdup_user: 3
2013-03-14T22:08:03.379+01:00 trinity kernel: memdup_user: -14
2013-03-14T22:09:34.668+01:00 trinity kernel: memdup_user: -14
2013-03-14T22:12:33.277+01:00 trinity kernel: memdup_user: -14
2013-03-14T22:13:15.214+01:00 trinity kernel: memdup_user: 2
2013-03-14T22:14:18.874+01:00 trinity kernel: trinity-watchdo[1169]: segfault at 244 ip 0804c956 sp bf836c9c error 4 in trinity[8048000+1d000]
2013-03-14T22:15:10.287+01:00 trinity kernel: memdup_user: 2
2013-03-14T22:15:10.287+01:00 trinity kernel: memdup_user: 2
2013-03-14T22:17:50.351+01:00 trinity kernel: memdup_user: 2
2013-03-14T22:17:59.411+01:00 trinity kernel: memdup_user: -14
:-D
--
MfG/Sincerely
Toralf FA?rster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2013-03-14 21:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-14 19:07 SLAB " Toralf Förster
2013-03-14 19:53 ` richard -rw- weinberger
2013-03-14 20:51 ` richard -rw- weinberger
2013-03-14 20:58 ` SLUB " Toralf Förster
2013-03-14 21:21 ` Dave Jones
2013-03-14 21:24 ` Toralf Förster [this message]
2013-03-14 23:10 ` richard -rw- weinberger
2013-03-15 18:44 ` Toralf Förster
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=51424000.1030309@gmx.de \
--to=toralf.foerster@gmx.de \
--cc=davej@redhat.com \
--cc=davi.arnaut@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=richard.weinberger@gmail.com \
--cc=user-mode-linux-user@lists.sourceforge.net \
/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