CVE Catalog

CVE-2024-35966

High
Published: Translated: NVD NIST

Summary

A vulnerability has been identified in the Linux kernel within the Bluetooth RFCOMM module, related to the lack of validation of user input length in the rfcomm_sock_setsockopt_old() function.

Risk Assessment

The lack of input validation may lead to memory corruption, posing a risk of executing malicious code or destabilizing the system.

Recommendation

It is recommended to update the Linux kernel to the latest version where this vulnerability has been fixed.

Related vulnerabilities

Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: RFCOMM: Fix not validating setsockopt user input syzbot reported rfcomm_sock_setsockopt_old() 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 rfcomm_sock_setsockopt_old net/bluetooth/rfcomm/sock.c:632 [inline] BUG: KASAN: slab-out-of-bounds in rfcomm_sock_setsockopt+0x893/0xa70 net/bluetooth/rfcomm/sock.c:673 Read of size 4 at addr ffff8880209a8bc3 by task syz-executor632/5064

Vulnerability data from NVD (NIST) · CISA KEV · EPSS