Early Initialization of Struct nfsd4_copy to Prevent Refcount Underflow

CVE-2024-50241
5.5MEDIUM

Key Information

Vendor
Linux
Status
Linux
Vendor
CVE Published:
9 November 2024

Summary

In the Linux kernel, the following vulnerability has been resolved: NFSD: Initialize struct nfsd4_copy earlier Ensure the refcount and async_copies fields are initialized early. cleanup_async_copy() will reference these fields if an error occurs in nfsd4_copy(). If they are not correctly initialized, at the very least, a refcount underflow occurs.

Affected Version(s)

Linux < 6a488ad7745b

Linux < 63fab04cbd0f

Linux <= 6.12-rc1

CVSS V3.1

Score:
5.5
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published.

  • Vulnerability Reserved.

Collectors

NVD DatabaseMitre Database
.