Skip to contentSkip to conversation

9p fixes for 6.18-rc1

GIT PULL Merged Dominique Martinet 2 participants 2 messages Oct 9, 2025 9P file system

lore
Share & tools
lore

Dominique Martinet

author maintainer
#0 lore raw

The following changes since commit 8f5ae30d69d7543eee0d70083daf4de8fe15d585:

Linux 6.17-rc1 (2025-08-10 19:41:16 +0300)

are available in the Git repository at:

https://github.com/martinetd/linux tags/9p-for-6.18-rc1

for you to fetch changes up to 528f218b31aac4bbfc58914d43766a22ab545d48:

9p: sysfs_init: don't hardcode error to ENOMEM (2025-09-27 21:44:38 +0900)

----------------------------------------------------------------
Bunch of unrelated fixes

- polling fix for trans fd that ought to have been fixed otherwise back in March, but apparently came back somewhere else...
- USB transport buffer overflow fix
- Some dentry lifetime rework to handle metadata update for currently opened files in uncached mode, or inode type change in cached mode
- a double-put on invalid flush found by syzbot
- and finally /sys/fs/9p/caches not advancing buffer and overwriting itself for large contents

Thanks to everyone involved!

----------------------------------------------------------------
Dominique Martinet (1):
net/9p: Fix buffer overflow in USB transport layer

Nalivayko Sergey (1):
net/9p: fix double req put in p9_fd_cancelled

Oleg Nesterov (1):
9p/trans_fd: p9_fd_request: kick rx thread if EPOLLIN

Randall P. Embry (3):
9p: clean up comment typos
9p: fix /sys/fs/9p/caches overwriting itself 9p: sysfs_init: don't hardcode error to ENOMEM

Tingmao Wang (3):
fs/9p: Refresh metadata in d_revalidate for uncached mode too fs/9p: Invalidate dentry if inode type change detected in cached mode fs/9p: Add p9_debug(VFS) in d_revalidate

 fs/9p/v9fs.c           | 16 +++++++++-------
 fs/9p/vfs_dentry.c     | 33 +++++++++++++++++++++++++++++----
 fs/9p/vfs_inode.c      |  8 +++++++-
 fs/9p/vfs_inode_dotl.c |  8 +++++++-
 net/9p/trans_fd.c      | 17 +++++------------
 net/9p/trans_usbg.c    | 16 +++++++++++++---
 6 files changed, 70 insertions(+), 28 deletions(-)
Signature · 1 line
Dominique Martinet | Asmadeus