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:   Tue, 25 Jan 2022 21:23:43 -0800
From:   Tong Zhang <ztong0001@...il.com>
To:     Murphy Zhou <jencce.kernel@...il.com>
Cc:     Andrew Morton <akpm@...ux-foundation.org>,
        kernel test robot <lkp@...el.com>,
        Alexander Viro <viro@...iv.linux.org.uk>,
        Eric Biederman <ebiederm@...ssion.com>,
        Kees Cook <keescook@...omium.org>,
        Luis Chamberlain <mcgrof@...nel.org>,
        Linux-Fsdevel <linux-fsdevel@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        Linux Memory Management List <linux-mm@...ck.org>
Subject: Re: [PATCH v1] binfmt_misc: fix crash when load/unload module

On Tue, Jan 25, 2022 at 9:04 PM Murphy Zhou <jencce.kernel@...il.com> wrote:
>
> Still panic with this patch on Linux-next tree:
>
> [ 1128.275515] LTP: starting binfmt_misc02 (binfmt_misc02.sh)
> [ 1128.303975] CPU: 1 PID: 107182 Comm: modprobe Kdump: loaded
> Tainted: G        W         5.17.0-rc1-next-20220125+ #1
> [ 1128.305264] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
> [ 1128.305992] Call Trace:
> [ 1128.306376]  <TASK>
> [ 1128.306682]  dump_stack_lvl+0x34/0x44
> [ 1128.307211]  __register_sysctl_table+0x2c7/0x4a0
> [ 1128.307846]  ? load_module+0xb37/0xbb0
> [ 1128.308339]  ? 0xffffffffc01b6000
> [ 1128.308762]  init_misc_binfmt+0x32/0x1000 [binfmt_misc]
> [ 1128.309402]  do_one_initcall+0x44/0x200
> [ 1128.309937]  ? kmem_cache_alloc_trace+0x163/0x2c0
> [ 1128.310535]  do_init_module+0x5c/0x260
> [ 1128.311045]  __do_sys_finit_module+0xb4/0x120
> [ 1128.311603]  do_syscall_64+0x3b/0x90
> [ 1128.312088]  entry_SYSCALL_64_after_hwframe+0x44/0xae
> [ 1128.312755] RIP: 0033:0x7f929ab85fbd
>
> Testing patch on Linus tree.

Hi Murphy,
Did you apply this patch?
Link: https://lkml.kernel.org/r/20220124181812.1869535-2-ztong0001@gmail.com
I tested it on top of the current master branch and it works on my
setup using the reproducer I mentioned.
Could you share your test script?
Thanks,
- Tong

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ