---
id: CVE-2026-64178
title: 'Bluetooth: bnep: Fix UAF read of dev->name'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  Bluetooth: bnep: Fix UAF read of dev->name

  bnep_add_connection() needs to keep holding the bnep_session_sem while
  reading dev->name (just like bnep_get_connlist() does…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    a75bbcb10cb21acc169b785e9804f57d97873a9c
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    4907596f25b1720fa948371ac5f6c1f8da10a5bc
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    915a92182e2cda9cd7d2479020a44c6eda986f7c
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    fe69f634b076ae3ca81c5a5b845d9bba527036f7
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    b21805258d7e926adfd455fc820a447b90da3b82
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    5506aec795135cdd4cbf4e845929155663b25055
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    e7578529b97e5d4e439cf8f3e637c2303015338f
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    59e932ded949fa6f0340bf7c6d7818f962fa4fd2
  - Linux 2.6.12
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-16T15:37:17.723299Z'
published: '2026-07-19'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T15:42:25.595Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-64178'
references:
  - url: 'https://git.kernel.org/stable/c/a75bbcb10cb21acc169b785e9804f57d97873a9c'
  - url: 'https://git.kernel.org/stable/c/4907596f25b1720fa948371ac5f6c1f8da10a5bc'
  - url: 'https://git.kernel.org/stable/c/915a92182e2cda9cd7d2479020a44c6eda986f7c'
  - url: 'https://git.kernel.org/stable/c/fe69f634b076ae3ca81c5a5b845d9bba527036f7'
  - url: 'https://git.kernel.org/stable/c/b21805258d7e926adfd455fc820a447b90da3b82'
  - url: 'https://git.kernel.org/stable/c/5506aec795135cdd4cbf4e845929155663b25055'
  - url: 'https://git.kernel.org/stable/c/e7578529b97e5d4e439cf8f3e637c2303015338f'
  - url: 'https://git.kernel.org/stable/c/59e932ded949fa6f0340bf7c6d7818f962fa4fd2'
tags:
  - cve.org
epss: 0.00249
epssPercentile: 0.15098
ingestedAt: '2026-10-16T17:24:46.808Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: bnep: Fix UAF read of dev->name

bnep_add_connection() needs to keep holding the bnep_session_sem while
reading dev->name (just like bnep_get_connlist() does); otherwise the
bnep_session() thread can concurrently free the net_device, which can for
example be triggered by a concurrent bnep_del_connection().

(This UAF is fairly uninteresting from a security perspective;
calling bnep_add_connection() requires passing a capable(CAP_NET_ADMIN)
check. It also requires completely tearing down a netdev during a fairly
tight race window.)

## Affected

- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < a75bbcb10cb21acc169b785e9804f57d97873a9c`
- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 4907596f25b1720fa948371ac5f6c1f8da10a5bc`
- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 915a92182e2cda9cd7d2479020a44c6eda986f7c`
- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < fe69f634b076ae3ca81c5a5b845d9bba527036f7`
- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < b21805258d7e926adfd455fc820a447b90da3b82`
- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 5506aec795135cdd4cbf4e845929155663b25055`
- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < e7578529b97e5d4e439cf8f3e637c2303015338f`
- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 59e932ded949fa6f0340bf7c6d7818f962fa4fd2`
- `Linux 2.6.12`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
