Bluetooth: SCO: Fix not validating setsockopt user input
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
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.216, 5.15.178, 6.1.87, 6.6.28, 6.8.7
- CVEs
- CVE-2024-35967
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 04:25 UTC · Revision 1
Source evidence
Bluetooth: SCO: Fix not validating setsockopt user input
core-osv · Original sourcePublished 20 May 2024, 09:41 UTC
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
osv:CVE-2024-35967
Kernel
Fixed versions: 5.10.216, 5.15.178, 6.1.87, 6.6.28, 6.8.7
Complete source record
{
"id": "9741cc2d185e9bf3dcec7f91e7e046bbab65dd858b50cbbd89f387ab9cc801ea",
"url": "https://osv.dev/vulnerability/CVE-2024-35967",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Bluetooth: SCO: Fix not validating setsockopt user input",
"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-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",
"evidence": "osv:CVE-2024-35967",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.216",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.178",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.87",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.28",
"evidence": "/affected/1/ranges"
},
{
"value": "6.8.7",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2024-35967",
"aliases": [
"CVE-2024-35967"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "b96e9c671b05f95126753a22145d4509d45ca197"
},
{
"fixed": "b0e30c37695b614bee69187f86eaf250e36606ce"
},
{
"fixed": "2c2dc87cdebef3fe3b9d7a711a984c70e376e32e"
},
{
"fixed": "7bc65d23ba20dcd7ecc094a12c181e594e5eb315"
},
{
"fixed": "72473db90900da970a16ee50ad23c2c38d107d8c"
},
{
"fixed": "419a0ffca7010216f0fc265b08558d7394fa0ba7"
},
{
"fixed": "51eda36d33e43201e7a4fd35232e069b2c850b01"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35967.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.8.0"
},
{
"fixed": "5.10.216"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.178"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.87"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.28"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.8.7"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35967.json"
}
}
],
"modified": "2026-10-28T02:30:33.404261551Z",
"provider": "osv",
"references": [
"https://cert-portal.siemens.com/productcert/html/ssa-265688.html",
"https://git.kernel.org/stable/c/2c2dc87cdebef3fe3b9d7a711a984c70e376e32e",
"https://git.kernel.org/stable/c/419a0ffca7010216f0fc265b08558d7394fa0ba7",
"https://git.kernel.org/stable/c/51eda36d33e43201e7a4fd35232e069b2c850b01",
"https://git.kernel.org/stable/c/72473db90900da970a16ee50ad23c2c38d107d8c",
"https://git.kernel.org/stable/c/7bc65d23ba20dcd7ecc094a12c181e594e5eb315",
"https://git.kernel.org/stable/c/b0e30c37695b614bee69187f86eaf250e36606ce",
"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35967.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-35967",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35967.json"
}
},
"related_cves": [
{
"value": "CVE-2024-35967",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 500282,
"published_at": "2024-05-20T09:41:56.503+00:00"
}