Skip to main content
VulnerabilityPublished Updated

CVE-2025-21792: Linux kernel · ax25: Fix refcount leak caused by setting SO_BINDTODEVICE sockopt

Source GCVE Database

0
Compare

Not known to be exploited · CVSS 5.5 Medium.

Data as of 30 Oct 2026, 01:13 UTC

CVSS 3.1 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Feb 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

AI-suggested

A fix for this vulnerability is available in the Linux kernel source code as described in the commit that corrected the reference count handling in ax25_setsockopt(). Users and administrators should update to a kernel version that includes this fix. Since this is a kernel-level issue, applying the official kernel patch or upgrading to a fixed kernel release is the recommended remediation.

Description

CVE-2025-21792 is a vulnerability in the Linux kernel's AX25 protocol implementation where a reference count leak occurs when binding an AX25 device to a socket using the SO_BINDTODEVICE socket option. This leak happens because the reference count increment is missing in this code path, leading to improper resource management and potential memory leaks. The issue was identified and fixed by ensuring that reference counts are correctly incremented and decremented when devices are bound or unbound from sockets.

References

Community reviews

Loading reviews…