Re: [PATCH v2] driver core: Fix userspace expectations of uevent_show() as a probe barrier
From: Dan Williams
Date: Mon Oct 07 2024 - 20:27:12 EST
Dan Williams wrote:
> Changes since v1 [1]:
> - Move the new "locked" infrastructure to private header files to make
> it clear it is not approved for general usage (Greg)
Greg, per the 0day report and further testing I am missing something
subtle in using kernfs open files to pin device objects. So hold off on
this for now until I can get that root caused. If someone else can spot
what I missed feel free to chime in, but otherwise I will circle back.
If I don't get back to this before -rc6 I think the theoretical deadlock
that would be re-introduced by a revert of 15fffc6a5624 would be
preferable to this reported regression. I am not aware of any reports of
that deadlock triggering in practice.