# Bluetooth: L2CAP: Fix user-after-free

CVE record · `CVE-2022-50386`

- **Identifiers:** `CVE-2022-50386`
- **State:** Confirmed
- **Severity:** CVSS 8.8 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-416](https://cwe.mitre.org/data/definitions/416.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 18 Sept 2025
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 18 Sept 2025, 13:33 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `3df91ea20e744344100b10ae69a17211fcf5b207 to before 11e40d6c0823f699d8ad501e48d1c3ae4be386cd` (git)
  - affected: `3df91ea20e744344100b10ae69a17211fcf5b207 to before 843fc4e386dd84b806a7f07fb062d8c3a44e5364` (git)
  - affected: `3df91ea20e744344100b10ae69a17211fcf5b207 to before d91fc2836562f299f34e361e089e9fe154da4f73` (git)
  - affected: `3df91ea20e744344100b10ae69a17211fcf5b207 to before 7d6f9cb24d2b2f6b6370eac074e2e6b1bafdad45` (git)
  - affected: `3df91ea20e744344100b10ae69a17211fcf5b207 to before 0c108cf3ad386e0084277093b55a351c49e0be27` (git)
  - affected: `3df91ea20e744344100b10ae69a17211fcf5b207 to before d1e894f950ad48897d1a7cb05909ea29d8c3810e` (git)
  - affected: `3df91ea20e744344100b10ae69a17211fcf5b207 to before 6ffde6e03085874ae22263ff4cef4869f797e84f` (git)
  - affected: `3df91ea20e744344100b10ae69a17211fcf5b207 to before 15fc21695eb606bdc5d483b92118ee42610a952d` (git)
  - affected: `3df91ea20e744344100b10ae69a17211fcf5b207 to before 35fcbc4243aad7e7d020b7c1dfb14bb888b20a4f` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.4`
  - unaffected: `before 3.4` (semver)
  - unaffected: `4.9.331 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.296 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.262 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.220 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.150 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.75 to 5.15.*, inclusive` (semver)
  - unaffected: `5.19.17 to 5.19.*, inclusive` (semver)
  - unaffected: `6.0.3 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 8.8 High, CVSS 3.1: `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux) (used for this record)
- 8.0 High, CVSS 3.1: `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0038, the 33rd percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 18 Sept 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2022-50386](https://www.cve.org/CVERecord?id=CVE-2022-50386)
- [NVD: CVE-2022-50386](https://nvd.nist.gov/vuln/detail/CVE-2022-50386)

### References from the CNA

- <https://git.kernel.org/stable/c/11e40d6c0823f699d8ad501e48d1c3ae4be386cd>
- <https://git.kernel.org/stable/c/843fc4e386dd84b806a7f07fb062d8c3a44e5364>
- <https://git.kernel.org/stable/c/d91fc2836562f299f34e361e089e9fe154da4f73>
- <https://git.kernel.org/stable/c/7d6f9cb24d2b2f6b6370eac074e2e6b1bafdad45>
- <https://git.kernel.org/stable/c/0c108cf3ad386e0084277093b55a351c49e0be27>
- <https://git.kernel.org/stable/c/d1e894f950ad48897d1a7cb05909ea29d8c3810e>
- <https://git.kernel.org/stable/c/6ffde6e03085874ae22263ff4cef4869f797e84f>
- <https://git.kernel.org/stable/c/15fc21695eb606bdc5d483b92118ee42610a952d>
- <https://git.kernel.org/stable/c/35fcbc4243aad7e7d020b7c1dfb14bb888b20a4f>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2022-50386>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2022-50386/>. Everything for agents: <https://agentprime.io/llms.txt>.
