Linux Kernel AX25 Device Refcount Leak Vulnerability
CVE-2025-21792

Currently unrated

Key Information:

Vendor
Linux
Status
Vendor
CVE Published:
27 February 2025

Summary

A vulnerability in the Linux kernel related to AX25 devices allows for a refcount leak if the SO_BINDTODEVICE socket option is utilized without proper incrementing of the device's reference count. This issue manifests when an AX25 device is connected to a socket using either the ax25_bind() function or the SO_BINDTODEVICE option; however, the necessary refcounts are not always properly managed. As a result, users may encounter memory leaks, with CPU warnings indicating refcount decrements reaching zero. A patch has been implemented to ensure that reference counts are accurately incremented when binding new devices and decremented for unbound devices.

Affected Version(s)

Linux 9fd75b66b8f68498454d685dc4ba13192ae069b0 < 90056ece99966182dc0e367f3fd2afab46ada847

Linux 9fd75b66b8f68498454d685dc4ba13192ae069b0 < 94a0de224ed52eb2ecd4f4cb1b937b674c9fb955

Linux 9fd75b66b8f68498454d685dc4ba13192ae069b0

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.