В ядре Linux была устранена следующая уязвимость: sctp: hold shkey across socket migration sctp_sock_migrate() передает skbs DATA из очереди из старого сокета в новый. skb_orphan() вызывает sctp_wfree() во время этой передачи и удаляет ссылку на общий ключ, принадлежащий skb. Если пользовательское пространство удалило этот ключ из ассоциации, это может быть конечной ссылкой. Следующий sctp_set_owner_w() затем разыграет освобожденный chunk->shkey при попытке взять новую ссылку на владельца.
Возьмите временную ссылку с общим ключом, прежде чем осиротеть skb, и выпустите ее после того, как новый владелец примет ее. Это сохраняет выбранный ключ аутентификации во время передачи прав собственности. Ошибка найдена и исследована OpenAI Security Research и подтверждена Trail из Bits.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: sctp: hold shkey across socket migration sctp_sock_migrate() transfers queued DATA skbs from the old socket to the new one. skb_orphan() invokes sctp_wfree() during that transfer and drops the skb-owned shared-key reference. If userspace has removed that key from the association, this can be the final reference. The following sctp_set_owner_w() then dereferences the freed chunk->shkey while trying to take the new owner reference. Take a temporary shared-key reference before orphaning the skb and release it after the new owner has taken its reference. This preserves the selected authentication key throughout the ownership transfer. Bug found and triaged by OpenAI Security Research and validated by Trail of Bits.
Характеристики атаки
Последствия
Строка CVSS v3.1