Ad

CVE-2026-99010

NONE EPSS 0.21%
Обновлено 30 октября 2026
Linux
Параметр Значение
Поставщик Linux
Публичный эксплойт Нет

В ядре Linux была устранена следующая уязвимость: Bluetooth: RFCOMM: освобождает skb, когда у DLC нет владельца rfcomm_recv_data() передает skb в d->data_ready() и возвращает 0, не освобождая его, поэтому callb с этого момента принадлежит skb. Реализация tty освобождает его, когда DLC был отсоединен от своего устройства: статический пустой rfcomm_dev_data_ready(struct rfcomm_dlc * dlc, struct sk_buff * skb) struct rfcomm_dev * dev dlc->owner; if (!dev) kfree_skb(skb; return; Реализация сокета возвращается, не освобождая его, и skb утек. Подключенный DLC может не иметь владельца: rfcomm_sock_destruct() очищает d->owner, в то время как сам DLC остается на сессии до ее закрытия.

Кадры данных, которые поступают в это окно, по-прежнему находят d->state BT_CONNECTED в rfcomm_recv_data () и передаются обратному звонку, по одному утекшему skb. Утечка также не прекращается сама по себе. У пульта заканчиваются кредиты только после установки RFCOMM_RX_THROTTLED, а для сокета единственным местом, которое его устанавливает, является сам rfcomm_sk_data_ready(), ниже возврата. rfcomm_process_dlcs() продолжает предоставлять кредиты, поэтому пульт продолжает отправлять, и утечка продолжает расти.

Освободите skb, как это делает сторона tty.

Показать оригинальное описание (EN)

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: RFCOMM: free the skb when the DLC has no owner rfcomm_recv_data() hands the skb to d->data_ready() and returns 0 without freeing it, so the callback owns the skb from that point on. The tty implementation frees it when the DLC has been detached from its device: static void rfcomm_dev_data_ready(struct rfcomm_dlc *dlc, struct sk_buff *skb) { struct rfcomm_dev *dev = dlc->owner; if (!dev) { kfree_skb(skb); return; } The socket implementation returns without freeing it, and the skb is leaked. A connected DLC can have no owner: rfcomm_sock_destruct() clears d->owner, while the DLC itself stays on the session until it is closed. Data frames that arrive in that window still find d->state == BT_CONNECTED in rfcomm_recv_data() and are handed to the callback, one leaked skb each. The leak does not stop on its own either. The remote runs out of credits only once RFCOMM_RX_THROTTLED is set, and for a socket the only place that sets it is rfcomm_sk_data_ready() itself, below the return. rfcomm_process_dlcs() keeps granting credits, so the remote keeps sending and the leak keeps growing. Free the skb, as the tty side does.