{"id":"CVE-2025-68764","state":"PUBLISHED","title":"NFS: Automounted filesystems should inherit ro,noexec,nodev,sync flags","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFS: Automounted filesystems should inherit ro,noexec,nodev,sync flags\n\nWhen a filesystem is being automounted, it needs to preserve the\nuser-set superblock mount options, such as the \"ro\" flag.","publishedAt":"2026-01-05T09:44:12.518Z","updatedAt":"2026-10-19T18:05:06.551Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f2aedb713c284429987dc66c7aaf38decfc8da2a","status":"affected","lessThan":"a3dc6c40bcab1a888d5c0d134ccc0746b4c98929","versionType":"git"},{"version":"f2aedb713c284429987dc66c7aaf38decfc8da2a","status":"affected","lessThan":"ba1495aefd22fcf0746a2a3025c95d766d7cde4d","versionType":"git"},{"version":"f2aedb713c284429987dc66c7aaf38decfc8da2a","status":"affected","lessThan":"c09070b4def1b34e473a746c6a5331ccb80902c1","versionType":"git"},{"version":"f2aedb713c284429987dc66c7aaf38decfc8da2a","status":"affected","lessThan":"dce10c59211e5cd763a62ea01e79b82a629811e3","versionType":"git"},{"version":"f2aedb713c284429987dc66c7aaf38decfc8da2a","status":"affected","lessThan":"612cc98698d667df804792f0c47d4e501e66da29","versionType":"git"},{"version":"f2aedb713c284429987dc66c7aaf38decfc8da2a","status":"affected","lessThan":"4b296944e632cf4c6a4cc8e2585c6451eae47b1b","versionType":"git"},{"version":"f2aedb713c284429987dc66c7aaf38decfc8da2a","status":"affected","lessThan":"df9b003a2ecacc7218486fbb31fe008c93097d5f","versionType":"git"},{"version":"f2aedb713c284429987dc66c7aaf38decfc8da2a","status":"affected","lessThan":"8675c69816e4276b979ff475ee5fac4688f80125","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfs/namespace.c","fs/nfs/super.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.6","versionType":"semver"},{"version":"5.10.248","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.198","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.160","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.120","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.63","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.17.13","status":"unaffected","lessThanOrEqual":"6.17.*","versionType":"semver"},{"version":"6.18.2","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfs/namespace.c","fs/nfs/super.c"]}],"references":["https://git.kernel.org/stable/c/a3dc6c40bcab1a888d5c0d134ccc0746b4c98929","https://git.kernel.org/stable/c/ba1495aefd22fcf0746a2a3025c95d766d7cde4d","https://git.kernel.org/stable/c/c09070b4def1b34e473a746c6a5331ccb80902c1","https://git.kernel.org/stable/c/dce10c59211e5cd763a62ea01e79b82a629811e3","https://git.kernel.org/stable/c/612cc98698d667df804792f0c47d4e501e66da29","https://git.kernel.org/stable/c/4b296944e632cf4c6a4cc8e2585c6451eae47b1b","https://git.kernel.org/stable/c/df9b003a2ecacc7218486fbb31fe008c93097d5f","https://git.kernel.org/stable/c/8675c69816e4276b979ff475ee5fac4688f80125","https://cert-portal.siemens.com/productcert/html/ssa-019113.html","https://cert-portal.siemens.com/productcert/html/ssa-457936.html"],"weaknesses":["CWE-862"],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/68xxx/CVE-2025-68764.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-68764","state":"PUBLISHED","datePublished":"2026-01-05T09:44:12.518Z","dateUpdated":"2026-10-19T18:05:06.551Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-12-24T10:30:51.034Z"},"containers":{"cna":{"title":"NFS: Automounted filesystems should inherit ro,noexec,nodev,sync flags","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFS: Automounted filesystems should inherit ro,noexec,nodev,sync flags\n\nWhen a filesystem is being automounted, it needs to preserve the\nuser-set superblock mount options, such as the \"ro\" flag."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f2aedb713c284429987dc66c7aaf38decfc8da2a","status":"affected","lessThan":"a3dc6c40bcab1a888d5c0d134ccc0746b4c98929","versionType":"git"},{"version":"f2aedb713c284429987dc66c7aaf38decfc8da2a","status":"affected","lessThan":"ba1495aefd22fcf0746a2a3025c95d766d7cde4d","versionType":"git"},{"version":"f2aedb713c284429987dc66c7aaf38decfc8da2a","status":"affected","lessThan":"c09070b4def1b34e473a746c6a5331ccb80902c1","versionType":"git"},{"version":"f2aedb713c284429987dc66c7aaf38decfc8da2a","status":"affected","lessThan":"dce10c59211e5cd763a62ea01e79b82a629811e3","versionType":"git"},{"version":"f2aedb713c284429987dc66c7aaf38decfc8da2a","status":"affected","lessThan":"612cc98698d667df804792f0c47d4e501e66da29","versionType":"git"},{"version":"f2aedb713c284429987dc66c7aaf38decfc8da2a","status":"affected","lessThan":"4b296944e632cf4c6a4cc8e2585c6451eae47b1b","versionType":"git"},{"version":"f2aedb713c284429987dc66c7aaf38decfc8da2a","status":"affected","lessThan":"df9b003a2ecacc7218486fbb31fe008c93097d5f","versionType":"git"},{"version":"f2aedb713c284429987dc66c7aaf38decfc8da2a","status":"affected","lessThan":"8675c69816e4276b979ff475ee5fac4688f80125","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfs/namespace.c","fs/nfs/super.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.6","versionType":"semver"},{"version":"5.10.248","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.198","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.160","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.120","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.63","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.17.13","status":"unaffected","lessThanOrEqual":"6.17.*","versionType":"semver"},{"version":"6.18.2","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfs/namespace.c","fs/nfs/super.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/a3dc6c40bcab1a888d5c0d134ccc0746b4c98929"},{"url":"https://git.kernel.org/stable/c/ba1495aefd22fcf0746a2a3025c95d766d7cde4d"},{"url":"https://git.kernel.org/stable/c/c09070b4def1b34e473a746c6a5331ccb80902c1"},{"url":"https://git.kernel.org/stable/c/dce10c59211e5cd763a62ea01e79b82a629811e3"},{"url":"https://git.kernel.org/stable/c/612cc98698d667df804792f0c47d4e501e66da29"},{"url":"https://git.kernel.org/stable/c/4b296944e632cf4c6a4cc8e2585c6451eae47b1b"},{"url":"https://git.kernel.org/stable/c/df9b003a2ecacc7218486fbb31fe008c93097d5f"},{"url":"https://git.kernel.org/stable/c/8675c69816e4276b979ff475ee5fac4688f80125"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - Exploitation is triggered through ordinary local pathname operations such as openat() on an existing NFS mount; an NFS server cannot independently initiate the vulnerable automount.\nAC:L - Once a restricted NFS mount contains a server-side filesystem boundary or referral, the attacker can reliably trigger the flaw by traversing it, without a race or timing dependency.\nPR:L - The initial NFS mount requires CAP_SYS_ADMIN, but the attacker only needs ordinary local access plus NFS permissions to traverse and modify the affected child filesystem.\nUI:N - After the NFS mount is configured, the attacker directly triggers automounting and subsequent writes without another user's action.\nS:U - The policy bypass and any resulting local privilege escalation remain within the host kernel's security authority and do not cross a VM or IOMMU boundary.\nC:H - In a high-impact deployment, modifying privileged-service configuration or executable content on the writable child can yield root access and unrestricted disclosure of host and NFS data.\nI:H - The missing inherited read-only protection permits modification or deletion throughout server-authorized portions of the child filesystem despite client policy. Privileged consumers of that content can turn this into arbitrary code execution.\nA:H - The attacker can corrupt or delete critical automounted data, or obtain root and terminate essential services, causing complete availability loss."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:11:22.154Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"5.10.248"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"5.15.198"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"6.1.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"6.6.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"6.12.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"6.17.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"6.18.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"6.19"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2025-68764","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-06-16T16:51:54.569623Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-862","lang":"en","type":"CWE","description":"CWE-862 Missing Authorization"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T18:05:06.551Z"}},{"affected":[{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.6","status":"affected","lessThan":"*","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.7","status":"affected","lessThan":"*","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.6","status":"affected","lessThan":"*","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.7","status":"affected","lessThan":"*","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.6","status":"affected","lessThan":"*","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.7","status":"affected","lessThan":"*","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.6","status":"affected","lessThan":"*","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.7","status":"affected","lessThan":"*","versionType":"custom"}]},{"vendor":"Siemens","product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.6","status":"affected","lessThan":"*","versionType":"custom"}]},{"vendor":"Siemens","product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.7","status":"affected","lessThan":"*","versionType":"custom"}]}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html"}],"providerMetadata":{"shortName":"siemens-SADP","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","dateUpdated":"2026-10-15T01:10:04.737Z"},"x_adpType":"supplier"}]}}}