Bluetooth: Move {min,max}_key_size debugfs into hci_debugfs_create_le
mainline inclusion from mainline-v5.6-rc1 commit 18f81241 category: bugfix bugzilla: 1https://gitee.com/src-openeuler/kernel/issues/I917MX CVE: CVE-2024-24860 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=18f81241b74fb49d576c83fbbab9a0b6e3bb20d4 --------------------------- The debugfs entries for {min,max}_key_size are created during SMP registration and thus it might lead to multiple attempts to create the same entries. Avoid this by moving them to the LE controller init section. Signed-off-by:Marcel Holtmann <marcel@holtmann.org> Signed-off-by:
Johan Hedberg <johan.hedberg@intel.com> Signed-off-by:
Liu Jian <liujian56@huawei.com> Conflicts: net/bluetooth/hci_debugfs.c
Loading
Please sign in to comment