Opis (engleski)
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btmtk: fix skb double free on ISO padding failure btmtk_isopkt_pad() uses skb_pad(), which frees the skb on failure. The error is propagated by alloc_mtk_intr_urb() and btusb_send_frame_mtk() up to hci_send_frame(), which frees the skb a second time: err = hdev->send(hdev, skb); if (err < 0) { bt_dev_err(hdev, "sending frame failed (%d)", err); kfree_skb(skb); return err; } Use __skb_put_padto(skb, MTK_ISO_THRESHOLD, false) so that the skb is left to the caller on error. This also replaces the open-coded skb_pad() + __skb_put() sequence.
Zahvaćeni proizvodi i verzije
CVSS vektor, objašnjeno
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Put napada
- Lokalno, na sustavu
- Složenost napada
- Visoka
- Potrebne ovlasti
- Obični korisnik
- Interakcija korisnika
- Nije potrebna
- Opseg
- Samo ranjiva komponenta
- Povjerljivost
- Visok utjecaj
- Integritet
- Visok utjecaj
- Dostupnost
- Visok utjecaj
Reference
- git.kernel.org/stable/c/fb3362324362432d0feec9c8e5129427ded8fc86
- git.kernel.org/stable/c/fa8d9844e40712fbc18d7d37c4d0faa4e2ade81c
- git.kernel.org/stable/c/5ec2ca44bf4925b48604aafa90ad153faf0ce45f
- git.kernel.org/stable/c/491d2212ea0f0f6a3abbd67729df0c6a3ec9c58a
Izvori: CVE.org (CNA i CISA ADP), CISA KEV, FIRST EPSS. Uvijek provjerite službenu objavu proizvođača.