stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: Ben Hutchings <ben.hutchings@codethink.co.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Sasha Levin <Alexander.Levin@microsoft.com>,
	stable <stable@vger.kernel.org>
Subject: Re: [stable] timer/debug: Change /proc/timer_list from 0444 to 0400
Date: Mon, 17 Dec 2018 18:32:44 -0500	[thread overview]
Message-ID: <20181217233244.GV2746@sasha-vm> (raw)
In-Reply-To: <1545084063.19315.130.camel@codethink.co.uk>

On Mon, Dec 17, 2018 at 10:01:03PM +0000, Ben Hutchings wrote:
>Please pick this commit for 4.14 and older stable branches:
>
>commit 8e7df2b5b7f245c9bd11064712db5cb69044a362
>Author: Ingo Molnar <mingo@kernel.org>
>Date:���Mon Nov 13 07:15:41 2017 +0100
>
>����timer/debug: Change /proc/timer_list from 0444 to 0400
>
>In older kernel versions this file makes it far too easy to exploit
>arbitrary-write bugs.  It's possible to hide the pointers from
>unprivileged users by setting the kernel.kptr_restrict sysctl, but that
>wasn't done by default.
>
>(Upstream commits c1eba5bcb643 "timer: Pass timer_list pointer to
>callbacks unconditionally" and ad67b74d2469 "printk: hash addresses
>printed with %p" provide more general mitigations, but don't seem to be
>suitable for stable.)

I've queued 8e7df2b5b7f2 for <=4.14, thank you.

--
Thanks,
Sasha

      reply	other threads:[~2018-12-17 23:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-17 22:01 [stable] timer/debug: Change /proc/timer_list from 0444 to 0400 Ben Hutchings
2018-12-17 23:32 ` Sasha Levin [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=20181217233244.GV2746@sasha-vm \
    --to=sashal@kernel.org \
    --cc=Alexander.Levin@microsoft.com \
    --cc=ben.hutchings@codethink.co.uk \
    --cc=gregkh@linuxfoundation.org \
    --cc=stable@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).