Lucene search

K
cvelistLinuxCVELIST:CVE-2024-26889
HistoryApr 17, 2024 - 10:27 a.m.

CVE-2024-26889 Bluetooth: hci_core: Fix possible buffer overflow

2024-04-1710:27:42
Linux
www.cve.org
linux kernel
vulnerability
hci_core
buffer overflow
fix
cve-2024-26889
strscpy

7.9 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

13.2%

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

Bluetooth: hci_core: Fix possible buffer overflow

struct hci_dev_info has a fixed size name[8] field so in the event that
hdev->name is bigger than that strcpy would attempt to write past its
size, so this fixes this problem by switching to use strscpy.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/bluetooth/hci_core.c"
    ],
    "versions": [
      {
        "version": "194ab82c1ea1",
        "lessThan": "6d5a9d4a7bcb",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b48595f5b1c6",
        "lessThan": "54a03e4ac1a4",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ffb060b136dd",
        "lessThan": "d47e6c1932ce",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bbec1724519e",
        "lessThan": "2e845867b4e2",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a55d53ad5c86",
        "lessThan": "68644bf5ec6b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "dcda165706b9",
        "lessThan": "a41c8efe659c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "dcda165706b9",
        "lessThan": "8c28598a2c29",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "dcda165706b9",
        "lessThan": "2edce8e9a99d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "dcda165706b9",
        "lessThan": "81137162bfaa",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/bluetooth/hci_core.c"
    ],
    "versions": [
      {
        "version": "6.6",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.6",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.311",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.273",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.214",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.153",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.83",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.23",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.11",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.2",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

7.9 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

13.2%