CVE-2024-43845 Details
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.
A vulnerability in the Linux kernel's UDF (Universal Disk Format) implementation has been addressed. The issue involved uninitialized memory access in the 'udf_rename()' function when updating the checksum of the '..' directory entry for a moved directory. This problem arose because the 'diriter.fi' structure, which was passed on the stack, only contained partial information needed for a complete checksum calculation. As a result, the checksumming function inadvertently processed random stack data, leading to a bogus checksum. Although this erroneous calculation was harmless—since the checksum would be correctly recomputed from on-disk buffers—the vulnerability needed to be fixed by removing the faulty computation.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 10, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/27ab33854873e6fb958cb074681a0107cc2ecc4c | kernel.org | Patch |
| https://git.kernel.org/stable/c/40d7b3ed52449d36143bab8d3e70926aa61a60f4 | kernel.org | Patch |
| https://git.kernel.org/stable/c/9c439311c13fc6faab1921441165c9b8b500c83b | kernel.org | Patch |
| https://git.kernel.org/stable/c/fe2ead240c31e8d158713beca9d0681a6e6a53ab | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-908 | Use of Uninitialized Resource | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.3, < 6.6.44 >= 6.7, < 6.10.3 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 19, 2025 | CVE Modified | kernel.org |
| Oct 25, 2024 | Initial Analysis | [email protected] |
| Oct 22, 2024 | CVE Modified | kernel.org |
| Aug 29, 2024 | CVE Modified | kernel.org |
| Aug 17, 2024 | New CVE Received | kernel.org |