Menu

Star on GitHub · 3.2k

CVE-2025-38000

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: sch_hfsc: Fix qlen accounting bug when using peek in hfsc_enqueue() When enqueuing the first packet to an HFSC class, hfsc_enqu…

Published Jun 6, 2025CWE-416EPSS 0.23%

Overview

CVE-2025-38000 is a high-severity vulnerability. It was published on June 6, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

sch_hfsc: Fix qlen accounting bug when using peek in hfsc_enqueue()

When enqueuing the first packet to an HFSC class, hfsc_enqueue() calls the

child qdisc's peek() operation before incrementing sch->q.qlen and

sch->qstats.backlog. If the child qdisc uses qdisc_peek_dequeued(), this may

trigger an immediate dequeue and potential packet drop. In such cases,

qdisc_tree_reduce_backlog() is called, but the HFSC qdisc's qlen and backlog

have not yet been updated, leading to inconsistent queue accounting. This

can leave an empty HFSC class in the active list, causing further

consequences like use-after-free.

This patch fixes the bug by moving the increment of sch->q.qlen and

sch->qstats.backlog before the call to the child qdisc's peek() operation.

This ensures that queue length and backlog are always accurate when packet

drops or dequeues are triggered during the peek.

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-2025-38000?

CVE-2025-38000 is a high-severity vulnerability. It was published on June 6, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-38000?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-38000?

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-2025-38000?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-38000 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 2025

View all