Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2024-43845

udf: Fix bogus checksum computation in udf_rename()

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 626860c470ff88e5f7f22a282efd1bfe953a1b54 to < 9c439311c13fc6faab1921441165c9b8b500c83baffected
  • e9109a92d2a95889498bed3719cd2318892171a2 to < fe2ead240c31e8d158713beca9d0681a6e6a53abaffected
  • e9109a92d2a95889498bed3719cd2318892171a2 to < 40d7b3ed52449d36143bab8d3e70926aa61a60f4affected
  • e9109a92d2a95889498bed3719cd2318892171a2 to < 27ab33854873e6fb958cb074681a0107cc2ecc4caffected

Linux Linux

Default version status: affected

  • 6.3affected
  • 0 to < 6.3unaffected
  • 6.6.44 to ≤ 6.6.*unaffected
  • 6.10.3 to ≤ 6.10.*unaffected
  • 6.11 to ≤ *unaffected

References