Re: [PATCH 6.18 227/250] eventfs: Use children field for rcu head and add memory barriers
Sasha Levin <[email protected]>
| Newsgroups | dev.linux.lists.patches,org.kernel.vger.stable |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Aug 19, 2026 at 04:49:37AM +0000, Jose Fernandez wrote:
> 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.
>
> 6.6 needs the same fixup too. 7.1 has 4d9b262031ff, so it is fine.
Confirmed, and sorry for the missing reply here - I only announced this in
Harshit's 6.12 thread. The patch is dropped from 6.18, 6.12 and 6.6, and
kept on 7.1, where guard(srcu) makes the early return safe.
If someone posts a properly adapted backport for the older trees I'm happy
to take it.
--
Thanks,
Sasha