CVE-2025-22026 (GCVE-0-2025-22026)
Vulnerability from cvelistv5
Published
2025-04-16 14:11
Modified
2026-06-19 11:57
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: nfsd: don't ignore the return code of svc_proc_register() Currently, nfsd_proc_stat_init() ignores the return value of svc_proc_register(). If the procfile creation fails, then the kernel will WARN when it tries to remove the entry later. Fix nfsd_proc_stat_init() to return the same type of pointer as svc_proc_register(), and fix up nfsd_net_init() to check that and fail the nfsd_net construction if it occurs. svc_proc_register() can fail if the dentry can't be allocated, or if an identical dentry already exists. The second case is pretty unlikely in the nfsd_net construction codepath, so if this happens, return -ENOMEM.
Impacted products
Vendor Product Version
Linux Linux Version: 5545496966631cd40ad3aa6450be56d0e5773d10
Version: 73c43bccf25cec9cdec62fc22a513c28a4b28390
Version: 10ece754df9a799131a1cf3197e9d26c04ddec22
Version: 6f8d6ed3426a17f77628cebfb6a6e2c6f2b2496c
Version: 93483ac5fec62cc1de166051b219d953bb5e4ef4
Version: 93483ac5fec62cc1de166051b219d953bb5e4ef4
Version: 93483ac5fec62cc1de166051b219d953bb5e4ef4
Version: 93483ac5fec62cc1de166051b219d953bb5e4ef4
Version: b7b05f98f3f06fea3986b46e5c7fe2928676b02d
Version: 5.10.226   
Version: 5.15.166   
Version: 6.1.106   
Version: 6.6.47   
Version: 6.8.10   
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2025-22026",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-06-10T20:40:43.644362Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-06-11T18:44:04.589Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/nfsd/nfsctl.c",
            "fs/nfsd/stats.c",
            "fs/nfsd/stats.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "51107e768de6821b68aa34a136d07bc7a09cf6c3",
              "status": "affected",
              "version": "5545496966631cd40ad3aa6450be56d0e5773d10",
              "versionType": "git"
            },
            {
              "lessThan": "e4316bd85e42b01125b2aab691769234a388b8a3",
              "status": "affected",
              "version": "73c43bccf25cec9cdec62fc22a513c28a4b28390",
              "versionType": "git"
            },
            {
              "lessThan": "51da899c209a9624e48be416bd30e7ed5cd6c3d8",
              "status": "affected",
              "version": "10ece754df9a799131a1cf3197e9d26c04ddec22",
              "versionType": "git"
            },
            {
              "lessThan": "30405b23b4d5e2a596fb756d48119d7293194e75",
              "status": "affected",
              "version": "6f8d6ed3426a17f77628cebfb6a6e2c6f2b2496c",
              "versionType": "git"
            },
            {
              "lessThan": "6a59b70fe71ec66c0dd19e2c279c71846a3fb2f0",
              "status": "affected",
              "version": "93483ac5fec62cc1de166051b219d953bb5e4ef4",
              "versionType": "git"
            },
            {
              "lessThan": "e31957a819e60cf0bc9a49408765e6095fd3d046",
              "status": "affected",
              "version": "93483ac5fec62cc1de166051b219d953bb5e4ef4",
              "versionType": "git"
            },
            {
              "lessThan": "9d9456185fd5f1891c74354ee297f19538141ead",
              "status": "affected",
              "version": "93483ac5fec62cc1de166051b219d953bb5e4ef4",
              "versionType": "git"
            },
            {
              "lessThan": "930b64ca0c511521f0abdd1d57ce52b2a6e3476b",
              "status": "affected",
              "version": "93483ac5fec62cc1de166051b219d953bb5e4ef4",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "b7b05f98f3f06fea3986b46e5c7fe2928676b02d",
              "versionType": "git"
            },
            {
              "lessThan": "5.10.259",
              "status": "affected",
              "version": "5.10.226",
              "versionType": "semver"
            },
            {
              "lessThan": "5.15.210",
              "status": "affected",
              "version": "5.15.166",
              "versionType": "semver"
            },
            {
              "lessThan": "6.1.164",
              "status": "affected",
              "version": "6.1.106",
              "versionType": "semver"
            },
            {
              "lessThan": "6.6.125",
              "status": "affected",
              "version": "6.6.47",
              "versionType": "semver"
            },
            {
              "lessThan": "6.9",
              "status": "affected",
              "version": "6.8.10",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/nfsd/nfsctl.c",
            "fs/nfsd/stats.c",
            "fs/nfsd/stats.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.9"
            },
            {
              "lessThan": "6.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.259",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.210",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.164",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.125",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.24",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.13.*",
              "status": "unaffected",
              "version": "6.13.12",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.14.*",
              "status": "unaffected",
              "version": "6.14.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.15",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.259",
                  "versionStartIncluding": "5.10.226",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.210",
                  "versionStartIncluding": "5.15.166",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.164",
                  "versionStartIncluding": "6.1.106",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.125",
                  "versionStartIncluding": "6.6.47",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.24",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.13.12",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.14.2",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.15",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.8.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: don\u0027t ignore the return code of svc_proc_register()\n\nCurrently, nfsd_proc_stat_init() ignores the return value of\nsvc_proc_register(). If the procfile creation fails, then the kernel\nwill WARN when it tries to remove the entry later.\n\nFix nfsd_proc_stat_init() to return the same type of pointer as\nsvc_proc_register(), and fix up nfsd_net_init() to check that and fail\nthe nfsd_net construction if it occurs.\n\nsvc_proc_register() can fail if the dentry can\u0027t be allocated, or if an\nidentical dentry already exists. The second case is pretty unlikely in\nthe nfsd_net construction codepath, so if this happens, return -ENOMEM."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-06-19T11:57:15.085Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/51107e768de6821b68aa34a136d07bc7a09cf6c3"
        },
        {
          "url": "https://git.kernel.org/stable/c/e4316bd85e42b01125b2aab691769234a388b8a3"
        },
        {
          "url": "https://git.kernel.org/stable/c/51da899c209a9624e48be416bd30e7ed5cd6c3d8"
        },
        {
          "url": "https://git.kernel.org/stable/c/30405b23b4d5e2a596fb756d48119d7293194e75"
        },
        {
          "url": "https://git.kernel.org/stable/c/6a59b70fe71ec66c0dd19e2c279c71846a3fb2f0"
        },
        {
          "url": "https://git.kernel.org/stable/c/e31957a819e60cf0bc9a49408765e6095fd3d046"
        },
        {
          "url": "https://git.kernel.org/stable/c/9d9456185fd5f1891c74354ee297f19538141ead"
        },
        {
          "url": "https://git.kernel.org/stable/c/930b64ca0c511521f0abdd1d57ce52b2a6e3476b"
        }
      ],
      "title": "nfsd: don\u0027t ignore the return code of svc_proc_register()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-22026",
    "datePublished": "2025-04-16T14:11:47.243Z",
    "dateReserved": "2024-12-29T08:45:45.807Z",
    "dateUpdated": "2026-06-19T11:57:15.085Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2025-22026\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-06-10T20:40:43.644362Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-06-11T17:37:34.130Z\"}}], \"cna\": {\"title\": \"nfsd: don\u0027t ignore the return code of svc_proc_register()\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5545496966631cd40ad3aa6450be56d0e5773d10\", \"lessThan\": \"51107e768de6821b68aa34a136d07bc7a09cf6c3\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"73c43bccf25cec9cdec62fc22a513c28a4b28390\", \"lessThan\": \"e4316bd85e42b01125b2aab691769234a388b8a3\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"10ece754df9a799131a1cf3197e9d26c04ddec22\", \"lessThan\": \"51da899c209a9624e48be416bd30e7ed5cd6c3d8\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"6f8d6ed3426a17f77628cebfb6a6e2c6f2b2496c\", \"lessThan\": \"30405b23b4d5e2a596fb756d48119d7293194e75\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"93483ac5fec62cc1de166051b219d953bb5e4ef4\", \"lessThan\": \"6a59b70fe71ec66c0dd19e2c279c71846a3fb2f0\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"93483ac5fec62cc1de166051b219d953bb5e4ef4\", \"lessThan\": \"e31957a819e60cf0bc9a49408765e6095fd3d046\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"93483ac5fec62cc1de166051b219d953bb5e4ef4\", \"lessThan\": \"9d9456185fd5f1891c74354ee297f19538141ead\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"93483ac5fec62cc1de166051b219d953bb5e4ef4\", \"lessThan\": \"930b64ca0c511521f0abdd1d57ce52b2a6e3476b\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"b7b05f98f3f06fea3986b46e5c7fe2928676b02d\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5.10.226\", \"lessThan\": \"5.10.259\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"5.15.166\", \"lessThan\": \"5.15.210\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"6.1.106\", \"lessThan\": \"6.1.164\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"6.6.47\", \"lessThan\": \"6.6.125\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"6.8.10\", \"lessThan\": \"6.9\", \"versionType\": \"semver\"}], \"programFiles\": [\"fs/nfsd/nfsctl.c\", \"fs/nfsd/stats.c\", \"fs/nfsd/stats.h\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.9\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.9\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.10.259\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.210\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.164\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.125\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.12.24\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.12.*\"}, {\"status\": \"unaffected\", \"version\": \"6.13.12\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.13.*\"}, {\"status\": \"unaffected\", \"version\": \"6.14.2\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.14.*\"}, {\"status\": \"unaffected\", \"version\": \"6.15\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"fs/nfsd/nfsctl.c\", \"fs/nfsd/stats.c\", \"fs/nfsd/stats.h\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/51107e768de6821b68aa34a136d07bc7a09cf6c3\"}, {\"url\": \"https://git.kernel.org/stable/c/e4316bd85e42b01125b2aab691769234a388b8a3\"}, {\"url\": \"https://git.kernel.org/stable/c/51da899c209a9624e48be416bd30e7ed5cd6c3d8\"}, {\"url\": \"https://git.kernel.org/stable/c/30405b23b4d5e2a596fb756d48119d7293194e75\"}, {\"url\": \"https://git.kernel.org/stable/c/6a59b70fe71ec66c0dd19e2c279c71846a3fb2f0\"}, {\"url\": \"https://git.kernel.org/stable/c/e31957a819e60cf0bc9a49408765e6095fd3d046\"}, {\"url\": \"https://git.kernel.org/stable/c/9d9456185fd5f1891c74354ee297f19538141ead\"}, {\"url\": \"https://git.kernel.org/stable/c/930b64ca0c511521f0abdd1d57ce52b2a6e3476b\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnfsd: don\u0027t ignore the return code of svc_proc_register()\\n\\nCurrently, nfsd_proc_stat_init() ignores the return value of\\nsvc_proc_register(). If the procfile creation fails, then the kernel\\nwill WARN when it tries to remove the entry later.\\n\\nFix nfsd_proc_stat_init() to return the same type of pointer as\\nsvc_proc_register(), and fix up nfsd_net_init() to check that and fail\\nthe nfsd_net construction if it occurs.\\n\\nsvc_proc_register() can fail if the dentry can\u0027t be allocated, or if an\\nidentical dentry already exists. The second case is pretty unlikely in\\nthe nfsd_net construction codepath, so if this happens, return -ENOMEM.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.259\", \"versionStartIncluding\": \"5.10.226\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.210\", \"versionStartIncluding\": \"5.15.166\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.164\", \"versionStartIncluding\": \"6.1.106\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.125\", \"versionStartIncluding\": \"6.6.47\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.12.24\", \"versionStartIncluding\": \"6.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.13.12\", \"versionStartIncluding\": \"6.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.14.2\", \"versionStartIncluding\": \"6.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.15\", \"versionStartIncluding\": \"6.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionStartIncluding\": \"6.8.10\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-06-19T11:57:15.085Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2025-22026\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-06-19T11:57:15.085Z\", \"dateReserved\": \"2024-12-29T08:45:45.807Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2025-04-16T14:11:47.243Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


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 seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…