CVE-2025-39798: NFS: Fix the setting of capabilities when automounting a new filesystem

Published Sep 12, 2025
·
Updated

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.

Affected Software

12 affected componentsFixes available
Linux Kernel
Microsoft azl3 kernel 6.6.96.2-2
Linux Linux kernel>=2.6.19<5.4.297
Linux Linux kernel>=5.5<5.10.241
Linux Linux kernel>=5.11<5.15.190
Linux Linux kernel>=5.16<6.1.149
Linux Linux kernel>=6.2<6.6.103
Linux Linux kernel>=6.7<6.12.43
Linux Linux kernel>=6.13<6.15.11
Linux Linux kernel>=6.16<6.16.2
Debian Debian Linux=11.0
Microsoft cbl2 kernel 5.15.186.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Reset NFS/Linux kernel capabilities to minimal defaults after automounting a new filesystem, then probe again (capabilities cannot be inherited across filesystem boundaries).

Event History

Sep 12, 2025
CVE Published
via MITRE·03:59 PM
Data Sourced
via MITRE·03:59 PM
DescriptionSeverity
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityAffected Software
Sep 16, 2025
Data Sourced
via Microsoft·01:01 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-39798?

CVE-2025-39798 has a severity rating of medium due to potential unauthorized access risks.

2

How do I fix CVE-2025-39798?

To fix CVE-2025-39798, update your Linux kernel to the latest patched version.

3

What impact does CVE-2025-39798 have on NFS filesystems?

CVE-2025-39798 affects NFS filesystems by improperly handling capabilities when automounting new filesystems.

4

Which versions of the Linux kernel are affected by CVE-2025-39798?

CVE-2025-39798 affects multiple versions of the Linux kernel prior to the patch release addressing this issue.

5

Is CVE-2025-39798 related to security permissions?

Yes, CVE-2025-39798 is related to security permissions as it deals with the inheritance of capabilities during filesystem transitions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203