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

exploitDog

redhat логотип

CVE-2024-46736

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

Описание

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix double put of @cfile in smb2_rename_path() If smb2_set_path_attr() is called with a valid @cfile and returned -EINVAL, we need to call cifs_get_writable_path() again as the reference of @cfile was already dropped by previous smb2_compound_op() call.

A flaw was found in the Linux kernel's Server Message Block (SMB) client. This vulnerability occurs in the smb2_rename_path() function when handling specific error conditions during file attribute operations. A local attacker could exploit this flaw, leading to a double free of a file object, which may result in a denial of service.

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

To mitigate this issue, if SMB client functionality is not required, prevent the cifs kernel module from loading. This can be achieved by creating a modprobe configuration file.

  1. Create a file named /etc/modprobe.d/disable-cifs.conf with the following content:
install cifs /bin/true blacklist cifs
  1. Regenerate the initramfs:
  • For RHEL 8 and 9: dracut -f -v
  • For RHEL 7: dracut -f
  1. Reboot the system for the changes to take effect. This mitigation will prevent the system from mounting SMB shares and may impact functionality that relies on SMB client operations.

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

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelAffected
Red Hat Enterprise Linux 9kernel-rtWill not fix

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

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

Статус:

Moderate
Дефект:
CWE-404
https://bugzilla.redhat.com/show_bug.cgi?id=2313084kernel: smb: client: fix double put of @cfile in smb2_rename_path()

EPSS

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

5.5 Medium

CVSS3

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

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

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix double put of @cfile in smb2_rename_path() If smb2_set_path_attr() is called with a valid @cfile and returned -EINVAL, we need to call cifs_get_writable_path() again as the reference of @cfile was already dropped by previous smb2_compound_op() call.

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

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix double put of @cfile in smb2_rename_path() If smb2_set_path_attr() is called with a valid @cfile and returned -EINVAL, we need to call cifs_get_writable_path() again as the reference of @cfile was already dropped by previous smb2_compound_op() call.

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

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

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

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix double put of @cfile in smb2_rename_path() If smb2_set_path_attr() is called with a valid @cfile and returned -EINVAL, we need to call cifs_get_writable_path() again as the reference of @cfile was already dropped by previous smb2_compound_op() call.

CVSS3: 7.8
fstec
около 2 лет назад

Уязвимость функции smb2_rename_path() модуля fs/smb/client/smb2inode.c поддержки клиента SMB ядра операционной системы Linux, позволяющая нарушителю оказать воздействие на конфиденциальность, целостность и доступность защищаемой информации

EPSS

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

5.5 Medium

CVSS3