Bluetooth: RFCOMM: Fix not validating setsockopt user input
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 00767fbd67af70d7a550caa5b12d9515fa978bab, Kernel 4ea65e2095e9bd151d0469328dd7fc2858feb546, Kernel a97de7bff13b1cc825c1b1344eaed8d6c2d3e695 and 3 more.
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
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =2.6.30, >=bb23c0ab824653be4aa7dfca15b07b3059717004 <00767fbd67af70d7a550caa5b12d9515fa978bab, >=bb23c0ab824653be4aa7dfca15b07b3059717004 <4ea65e2095e9bd151d0469328dd7fc2858feb546, >=bb23c0ab824653be4aa7dfca15b07b3059717004 <a97de7bff13b1cc825c1b1344eaed8d6c2d3e695, >=bb23c0ab824653be4aa7dfca15b07b3059717004 <c3f787a3eafe519c93df9abbb0ca5145861c8d0f, >=bb23c0ab824653be4aa7dfca15b07b3059717004 <d072ea24748189cd8f4a9c3f585ca9af073a0838, >=bb23c0ab824653be4aa7dfca15b07b3059717004 <eea40d33bf936a5c7fb03c190e61e0cfee00e872 | 00767fbd67af70d7a550caa5b12d9515fa978bab, 4ea65e2095e9bd151d0469328dd7fc2858feb546, a97de7bff13b1cc825c1b1344eaed8d6c2d3e695, c3f787a3eafe519c93df9abbb0ca5145861c8d0f, d072ea24748189cd8f4a9c3f585ca9af073a0838, eea40d33bf936a5c7fb03c190e61e0cfee00e872 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket