title: Race condition vulnerability in Linux kernel bluetooth driver in {min,max}_key_size_set()
description: A race condition was found in the Linux kernel's bluetooth device driver in {min,max}_key_size_set() function. This can result in a null pointer dereference issue, possibly leading to a kernel panic or denial of service issue.
problem types: CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
affected:
{
collectionURL: https://kernel.org/
defaultStatus: unaffected
modules: bluetooth
packageName: kernel
platforms: [Linux, x86, ARM]
product: Linux kernel
programFiles: https://gitee.com/anolis/cloud-kernel/blob/devel-5.10/net/bluetooth/hci_debugfs.c
repo: https://gitee.com/anolis/cloud-kernel.git
vendor: Linux
versions:
lessThan: v6.8-rc1, status: affected, version: v5.6-rc1, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: HIGH
attackVector: ADJACENT_NETWORK
availabilityImpact: NONE
baseScore: 4.6
baseSeverity: MEDIUM
confidentialityImpact: HIGH
integrityImpact: LOW
privilegesRequired: HIGH
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:L/A:N
version: 3.1
]
format: CVSS
scenarios: GENERAL
solutions:  https://github.com/torvalds/linux/commit/da9065caa594d https://github.com/torvalds/linux/commit/da9065caa594d