В ядре Linux устранена следующая уязвимость:
xfs: удалить xfs_attr_leaf_hasname
Соглашение о вызовах xfs_attr_leaf_hasname() проблематично, потому что
он возвращает NULL-буфер в случае сбоя xfs_attr3_leaf_read, действительный буфер
когда xfs_attr3_leaf_lookup_int возвращает -ENOATTR или -EEXIST, и
ненулевой указатель буфера для уже освобожденного буфера, когда
xfs_attr3_leaf_lookup_int завершается с ошибкой с другими значениями ошибок.
Исправьте это, просто открыв код xfs_attr_leaf_hasname в вызывающих программах, поэтому
что код освобождения буфера выполняется каждым вызывающим
xfs_attr3_leaf_read.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: xfs: remove xfs_attr_leaf_hasname The calling convention of xfs_attr_leaf_hasname() is problematic, because it returns a NULL buffer when xfs_attr3_leaf_read fails, a valid buffer when xfs_attr3_leaf_lookup_int returns -ENOATTR or -EEXIST, and a non-NULL buffer pointer for an already released buffer when xfs_attr3_leaf_lookup_int fails with other error values. Fix this by simply open coding xfs_attr_leaf_hasname in the callers, so that the buffer release code is done by each caller of xfs_attr3_leaf_read.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 3
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.9
|
6.12.75
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13
|
6.18.16
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.19
|
6.19.6
|