LiveActive security incident?Get immediate response
CVE Record

CVE-2024-40910: ax25: Fix refcount imbalance on inbound connections

In the Linux kernel, the following vulnerability has been resolved: ax25: Fix refcount imbalance on inbound connections When releasing a socket in ax25_release(), we call netdev_put() to decrease the refcount on the associated ax.25 device. However, the execution path for accepting an incoming connection never calls netdev_hold(). This imbalance leads to refcount errors, and ultimately to kernel crashes. A typical call trace for the above situation will start with one of the following errors: refcount_t: decrement hit 0; leaking memory. refcount_t: underflow; use-after-free. And will then have a trace like: Call Trace: <TASK> ? show_regs+0x64/0x70 ? __warn+0x83/0x120 ? refcount_warn_saturate+0xb2/0x100 ? report_bug+0x158/0x190 ? prb_read_valid+0x20/0x30 ? handle_bug+0x3e/0x70 ? exc_invalid_op+0x1c/0x70 ? asm_exc_invalid_op+0x1f/0x30 ? refcount_warn_saturate+0xb2/0x100 ? refcount_warn_saturate+0xb2/0x100 ax25_release+0x2ad/0x360 __sock_release+0x35/0xa0 sock_close+0x19/0x20 [...] On reboot (or any attempt to remove the interface), the kernel gets stuck in an infinite loop: unregister_netdevice: waiting for ax0 to become free. Usage count = 0 This patch corrects these issues by ensuring that we call netdev_hold() and ax25_dev_hold() for new connections in ax25_accept(). This makes the logic leading to ax25_accept() match the logic for ax25_bind(): in both cases we increment the refcount, which is ultimately decremented in ax25_release().

HighCVSS 8.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A Linux AX.25 networking bug can mishandle device references when an inbound connection is accepted and later closed. This may crash the kernel or leave interface removal and reboot stuck. Business risk is concentrated in systems that actively use AX.25, rather than ordinary Linux hosts without that configuration.

Executive priority

Treat as high priority for AX.25-enabled systems because failure can crash or hang the operating system. Ordinary hosts without AX.25 use appear less exposed. Identify those systems promptly, apply supported kernel updates, and avoid relying solely on the ambiguous version list.

Technical view

ax25_accept() failed to acquire device references later released by ax25_release(), causing a reference-count imbalance. Reported outcomes include reference underflow, possible use-after-free warnings, kernel crashes, and an infinite wait during AX.25 interface removal. The cited kernel patches add netdev_hold() and ax25_dev_hold() for accepted connections.

Likely exposure

Exposure requires an affected Linux kernel and active AX.25 use, particularly acceptance of inbound AX.25 connections. The CVSS vector indicates adjacent-network reachability without privileges or user interaction. The supplied version data is internally difficult to interpret, so confirm exposure using distribution advisories and inclusion of the cited fixes.

Exploitation context

The bundle marks this CVE as absent from CISA KEV and provides no evidence of active exploitation or a public exploit. It documents a reachable fault path and serious kernel effects, but does not establish reliable compromise of confidentiality or integrity beyond the CVSS assessment.

Researcher notes

The defect is a missing hold on the inbound accept path, while release still decrements references. The supplied record lists multiple stable commits but presents affected and unaffected versions ambiguously. Validate by commit or vendor backport status. Do not infer code execution or active exploitation from the documented refcount failure alone.

Mitigation direction

  • Update to a vendor-supported kernel containing the cited AX.25 reference-count fix.
  • Check Linux distribution guidance for the correct fixed package and reboot requirements.
  • If operationally acceptable, stop using AX.25 until the corrected kernel is installed.
  • Prioritize AX.25 gateways and other systems accepting inbound AX.25 connections.

Validation and detection

  • Inventory kernel versions and identify systems configured with AX.25 interfaces.
  • Confirm the installed kernel includes the cited stable fix or vendor backport.
  • Review kernel logs for refcount underflow, use-after-free warnings, or ax25_release traces.
  • Verify AX.25 interfaces can be removed cleanly after the corrected kernel is running.
Prepared
Confidence
medium
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2024-40910 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
2ADP providers
6Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.8CVSS 3.1HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H2.85.9Linux

Vulnerability scoring details

Base CVSS 3.1 score

8.8High
CVSS 3.1 vector shape for CVE-2024-40910Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CVECVE Program Container
CISA-ADPCISA ADP Vulnrichment
other:ssvc
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux9fd75b66b8f68498454d685dc4ba13192ae069b0, 9fd75b66b8f68498454d685dc4ba13192ae069b0, 9fd75b66b8f68498454d685dc4ba13192ae069b0, 9fd75b66b8f68498454d685dc4ba13192ae069b0, c44a453ffe16eb08acdc6129ac4fa0192dbc0456, de55a1338e6a48ff1e41ea8db1432496fbe2a62b, 9e1e088a57c23251f1cfe9601bbd90ade2ea73b9, b20a5ab0f5fb175750c6bafd4cf12daccf00c738, 452ae92b99062d2f6a34324eaf705a3b7eac9f8b, 534156dd4ed768e30a43de0036f45dca7c54818f, 4.14.277, 4.19.240, 5.4.190, 5.10.112, 5.15.35, 5.17.2unaffected
LinuxLinux5.18, 0, 6.1.95, 6.6.35, 6.9.6, 6.10affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.