Skip to content
Heist/ feed
Back to feed
CriticalFix available

NFSD: Protect against send buffer overflow in NFSv2 READDIR

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: NFSD: Protect against send buffer overflow in NFSv2 READDIR Restore the previous limit on the @count argument to prevent a buffer overflow attack.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.75, 5.19.17, 6.0.3
CVEs
CVE-2022-50235
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 04:39 UTC · Revision 1

Source evidence

NFSD: Protect against send buffer overflow in NFSv2 READDIR

core-osv · Original source

Published 15 Sept 2025, 14:01 UTC

In the Linux kernel, the following vulnerability has been resolved: NFSD: Protect against send buffer overflow in NFSv2 READDIR Restore the previous limit on the @count argument to prevent a buffer overflow attack.

osv:CVE-2022-50235

Kernel

Fixed versions: 5.15.75, 5.19.17, 6.0.3

Complete source record
{
  "id": "5c98e3deb851fb077b08cb6084131b42a84a5dba2185ae43caafc5dbfc28f747",
  "url": "https://osv.dev/vulnerability/CVE-2022-50235",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "NFSD: Protect against send buffer overflow in NFSv2 READDIR",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: NFSD: Protect against send buffer overflow in NFSv2 READDIR Restore the previous limit on the @count argument to prevent a buffer overflow attack.",
    "evidence": "osv:CVE-2022-50235",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.75",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.19.17",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.0.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "CVE-2022-50235",
      "aliases": [
        "CVE-2022-50235"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "9e291a6a28d32545ed2fd959a8165144d1724df1"
                },
                {
                  "fixed": "0e57d696f60dee6117a8ace0cac7c5761d375277"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "eabc0aab98e5218ceecd82069b0d6fdfff5ee885"
                },
                {
                  "fixed": "dc7f225090c29a5f3b9419b1af32846a201555e7"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "53b1119a6e5028b125f431a0116ba73510d82a72"
                },
                {
                  "fixed": "c2a878095b5c6f04f90553a3c45872f990dab14e"
                },
                {
                  "fixed": "f59c74df82f6ac9d2ea4e01aa3ae7c6c4481652d"
                },
                {
                  "fixed": "00b4492686e0497fdb924a9d4c8f6f99377e176c"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5.15.12"
                },
                {
                  "fixed": "5.15.75"
                }
              ]
            }
          ],
          "versions": [
            "v5.15.74",
            "v5.15.73",
            "v5.15.72",
            "v5.15.71",
            "v5.15.70",
            "v5.15.69",
            "v5.15.68",
            "v5.15.67",
            "v5.15.66",
            "v5.15.65",
            "v5.15.64",
            "v5.15.63",
            "v5.15.62",
            "v5.15.61",
            "v5.15.60",
            "v5.15.59",
            "v5.15.58",
            "v5.15.57",
            "v5.15.56",
            "v5.15.55",
            "v5.15.54",
            "v5.15.53",
            "v5.15.52",
            "v5.15.51",
            "v5.15.50",
            "v5.15.49",
            "v5.15.48",
            "v5.15.47",
            "v5.15.46",
            "v5.15.45",
            "v5.15.44",
            "v5.15.43",
            "v5.15.42",
            "v5.15.41",
            "v5.15.40",
            "v5.15.39",
            "v5.15.38",
            "v5.15.37",
            "v5.15.36",
            "v5.15.35",
            "v5.15.34",
            "v5.15.33",
            "v5.15.32",
            "v5.15.31",
            "v5.15.30",
            "v5.15.29",
            "v5.15.28",
            "v5.15.27",
            "v5.15.26",
            "v5.15.25",
            "v5.15.24",
            "v5.15.23",
            "v5.15.22",
            "v5.15.21",
            "v5.15.20",
            "v5.15.19",
            "v5.15.18",
            "v5.15.17",
            "v5.15.16",
            "v5.15.15",
            "v5.15.14",
            "v5.15.13",
            "v5.15.12"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50235.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.15.75"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "5.19.17"
                },
                {
                  "fixed": "6.0.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50235.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.796336092Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/00b4492686e0497fdb924a9d4c8f6f99377e176c",
        "https://git.kernel.org/stable/c/0e57d696f60dee6117a8ace0cac7c5761d375277",
        "https://git.kernel.org/stable/c/c2a878095b5c6f04f90553a3c45872f990dab14e",
        "https://git.kernel.org/stable/c/dc7f225090c29a5f3b9419b1af32846a201555e7",
        "https://git.kernel.org/stable/c/f59c74df82f6ac9d2ea4e01aa3ae7c6c4481652d",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50235.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-50235",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50235.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-50235",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 518198,
  "published_at": "2025-09-15T14:01:41.043+00:00"
}