Skip to content

nfs: protect against corrupt packets and userdata

Sascha Hauer barebox 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am 20260402-net-nfs-buffer-overflows-v1-0-5dc46ef1da81@pengutronix.de change-id 20260402-net-nfs-buffer-overflows-48255656eefe

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2fs: nfs: fix stack and packet buffer overflows from long NFS pathsfs/nfs.c+14 -01 reply
2/2fs: nfs: fix NULL dereference in nfs_read_req on truncated packetsfs/nfs.c+4 -02 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchClaude Opus 4.6 (1M context)Ahmad Fatoum
1/2Co-Authored-By A-b
2/2Co-Authored-By R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] nfs: protect against corrupt packets and userdata

One patch protecting against a too long mount path and one against truncated packets.

---
Sascha Hauer (2):
fs: nfs: fix stack and packet buffer overflows from long NFS paths
fs: nfs: fix NULL dereference in nfs_read_req on truncated packets

 fs/nfs.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

---
base-commit: 0933e8f2ebf0d91dfcf177a4e4292b02921a53f1
change-id: 20260402-net-nfs-buffer-overflows-48255656eefe

Best regards,

Signature · 1 line
Sascha Hauer <[email protected]>