bluetoothd from bluez incorrectly saves adapters' Discoverable status when a device is powered down, and restores it when powered up. If a device is powered down while discoverable, it will be discoverable when powered on again. This could lead to inadvertent exposure of the bluetooth stack to physically nearby attackers.
https://security.netapp.com/advisory/ntap-20220407-0002/
https://gitlab.gnome.org/GNOME/gnome-bluetooth/-/issues/89
https://github.com/bluez/bluez/commit/b497b5942a8beb8f89ca1c359c54ad67ec843055