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] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 1 Aug 2018 18:43:56 +0300
From:   Kirill Tkhai <ktkhai@...tuozzo.com>
To:     Al Viro <viro@...IV.linux.org.uk>
Cc:     "linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>,
        LKML <linux-kernel@...r.kernel.org>
Subject: Re: Commit "new primitive: discard_new_inode()" introduces a problem

On 01.08.2018 18:19, Al Viro wrote:
> On Wed, Aug 01, 2018 at 05:43:35PM +0300, Kirill Tkhai wrote:
>> Hi, Al,
>>
>> commit 22dc9a1682722fda8603991595528b87e90436f6
>> Author: Al Viro <viro@...iv.linux.org.uk>
>> Date:   Thu Jun 28 15:53:17 2018 -0400
>>
>>     new primitive: discard_new_inode()
>>
>> from current linux-next introduces the following problem.
>> It reproduces 100% in my test VM:
>>
>> # cat /etc/mtab 
>> /dev/sda1 / ext4 rw 0 0
>> proc /proc proc rw 0 0
>> sysfs /sys sysfs rw 0 0
>> devpts /dev/pts devpts rw,gid=5,mode=620 0 0
>> tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0
>> # echo 3 > /proc/sys/vm/drop_caches 
>> # cat /etc/mtab 
>> cat: /etc/mtab: Cannot allocate memory
> 
> Can't reproduce here...  Could you post your .config (and
> toolchain information, for the sake of completeness)?

The .config is in attachments

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 8.2.0-1' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 8.2.0 (Debian 8.2.0-1)

$ ld -v
GNU ld (GNU Binutils for Debian) 2.31.1

There is init (not systemd) in the VM, and the distribution packages are old and manually corrupted.
Maybe there is some unusual sequence of init scripts, I don't know.

I've just tried with gcc-6:

#CC=gcc-6 make bzImage CC=gcc-6

and there is the problem too.

#git status
HEAD detached at 22dc9a168272

#git remote -v
origin	git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git (fetch)

Kirill

View attachment ".config" of type "text/plain" (45545 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ