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]
Message-ID: <CADvbK_eDqUG5+eKpBreVtkDR1nNik327aNsz-rbf4jE7YmjAig@mail.gmail.com>
Date:   Thu, 12 Oct 2017 23:25:10 +0800
From:   Xin Long <lucien.xin@...il.com>
To:     Andreas Radke <andreas.radke@...lbox.org>
Cc:     Shuah Khan <shuahkh@....samsung.com>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        "davem@...emloft.net" <davem@...emloft.net>,
        LKML <linux-kernel@...r.kernel.org>,
        torvalds@...ux-foundation.org, akpm@...ux-foundation.org,
        linux@...ck-us.net, patches@...nelci.org,
        ben.hutchings@...ethink.co.uk, stable@...r.kernel.org
Subject: Re: [PATCH 4.9 000/105] 4.9.55-stable review

On Thu, Oct 12, 2017 at 11:18 PM, Andreas Radke
<andreas.radke@...lbox.org> wrote:
> Building the 4.9.x kernel package for Arch Linux 4.9.55 gives this IPv4 error here:
>
> Job for dhcpd4.service failed because the control process exited with error code.
> See "systemctl  status dhcpd4.service" and "journalctl  -xe" for details.
> root@...ver64:/root # systemctl  status dhcpd4.service
> ● dhcpd4.service - IPv4 DHCP server
>    Loaded: loaded (/usr/lib/systemd/system/dhcpd4.service; enabled; vendor preset: disabled)
>    Active: failed (Result: exit-code) since Thu 2017-10-12 17:09:38 CEST; 8s ago
>   Process: 638 ExecStart=/usr/bin/dhcpd -4 -q -user dhcp -cf /etc/dhcpd.conf -pf /run/dhcpd4.pid (code=exited, status=1/FAILURE)
>
> Okt 12 17:09:38 server64 dhcpd[638]: If you think you have received this message due to a bug rather
> Okt 12 17:09:38 server64 dhcpd[638]: than a configuration issue please read the section on submitting
> Okt 12 17:09:38 server64 dhcpd[638]: bugs on either our web page at www.isc.org or in the README file
> Okt 12 17:09:38 server64 dhcpd[638]: before submitting a bug.  These pages explain the proper
> Okt 12 17:09:38 server64 dhcpd[638]: process and the information we find helpful for debugging.
> Okt 12 17:09:38 server64 dhcpd[638]:
> Okt 12 17:09:38 server64 dhcpd[638]: exiting.
> Okt 12 17:09:38 server64 systemd[1]: dhcpd4.service: Control process exited, code=exited status=1
> Okt 12 17:09:38 server64 systemd[1]: dhcpd4.service: Failed with result 'exit-code'.
> Okt 12 17:09:38 server64 systemd[1]: Failed to start IPv4 DHCP server.
>
> journalctl -xe
> Okt 12 17:09:37 server64 systemd[1]: Starting IPv4 DHCP server...
> -- Subject: Unit dhcpd4.service has begun start-up
> -- Defined-By: systemd
> -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- Unit dhcpd4.service has begun starting up.
> Okt 12 17:09:38 server64 dhcpd[638]: Internet Systems Consortium DHCP Server 4.3.6
> Okt 12 17:09:38 server64 dhcpd[638]: Copyright 2004-2017 Internet Systems Consortium.
> Okt 12 17:09:38 server64 dhcpd[638]: All rights reserved.
> Okt 12 17:09:38 server64 dhcpd[638]: For info, please visit https://www.isc.org/software/dhcp/
> Okt 12 17:09:38 server64 dhcpd[638]: Source compiled to use binary-leases
> Okt 12 17:09:38 server64 dhcpd[638]: Wrote 0 deleted host decls to leases file.
> Okt 12 17:09:38 server64 dhcpd[638]: Wrote 0 new dynamic host decls to leases file.
> Okt 12 17:09:38 server64 dhcpd[638]: Wrote 16 leases to leases file.
> Okt 12 17:09:38 server64 dhcpd[638]: Can't install packet filter program: Cannot allocate memory
> Okt 12 17:09:38 server64 dhcpd[638]:
> Okt 12 17:09:38 server64 dhcpd[638]: If you think you have received this message due to a bug rather
> Okt 12 17:09:38 server64 dhcpd[638]: than a configuration issue please read the section on submitting
> Okt 12 17:09:38 server64 dhcpd[638]: bugs on either our web page at www.isc.org or in the README file
> Okt 12 17:09:38 server64 dhcpd[638]: before submitting a bug.  These pages explain the proper
> Okt 12 17:09:38 server64 dhcpd[638]: process and the information we find helpful for debugging.
> Okt 12 17:09:38 server64 dhcpd[638]:
> Okt 12 17:09:38 server64 dhcpd[638]: exiting.
> Okt 12 17:09:38 server64 systemd[1]: dhcpd4.service: Control process exited, code=exited status=1
> Okt 12 17:09:38 server64 systemd[1]: dhcpd4.service: Failed with result 'exit-code'.
> Okt 12 17:09:38 server64 systemd[1]: Failed to start IPv4 DHCP server.
> -- Subject: Unit dhcpd4.service has failed
pls try revert:
commit 02f7e4101092b88e57c73171174976c8a72a3eba
Author: Eric Dumazet <edumazet@...gle.com>
Date:   Mon Oct 2 12:20:51 2017 -0700

    socket, bpf: fix possible use after free

which caused a obvious issue in __sk_attach_prog():
        atomic_set(&fp->refcnt, 0);  <----

        if (!sk_filter_charge(sk, fp)) {
                kfree(fp);
                return -ENOMEM;
        }

bool sk_filter_charge(struct sock *sk, struct sk_filter *fp)
{
        if (!atomic_inc_not_zero(&fp->refcnt)) <----
                return false;

        if (!__sk_filter_charge(sk, fp)) {
                sk_filter_release(fp);
                return false;
        }

>
>
> All works well with version 4.9.54 here. Holding back 4.9.55 for now.
>
> -Andy
> Arch Linux

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ