Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Bluetooth: msft: fix slab-use-after-free in msft_do_close()

CVSS 3.1 7.8 HIGHCheck source for fixed versionsKEV status unknown

cve-program · CVE-2024-36012

Published

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: msft: fix slab-use-after-free in msft_do_close() Tying the msft->data lifetime to hdev by freeing it in hci_release_dev() to fix the following case: [use] msft_do_close() msft = hdev->msft_data; if (!msft) ...(1) <- passed. return; mutex_lock(&msft->filter_lock); ...(4) <- used after freed. [free] msft_unregister() msft = hdev->msft_data; hdev->msft_data = NULL; ...(2) kfree(msft); ...(3) <- msft is freed. ================================================================== BUG: KASAN: slab-use-after-free in __mutex_lock_common kernel/locking/mutex.c:587 [inline] BUG: KASAN: slab-use-after-free in __mutex_lock+0x8f/0xc30 kernel/locking/mutex.c:752 Read of size 8 at addr ffff888106cbbca8 by task kworker/u5:2/309

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2024-36012

Published

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/bluetooth/hci_core.c",
                        "net/bluetooth/msft.c",
                        "net/bluetooth/msft.h"
                    ],
                    "versions": [
                        {
                            "version": "bf6a4e30ffbd9e9ef8934582feb937f6532f8b68",
                            "lessThan": "e3880b531b68f98d3941d83f2f6dd11cf4fd6b76",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bf6a4e30ffbd9e9ef8934582feb937f6532f8b68",
                            "lessThan": "a85a60e62355e3bf4802dead7938966824b23940",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bf6a4e30ffbd9e9ef8934582feb937f6532f8b68",
                            "lessThan": "4f1de02de07748da80a8178879bc7a1df37fdf56",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bf6a4e30ffbd9e9ef8934582feb937f6532f8b68",
                            "lessThan": "10f9f426ac6e752c8d87bf4346930ba347aaabac",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                }

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/bluetooth/hci_core.c",
                        "net/bluetooth/msft.c",
                        "net/bluetooth/msft.h"
                    ],
                    "versions": [
                        {
                            "version": "5.12",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.12",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.91",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.31",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.8.10",
                            "lessThanOrEqual": "6.8.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.9",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 23 Nov 03:08 UTC · 274 of 275 readable · 269 fully read · documentation 469/469 current