Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2023-53680

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

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • f4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8 to < 50827896c365e0f6c8b55ed56d444dafd87c92c5affected
  • f4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8 to < a64160124d5a078be0c380b1e8a0bad2d040d3a1affected
  • f4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8 to < ffcbcf087581ae68ddc0a21460f7ecd4315bdd0eaffected
  • f4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8 to < f352c41fa718482979e7e6b71b4da2b718e381ccaffected
  • f4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8 to < 804d8e0a6e54427268790472781e03bc243f4ee3affected

Linux Linux

Default version status: affected

  • 4.14affected
  • 0 to < 4.14unaffected
  • 5.10.220 to ≤ 5.10.*unaffected
  • 5.15.107 to ≤ 5.15.*unaffected
  • 6.1.24 to ≤ 6.1.*unaffected
  • 6.2.11 to ≤ 6.2.*unaffected
  • 6.3 to ≤ *unaffected

References