CVE-2024-43845 udf: Fix bogus checksum computation in udf_rename()
A local attacker could read uninitialized kernel stack memory via a crafted UDF filesystem operation, potentially leaking sensitive data.
- 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-43845?
CVE-2024-43845 is a high-severity vulnerability in Linux kernel, published on 17 Aug 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:
udf: Fix bogus checksum computation in udf_rename()
Syzbot reports uninitialized memory access in udf_rename() when updating checksum of '..' directory entry of a moved directory. This is indeed true as we pass on-stack diriter.fi to the udf_update_tag() and because that has only struct fileIdentDesc included in it and not the impUse or name fields, the checksumming function is going to checksum random stack contents beyond the end of the structure. This is actually harmless because the following udf_fiiter_write_fi() will recompute the checksum from on-disk buffers where everything is properly included. So all that is needed is just removing the bogus calculation.
Weakness: CWE-908
Which versions are affected by CVE-2024-43845?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-43845?
Apply the vendor's patch.
Is CVE-2024-43845 being exploited?
There is no known exploitation of CVE-2024-43845 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-43845, DEBIAN-CVE-2024-43845, GHSA-pqp2-hjwx-f6qp, UBUNTU-CVE-2024-43845.