Re: [GIT PULL] sysctl fixes for v4.13-rc1
From: Sedat Dilek
Date: Thu Jul 13 2017 - 03:47:19 EST
On Thu, Jul 13, 2017 at 2:45 AM, Eric W. Biederman
<ebiederm@xxxxxxxxxxxx> wrote:
>
> Linus,
>
> Please pull the for-linus branch from the git tree:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-linus
>
> HEAD: 2fd1d2c4ceb2248a727696962cf3370dc9f5a0a4 proc: Fix proc_sys_prune_dcache to hold a sb reference
>
> A rather embarassing and hard to hit bug was merged into 4.11-rc1.
> Andrei Vagin tracked this bug now and after some starting at the
> code I came up with a fix.
>
> Eric
>
> From 2fd1d2c4ceb2248a727696962cf3370dc9f5a0a4 Mon Sep 17 00:00:00 2001
> From: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>
> Date: Thu, 6 Jul 2017 08:41:06 -0500
> Subject: [PATCH] proc: Fix proc_sys_prune_dcache to hold a sb reference
>
> Andrei Vagin writes:
> FYI: This bug has been reproduced on 4.11.7
[...]
> Cc: stable@xxxxxxxxxxxxxxx
Please add first affected Linux-kernel release.
Cc: stable@xxxxxxxxxxxxxxx # 4.11
- Sedat -
> Reported-by: Andrei Vagin <avagin@xxxxxxxxx>
> Tested-by: Andrei Vagin <avagin@xxxxxxxxxx>
> Fixes: ace0c791e6c3 ("proc/sysctl: Don't grab i_lock under sysctl_lock.")
> Fixes: d6cffbbe9a7e ("proc/sysctl: prune stale dentries during unregistering")
> Signed-off-by: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>