---
id: CVE-2023-40283
title: >-
  An issue was discovered in l2cap_sock_release in net/bluetooth/l2cap_sock.c in
  the Linux kernel before 6.4.10
summary: >-
  An issue was discovered in l2cap_sock_release in net/bluetooth/l2cap_sock.c in
  the Linux kernel before 6.4.10. There is a use-after-free because the children
  of an sk are mishandled.
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-416
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 3.5, < 4.14.322'
  - 'linux_kernel >= 4.15, < 4.19.291'
  - 'linux_kernel >= 4.20, < 5.4.253'
  - 'linux_kernel >= 5.5, < 5.10.190'
  - 'linux_kernel >= 5.11, < 5.15.126'
  - 'linux_kernel >= 5.16, < 6.1.45'
  - 'linux_kernel >= 6.2, < 6.4.10'
  - debian_linux = 10.0
  - debian_linux = 11.0
  - debian_linux = 12.0
  - ubuntu_linux = 14.04
  - ubuntu_linux = 16.04
  - ubuntu_linux = 18.04
  - ubuntu_linux = 20.04
  - ubuntu_linux = 22.04
patched:
  - linux_kernel 6.4.10
published: '2023-08-14'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T00:16:36.733'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-40283'
references:
  - url: >-
      http://packetstormsecurity.com/files/175072/Kernel-Live-Patch-Security-Notice-LSN-0098-1.html
    label: cve@mitre.org
  - url: >-
      http://packetstormsecurity.com/files/175963/Kernel-Live-Patch-Security-Notice-LSN-0099-1.html
    label: cve@mitre.org
  - url: 'https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.4.10'
    label: cve@mitre.org
  - url: >-
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1728137b33c00d5a2b5110ed7aafb42e7c32e4a1
    label: cve@mitre.org
  - url: >-
      https://github.com/torvalds/linux/commit/1728137b33c00d5a2b5110ed7aafb42e7c32e4a1
    label: cve@mitre.org
  - url: 'https://lists.debian.org/debian-lts-announce/2023/10/msg00027.html'
    label: cve@mitre.org
  - url: 'https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html'
    label: cve@mitre.org
  - url: 'https://security.netapp.com/advisory/ntap-20231020-0007/'
    label: cve@mitre.org
  - url: 'https://www.debian.org/security/2023/dsa-5480'
    label: cve@mitre.org
  - url: 'https://www.debian.org/security/2023/dsa-5492'
    label: cve@mitre.org
  - url: >-
      http://packetstormsecurity.com/files/175072/Kernel-Live-Patch-Security-Notice-LSN-0098-1.html
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      http://packetstormsecurity.com/files/175963/Kernel-Live-Patch-Security-Notice-LSN-0099-1.html
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.4.10'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1728137b33c00d5a2b5110ed7aafb42e7c32e4a1
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://github.com/torvalds/linux/commit/1728137b33c00d5a2b5110ed7aafb42e7c32e4a1
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2023/10/msg00027.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20231020-0007/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.debian.org/security/2023/dsa-5480'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.debian.org/security/2023/dsa-5492'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-806742.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.0055
epssPercentile: 0.45812
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2024-05-10T04:00:08.967057Z'
ingestedAt: '2026-09-18T15:44:31.588Z'
---

## Overview

An issue was discovered in l2cap_sock_release in net/bluetooth/l2cap_sock.c in the Linux kernel before 6.4.10. There is a use-after-free because the children of an sk are mishandled.

## Affected

- `linux_kernel >= 3.5, < 4.14.322`
- `linux_kernel >= 4.15, < 4.19.291`
- `linux_kernel >= 4.20, < 5.4.253`
- `linux_kernel >= 5.5, < 5.10.190`
- `linux_kernel >= 5.11, < 5.15.126`
- `linux_kernel >= 5.16, < 6.1.45`
- `linux_kernel >= 6.2, < 6.4.10`
- `debian_linux = 10.0`
- `debian_linux = 11.0`
- `debian_linux = 12.0`
- `ubuntu_linux = 14.04`
- `ubuntu_linux = 16.04`
- `ubuntu_linux = 18.04`
- `ubuntu_linux = 20.04`
- `ubuntu_linux = 22.04`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.4.10`
