CVE-2023-53360 (GCVE-0-2023-53360)

Vulnerability from cvelistv5 – Published: 2025-09-17 14:56 – Updated: 2026-01-14 18:53
VLAI?
Title
NFSv4.2: Rework scratch handling for READ_PLUS (again)
Summary
In the Linux kernel, the following vulnerability has been resolved: NFSv4.2: Rework scratch handling for READ_PLUS (again) I found that the read code might send multiple requests using the same nfs_pgio_header, but nfs4_proc_read_setup() is only called once. This is how we ended up occasionally double-freeing the scratch buffer, but also means we set a NULL pointer but non-zero length to the xdr scratch buffer. This results in an oops the first time decoding needs to copy something to scratch, which frequently happens when decoding READ_PLUS hole segments. I fix this by moving scratch handling into the pageio read code. I provide a function to allocate scratch space for decoding read replies, and free the scratch buffer when the nfs_pgio_header is freed.
CWE
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 886959f425b6a936a30b82a297ae3aecb3b8230f , < adac9f0ddd2b291c7ce41f549fdb27a13616cff5 (git)
Affected: fbd2a05f29a95d5b42b294bf47e55a711424965b , < a2f4cb206bd94b3f4a7bb05fcdce9525283b5681 (git)
Affected: fbd2a05f29a95d5b42b294bf47e55a711424965b , < ae5d5672f1db711e91db6f52df5cb16ecd8f5692 (git)
Affected: fbd2a05f29a95d5b42b294bf47e55a711424965b , < 303a78052091c81e9003915c521fdca1c7e117af (git)
Create a notification for this product.
    Linux Linux Affected: 6.4
Unaffected: 0 , < 6.4 (semver)
Unaffected: 6.4.16 , ≤ 6.4.* (semver)
Unaffected: 6.5.3 , ≤ 6.5.* (semver)
Unaffected: 6.6 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 5.5,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2023-53360",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-01-14T18:43:57.674879Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-415",
                "description": "CWE-415 Double Free",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-01-14T18:53:00.565Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/nfs/internal.h",
            "fs/nfs/nfs42.h",
            "fs/nfs/nfs42xdr.c",
            "fs/nfs/nfs4proc.c",
            "fs/nfs/read.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "adac9f0ddd2b291c7ce41f549fdb27a13616cff5",
              "status": "affected",
              "version": "886959f425b6a936a30b82a297ae3aecb3b8230f",
              "versionType": "git"
            },
            {
              "lessThan": "a2f4cb206bd94b3f4a7bb05fcdce9525283b5681",
              "status": "affected",
              "version": "fbd2a05f29a95d5b42b294bf47e55a711424965b",
              "versionType": "git"
            },
            {
              "lessThan": "ae5d5672f1db711e91db6f52df5cb16ecd8f5692",
              "status": "affected",
              "version": "fbd2a05f29a95d5b42b294bf47e55a711424965b",
              "versionType": "git"
            },
            {
              "lessThan": "303a78052091c81e9003915c521fdca1c7e117af",
              "status": "affected",
              "version": "fbd2a05f29a95d5b42b294bf47e55a711424965b",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/nfs/internal.h",
            "fs/nfs/nfs42.h",
            "fs/nfs/nfs42xdr.c",
            "fs/nfs/nfs4proc.c",
            "fs/nfs/read.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.4"
            },
            {
              "lessThan": "6.4",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.4.*",
              "status": "unaffected",
              "version": "6.4.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.5.*",
              "status": "unaffected",
              "version": "6.5.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.6",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.4.16",
                  "versionStartIncluding": "6.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5.3",
                  "versionStartIncluding": "6.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6",
                  "versionStartIncluding": "6.4",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nNFSv4.2: Rework scratch handling for READ_PLUS (again)\n\nI found that the read code might send multiple requests using the same\nnfs_pgio_header, but nfs4_proc_read_setup() is only called once. This is\nhow we ended up occasionally double-freeing the scratch buffer, but also\nmeans we set a NULL pointer but non-zero length to the xdr scratch\nbuffer. This results in an oops the first time decoding needs to copy\nsomething to scratch, which frequently happens when decoding READ_PLUS\nhole segments.\n\nI fix this by moving scratch handling into the pageio read code. I\nprovide a function to allocate scratch space for decoding read replies,\nand free the scratch buffer when the nfs_pgio_header is freed."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-09-17T14:56:50.287Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/adac9f0ddd2b291c7ce41f549fdb27a13616cff5"
        },
        {
          "url": "https://git.kernel.org/stable/c/a2f4cb206bd94b3f4a7bb05fcdce9525283b5681"
        },
        {
          "url": "https://git.kernel.org/stable/c/ae5d5672f1db711e91db6f52df5cb16ecd8f5692"
        },
        {
          "url": "https://git.kernel.org/stable/c/303a78052091c81e9003915c521fdca1c7e117af"
        }
      ],
      "title": "NFSv4.2: Rework scratch handling for READ_PLUS (again)",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53360",
    "datePublished": "2025-09-17T14:56:50.287Z",
    "dateReserved": "2025-09-17T14:54:09.733Z",
    "dateUpdated": "2026-01-14T18:53:00.565Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"cna\": {\"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-09-17T14:56:50.287Z\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nNFSv4.2: Rework scratch handling for READ_PLUS (again)\\n\\nI found that the read code might send multiple requests using the same\\nnfs_pgio_header, but nfs4_proc_read_setup() is only called once. This is\\nhow we ended up occasionally double-freeing the scratch buffer, but also\\nmeans we set a NULL pointer but non-zero length to the xdr scratch\\nbuffer. This results in an oops the first time decoding needs to copy\\nsomething to scratch, which frequently happens when decoding READ_PLUS\\nhole segments.\\n\\nI fix this by moving scratch handling into the pageio read code. I\\nprovide a function to allocate scratch space for decoding read replies,\\nand free the scratch buffer when the nfs_pgio_header is freed.\"}], \"affected\": [{\"product\": \"Linux\", \"vendor\": \"Linux\", \"defaultStatus\": \"unaffected\", \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"programFiles\": [\"fs/nfs/internal.h\", \"fs/nfs/nfs42.h\", \"fs/nfs/nfs42xdr.c\", \"fs/nfs/nfs4proc.c\", \"fs/nfs/read.c\"], \"versions\": [{\"version\": \"886959f425b6a936a30b82a297ae3aecb3b8230f\", \"lessThan\": \"adac9f0ddd2b291c7ce41f549fdb27a13616cff5\", \"status\": \"affected\", \"versionType\": \"git\"}, {\"version\": \"fbd2a05f29a95d5b42b294bf47e55a711424965b\", \"lessThan\": \"a2f4cb206bd94b3f4a7bb05fcdce9525283b5681\", \"status\": \"affected\", \"versionType\": \"git\"}, {\"version\": \"fbd2a05f29a95d5b42b294bf47e55a711424965b\", \"lessThan\": \"ae5d5672f1db711e91db6f52df5cb16ecd8f5692\", \"status\": \"affected\", \"versionType\": \"git\"}, {\"version\": \"fbd2a05f29a95d5b42b294bf47e55a711424965b\", \"lessThan\": \"303a78052091c81e9003915c521fdca1c7e117af\", \"status\": \"affected\", \"versionType\": \"git\"}]}, {\"product\": \"Linux\", \"vendor\": \"Linux\", \"defaultStatus\": \"affected\", \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"programFiles\": [\"fs/nfs/internal.h\", \"fs/nfs/nfs42.h\", \"fs/nfs/nfs42xdr.c\", \"fs/nfs/nfs4proc.c\", \"fs/nfs/read.c\"], \"versions\": [{\"version\": \"6.4\", \"status\": \"affected\"}, {\"version\": \"0\", \"lessThan\": \"6.4\", \"status\": \"unaffected\", \"versionType\": \"semver\"}, {\"version\": \"6.4.16\", \"lessThanOrEqual\": \"6.4.*\", \"status\": \"unaffected\", \"versionType\": \"semver\"}, {\"version\": \"6.5.3\", \"lessThanOrEqual\": \"6.5.*\", \"status\": \"unaffected\", \"versionType\": \"semver\"}, {\"version\": \"6.6\", \"lessThanOrEqual\": \"*\", \"status\": \"unaffected\", \"versionType\": \"original_commit_for_fix\"}]}], \"cpeApplicability\": [{\"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"6.4\", \"versionEndExcluding\": \"6.4.16\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"6.4\", \"versionEndExcluding\": \"6.5.3\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"6.4\", \"versionEndExcluding\": \"6.6\"}]}]}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/adac9f0ddd2b291c7ce41f549fdb27a13616cff5\"}, {\"url\": \"https://git.kernel.org/stable/c/a2f4cb206bd94b3f4a7bb05fcdce9525283b5681\"}, {\"url\": \"https://git.kernel.org/stable/c/ae5d5672f1db711e91db6f52df5cb16ecd8f5692\"}, {\"url\": \"https://git.kernel.org/stable/c/303a78052091c81e9003915c521fdca1c7e117af\"}], \"title\": \"NFSv4.2: Rework scratch handling for READ_PLUS (again)\", \"x_generator\": {\"engine\": \"bippy-1.2.0\"}}, \"adp\": [{\"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 5.5, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"NONE\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2023-53360\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-01-14T18:43:57.674879Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-415\", \"description\": \"CWE-415 Double Free\"}]}], \"providerMetadata\": {\"shortName\": \"CISA-ADP\", \"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"dateUpdated\": \"2026-01-14T18:43:53.394Z\"}, \"title\": \"CISA ADP Vulnrichment\"}]}",
      "cveMetadata": "{\"cveId\": \"CVE-2023-53360\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"state\": \"PUBLISHED\", \"assignerShortName\": \"Linux\", \"dateReserved\": \"2025-09-17T14:54:09.733Z\", \"datePublished\": \"2025-09-17T14:56:50.287Z\", \"dateUpdated\": \"2025-09-17T14:56:50.287Z\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…