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  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 24 May 2020 09:43:14 -0700
From:   Guenter Roeck <>
To:     Greg Kroah-Hartman <>,
Cc:     Naresh Kamboju <>,
        kernel test robot <>,
        stable <>,
        Andy Shevchenko <>,
        Brendan Higgins <>,
        Dmitry Torokhov <>,
        Heikki Krogerus <>,
        Petr Mladek <>,
        "Rafael J . Wysocki" <>,
        Randy Dunlap <>,
        Rasmus Villemoes <>,
        Sakari Ailus <>,
        Sergey Senozhatsky <>,
        Steven Rostedt <>
Subject: Re: [PATCH 1/2] software node: implement software_node_unregister()

On 5/24/20 8:30 AM, Greg Kroah-Hartman wrote:
> Sometimes it is better to unregister individual nodes instead of trying
> to do them all at once with software_node_unregister_nodes(), so create
> software_node_unregister() so that you can unregister them one at a
> time.
> This is especially important when creating nodes in a hierarchy, with
> parent -> children representations.  Children always need to be removed
> before a parent is, as the swnode logic assumes this is going to be the
> case.
> Fix up the lib/test_printf.c fwnode_pointer() test which to use this new
> function as it had the problem of tearing things down in the backwards
> order.
> Fixes: f1ce39df508d ("lib/test_printf: Add tests for %pfw printk modifier")
> Reported-by: Naresh Kamboju <>
> Reported-by: kernel test robot <>
> Cc: stable <>
> Cc: Andy Shevchenko <>
> Cc: Brendan Higgins <>
> Cc: Dmitry Torokhov <>
> Cc: Heikki Krogerus <>
> Cc: Petr Mladek <>
> Cc: Rafael J. Wysocki <>
> Cc: Randy Dunlap <>
> Cc: Rasmus Villemoes <>
> Cc: Sakari Ailus <>
> Cc: Sergey Senozhatsky <>
> Cc: Steven Rostedt <>
> Signed-off-by: Greg Kroah-Hartman <>

Both patches pass my boot tests on arm64 and arm64be (I didn't test any others).

Tested-by: Guenter Roeck <>

I wasn't sure it the two patches replace or fix commit 4ef12f719802 ("kobject:
Make sure the parent does not get released before its children"), so I tried
to re-apply 4ef12f719802 on top of the two patches. Unfortunately that still
results in crashes and UAF messages.


Powered by blists - more mailing lists