CVE-2025-21812

Local privilege escalation via dangling AX.25 device pointer

Published Feb 27, 2025 · Updated Aug 5, 2026

Use-after-free in the Linux kernel AX.25 networking subsystem allows local users to disclose kernel memory or gain privileges. SO_BINDTODEVICE stores ax25->ax25_dev without taking a reference, and ax25_release() frees the object while dev->ax25_ptr still publishes it. An unprivileged local user in the initial namespace can re-dereference the dangling pointer through AF_AX25 socket syscalls, enabling heap disclosure, controlled writes, a kernel panic, or a networking deadlock.

CVSS severity7.8
High
EPSS probability0.23%
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 networking subsystem allows local users to disclose kernel memory or gain privileges. SO_BINDTODEVICE stores ax25->ax25_dev without taking a reference, and ax25_release() frees the object while dev->ax25_ptr still publishes it. An unprivileged local user in the initial namespace can re-dereference the dangling pointer through AF_AX25 socket syscalls, enabling heap disclosure, controlled writes, a kernel panic, or a networking deadlock.

The record

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

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=26a5adc8eb26d170058645c3cccd4d19165bec16
  2. Affected versionversion=3.18.132 <3.19
  3. Affected versionversion=3e881d8764ed9b04ae3e5c3e5d132acb75ef91ba
  4. Affected versionversion=4.14.92 <4.15
  5. Affected versionversion=4.19.14 <4.20
  6. Affected versionversion=4.20.1 <4.21
  7. Affected versionversion=4.4.170 <4.5
  8. Affected versionversion=4.9.149 <4.10
  9. Affected versionversion=5.0
  10. Affected versionversion=77768c96dcf860c43b970b87b2a09229f84ea560
  11. Affected versionversion=7f93d703e276311dd289c9a520ce9e8c8fa2858c
  12. Affected versionversion=c0e93a6d36135d5082cb3af8352f5b69c9f58d6e
  13. Affected versionversion=c39b8fd4997bf99503b8e48d8cb0eedb1d9a54f0
  14. Affected versionversion=c433570458e49bccea5c551df628d058b3526289 <2802ed4ced27ebd474828fc67ffd7d66f11e3605
  15. Affected versionversion=c433570458e49bccea5c551df628d058b3526289 <7705d8a7f2c26c80973c81093db07c6022b2b30e
  16. Affected versionversion=c433570458e49bccea5c551df628d058b3526289 <8937f5e38a218531dce2a89fae60e3adcc2311e1
  17. Affected versionversion=c433570458e49bccea5c551df628d058b3526289 <95fc45d1dea8e1253f8ec58abc5befb71553d666
  18. Affected versionversion=c433570458e49bccea5c551df628d058b3526289 <c2531db6de3c95551be58878f859c6a053b7eb2e

What conditions does exploitation require?

Attack vectorlocal
Required privilegesUnavailable in this record.

What is affected?

The Linux Kernel Organization · Linuxversion=26a5adc8eb26d170058645c3cccd4d19165bec16; version=3.18.132 <3.19; version=3e881d8764ed9b04ae3e5c3e5d132acb75ef91ba; version=4.14.92 <4.15; version=4.19.14 <4.20; version=4.20.1 <4.21; version=4.4.170 <4.5; version=4.9.149 <4.10; version=5.0; version=77768c96dcf860c43b970b87b2a09229f84ea560; version=7f93d703e276311dd289c9a520ce9e8c8fa2858c; version=c0e93a6d36135d5082cb3af8352f5b69c9f58d6e; version=c39b8fd4997bf99503b8e48d8cb0eedb1d9a54f0; version=c433570458e49bccea5c551df628d058b3526289 <2802ed4ced27ebd474828fc67ffd7d66f11e3605; version=c433570458e49bccea5c551df628d058b3526289 <7705d8a7f2c26c80973c81093db07c6022b2b30e; version=c433570458e49bccea5c551df628d058b3526289 <8937f5e38a218531dce2a89fae60e3adcc2311e1; version=c433570458e49bccea5c551df628d058b3526289 <95fc45d1dea8e1253f8ec58abc5befb71553d666; version=c433570458e49bccea5c551df628d058b3526289 <c2531db6de3c95551be58878f859c6a053b7eb2e

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
PrivilegesUnavailable
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