mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] afs: Miscellaneous fixes
@ 2026-07-23 11:34 David Howells
  2026-07-23 11:34 ` [PATCH 1/3] afs: Fix afs_fs_fetch_data() to set call->async David Howells
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: David Howells @ 2026-07-23 11:34 UTC (permalink / raw)
  To: Christian Brauner
  Cc: David Howells, Marc Dionne, linux-afs, linux-fsdevel, linux-kernel

Hi Christian,

Can you pick up these miscellaneous AFS fixes, please?  Note that most of
these are derived from Sashiko review of some rxrpc patches[1][2].

 (1) Fix afs_fs_fetch_data() to set call->async.

 (2) Fix afs_fs_fetch_data() to subtract transferred from len instead of
     adding it.

 (3) Fix a UAF when sending a message if the call is completed so quickly
     that the sending code hasn't finished with it when it gets freed.

The patches can be found here:

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

Thanks,
David

[1] https://sashiko.dev/#/patchset/20260702144919.172295-1-dhowells%40redh
[2] https://sashiko.dev/#/patchset/20260713081022.2186481-1-dhowells%40red

David Howells (3):
  afs: Fix afs_fs_fetch_data() to set call->async
  afs: Fix afs_fs_fetch_data() to subtract transferred from len
  afs: Fix UAF when sending a message

 fs/afs/fsclient.c | 5 ++++-
 fs/afs/internal.h | 3 ++-
 2 files changed, 6 insertions(+), 2 deletions(-)


^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH 0/3] afs: Miscellaneous fixes
@ 2021-07-12 12:57 David Howells
  0 siblings, 0 replies; 6+ messages in thread
From: David Howells @ 2021-07-12 12:57 UTC (permalink / raw)
  To: linux-afs
  Cc: Tom Rix, Alexey Dobriyan (SK hynix),
	Andrew Morton, Abaci Robot, Steven Rostedt (VMware),
	Jiapeng Chong, dhowells, Marc Dionne, linux-fsdevel,
	linux-kernel


Here are some fixes for AFS:

 (1) Fix a tracepoint that causes one of the tracing subsystem query files
     to crash if the module is loaded[1].

 (2) Fix afs_writepages() to take account of whether the storage rpc
     actually succeeded when updating the cyclic writeback counter[2].

 (3) Fix some error code propagation/handling[3].

The patches can be found here:

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

David

Link: https://lore.kernel.org/r/162430903582.2896199.6098150063997983353.stgit@warthog.procyon.org.uk/ [1]
Link: https://lore.kernel.org/r/20210430155031.3287870-1-trix@redhat.com [2]
Link: https://lore.kernel.org/r/1619691492-83866-1-git-send-email-jiapeng.chong@linux.alibaba.com [3]

---
David Howells (1):
      afs: Fix tracepoint string placement with built-in AFS

Jiapeng Chong (1):
      afs: Remove redundant assignment to ret

Tom Rix (1):
      afs: check function return


 fs/afs/dir.c   | 10 ++++++----
 fs/afs/write.c |  2 +-
 2 files changed, 7 insertions(+), 5 deletions(-)



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

end of thread, other threads:[~2026-07-28  7:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-23 11:34 [PATCH 0/3] afs: Miscellaneous fixes David Howells
2026-07-23 11:34 ` [PATCH 1/3] afs: Fix afs_fs_fetch_data() to set call->async David Howells
2026-07-23 11:34 ` [PATCH 2/3] afs: Fix afs_fs_fetch_data() to subtract transferred from len David Howells
2026-07-23 11:34 ` [PATCH 3/3] afs: Fix UAF when sending a message David Howells
2026-07-28  7:21 ` [PATCH 0/3] afs: Miscellaneous fixes Christian Brauner
  -- strict thread matches above, loose matches on Subject: below --
2021-07-12 12:57 David Howells

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

all inboxes | Powered by JetHome®