Re: [PATCH v4 2/3] hwspinlock: add list of mailboxes to debugfs

From: Wolfram Sang

Date: Sun Jul 26 2026 - 17:22:09 EST



> [Severity: High]
> This isn't a bug introduced by this patch, but this debugfs addition exposes
> a pre-existing lifetime issue with hwspinlock devices.
>
> Can a concurrent device unbind cause a use-after-free here?

My next hwspinlock series will tackle the plenty of UAF issues.