CVE-2023-53680

Summary

In the Linux kernel, the following vulnerability has been resolved:

NFSD: Avoid calling OPDESC() with ops->opnum == OP_ILLEGAL

OPDESC() simply indexes into nfsd4_ops[] by the op's operation number, without range checking that value. It assumes callers are careful to avoid calling it with an out-of-bounds opnum value.

nfsd4_decode_compound() is not so careful, and can invoke OPDESC() with opnum set to OP_ILLEGAL, which is 10044 – well beyond the end of nfsd4_ops[].

Affected Software

VendorProductVersion RangeStatus
LinuxLinuxf4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8 < 50827896c365e0f6c8b55ed56d444dafd87c92c5affected
LinuxLinuxf4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8 < a64160124d5a078be0c380b1e8a0bad2d040d3a1affected
LinuxLinuxf4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8 < ffcbcf087581ae68ddc0a21460f7ecd4315bdd0eaffected
LinuxLinuxf4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8 < f352c41fa718482979e7e6b71b4da2b718e381ccaffected
LinuxLinuxf4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8 < 804d8e0a6e54427268790472781e03bc243f4ee3affected
LinuxLinux4.14affected
LinuxLinux0 < 4.14unaffected
LinuxLinux5.10.220 <= 5.10.*unaffected
LinuxLinux5.15.107 <= 5.15.*unaffected
LinuxLinux6.1.24 <= 6.1.*unaffected
LinuxLinux6.2.11 <= 6.2.*unaffected
LinuxLinux6.3 <= *unaffected

Weaknesses

References