{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-31403","id":"CVE-2026-31403","title":"NFSD: Hold net reference for the lifetime of /proc/fs/nfs/exports fd","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: Hold net reference for the lifetime of /proc/fs/nfs/exports fd\n\nThe /proc/fs/nfs/exports proc entry is created at module init\nand persists for the module's lifetime. exports_proc_open()\ncaptures the caller's current network namespace and stores\nits svc_export_cache in seq->private, but takes no reference\non the namespace. I","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: Hold net reference for the lifetime of /proc/fs/nfs/exports fd\n\nThe /proc/fs/nfs/exports proc entry is created at module init\nand persists for the module's lifetime. exports_proc_open()\ncaptures the caller's current network namespace and stores\nits svc_export_cache in seq->private, but takes no reference\non the namespace. If the namespace is subsequently torn down\n(e.g. container destruction after the opener does setns() to a\ndifferent namespace), nfsd_net_exit() calls nfsd_export_shutdown()\nwhich frees the cache. Subsequent reads on the still-open fd\ndereference the freed cache_detail, walking a freed hash table.\n\nHold a reference on the struct net for the lifetime of the open\nfile descriptor. This prevents nfsd_net_exit() from running --\nand thus prevents nfsd_export_shutdown() from freeing the cache\n-- while any exports fd is open. cache_detail already stores\nits net pointer (cd->net, set by cache_create_net()), so\nexports_release() can retrieve it without additional per-file\nstorage.","published":"2026-04-03T15:16:06.444Z","updated":"2026-11-12T02:31:14.137410016Z","reserved":"2026-03-09T15:48:24.086Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5","lessThan":"76740c28050dc6db2f5550f1325b00a11bbb3255","status":"affected","versionType":"git"},{"version":"96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5","lessThan":"c7f406fb341d6747634b8b1fa5461656e5e56076","status":"affected","versionType":"git"},{"version":"96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5","lessThan":"d1a19217995df9c7e4118f5a2820c5032fef2945","status":"affected","versionType":"git"},{"version":"96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5","lessThan":"e3d77f935639e6ae4b381c80464c31df998d61f4","status":"affected","versionType":"git"},{"version":"96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5","lessThan":"db4a9f99b12a7ee1c19d86c83a3b752c7effa6c6","status":"affected","versionType":"git"},{"version":"96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5","lessThan":"6a8d70e2ad6aad2c345a5048edcb8168036f97d6","status":"affected","versionType":"git"},{"version":"96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5","lessThan":"e7fcf179b82d3a3730fd8615da01b087cc654d0b","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.9","status":"affected"},{"version":"0","lessThan":"3.9","status":"unaffected","versionType":"semver"},{"version":"5.10.253","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"6.1.167","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.130","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.78","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.20","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19.10","lessThanOrEqual":"6.19.*","status":"unaffected","versionType":"semver"},{"version":"7.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/76740c28050dc6db2f5550f1325b00a11bbb3255","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c7f406fb341d6747634b8b1fa5461656e5e56076","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d1a19217995df9c7e4118f5a2820c5032fef2945","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e3d77f935639e6ae4b381c80464c31df998d61f4","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/db4a9f99b12a7ee1c19d86c83a3b752c7effa6c6","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6a8d70e2ad6aad2c345a5048edcb8168036f97d6","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e7fcf179b82d3a3730fd8615da01b087cc654d0b","tags":["Patch","web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31403.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31403","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00131,"epssPercentile":0.028,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-31403","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31403","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-31403","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-31403","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}