Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2024-43845

Опубликовано: 17 авг. 2024
Источник: redhat
CVSS3: 3.3
EPSS Низкий

Описание

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 flaw of low impact was found in the Linux kernel's UDF file system implementation. When renaming a directory on a UDF file system, udf_rename() passed an on-stack file identifier structure that contains only the fileIdentDesc fields and not the impUse or name fields to the tag checksum computation, so the checksumming function read uninitialized stack memory beyond the end of the structure while updating the checksum of the '..' directory entry of a moved directory. The incorrectly computed checksum is never persisted: the subsequent write of the file identifier recomputes the checksum from the on-disk buffers that contain the complete directory entry, so the miscalculation has no lasting effect, and the upstream fix simply removes the bogus calculation. For this reason Red Hat rates the issue as Low severity (CVSS 3.3), which differs meaningfully from the higher score in the CVE.org record, as that score does not account for the checksum being recomputed before anything is written. The issue was introduced in upstream kernel version 6.3, and Red Hat Enterprise Linux 8 and 9 ship kernels based on earlier versions, so they are not affected. The affected Red Hat offering is Fedora, which tracks the upstream community kernel, and a fix is being pursued for it through the normal Fedora kernel updates.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected

Показывать по

Дополнительная информация

Статус:

Low
Дефект:
CWE-20
https://bugzilla.redhat.com/show_bug.cgi?id=2305503kernel: udf: Fix bogus checksum computation in udf_rename()

EPSS

Процентиль: 13%
0.00221
Низкий

3.3 Low

CVSS3

Связанные уязвимости

CVSS3: 3.3
ubuntu
около 2 лет назад

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.

CVSS3: 3.3
nvd
около 2 лет назад

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.

CVSS3: 3.3
debian
около 2 лет назад

In the Linux kernel, the following vulnerability has been resolved: u ...

CVSS3: 3.3
github
около 2 лет назад

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.

CVSS3: 3.3
fstec
больше 2 лет назад

Уязвимость компонента udf ядра операционной системы Linux, связанная с использованием неинициализированного ресурса, позволяющая нарушителю вызвать отказ в обслуживании

EPSS

Процентиль: 13%
0.00221
Низкий

3.3 Low

CVSS3