{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-35966","id":"CVE-2024-35966","title":"Bluetooth: RFCOMM: Fix not validating setsockopt user input","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: RFCOMM: Fix not validating setsockopt user input\n\nsyzbot reported rfcomm_sock_setsockopt_old() is copying data without\nchecking user input length.\n\nBUG: KASAN: slab-out-of-bounds in copy_from_sockptr_offset\ninclude/linux/sockptr.h:49 [inline]\nBUG: KASAN: slab-out-of-bounds in copy_from_sockptr\ninclude/linux/sockptr.h:5","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: RFCOMM: Fix not validating setsockopt user input\n\nsyzbot reported rfcomm_sock_setsockopt_old() is copying data without\nchecking user input length.\n\nBUG: KASAN: slab-out-of-bounds in copy_from_sockptr_offset\ninclude/linux/sockptr.h:49 [inline]\nBUG: KASAN: slab-out-of-bounds in copy_from_sockptr\ninclude/linux/sockptr.h:55 [inline]\nBUG: KASAN: slab-out-of-bounds in rfcomm_sock_setsockopt_old\nnet/bluetooth/rfcomm/sock.c:632 [inline]\nBUG: KASAN: slab-out-of-bounds in rfcomm_sock_setsockopt+0x893/0xa70\nnet/bluetooth/rfcomm/sock.c:673\nRead of size 4 at addr ffff8880209a8bc3 by task syz-executor632/5064","published":"2024-05-20T09:41:55.838Z","updated":"2026-10-28T02:30:51.929367867Z","reserved":"2024-05-17T13:50:33.138Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"bb23c0ab824653be4aa7dfca15b07b3059717004","lessThan":"d072ea24748189cd8f4a9c3f585ca9af073a0838","status":"affected","versionType":"git"},{"version":"bb23c0ab824653be4aa7dfca15b07b3059717004","lessThan":"00767fbd67af70d7a550caa5b12d9515fa978bab","status":"affected","versionType":"git"},{"version":"bb23c0ab824653be4aa7dfca15b07b3059717004","lessThan":"eea40d33bf936a5c7fb03c190e61e0cfee00e872","status":"affected","versionType":"git"},{"version":"bb23c0ab824653be4aa7dfca15b07b3059717004","lessThan":"4ea65e2095e9bd151d0469328dd7fc2858feb546","status":"affected","versionType":"git"},{"version":"bb23c0ab824653be4aa7dfca15b07b3059717004","lessThan":"c3f787a3eafe519c93df9abbb0ca5145861c8d0f","status":"affected","versionType":"git"},{"version":"bb23c0ab824653be4aa7dfca15b07b3059717004","lessThan":"a97de7bff13b1cc825c1b1344eaed8d6c2d3e695","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.30","status":"affected"},{"version":"0","lessThan":"2.6.30","status":"unaffected","versionType":"semver"},{"version":"5.10.234","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.178","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.107","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.47","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.8.7","lessThanOrEqual":"6.8.*","status":"unaffected","versionType":"semver"},{"version":"6.9","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-125"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/d072ea24748189cd8f4a9c3f585ca9af073a0838","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/00767fbd67af70d7a550caa5b12d9515fa978bab","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/eea40d33bf936a5c7fb03c190e61e0cfee00e872","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/4ea65e2095e9bd151d0469328dd7fc2858feb546","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c3f787a3eafe519c93df9abbb0ca5145861c8d0f","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/a97de7bff13b1cc825c1b1344eaed8d6c2d3e695","tags":["x_transferred","Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35966.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35966","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0026,"epssPercentile":0.17963,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-35966","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35966","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-35966","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-35966","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}