]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NFSD: Avoid corruption of a referring call list
authorChuck Lever <chuck.lever@oracle.com>
Sun, 8 Jun 2025 22:08:51 +0000 (18:08 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Fri, 13 Jun 2025 00:37:32 +0000 (20:37 -0400)
commit32ce6b3a83b71d8abf0c0837dc78775f16c9902f
treec8dd0ba11124ad761abc10da7741756e482e4db8
parent425364dc49f050b6008b43408aa96d42105a9c1d
NFSD: Avoid corruption of a referring call list

The new code neglects to remove a freshly-allocated RCL from the
callback's referring call list when no matching referring call is
found.

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/202505171002.cE46sdj5-lkp@intel.com/
Fixes: 4f3c8d8c9e10 ("NFSD: Implement CB_SEQUENCE referring call lists")
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4callback.c