{"api_version":"1","generated_at":"2026-07-24T22:15:52+00:00","cve":"CVE-2025-22026","urls":{"html":"https://cve.report/CVE-2025-22026","api":"https://cve.report/api/cve/CVE-2025-22026.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-22026","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-22026"},"summary":{"title":"nfsd: don't ignore the return code of svc_proc_register()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: don't 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't 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.","state":"PUBLISHED","assigner":"Linux","published_at":"2025-04-16 15:15:55","updated_at":"2026-06-19 13:16:20"},"problem_types":["CWE-252"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}}],"references":[{"url":"https://git.kernel.org/stable/c/9d9456185fd5f1891c74354ee297f19538141ead","name":"https://git.kernel.org/stable/c/9d9456185fd5f1891c74354ee297f19538141ead","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6a59b70fe71ec66c0dd19e2c279c71846a3fb2f0","name":"https://git.kernel.org/stable/c/6a59b70fe71ec66c0dd19e2c279c71846a3fb2f0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/930b64ca0c511521f0abdd1d57ce52b2a6e3476b","name":"https://git.kernel.org/stable/c/930b64ca0c511521f0abdd1d57ce52b2a6e3476b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e31957a819e60cf0bc9a49408765e6095fd3d046","name":"https://git.kernel.org/stable/c/e31957a819e60cf0bc9a49408765e6095fd3d046","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e4316bd85e42b01125b2aab691769234a388b8a3","name":"https://git.kernel.org/stable/c/e4316bd85e42b01125b2aab691769234a388b8a3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/51107e768de6821b68aa34a136d07bc7a09cf6c3","name":"https://git.kernel.org/stable/c/51107e768de6821b68aa34a136d07bc7a09cf6c3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/51da899c209a9624e48be416bd30e7ed5cd6c3d8","name":"https://git.kernel.org/stable/c/51da899c209a9624e48be416bd30e7ed5cd6c3d8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/30405b23b4d5e2a596fb756d48119d7293194e75","name":"https://git.kernel.org/stable/c/30405b23b4d5e2a596fb756d48119d7293194e75","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-22026","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22026","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5545496966631cd40ad3aa6450be56d0e5773d10 51107e768de6821b68aa34a136d07bc7a09cf6c3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 73c43bccf25cec9cdec62fc22a513c28a4b28390 e4316bd85e42b01125b2aab691769234a388b8a3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 10ece754df9a799131a1cf3197e9d26c04ddec22 51da899c209a9624e48be416bd30e7ed5cd6c3d8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6f8d6ed3426a17f77628cebfb6a6e2c6f2b2496c 30405b23b4d5e2a596fb756d48119d7293194e75 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 93483ac5fec62cc1de166051b219d953bb5e4ef4 6a59b70fe71ec66c0dd19e2c279c71846a3fb2f0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 93483ac5fec62cc1de166051b219d953bb5e4ef4 e31957a819e60cf0bc9a49408765e6095fd3d046 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 93483ac5fec62cc1de166051b219d953bb5e4ef4 9d9456185fd5f1891c74354ee297f19538141ead git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 93483ac5fec62cc1de166051b219d953bb5e4ef4 930b64ca0c511521f0abdd1d57ce52b2a6e3476b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b7b05f98f3f06fea3986b46e5c7fe2928676b02d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.10.226 5.10.259 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.15.166 5.15.210 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1.106 6.1.164 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6.47 6.6.125 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.8.10 6.9 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.9","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.9 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.259 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.210 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.164 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.125 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.24 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.13.12 6.13.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.14.2 6.14.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.15 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2025","cve_id":"22026","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"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't 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't 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't 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"},"nvd":{"publishedDate":"2025-04-16 15:15:55","lastModifiedDate":"2026-06-19 13:16:20","problem_types":["CWE-252"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-06-10T20:40:43.644362Z","id":"CVE-2025-22026","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.24","matchCriteriaId":"C87CF81F-5426-4E15-8A61-B8F0E6046484"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.13.12","matchCriteriaId":"4A475784-BF3B-4514-81EE-49C8522FB24A"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"6.14.2","matchCriteriaId":"FADAE5D8-4808-442C-B218-77B2CE8780A0"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2025","CveId":"22026","Ordinal":"1","Title":"nfsd: don't ignore the return code of svc_proc_register()","CVE":"CVE-2025-22026","Year":"2025"},"notes":[{"CveYear":"2025","CveId":"22026","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: don't 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't 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.","Type":"Description","Title":"nfsd: don't ignore the return code of svc_proc_register()"}]}}}