CVE-2024-35966: Bluetooth: RFCOMM: Fix not validating setsockopt user input

Published May 20, 2024
·
Updated

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

Bluetooth: RFCOMM: Fix not validating setsockopt user input

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

BUG: KASAN: slab-out-of-bounds in copyfromsockptroffset include/linux/sockptr.h:49 [inline] BUG: KASAN: slab-out-of-bounds in copyfromsockptr include/linux/sockptr.h:55 [inline] BUG: KASAN: slab-out-of-bounds in rfcommsocksetsockoptold net/bluetooth/rfcomm/sock.c:632 [inline] BUG: KASAN: slab-out-of-bounds in rfcommsocksetsockopt+0x893/0xa70 net/bluetooth/rfcomm/sock.c:673 Read of size 4 at addr ffff8880209a8bc3 by task syz-executor632/5064

Other sources

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

Bluetooth: RFCOMM: Fix not validating setsockopt user input

The Linux kernel CVE team has assigned CVE-2024-35966 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024052021-CVE-2024-35966-e107@gregkh/T

Red Hat

Affected Software

12 affected componentsFixes available
debian/linux<=5.10.223-1
5.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
debian/linux-6.1
6.1.129-1~deb11u1
redhat/kernel<6.8.7
6.8.7
redhat/kernel<6.9
6.9
Linux Linux kernel>=2.6.30<5.10.234
Linux Linux kernel>=5.11<5.15.178
Linux Linux kernel>=5.16<6.1.107
Linux Linux kernel>=6.2<6.6.47
Linux Linux kernel>=6.7<6.8.7
Linux Linux kernel=6.9-rc1
Linux Linux kernel=6.9-rc2
Linux Linux kernel=6.9-rc3

Event History

May 20, 2024
CVE Published
via MITRE·09:41 AM
Data Sourced
via MITRE·09:41 AM
Description
Data Sourced
via NVD·10:15 AM
Description
Data Sourced
via NVD·10:15 AM
RemedySeverityWeaknessAffected Software
Data Sourced
via Red Hat·04:46 PM
DescriptionSeverityAffected Software
Jul 11, 2024
Data Sourced
via Launchpad·07:47 PM
Description
May 5, 2025
Data Sourced
via Ubuntu·12:24 AM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-35966?

CVE-2024-35966 is classified as a significant vulnerability affecting the Linux kernel related to Bluetooth RFCOMM.

2

How do I fix CVE-2024-35966?

To mitigate CVE-2024-35966, upgrade to the patched versions of 'linux' or 'linux-6.1' as specified in the affected software list.

3

Which Linux kernel versions are affected by CVE-2024-35966?

CVE-2024-35966 affects Linux kernel versions up to and including 5.10.226-1.

4

What component is impacted by CVE-2024-35966?

CVE-2024-35966 impacts the Bluetooth subsystem, specifically the RFCOMM component.

5

Is there any workaround for CVE-2024-35966?

No specific workaround is recommended for CVE-2024-35966, the best course of action is to apply the available patches.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203