Skip to content
Heist/ feed
Back to feed
HighFix available

NFS: Fix the setting of capabilities when automounting a new filesystem

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: NFS: Fix the setting of capabilities when automounting a new filesystem Capabilities cannot be inherited when we cross into a new filesystem. They need to be reset to the minimal defaults, and then probed for again.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.241, 5.15.190, 5.4.297, 6.1.149, 6.12.43, 6.15.11, 6.16.2, 6.6.103
CVEs
CVE-2025-39798
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 17:44 UTC · Revision 1

Source evidence

NFS: Fix the setting of capabilities when automounting a new filesystem

core-osv · Original source

Published 12 Sept 2025, 15:59 UTC

In the Linux kernel, the following vulnerability has been resolved: NFS: Fix the setting of capabilities when automounting a new filesystem Capabilities cannot be inherited when we cross into a new filesystem. They need to be reset to the minimal defaults, and then probed for again.

osv:CVE-2025-39798

Kernel

Fixed versions: 5.4.297, 5.10.241, 5.15.190, 6.1.149, 6.6.103, 6.12.43, 6.15.11, 6.16.2

Complete source record
{
  "id": "ee9a7b18429a7e950cb70fe3b2c4c9956f4a3ddfebfc90489c20c26f2dd941e4",
  "url": "https://osv.dev/vulnerability/CVE-2025-39798",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "NFS: Fix the setting of capabilities when automounting a new filesystem",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: NFS: Fix the setting of capabilities when automounting a new filesystem Capabilities cannot be inherited when we cross into a new filesystem. They need to be reset to the minimal defaults, and then probed for again.",
    "evidence": "osv:CVE-2025-39798",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.297",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.241",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.190",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.149",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.103",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.43",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.15.11",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.16.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-39798",
      "aliases": [
        "CVE-2025-39798"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "54ceac4515986030c2502960be620198dd8fe25b"
                },
                {
                  "fixed": "95eb0d97ab98a10e966125c1f274e7d0fc0992b3"
                },
                {
                  "fixed": "73fcb101bb3eb2a552d7856a476b2c0bc3b5ef9e"
                },
                {
                  "fixed": "3924dab90816d0c683a110628ef386f83a9d1e13"
                },
                {
                  "fixed": "175afda783e38c0660f2afc0602dd9c83d4e7ee1"
                },
                {
                  "fixed": "987c20428f067c1c7f29ed0a2bd8c63fa74b1c2c"
                },
                {
                  "fixed": "816a6f60c2c2b679a33fa4276442bafd11473651"
                },
                {
                  "fixed": "a8ffee4abd8ec9d7a64d394e0306ae64ba139fd2"
                },
                {
                  "fixed": "50e0fd0050e510e749e1fdd1d7158e419ff8f3b9"
                },
                {
                  "fixed": "b01f21cacde9f2878492cf318fee61bf4ccad323"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39798.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "2.6.19"
                },
                {
                  "fixed": "5.4.297"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.241"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.190"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.149"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.103"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.43"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.15.11"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.16.0"
                },
                {
                  "fixed": "6.16.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39798.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.043622462Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-032379.html",
        "https://cert-portal.siemens.com/productcert/html/ssa-082556.html",
        "https://git.kernel.org/stable/c/175afda783e38c0660f2afc0602dd9c83d4e7ee1",
        "https://git.kernel.org/stable/c/3924dab90816d0c683a110628ef386f83a9d1e13",
        "https://git.kernel.org/stable/c/50e0fd0050e510e749e1fdd1d7158e419ff8f3b9",
        "https://git.kernel.org/stable/c/73fcb101bb3eb2a552d7856a476b2c0bc3b5ef9e",
        "https://git.kernel.org/stable/c/816a6f60c2c2b679a33fa4276442bafd11473651",
        "https://git.kernel.org/stable/c/95eb0d97ab98a10e966125c1f274e7d0fc0992b3",
        "https://git.kernel.org/stable/c/987c20428f067c1c7f29ed0a2bd8c63fa74b1c2c",
        "https://git.kernel.org/stable/c/a8ffee4abd8ec9d7a64d394e0306ae64ba139fd2",
        "https://git.kernel.org/stable/c/b01f21cacde9f2878492cf318fee61bf4ccad323",
        "https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html",
        "https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39798.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-39798",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39798.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-39798",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505436,
  "published_at": "2025-09-12T15:59:34.386+00:00"
}