[PATCH 6.12 129/172] Bluetooth: Improve setsockopt() handling of malformed user input