lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 30 Jun 2022 10:02:45 -0700
From:   Kuniyuki Iwashima <kuniyu@...zon.com>
To:     <cdleonard@...il.com>
CC:     <davem@...emloft.net>, <kuniyu@...zon.com>,
        <netdev@...r.kernel.org>, <sachinp@...ux.ibm.com>
Subject: [BUG] docker socket mounting fails in net-next

From:   Leonard Crestez <cdleonard@...il.com>
Date:   Thu, 30 Jun 2022 14:20:44 +0300
> Hello,
> 
> In recent net-next it is no longer possible to mount the docker socket 
> inside a container. Test case is very simple:
> 
> docker run -v/var/run/docker.sock:/var/run/docker.sock docker docker ps
> 
> Giving containers full access to the docker daemon this way is common 
> for CI systems where all code is trusted.
> 
> I bisected this problem to commit cf2f225e2653 ("af_unix: Put a socket 
> into a per-netns hash table."). Another issue was reported in this area:
> 
> https://lore.kernel.org/netdev/20220629174729.6744-1-kuniyu@amazon.com/T/
> 
> My test scenario is extremely simple, it should easily reproduce on any 
> generic distro running docker.

Thank you for report and repro!
I can reproduce it for now.  I will send a followup patch.

Best regards,
Kuniyuki


> 
> --
> Regards,
> Leonard

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ