Junglewise Threat Intelligence

CVE-2026-53035: Linux Kernel deadlock in af_unix BPF iterator

CVE-2026-53035 · Severity: info · CVSS 5.5 · Published 2026-06-24

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A flaw in the Linux kernel's networking component could allow a local user to cause a system deadlock. This occurs when specific BPF programs interact with UNIX domain sockets in a way that triggers a recursive locking error. An exploit would result in a denial-of-service, potentially freezing the affected system and disrupting operations.

Technical details

A deadlock vulnerability exists in the Linux kernel's af_unix BPF iterator. The root cause is in `bpf_iter_unix_seq_show()`, which may deadlock when `lock_sock_fast()` takes the fast path while a BPF program simultaneously attempts to update a sockmap via `sock_map_update_elem()`. This leads to a recursive lock acquisition of the `slock-AF_UNIX` spinlock. An attacker with the ability to run BPF programs (typically requiring local access) can trigger this condition to cause a kernel hang. The issue has been resolved by replacing `lock_sock_fast()` with `lock_sock()` and updating the socket state checks.

Affected products

  • Linux Linux Kernel 2c860a43dd77 to 4d328dd69538

Timeline

  • 2026-04-14: disclosed: Initial patch submission by Michal Luczaj
  • 2026-04-15: patched: Mainline kernel patch committed
  • 2026-06-24: advisory: CVE-2026-53035 published

References

Related threats