A vulnerability in the Linux kernel Bluetooth management subsystem allows out-of-bounds (OOB) access in the parse_adv_monitor_pattern() function. This occurs because the length variable can exceed the size of the value array, leading to potential memory corruption. The issue arises from a mismatch between the maximum allowed length and the size of the array in the mgmt_adv_pattern structure. The vulnerability has been fixed by reverting the limits for offset and length to a safer value.