bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2021-3564

5.5medium

linux6.18.60 · 6.18.54 · 6.18.8 · 6.12.21in 4 of 4 releases

Reach linux · 8 builds in 4 of 4 releases

full reviewcross-check✓ a member decided

Description · NVD

A flaw double-free memory corruption in the Linux kernel HCI device initialization subsystem was found in the way user attach malicious HCI TTY Bluetooth device. A local user could use this flaw to crash the system. This flaw affects all the Linux kernel versions starting from 3.13.

Published 2021-06-08NVD

CVSS 3.1Local · low privileges · no user interaction

How it is reached

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None

What it costs

Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References 6
Review Av26.10.0x86_64Not affected✓ accepted by a member, 2026-11-18 · settles 8 of 8

Fable 5.1 · high confidence · 2026-11-05

CVE-2021-3564 is a double-free in hci_unregister_dev() (net/bluetooth/hci_core.c) reached via the HCI UART line discipline; upstream fixed it in 5.13 (commit 6a137caec23a, "Bluetooth: fix the erroneous flush_work() order"), so NVD's claim that 6.18.60 is affected is a stale version range.

In this tree hci_unregister_dev() already stops rx_work/cmd_work (disable_work_sync) before hci_dev_do_close(), i.e. the fixed ordering is present.

Independently, the Infix x86_64 kernel has CONFIG_BT unset, so neither net/bluetooth/ nor drivers/bluetooth/ (hci_uart) is compiled into the image at all.

No action is required; document as not applicable.

Evidence 5
  1. # CONFIG_BT is not set — the entire Bluetooth subsystem, including HCI core and HCI UART driver, is not compiled

    output/build/linux-6.18.60/.config:1564

  2. Only CONFIG_BTRFS_FS entries; no CONFIG_BT / CONFIG_BT_HCIUART in the Infix kernel defconfig

    board/x86_64/linux_defconfig (grep CONFIG_BT)

  3. obj-$(CONFIG_BT) += bluetooth/ and obj-$(CONFIG_BT_HCIUART) += hci_uart.o — the affected code is guarded by CONFIG_BT, which is off

    net/Makefile:35, drivers/bluetooth/Makefile:7

  4. disable_work_sync(&hdev->rx_work)/cmd_work/... run before hci_dev_do_close(hdev); this is the fixed ordering from upstream commit 6a137caec23a (v5.13) and later rework, not the vulnerable flush-after-close sequence

    output/build/linux-6.18.60/net/bluetooth/hci_core.c:2702-2730 (hci_unregister_dev)

  5. No Bluetooth/HCI-related patches applied by Infix; the fix comes from upstream mainline, not a local patch

    output/build/linux-6.18.60/.applied_patches_list

Version and patches

Affected: Linux 3.13 through 5.12.x. Fixed upstream in v5.13 by commit 6a137caec23a ("Bluetooth: fix the erroneous flush_work() order"), backported to 5.10/5.4/4.19 stable series. Linux 6.18.60 includes the fix (verified in hci_unregister_dev). None of the 139 Infix patches touch Bluetooth. NVD's CPE range matching 6.18.60 is incorrect.

Recommendation

No action. Document as N/A: fix is present upstream since 5.13 and Bluetooth (CONFIG_BT) is not compiled into the Infix x86_64 kernel. Consider adding an IGNORE_CVES entry for the linux package to suppress this stale NVD match.

Open questions

None.

Members of Kernel Kit decide. Sign in if you are one.