CVE-2025-38118: Linux kernel · Bluetooth: MGMT: Fix UAF on mgmt_remove_adv_monitor_complete
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 6.8.0-1042.44~22.04.1 : patch Linux kernel soon.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 9% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.8.0-1042.44~22.04.1, 6.8.0-1044.50~22.04.1, 6.8.0-1043.46~22.04.1 +33
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 3 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde@6.17.0-1017.17?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux@6.8.0-87.88?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws@6.8.0-1042.44?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-aws-6.14pkg:deb/ubuntu/linux-aws-6.14@6.14.0-1013.13~24.04.1?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure@6.8.0-1044.50?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11@6.11.0-1018.18~24.04.1?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
An official patch is available and should be applied to affected Linux kernel versions. The Ubuntu security advisory USN-7769-1 confirms the fix is included in updated kernel packages. Users should update their Linux kernel to the patched versions to remediate this vulnerability. No additional mitigation steps are indicated by the vendor advisory.
Description
A use-after-free vulnerability in the Linux kernel Bluetooth subsystem was resolved, specifically in the mgmt_remove_adv_monitor_complete function. The flaw involved improper handling of MGMT_OP_REMOVE_ADV_MONITOR operations, leading to potential kernel crashes. This issue was detected by Kernel Address Sanitizer (KASAN) and fixed by reworking the relevant code to avoid use-after-free conditions. The vulnerability affects multiple specific Linux kernel versions. A patch is available and included in recent Linux kernel updates.
References
- ubuntu.com/security/CVE-2025-38118 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-38118 (opens in a new tab)
- git.kernel.org/linus/e6ed54e86aae9e4f7286ce8d5c73780f91b48d1c (opens in a new tab)
- git.kernel.org/stable/c/32aa2fbe319f33b0318ec6f4fceb63879771a286 (opens in a new tab)
- git.kernel.org/stable/c/3c9aba9cbdf163e2654be9f82d43ff8a04273962 (opens in a new tab)
- git.kernel.org/stable/c/9df3e5e7f7e4653fd9802878cedc36defc5ef42d (opens in a new tab)
- git.kernel.org/stable/c/9f66b6531c2b4e996bb61720ee94adb4b2e8d1be (opens in a new tab)
- git.kernel.org/stable/c/e6ed54e86aae9e4f7286ce8d5c73780f91b48d1c (opens in a new tab)
- ubuntu.com/security/notices/USN-7769-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7770-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7771-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7769-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7769-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7789-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7789-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7861-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7861-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7864-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7861-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7861-5 (opens in a new tab)