Re: netfs_read_gaps(): aliased sink folio makes the read destination unreadable, SIGBUS on cifs with signing

From: David Howells

Date: Wed Sep 09 2026 - 13:55:58 EST


Frank Sorenson <sorenson@xxxxxxxxxx> wrote:

> unlocks something that was never locked, and never drops the reference.
>
> So should these be folio_put() instead?

Bah... Yes.

> 2) if netfs_alloc_request() fails, the kfree(bvec) at alloc_error is reachable
> before bvec is assigned,

Fair point.

David