Re: [PATCH 6.18 227/250] eventfs: Use children field for rcu head and add memory barriers

"Jose Fernandez (Anthropic)" <[email protected]>
Newsgroups dev.linux.lists.patches,org.kernel.vger.stable
Message-ID <[email protected]>
Hi Greg,

Harshit's report on the 6.12 copy of this patch applies to 6.18 as
well:

  https://lore.kernel.org/stable/[email protected]/

6.18.y also lacks 4d9b262031ff ("eventfs: Simplify code using
guard()s"), so the new direct return leaks the SRCU read lock. The same
fixup works here. Lockdep confirms the leak on 6.18.44 with the two
eventfs patches applied, and is quiet with the fixup. This one is also
from AI-assisted review, which I checked.

6.6 needs the same fixup too. 7.1 has 4d9b262031ff, so it is fine.

Thanks,
Jose
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.