All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luis Henriques <luis.henriques@canonical.com>
To: Miquel van Smoorenburg <mikevs@xs4all.net>
Cc: netdev@vger.kernel.org, stable@vger.kernel.org,
	"Alexander Y. Fomichev" <git.user@gmail.com>,
	David Miller <davem@davemloft.net>
Subject: Re: net: prevent of emerging cross-namespace symlinks patches for 3.14?
Date: Fri, 23 Jan 2015 12:14:48 +0000	[thread overview]
Message-ID: <20150123121448.GA2543@charon> (raw)
In-Reply-To: <54B6E36F.9060703@xs4all.net>

On Wed, Jan 14, 2015 at 10:45:19PM +0100, Miquel van Smoorenburg wrote:
> [first sent to lkml, now to netdev and the original patch author]
> 
> When running 'lxc' on the latest -stable kernel, 3.14.28, I'm seeing these
> errors:
> 
> Jan 14 17:47:16 lxc2 kernel: [   10.704890] WARNING: CPU: 0 PID: 3209 at
> fs/sys
> fs/dir.c:52 sysfs_warn_dup+0x8c/0xb0()
> Jan 14 17:47:16 lxc2 kernel: [   10.704892] sysfs: cannot create duplicate
> filename '/devices/virtual/net/eth0.104/upper_eth0'
> Jan 14 17:47:16 lxc2 kernel: [   10.704954] CPU: 0 PID: 3209 Comm:
> lxc-autostart Not tainted 3.14.28-xsserver #1
> 
> I did not see these errors in 3.12. This was fixed in 3.17 by:
> 
> net: prevent of emerging cross-namespace symlinks
> https://github.com/torvalds/linux/commit/4c75431ac3520631f1d9e74aa88407e6374dbbc4
> 
> net: fix creation adjacent device symlinks
> https://github.com/torvalds/linux/commit/7ce64c79c4decdeb1afe0bf2f6ef834b382871d1
> 
> These patches apply cleanly to 3.14.28.
> 
> If you agree that this should go into 3.14-stable, please ack.
> 

Thank you, I am queuing these 2 patches for the 3.16 kernel as well.

Cheers,
--
Luís

> Thanks,
> 
> Mike.
> --
> To unsubscribe from this list: send the line "unsubscribe stable" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2015-01-23 12:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-14 21:45 net: prevent of emerging cross-namespace symlinks patches for 3.14? Miquel van Smoorenburg
2015-01-15 18:39 ` Alexander Y. Fomichev
2015-01-18 23:17   ` Miquel van Smoorenburg
2015-01-20  2:19     ` David Miller
2015-01-23 12:14 ` Luis Henriques [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=20150123121448.GA2543@charon \
    --to=luis.henriques@canonical.com \
    --cc=davem@davemloft.net \
    --cc=git.user@gmail.com \
    --cc=mikevs@xs4all.net \
    --cc=netdev@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.