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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220914201202.pijocnpk6ng5cifz@pali>
Date:   Wed, 14 Sep 2022 22:12:02 +0200
From:   Pali Rohár <pali@...nel.org>
To:     Vladimir Oltean <olteanv@...il.com>
Cc:     Christian Marangi <ansuelsmth@...il.com>,
        Andrew Lunn <andrew@...n.ch>,
        Vivien Didelot <vivien.didelot@...il.com>,
        Florian Fainelli <f.fainelli@...il.com>,
        "David S. Miller" <davem@...emloft.net>,
        Eric Dumazet <edumazet@...gle.com>,
        Jakub Kicinski <kuba@...nel.org>,
        Paolo Abeni <pabeni@...hat.com>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Jens Axboe <axboe@...nel.dk>, linux-kernel@...r.kernel.org,
        netdev@...r.kernel.org
Subject: Re: Regression: qca8k_sw_probe crashes (Was: Re: [net-next PATCH v5
 01/14] net: dsa: qca8k: cache match data to speed up access)

On Wednesday 14 September 2022 23:08:57 Vladimir Oltean wrote:
> On Wed, Sep 14, 2022 at 10:06:41PM +0200, Pali Rohár wrote:
> > Hello! This commit is causing kernel crash on powerpc P2020 based board
> > with QCA8337N-AL3C switch.
> > So function of_device_get_match_data() takes as its argument NULL
> > pointer as 'priv' structure is at this stage zeroed, and which cause
> > above kernel crash. priv->dev is filled lines below:
> 
> Thanks for the report, it was solved in 'net':
> https://patchwork.kernel.org/project/netdevbpf/patch/20220904215319.13070-1-ansuelsmth@gmail.com/

Ou, I did not know that there is already fix. Quick look did not found
anything for qca8k_sw_probe. So sorry for the noise.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ