Linux Kernel Vulnerability in FSCACHE Volume Creation Process
CVE-2024-56755
Summary
A vulnerability has been identified in the Linux kernel relating to the fscache_create_volume function, where a missing memory barrier between the operations of bit-clearing and process wake-up can lead to potential indefinite waiting issues. This flaw occurs during the volume creation process when multiple cookies interact, causing one process to remain in a waiting state even after the necessary bit-clearing action has been completed. The absence of a barrier does not guarantee the timely detection of this action by the waiting process, leading to a potential deadlock scenario. To resolve this issue, a change was implemented to introduce proper barriers that ensure synchronization between the clear and wake operations.
Affected Version(s)
Linux bfa22da3ed652aa15acd4246fa13a0de6dbe4a59
Linux bfa22da3ed652aa15acd4246fa13a0de6dbe4a59 < 539fabba965e119b98066fc6ba5257b5eaf4eda2
Linux bfa22da3ed652aa15acd4246fa13a0de6dbe4a59 < 8beb682cc9a0798a280bbb95e3e41617237090b2
References
Timeline
Vulnerability published
Vulnerability Reserved