mbox series

[0/2] Fix XDR decoder integer overflows

Message ID 172658941960.2454.16533800561565430909.stgit@oracle-102.chuck.lever.oracle.com.nfsv4.dev (mailing list archive)
Headers show
Series Fix XDR decoder integer overflows | expand

Message

Chuck Lever Sept. 17, 2024, 4:15 p.m. UTC
As reported yesterday by Dan Carpenter. I plan to apply these for
v6.13. Review comments welcome.

---

Chuck Lever (2):
      NFSD: Prevent a potential integer overflow
      svcrdma: Address an integer overflow


 fs/nfsd/nfs4callback.c                  | 14 +++++++-------
 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c |  8 +++++++-
 2 files changed, 14 insertions(+), 8 deletions(-)

--
Chuck Lever

Comments

Jeff Layton Sept. 18, 2024, 6:58 a.m. UTC | #1
On Tue, 2024-09-17 at 12:15 -0400, Chuck Lever wrote:
> As reported yesterday by Dan Carpenter. I plan to apply these for
> v6.13. Review comments welcome.
> 
> ---
> 
> Chuck Lever (2):
>       NFSD: Prevent a potential integer overflow
>       svcrdma: Address an integer overflow
> 
> 
>  fs/nfsd/nfs4callback.c                  | 14 +++++++-------
>  net/sunrpc/xprtrdma/svc_rdma_recvfrom.c |  8 +++++++-
>  2 files changed, 14 insertions(+), 8 deletions(-)
> 
> --
> Chuck Lever
> 
> 

Reviewed-by: Jeff Layton <jlayton@kernel.org>