CVE-2024-50043

Severity CVSS v4.0:
Pending analysis
Type:
CWE-416 Use After Free
Publication date:
21/10/2024
Last modified:
24/10/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> nfsd: fix possible badness in FREE_STATEID<br /> <br /> When multiple FREE_STATEIDs are sent for the same delegation stateid,<br /> it can lead to a possible either use-after-free or counter refcount<br /> underflow errors.<br /> <br /> In nfsd4_free_stateid() under the client lock we find a delegation<br /> stateid, however the code drops the lock before calling nfs4_put_stid(),<br /> that allows another FREE_STATE to find the stateid again. The first one<br /> will proceed to then free the stateid which leads to either<br /> use-after-free or decrementing already zeroed counter.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.9 (including) 6.11.4 (excluding)
cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*