mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Prarit Bhargava <prarit@redhat.com>
Cc: linux-kernel@vger.kernel.org,
	John Stultz <john.stultz@linaro.org>,
	Stephen Boyd <sboyd@codeaurora.org>
Subject: Re: [PATCH] time/alarmtimer: Add bounds checking for the timer interval and expiration
Date: Mon, 12 Jun 2017 17:41:30 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.20.1706121740170.1911@nanos> (raw)
In-Reply-To: <1497272550-3337-1-git-send-email-prarit@redhat.com>

On Mon, 12 Jun 2017, Prarit Bhargava wrote:

> Running the syzkaller timer_hang_poc.c
> (https://groups.google.com/forum/#!topic/syzkaller/355tWdc8oHY) causes a
> kernel hang by passing in a time that results in the timer being started
> with an expiration that exceeds KTIME_MAX.
> 
> Check for overflow values of expiration (exp) and interval.
> 
> Also cleanup the code.  Set and check the values, and then modify the
> timer.

This is already addressed in

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/urgent

I just did not come around to send it to Linus last week.

Thanks,

	tglx

      reply	other threads:[~2017-06-12 15:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-12 13:02 Prarit Bhargava
2017-06-12 15:41 ` Thomas Gleixner [this message]

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.20.1706121740170.1911@nanos \
    --to=tglx@linutronix.de \
    --cc=john.stultz@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=prarit@redhat.com \
    --cc=sboyd@codeaurora.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®