Menu

Star on GitHub · 3.4k

CVE-2024-40910

8.8 · HIGH

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…

Published Jul 12, 2024EPSS 0.45%

Overview

CVE-2024-40910 is a high-severity vulnerability. It was published on July 12, 2024 and has a CVSS 3.1 base score of 8.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical description

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+0x2a

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-40910?

CVE-2024-40910 is a high-severity vulnerability. It was published on July 12, 2024 and has a CVSS 3.1 base score of 8.8 (HIGH).

How severe is CVE-2024-40910?

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-40910?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-40910?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-40910 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all
Watch the demo →