Release Date: | 2024-04-17 |
In the Linux kernel, the following vulnerability has been resolved:\nBluetooth: btrtl: fix out of bounds memory access\nThe problem is detected by KASAN.\nbtrtl driver uses private hci data to store 'struct btrealtek_data'.\nIf btrtl driver is used with btusb, then memory for private hci data\nis allocated in btusb. But no private data is allocated after hci_dev,\nwhen btrtl is used with hci_h5.\nThis commit adds memory allocation for hci_h5 case.\n==================================================================\nBUG: KASAN: slab-out-of-bounds in btrtl_initialize+0x6cc/0x958 [btrtl]\nWrite of size 8 at addr ffff00000f5a5748 by task kworker/u9:0/76\nHardware name: Pine64 PinePhone (1.2) (DT)\nWorkqueue: hci0 hci_power_on [bluetooth]\nCall trace:\ndump_backtrace+0x9c/0x128\nshow_stack+0x20/0x38\ndump_stack_lvl+0x48/0x60\nprint_report+0xf8/0x5d8\nkasan_report+0x90/0xd0\n__asan_store8+0x9c/0xc0\n[btrtl]\nh5_btrtl_setup+0xd0/0x2f8 [hci_uart]\nh5_setup+0x50/0x80 [hci_uart]\nhci_uart_setup+0xd4/0x260 [hci_uart]\nhci_dev_open_sync+0x1cc/0xf68 [bluetooth]\nhci_dev_do_open+0x34/0x90 [bluetooth]\nhci_power_on+0xc4/0x3c8 [bluetooth]\nprocess_one_work+0x328/0x6f0\nworker_thread+0x410/0x778\nkthread+0x168/0x178\nret_from_fork+0x10/0x20\nAllocated by task 53:\nkasan_save_stack+0x3c/0x68\nkasan_save_track+0x20/0x40\nkasan_save_alloc_info+0x68/0x78\n__kasan_kmalloc+0xd4/0xd8\n__kmalloc+0x1b4/0x3b0\nhci_alloc_dev_priv+0x28/0xa58 [bluetooth]\nhci_uart_register_device+0x118/0x4f8 [hci_uart]\nh5_serdev_probe+0xf4/0x178 [hci_uart]\nserdev_drv_probe+0x54/0xa0\nreally_probe+0x254/0x588\n__driver_probe_device+0xc4/0x210\ndriver_probe_device+0x64/0x160\n__driver_attach_async_helper+0x88/0x158\nasync_run_entry_fn+0xd0/0x388\nprocess_one_work+0x328/0x6f0\nworker_thread+0x410/0x778\nkthread+0x168/0x178\nret_from_fork+0x10/0x20\nLast potentially related work creation:\nkasan_save_stack+0x3c/0x68\n__kasan_record_aux_stack+0xb0/0x150\nkasan_record_aux_stack_noalloc+0x14/0x20\n__queue_work+0x33c/0x960\nqueue_work_on+0x98/0xc0\nhci_recv_frame+0xc8/0x1e8 [bluetooth]\nh5_complete_rx_pkt+0x2c8/0x800 [hci_uart]\nh5_rx_payload+0x98/0xb8 [hci_uart]\nh5_recv+0x158/0x3d8 [hci_uart]\nhci_uart_receive_buf+0xa0/0xe8 [hci_uart]\nttyport_receive_buf+0xac/0x178\nflush_to_ldisc+0x130/0x2c8\nprocess_one_work+0x328/0x6f0\nworker_thread+0x410/0x778\nkthread+0x168/0x178\nret_from_fork+0x10/0x20\nSecond to last potentially related work creation:\nkasan_save_stack+0x3c/0x68\n__kasan_record_aux_stack+0xb0/0x150\nkasan_record_aux_stack_noalloc+0x14/0x20\n__queue_work+0x788/0x960\nqueue_work_on+0x98/0xc0\n__hci_cmd_sync_sk+0x23c/0x7a0 [bluetooth]\n__hci_cmd_sync+0x24/0x38 [bluetooth]\nbtrtl_initialize+0x760/0x958 [btrtl]\nh5_btrtl_setup+0xd0/0x2f8 [hci_uart]\nh5_setup+0x50/0x80 [hci_uart]\nhci_uart_setup+0xd4/0x260 [hci_uart]\nhci_dev_open_sync+0x1cc/0xf68 [bluetooth]\nhci_dev_do_open+0x34/0x90 [bluetooth]\nhci_power_on+0xc4/0x3c8 [bluetooth]\nprocess_one_work+0x328/0x6f0\nworker_thread+0x410/0x778\nkthread+0x168/0x178\nret_from_fork+0x10/0x20\n==================================================================
See more information about CVE-2024-26890 from MITRE CVE dictionary and NIST NVD
NOTE: The following CVSS v3.1 metrics and score provided are preliminary and subject to review.
Base Score: | 4.4 | CVSS Vector: | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H |
Attack Vector: | Local network | Attack Complexity: | Low |
Privileges Required: | High | User Interaction: | None |
Scope: | Unchanged | Confidentiality Impact: | None |
Integrity Impact: | None | Availability Impact: | High |
Platform | Errata | Release Date |
Oracle Linux version 9 (kernel) | ELSA-2024-9315 | 2024-11-14 |
This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections: