On Tue, Feb 03, 2026 at 06:10:55AM +0000, Tzung-Bi Shih wrote: > --- > v2: > - Change usages accordingly after applying > https://lore.kernel.org/all/[email protected]. > - Preserve a local storage for `struct revocable`. > - Combine multiple patches (see "v1:").
Forgot to mention it in the changelog: - v2 fixes a race condition reported in https://lore.kernel.org/all/CAMRc=mcdaipt85ohm0mkslkuf6e79dy1unsqqbcjnoqtus8...@mail.gmail.com/ and analyzed in https://lore.kernel.org/all/aXEEUWwkxHZzCnaI@tzungbi-laptop/. In v1, the blocking_notifier_chain_unregister() will be skipped if the chip has been removed, leading an UAF in gpiolib_cdev_unregister(). In v2, it won't skip blocking_notifier_chain_unregister(). > > v1: > - https://lore.kernel.org/all/[email protected] > - https://lore.kernel.org/all/[email protected] > - https://lore.kernel.org/all/[email protected] > - https://lore.kernel.org/all/[email protected] > - https://lore.kernel.org/all/[email protected]

