From: Andrew Morton <akpm@linux-foundation.org>
To: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Cc: Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@elte.hu>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] posix-timers: fix oops in clock_nanosleep() with CLOCK_MONOTONIC_RAW
Date: Tue, 4 Aug 2009 00:57:53 -0700 [thread overview]
Message-ID: <20090804005753.99e21163.akpm@linux-foundation.org> (raw)
In-Reply-To: <4A77E62D.8070803@ct.jp.nec.com>
On Tue, 04 Aug 2009 16:41:33 +0900 Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> wrote:
> Userspace program is like this;
>
> #include <time.h>
>
> int main(void)
> {
> struct timespec ts;
>
> ts.tv_sec = 1;
> ts.tv_nsec = 0;
>
> return clock_nanosleep(4, 0, &ts, NULL);
> }
>
> and it will cause oops;
>
> BUG: unable to handle kernel NULL pointer dereference at 0000000000000001
Well that's not very good.
How far back does this go? posix-timers.c hasn't changed in several
kernel versions.
next prev parent reply other threads:[~2009-08-04 7:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-03 2:48 [PATCH] posix-timers: fix oops in clock_nanosleep() with CLOCK_MONOTONIC_RAW Hiroshi Shimamoto
2009-08-04 7:22 ` Andrew Morton
2009-08-04 7:41 ` Hiroshi Shimamoto
2009-08-04 7:57 ` Andrew Morton [this message]
2009-08-04 8:06 ` Hiroshi Shimamoto
2009-08-04 8:21 ` [tip:timers/urgent] posix-timers: Fix " tip-bot for Hiroshi Shimamoto
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=20090804005753.99e21163.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=h-shimamoto@ct.jp.nec.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
/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