{"id":"CVE-2025-22026","aliases":["CVE-2025-22026"],"related":[],"kind":"vulnerability","state":"published","title":"nfsd: don't ignore the return code of svc_proc_register()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nfsd: no ignore el código de retorno de svc_proc_register() Actualmente, nfsd_proc_stat_init() ignora el valor de retorno de svc_proc_register(). Si la creación de procfile falla, el kernel emitirá una ADVERTENCIA cuando intente eliminar la entrada posteriormente. Corrija nfsd_proc_stat_init() para que devuelva el mismo tipo de puntero que svc_proc_register() y corrija nfsd_net_init() para que lo compruebe y falle la construcción de nfsd_net si ocurre. svc_proc_register() puede fallar si no se puede asignar la dentry o si ya existe una dentry idéntica. El segundo caso es bastante improbable en la ruta de código de construcción de nfsd_net, por lo que si esto sucede, devuelva -ENOMEM.","source":"nvd"}],"published":"2025-04-16T14:11:47.243Z","modified":"2026-06-19T13:16:20.970Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-252"],"affected":[{"ranges":[{"type":"git","introduced":"5545496966631cd40ad3aa6450be56d0e5773d10","fixed":"51107e768de6821b68aa34a136d07bc7a09cf6c3","status":"affected"},{"type":"git","introduced":"73c43bccf25cec9cdec62fc22a513c28a4b28390","fixed":"e4316bd85e42b01125b2aab691769234a388b8a3","status":"affected"},{"type":"git","introduced":"10ece754df9a799131a1cf3197e9d26c04ddec22","fixed":"51da899c209a9624e48be416bd30e7ed5cd6c3d8","status":"affected"},{"type":"git","introduced":"6f8d6ed3426a17f77628cebfb6a6e2c6f2b2496c","fixed":"30405b23b4d5e2a596fb756d48119d7293194e75","status":"affected"},{"type":"git","introduced":"93483ac5fec62cc1de166051b219d953bb5e4ef4","fixed":"6a59b70fe71ec66c0dd19e2c279c71846a3fb2f0","status":"affected"},{"type":"git","introduced":"93483ac5fec62cc1de166051b219d953bb5e4ef4","fixed":"e31957a819e60cf0bc9a49408765e6095fd3d046","status":"affected"},{"type":"git","introduced":"93483ac5fec62cc1de166051b219d953bb5e4ef4","fixed":"9d9456185fd5f1891c74354ee297f19538141ead","status":"affected"},{"type":"git","introduced":"93483ac5fec62cc1de166051b219d953bb5e4ef4","fixed":"930b64ca0c511521f0abdd1d57ce52b2a6e3476b","status":"affected"},{"type":"git","version":"b7b05f98f3f06fea3986b46e5c7fe2928676b02d","status":"affected"},{"type":"semver","introduced":"5.10.226","fixed":"5.10.259","status":"affected"},{"type":"semver","introduced":"5.15.166","fixed":"5.15.210","status":"affected"},{"type":"semver","introduced":"6.1.106","fixed":"6.1.164","status":"affected"},{"type":"semver","introduced":"6.6.47","fixed":"6.6.125","status":"affected"},{"type":"semver","introduced":"6.8.10","fixed":"6.9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.9","status":"unaffected"},{"type":"semver","introduced":"5.10.259","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.210","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.164","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.125","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.24","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.12","lastAffected":"6.13.*","status":"unaffected"},{"type":"semver","introduced":"6.14.2","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"6.12.24"},{"status":"affected","introduced":"6.13","fixed":"6.13.12"},{"status":"affected","introduced":"6.14","fixed":"6.14.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/51107e768de6821b68aa34a136d07bc7a09cf6c3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e4316bd85e42b01125b2aab691769234a388b8a3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/51da899c209a9624e48be416bd30e7ed5cd6c3d8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/30405b23b4d5e2a596fb756d48119d7293194e75","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6a59b70fe71ec66c0dd19e2c279c71846a3fb2f0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e31957a819e60cf0bc9a49408765e6095fd3d046","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9d9456185fd5f1891c74354ee297f19538141ead","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/930b64ca0c511521f0abdd1d57ce52b2a6e3476b","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-10T20:40:43.644Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-22026","url":"https://www.cve.org/CVERecord?id=CVE-2025-22026","licence":"CVE Terms of Use","modified":"2026-06-19T11:57:15.085Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-22026","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22026","licence":"Public domain","modified":"2026-06-19T13:16:20.970Z"}],"updatedAt":"2026-11-25T22:58:56.570Z","epss":{"score":0.00222,"percentile":0.13657,"date":"2026-12-01T12:00:22.000Z"}}