{
  "threat_severity" : "Moderate",
  "public_date" : "2024-10-21T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: Bluetooth: hci_conn: Fix UAF in hci_enhanced_setup_sync",
    "id" : "2320596",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2320596"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.1",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-416",
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\nBluetooth: hci_conn: Fix UAF in hci_enhanced_setup_sync\nThis checks if the ACL connection remains valid as it could be destroyed\nwhile hci_enhanced_setup_sync is pending on cmd_sync leading to the\nfollowing trace:\nBUG: KASAN: slab-use-after-free in hci_enhanced_setup_sync+0x91b/0xa60\nRead of size 1 at addr ffff888002328ffd by task kworker/u5:2/37\nCPU: 0 UID: 0 PID: 37 Comm: kworker/u5:2 Not tainted 6.11.0-rc6-01300-g810be445d8d6 #7099\nHardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-2.fc40 04/01/2014\nWorkqueue: hci0 hci_cmd_sync_work\nCall Trace:\n<TASK>\ndump_stack_lvl+0x5d/0x80\n? hci_enhanced_setup_sync+0x91b/0xa60\nprint_report+0x152/0x4c0\n? hci_enhanced_setup_sync+0x91b/0xa60\n? __virt_addr_valid+0x1fa/0x420\n? hci_enhanced_setup_sync+0x91b/0xa60\nkasan_report+0xda/0x1b0\n? hci_enhanced_setup_sync+0x91b/0xa60\nhci_enhanced_setup_sync+0x91b/0xa60\n? __pfx_hci_enhanced_setup_sync+0x10/0x10\n? __pfx___mutex_lock+0x10/0x10\nhci_cmd_sync_work+0x1c2/0x330\nprocess_one_work+0x7d9/0x1360\n? __pfx_lock_acquire+0x10/0x10\n? __pfx_process_one_work+0x10/0x10\n? assign_work+0x167/0x240\nworker_thread+0x5b7/0xf60\n? __kthread_parkme+0xac/0x1c0\n? __pfx_worker_thread+0x10/0x10\n? __pfx_worker_thread+0x10/0x10\nkthread+0x293/0x360\n? __pfx_kthread+0x10/0x10\nret_from_fork+0x2f/0x70\n? __pfx_kthread+0x10/0x10\nret_from_fork_asm+0x1a/0x30\n</TASK>\nAllocated by task 34:\nkasan_save_stack+0x30/0x50\nkasan_save_track+0x14/0x30\n__kasan_kmalloc+0x8f/0xa0\n__hci_conn_add+0x187/0x17d0\nhci_connect_sco+0x2e1/0xb90\nsco_sock_connect+0x2a2/0xb80\n__sys_connect+0x227/0x2a0\n__x64_sys_connect+0x6d/0xb0\ndo_syscall_64+0x71/0x140\nentry_SYSCALL_64_after_hwframe+0x76/0x7e\nFreed by task 37:\nkasan_save_stack+0x30/0x50\nkasan_save_track+0x14/0x30\nkasan_save_free_info+0x3b/0x60\n__kasan_slab_free+0x101/0x160\nkfree+0xd0/0x250\ndevice_release+0x9a/0x210\nkobject_put+0x151/0x280\nhci_conn_del+0x448/0xbf0\nhci_abort_conn_sync+0x46f/0x980\nhci_cmd_sync_work+0x1c2/0x330\nprocess_one_work+0x7d9/0x1360\nworker_thread+0x5b7/0xf60\nkthread+0x293/0x360\nret_from_fork+0x2f/0x70\nret_from_fork_asm+0x1a/0x30" ],
  "statement" : "This issue is considered to be a moderate impact flaw, the reproducer for this issue is not available that could breach the Integrity of the host.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2025-05-13T00:00:00Z",
    "advisory" : "RHSA-2025:6966",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-570.12.1.el9_6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2025-05-13T00:00:00Z",
    "advisory" : "RHSA-2025:6966",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-570.12.1.el9_6"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Out of support scope",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2024-50029\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-50029\nhttps://lore.kernel.org/linux-cve-announce/2024102130-CVE-2024-50029-8df2@gregkh/T" ],
  "name" : "CVE-2024-50029",
  "csaw" : false
}