Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

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[].

Announced Source revision 1
Original source ↗

CVE-2023-53680

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2023-53680

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "f4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8",
        "lessThan": "50827896c365e0f6c8b55ed56d444dafd87c92c5",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8",
        "lessThan": "a64160124d5a078be0c380b1e8a0bad2d040d3a1",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8",
        "lessThan": "ffcbcf087581ae68ddc0a21460f7ecd4315bdd0e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8",
        "lessThan": "f352c41fa718482979e7e6b71b4da2b718e381cc",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8",
        "lessThan": "804d8e0a6e54427268790472781e03bc243f4ee3",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "fs/nfsd/nfs4xdr.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.14"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.14",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.220",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.107",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.24",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.2.11",
        "versionType": "semver",
        "lessThanOrEqual": "6.2.*"
      },
      {
        "status": "unaffected",
        "version": "6.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/nfsd/nfs4xdr.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2023-53680

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#30304 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement