A vulnerability in the Linux kernel's BPF subsystem related to the handling of percpu_counter in large non-preallocated hash maps has been resolved. The issue involved unsafe locking behavior that could lead to recursive locking warnings and potential deadlocks when BPF programs run concurrently with certain kernel locks held. The fix involves changing how element counts are tracked to avoid unsafe locking.