CVE-2025-21792

Kernel compromise via AX.25 refcount underflow

Published Feb 27, 2025 · Updated Aug 5, 2026

Use-after-free in the Linux kernel AX.25 subsystem allows local users to compromise the kernel through an unprivileged socket sequence. The ax25_setsockopt() path binds an AX.25 device through SO_BINDTODEVICE without taking the device references that ax25_release() later drops, causing deterministic refcount underflow and premature frees. Any local unprivileged user on a host with AX.25 already configured can repeat the sequence to disclose kernel memory, corrupt kernel state, or crash the host.

CVSS severity7.8
High
EPSS probability0.24%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Use-after-free in the Linux kernel AX.25 subsystem allows local users to compromise the kernel through an unprivileged socket sequence. The ax25_setsockopt() path binds an AX.25 device through SO_BINDTODEVICE without taking the device references that ax25_release() later drops, causing deterministic refcount underflow and premature frees. Any local unprivileged user on a host with AX.25 already configured can repeat the sequence to disclose kernel memory, corrupt kernel state, or crash the host.

The record

CVE
CVE-2025-21792
Published
Feb 27, 2025
Updated
Aug 5, 2026
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
T1068
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Feb 27, 2025CVE publishedPublication date reported by the CVE source.
  2. Aug 5, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=4.14.277 <4.15
  2. Affected versionversion=4.19.240 <4.20
  3. Affected versionversion=452ae92b99062d2f6a34324eaf705a3b7eac9f8b
  4. Affected versionversion=5.10.112 <5.11
  5. Affected versionversion=5.15.35 <5.16
  6. Affected versionversion=5.17.2 <5.18
  7. Affected versionversion=5.18
  8. Affected versionversion=534156dd4ed768e30a43de0036f45dca7c54818f
  9. Affected versionversion=5.4.190 <5.5
  10. Affected versionversion=9e1e088a57c23251f1cfe9601bbd90ade2ea73b9
  11. Affected versionversion=9fd75b66b8f68498454d685dc4ba13192ae069b0 <470bda72fda0fcf54300466d70ce2de62f7835d2
  12. Affected versionversion=9fd75b66b8f68498454d685dc4ba13192ae069b0 <90056ece99966182dc0e367f3fd2afab46ada847
  13. Affected versionversion=9fd75b66b8f68498454d685dc4ba13192ae069b0 <94a0de224ed52eb2ecd4f4cb1b937b674c9fb955
  14. Affected versionversion=9fd75b66b8f68498454d685dc4ba13192ae069b0 <b58f7ca86a7b8e480c06e30c5163c5d2f4e24023
  15. Affected versionversion=9fd75b66b8f68498454d685dc4ba13192ae069b0 <bca0902e61731a75fc4860c8720168d9f1bae3b6
  16. Affected versionversion=b20a5ab0f5fb175750c6bafd4cf12daccf00c738
  17. Affected versionversion=c44a453ffe16eb08acdc6129ac4fa0192dbc0456
  18. Affected versionversion=de55a1338e6a48ff1e41ea8db1432496fbe2a62b

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

The Linux Kernel Organization · Linuxversion=4.14.277 <4.15; version=4.19.240 <4.20; version=452ae92b99062d2f6a34324eaf705a3b7eac9f8b; version=5.10.112 <5.11; version=5.15.35 <5.16; version=5.17.2 <5.18; version=5.18; version=534156dd4ed768e30a43de0036f45dca7c54818f; version=5.4.190 <5.5; version=9e1e088a57c23251f1cfe9601bbd90ade2ea73b9; version=9fd75b66b8f68498454d685dc4ba13192ae069b0 <470bda72fda0fcf54300466d70ce2de62f7835d2; version=9fd75b66b8f68498454d685dc4ba13192ae069b0 <90056ece99966182dc0e367f3fd2afab46ada847; version=9fd75b66b8f68498454d685dc4ba13192ae069b0 <94a0de224ed52eb2ecd4f4cb1b937b674c9fb955; version=9fd75b66b8f68498454d685dc4ba13192ae069b0 <b58f7ca86a7b8e480c06e30c5163c5d2f4e24023; version=9fd75b66b8f68498454d685dc4ba13192ae069b0 <bca0902e61731a75fc4860c8720168d9f1bae3b6; version=b20a5ab0f5fb175750c6bafd4cf12daccf00c738; version=c44a453ffe16eb08acdc6129ac4fa0192dbc0456; version=de55a1338e6a48ff1e41ea8db1432496fbe2a62b

Published CVSS scores

7.8LinuxCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

T1068Exploitation for Privilege Escalation

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo