Re: [PATCH] fs: Fix NULL pointer dereference at copy_mnt_ns().

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> diff --git a/fs/namespace.c b/fs/namespace.c
> index 5a6208b..224aff1 100644
> --- a/fs/namespace.c
> +++ b/fs/namespace.c
> @@ -2250,6 +2250,7 @@ static struct mnt_namespace *dup_mnt_ns(struct mnt_namespace *mnt_ns,
>  		kfree(new_ns);
>  		return ERR_PTR(-ENOMEM);
>  	}
> +	new_ns->root = new;


oops. Thanks for finding that. Must have been a merge error somewhere.

Should be a stable candidate.

Acked-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>

-- 
ak@xxxxxxxxxxxxxxx -- Speaking for myself only
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux