В ядре Linux была устранена следующая уязвимость: of/overlay: ставить свойство на deadprops только после того, как changeset add преуспевает add_changeset_property() связывает новое свойство целевого узла not-yet-live в список deadprops узла перед передачей его в of_changeset_add_property(). Если это не удается, путь ошибки освобождает свойство, но оставляет свободный указатель, связанный в deadprops, и of_node_release () освобождает его во второй раз, когда прерываемый узел оверлея освобождается. of_changeset_add_property() никогда не просматривает списки свойств узла, поэтому порядок двух шагов в противном случае несущественен, и путь ошибки освобождает свойство, на которое ничего не ссылается.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: of/overlay: put property on deadprops only after changeset add succeeds add_changeset_property() links a new property of a not-yet-live target node into the node's deadprops list before handing it to of_changeset_add_property(). If that fails, the error path frees the property but leaves the freed pointer linked in deadprops, and of_node_release() frees it a second time when the aborted overlay's node is released. Record the changeset entry first and link the property into deadprops only on success. of_changeset_add_property() never looks at the node's property lists, so the order of the two steps is otherwise immaterial, and the error path frees a property that nothing references.
Уязвимые продукты 6
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.0
|
6.6.160
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.0
|
6.12.113
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.0
|
6.18.56
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.0
|
7.2.10
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.0
|
7.3
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
4.19.49
|
— |