netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* net: prevent of emerging cross-namespace symlinks patches for 3.14?
@ 2015-01-14 21:45 Miquel van Smoorenburg
  2015-01-15 18:39 ` Alexander Y. Fomichev
  2015-01-23 12:14 ` Luis Henriques
  0 siblings, 2 replies; 5+ messages in thread
From: Miquel van Smoorenburg @ 2015-01-14 21:45 UTC (permalink / raw)
  To: netdev; +Cc: stable, Alexander Y. Fomichev, David Miller

[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.

Thanks,

Mike.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: net: prevent of emerging cross-namespace symlinks patches for 3.14?
  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-23 12:14 ` Luis Henriques
  1 sibling, 1 reply; 5+ messages in thread
From: Alexander Y. Fomichev @ 2015-01-15 18:39 UTC (permalink / raw)
  To: Miquel van Smoorenburg; +Cc: netdev, stable, David Miller

Hi,

no objections of course,
actually it was written and tested with 3.14 in mind.

On Thu, Jan 15, 2015 at 12:45 AM, Miquel van Smoorenburg
<mikevs@xs4all.net> 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.
>
> Thanks,
>
> Mike.



-- 
Best regards.
       Alexander Y. Fomichev <git.user@gmail.com>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: net: prevent of emerging cross-namespace symlinks patches for 3.14?
  2015-01-15 18:39 ` Alexander Y. Fomichev
@ 2015-01-18 23:17   ` Miquel van Smoorenburg
  2015-01-20  2:19     ` David Miller
  0 siblings, 1 reply; 5+ messages in thread
From: Miquel van Smoorenburg @ 2015-01-18 23:17 UTC (permalink / raw)
  To: Alexander Y. Fomichev; +Cc: netdev, stable, David Miller

On 15/01/15 19:39, Alexander Y. Fomichev wrote:
> On Thu, Jan 15, 2015 at 12:45 AM, Miquel van Smoorenburg mikevs@xs4all.net> 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.704892] sysfs: cannot create duplicate
>> filename '/devices/virtual/net/eth0.104/upper_eth0'
>> I did not see these errors in 3.12. This was fixed in 3.17
>
> Hi,
>
> no objections of course,
> actually it was written and tested with 3.14 in mind.

David, could you have a quick look and ack this if you agree this should 
go in 3.14-stable ?

Thanks

Mike.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: net: prevent of emerging cross-namespace symlinks patches for 3.14?
  2015-01-18 23:17   ` Miquel van Smoorenburg
@ 2015-01-20  2:19     ` David Miller
  0 siblings, 0 replies; 5+ messages in thread
From: David Miller @ 2015-01-20  2:19 UTC (permalink / raw)
  To: mikevs; +Cc: git.user, netdev, stable

From: Miquel van Smoorenburg <mikevs@xs4all.net>
Date: Mon, 19 Jan 2015 00:17:06 +0100

> On 15/01/15 19:39, Alexander Y. Fomichev wrote:
>> On Thu, Jan 15, 2015 at 12:45 AM, Miquel van Smoorenburg
>> mikevs@xs4all.net> 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.704892] sysfs: cannot create
>>> duplicate
>>> filename '/devices/virtual/net/eth0.104/upper_eth0'
>>> I did not see these errors in 3.12. This was fixed in 3.17
>>
>> Hi,
>>
>> no objections of course,
>> actually it was written and tested with 3.14 in mind.
> 
> David, could you have a quick look and ack this if you agree this
> should go in 3.14-stable ?

Yes, this is fine, thanks for asking.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: net: prevent of emerging cross-namespace symlinks patches for 3.14?
  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-23 12:14 ` Luis Henriques
  1 sibling, 0 replies; 5+ messages in thread
From: Luis Henriques @ 2015-01-23 12:14 UTC (permalink / raw)
  To: Miquel van Smoorenburg
  Cc: netdev, stable, Alexander Y. Fomichev, David Miller

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-23 12:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).