Use After Free Affecting kernel-uek-firmware package, versions <0:4.1.12-124.89.4.el6uek


Severity

Recommended
high

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.04% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ORACLE6-KERNELUEKFIRMWARE-7886844
  • published4 Sept 2024
  • disclosed4 Apr 2024

Introduced: 4 Apr 2024

CVE-2024-26801  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Oracle:6 kernel-uek-firmware to version 0:4.1.12-124.89.4.el6uek or higher.
This issue was patched in ELSA-2024-12606.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-uek-firmware package and not the kernel-uek-firmware package as distributed by Oracle. See How to fix? for Oracle:6 relevant fixed versions and status.

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

Bluetooth: Avoid potential use-after-free in hci_error_reset

While handling the HCI_EV_HARDWARE_ERROR event, if the underlying BT controller is not responding, the GPIO reset mechanism would free the hci_dev and lead to a use-after-free in hci_error_reset.

Here's the call trace observed on a ChromeOS device with Intel AX201: queue_work_on+0x3e/0x6c __hci_cmd_sync_sk+0x2ee/0x4c0 [bluetooth <HASH:3b4a6>] ? init_wait_entry+0x31/0x31 __hci_cmd_sync+0x16/0x20 [bluetooth <HASH:3b4a 6>] hci_error_reset+0x4f/0xa4 [bluetooth <HASH:3b4a 6>] process_one_work+0x1d8/0x33f worker_thread+0x21b/0x373 kthread+0x13a/0x152 ? pr_cont_work+0x54/0x54 ? kthread_blkcg+0x31/0x31 ret_from_fork+0x1f/0x30

This patch holds the reference count on the hci_dev while processing a HCI_EV_HARDWARE_ERROR event to avoid potential crash.

CVSS Scores

version 3.1