Bugzilla – Bug 1224695
VUL-0: CVE-2024-35856: kernel: Bluetooth: btusb: mediatek: Fix double free of skb in coredump
Last modified: 2024-05-21 04:51:50 UTC
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btusb: mediatek: Fix double free of skb in coredump hci_devcd_append() would free the skb on error so the caller don't have to free it again otherwise it would cause the double free of skb. Reported-by : Dan Carpenter <dan.carpenter@linaro.org> References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-35856 https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-35856.mbox https://git.kernel.org/stable/c/80dfef128cb9f1b1ef67c0fe8c8deb4ea7ad30c1 https://git.kernel.org/stable/c/e20093c741d8da9f6390dd45d75b779861547035 https://git.kernel.org/stable/c/18bdb386a1a30e7a3d7732a98e45e69cf6b5710d https://www.cve.org/CVERecord?id=CVE-2024-35856 https://bugzilla.redhat.com/show_bug.cgi?id=2281249
commit 18bdb386a1a30e7a3d7732a98e45e69cf6b5710d [v6.9-rc6] Author: Sean Wang <sean.wang@mediatek.com> Date: Wed Apr 17 16:27:38 2024 -0700 Bluetooth: btusb: mediatek: Fix double free of skb in coredump hci_devcd_append() would free the skb on error so the caller don't have to free it again otherwise it would cause the double free of skb. Fixes: 0b7015132878 ("Bluetooth: btusb: mediatek: add MediaTek devcoredump support") [v6.6-rc1] Reported-by : Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
https://www.suse.com/security/cve/CVE-2024-35856.html cvss 5.5