Bug 1224695 (CVE-2024-35856) - VUL-0: CVE-2024-35856: kernel: Bluetooth: btusb: mediatek: Fix double free of skb in coredump
Summary: VUL-0: CVE-2024-35856: kernel: Bluetooth: btusb: mediatek: Fix double free of...
Status: NEW
Alias: CVE-2024-35856
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Joey Lee
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/406384/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-35856:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-20 16:07 UTC by SMASH SMASH
Modified: 2024-05-21 04:51 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-05-20 16:07:03 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
Comment 1 Joey Lee 2024-05-21 04:51:05 UTC
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>
Comment 2 Joey Lee 2024-05-21 04:51:50 UTC
https://www.suse.com/security/cve/CVE-2024-35856.html
cvss 5.5