Re: [PATCH v2] Bluetooth: Fix atomicity violation in {min,max}_key_size_set

From: Gui-Dong Han
Date: Thu Jan 11 2024 - 03:45:46 EST


Dear All, I hope this message finds you well. Following up on my previous email regarding the patch, I want to highlight an important aspect. In /net/bluetooth/hci_debugfs.c, there are four similar bugs related to atomicity violations, potentially leading to minimum values exceeding maximum ones. https://patchwork.kernel.org/project/bluetooth/patch/20231222162931.6553-1-2045gemini@xxxxxxxxx/ https://patchwork.kernel.org/project/bluetooth/patch/20231222162310.6461-1-2045gemini@xxxxxxxxx/ https://patchwork.kernel.org/project/bluetooth/patch/20231222161317.6255-1-2045gemini@xxxxxxxxx/ https://patchwork.kernel.org/project/bluetooth/patch/20231222151241.4331-1-2045gemini@xxxxxxxxx/ I kindly request your review of these issues alongside the original patch. Understanding your busy schedules, your prompt attention to this consolidated review would be greatly appreciated. Thank you for your time and consideration. Best regards, Han