CVE-2024-49965 ocfs2: remove unreasonable unlock in ocfs2_read_blocks
A race condition in the Linux kernel's OCFS2 filesystem can cause a bad unlock balance, potentially leading to a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-49965?
CVE-2024-49965 is a high-severity vulnerability in Linux kernel, published on 21 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
ocfs2: remove unreasonable unlock in ocfs2_read_blocks
Patch series "Misc fixes for ocfs2_read_blocks", v5.
This series contains 2 fixes for ocfs2_read_blocks(). The first patch fix the issue reported by syzbot, which detects bad unlock balance in ocfs2_read_blocks(). The second patch fixes an issue reported by Heming Zhao when reviewing above fix.
This patch (of 2):
There was a lock release before exiting, so remove the unreasonable unlock.
Weakness: CWE-667
Which versions are affected by CVE-2024-49965?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-49965?
Apply the vendor's patch.
Is CVE-2024-49965 being exploited?
There is no known exploitation of CVE-2024-49965 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-52281, BELL-CVE-2024-49965, DEBIAN-CVE-2024-49965, GHSA-23px-9798-3x5c, UBUNTU-CVE-2024-49965.