CVE-2025-38000
BaseFortify
Publication date: 2025-06-06
Last updated on: 2025-12-16
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 4.8 (inc) to 5.4.294 (exc) |
| linux | linux_kernel | From 5.5 (inc) to 5.10.238 (exc) |
| linux | linux_kernel | From 5.11 (inc) to 5.15.185 (exc) |
| linux | linux_kernel | From 5.16 (inc) to 6.1.141 (exc) |
| linux | linux_kernel | From 6.2 (inc) to 6.6.93 (exc) |
| linux | linux_kernel | From 6.7 (inc) to 6.12.31 (exc) |
| linux | linux_kernel | From 6.13 (inc) to 6.14.9 (exc) |
| linux | linux_kernel | 6.15 |
| linux | linux_kernel | 6.15 |
| linux | linux_kernel | 6.15 |
| linux | linux_kernel | 6.15 |
| linux | linux_kernel | 6.15 |
| linux | linux_kernel | 6.15 |
| linux | linux_kernel | 6.15 |
| debian | debian_linux | 11.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-416 | The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a bug in the Linux kernel's HFSC (Hierarchical Fair Service Curve) queuing discipline. When the first packet is enqueued, the function hfsc_enqueue() calls the child queue's peek() operation before updating the queue length and backlog counters. If the child queue triggers an immediate dequeue and packet drop during this peek, the HFSC queue's accounting becomes inconsistent because its counters have not been updated yet. This can cause an empty HFSC class to remain active, potentially leading to use-after-free errors. The fix moves the increment of the queue length and backlog counters before the peek call to ensure accurate accounting.
How can this vulnerability impact me? :
This vulnerability can lead to inconsistent queue accounting in the Linux kernel's HFSC queuing discipline, which may cause an empty queue class to remain active improperly. This can result in use-after-free conditions, potentially leading to system instability, crashes, or exploitation by attackers to execute arbitrary code or cause denial of service.