---
id: CVE-2024-35967
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  Bluetooth: SCO: Fix not validating setsockopt user input

  syzbot reported sco_sock_setsockopt() is copying data without
  checking user input length.

  BUG: KASAN: slab-ou…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  Bluetooth: SCO: Fix not validating setsockopt user input

  syzbot reported sco_sock_setsockopt() is copying data without
  checking user input length.

  BUG: KASAN: slab-ou…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H'
cwe:
  - CWE-125
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 3.8, < 5.10.216'
  - 'linux_kernel >= 5.11, < 5.15.178'
  - 'linux_kernel >= 5.16, < 6.1.87'
  - 'linux_kernel >= 6.2, < 6.6.28'
  - 'linux_kernel >= 6.7, < 6.8.7'
  - linux_kernel = 6.9
  - debian_linux = 10.0
patched:
  - linux_kernel 6.8.7
published: '2024-05-20'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:18:14.543'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-35967'
references:
  - url: 'https://git.kernel.org/stable/c/2c2dc87cdebef3fe3b9d7a711a984c70e376e32e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/419a0ffca7010216f0fc265b08558d7394fa0ba7'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/51eda36d33e43201e7a4fd35232e069b2c850b01'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/72473db90900da970a16ee50ad23c2c38d107d8c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/7bc65d23ba20dcd7ecc094a12c181e594e5eb315'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b0e30c37695b614bee69187f86eaf250e36606ce'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/419a0ffca7010216f0fc265b08558d7394fa0ba7'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/51eda36d33e43201e7a4fd35232e069b2c850b01'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/72473db90900da970a16ee50ad23c2c38d107d8c'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/7bc65d23ba20dcd7ecc094a12c181e594e5eb315'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/b0e30c37695b614bee69187f86eaf250e36606ce'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-265688.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00239
epssPercentile: 0.14902
ingestedAt: '2026-10-15T03:30:12.693Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-05-20T17:01:27.722344Z'
---

## Overview

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

Bluetooth: SCO: Fix not validating setsockopt user input

syzbot reported sco_sock_setsockopt() is copying data without
checking user input length.

BUG: KASAN: slab-out-of-bounds in copy_from_sockptr_offset
include/linux/sockptr.h:49 [inline]
BUG: KASAN: slab-out-of-bounds in copy_from_sockptr
include/linux/sockptr.h:55 [inline]
BUG: KASAN: slab-out-of-bounds in sco_sock_setsockopt+0xc0b/0xf90
net/bluetooth/sco.c:893
Read of size 4 at addr ffff88805f7b15a3 by task syz-executor.5/12578

## Affected

- `linux_kernel >= 3.8, < 5.10.216`
- `linux_kernel >= 5.11, < 5.15.178`
- `linux_kernel >= 5.16, < 6.1.87`
- `linux_kernel >= 6.2, < 6.6.28`
- `linux_kernel >= 6.7, < 6.8.7`
- `linux_kernel = 6.9`
- `debian_linux = 10.0`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.8.7`
