Inconsistent Reference Count Update in Linux Kernel SMB Support
CVE-2025-39819

Currently unrated

Key Information:

Vendor

Linux

Status
Vendor
CVE Published:
16 September 2025

What is CVE-2025-39819?

A vulnerability was discovered in the Linux kernel's SMB support, specifically in the smb2_compound_op function. This issue involves an inconsistent update of the reference count for the cfile object, which can lead to potential resource leaks. The inconsistency arises due to a failure to properly handle the reference count in certain control flow paths, particularly when the function returns an error code of -ENOMEM, indicating memory allocation failure. A fix has been implemented to ensure that cleanup logic is executed correctly across all paths, thereby preventing resource mismanagement.

Affected Version(s)

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 3fc11ff13fbc2749871d6ac2141685cf54699997

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 4191ea1f0bb3e27d65c5dcde7bd00e709ec67141

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 4735f5991f51468b85affb8366b7067248457a71

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-39819 : Inconsistent Reference Count Update in Linux Kernel SMB Support