Re: (subset) [PATCH v4 00/10] nvmem: rework nvmem core and allow unbinding with active consumers
From: Srinivas Kandagatla
Date: Sat May 30 2026 - 16:40:39 EST
On Thu, 21 May 2026 16:25:33 +0200, Bartosz Golaszewski wrote:
> Sashiko pointed out some issues so this iteration fixes them. I'm also
> Cc'ing Loic who seems to have encountered the issue of unbinding with
> active consumers when working on the block nvmem provider.
>
> Nvmem is one of the subsystems vulnerable to object life-time issues.
> The memory nvmem core dereferences is owned by nvmem providers which can
> be unbound at any time and even though nvmem devices themselves are
> reference-counted, there's no synchronization with the provider modules.
>
> [...]
Applied, thanks!
[01/10] nvmem: core: fix use-after-free bugs in error paths
commit: 034b31a7b03d5d0a0bf1ad67ccb84c2ddaddd7c2
Best regards,
--
Srinivas Kandagatla <srini@xxxxxxxxxx>