CVE-2024-43845: udf: Fix bogus checksum computation in udf_rename()
In the Linux kernel, the following vulnerability has been resolved:
udf: Fix bogus checksum computation in udfrename()
Syzbot reports uninitialized memory access in udfrename() when updating checksum of '..' directory entry of a moved directory. This is indeed true as we pass on-stack diriter.fi to the udfupdatetag() 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 udffiiterwritefi() will recompute the checksum from on-disk buffers where everything is properly included. So all that is needed is just removing the bogus calculation.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-43845?
CVE-2024-43845 has a severity rating that indicates a significant but manageable vulnerability in the Linux kernel.
How do I fix CVE-2024-43845?
To fix CVE-2024-43845, you should update your Linux kernel to a version later than the vulnerable versions listed in the advisory.
Which versions of the Linux kernel are affected by CVE-2024-43845?
CVE-2024-43845 affects Linux kernel versions between 6.3 and 6.6.44, and 6.7 and 6.10.3.
Is there a workaround for CVE-2024-43845?
Currently, there is no known workaround for CVE-2024-43845 other than applying the appropriate kernel updates.
What type of vulnerability is CVE-2024-43845?
CVE-2024-43845 is related to uninitialized memory access during checksum computation in the udf_rename() function.