Linux filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/3] netfs, cachefiles: Miscellaneous fixes
@ 2026-08-24 12:02 David Howells
  2026-08-24 12:02 ` [PATCH 1/3] netfs: Fix uninitialized return value in netfs_unbuffered_write() David Howells
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David Howells @ 2026-08-24 12:02 UTC (permalink / raw)
  To: Christian Brauner
  Cc: David Howells, Paulo Alcantara, netfs, linux-afs, linux-cifs,
	ceph-devel, linux-fsdevel, linux-kernel

Hi Christian,

Here are a couple of miscellaneous fixes for netfslib and one for cachefiles,
if you could pick them up?

 (1) Fix an uninitialised return value from netfs_unbuffered_write().

 (2) Fix read progress reporting to avoid 64-bit tearing on a 32-bit
     machine.  This has been modified from the previous submission as part
     of a different series to take account of a sashiko reported issue[1].

 (3) Fix a potential UAF/KASAN warning reported by sashiko[1] in cachefiles in
     which the coherency data buffer is cast to a __be64* and dereferenced in
     a tracepoint - even though it might not be at least that large (or
     aligned).

The patches can also be found here:

	https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=netfs-fixes

Thanks,
David

[1] https://sashiko.dev/#/patchset/20260810144746.574036-1-dhowells%40redhat.com

David Howells (2):
  netfs: Fix read progress reporting
  cachefiles: Fix potential UAF/KASAN warning

Karl Mehltretter (1):
  netfs: Fix uninitialized return value in netfs_unbuffered_write()

 fs/cachefiles/xattr.c             | 16 ++++-----
 fs/netfs/buffered_read.c          |  4 +++
 fs/netfs/direct_write.c           |  2 +-
 fs/netfs/internal.h               |  1 +
 fs/netfs/objects.c                | 32 ++++++++++-------
 fs/netfs/read_collect.c           | 58 +++++++++++++++++++++++--------
 fs/netfs/read_single.c            |  2 ++
 include/linux/netfs.h             |  2 +-
 include/trace/events/cachefiles.h | 19 ++++++++--
 include/trace/events/netfs.h      | 21 +++++++++++
 10 files changed, 119 insertions(+), 38 deletions(-)


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-08-24 12:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-24 12:02 [PATCH 0/3] netfs, cachefiles: Miscellaneous fixes David Howells
2026-08-24 12:02 ` [PATCH 1/3] netfs: Fix uninitialized return value in netfs_unbuffered_write() David Howells
2026-08-24 12:02 ` [PATCH 2/3] netfs: Fix read progress reporting David Howells
2026-08-24 12:02 ` [PATCH 3/3] cachefiles: Fix potential UAF/KASAN warning David Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox