5.5 CVE-2025-38177

Enriched by CISA Patch
 

In the Linux kernel, the following vulnerability has been resolved: sch_hfsc: make hfsc_qlen_notify() idempotent hfsc_qlen_notify() is not idempotent either and not friendly to its callers, like fq_codel_dequeue(). Let's make it idempotent to ease qdisc_tree_reduce_backlog() callers' life: 1. update_vf() decreases cl->cl_nactive, so we can check whether it is non-zero before calling it. 2. eltree_remove() always removes RB node cl->el_node, but we can use RB_EMPTY_NODE() + RB_CLEAR_NODE() to make it safe.
https://nvd.nist.gov/vuln/detail/CVE-2025-38177

Categories

CWE-459 : Incomplete Cleanup
The product does not properly "clean up" and remove temporary or supporting resources after they have been used. Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.) Temporary files and other supporting resources should be deleted/released immediately after they are no longer needed. World-readable temporary file not deleted after use. Temporary file not deleted after use, leaking database usernames and passwords. Interaction error creates a temporary file that can not be deleted due to strong permissions. Alternate data streams for NTFS files are not cleared when files are wiped (alternate channel / infoleak). Alternate data streams for NTFS files are not cleared when files are wiped (alternate channel / infoleak). Alternate data streams for NTFS files are not cleared when files are wiped (alternate channel / infoleak). Alternate data streams for NTFS files are not cleared when files are wiped (alternate channel / infoleak). Alternate data streams for NTFS files are not cleared when files are wiped (alternate channel / infoleak). Users not logged out when application is restarted after security-relevant changes were made.

References


 

AFFECTED (from MITRE)


Vendor Product Versions
Linux Linux
  • 959466588aa7f84ccf79ae36a1d89542eaf9aaec < 9a5fd5c2f4d4afdd5e405083ee53e0789ce76956 [affected]
  • 959466588aa7f84ccf79ae36a1d89542eaf9aaec < 72c61ffbeeb8c50f6d4d70c65d3283aa1bac57a7 [affected]
  • 959466588aa7f84ccf79ae36a1d89542eaf9aaec < a5efc95a33bd4fcb879250852828cc58c7862970 [affected]
  • 959466588aa7f84ccf79ae36a1d89542eaf9aaec < 0475c85426b18eccdcb7f9fb58d8f8e9c6c58c87 [affected]
  • 959466588aa7f84ccf79ae36a1d89542eaf9aaec < 9030a91235ae4845ec71902c3e0cecfc9ed1f2df [affected]
  • 959466588aa7f84ccf79ae36a1d89542eaf9aaec < d06476714d2819b550e0cc39222347e2c8941c9d [affected]
  • 959466588aa7f84ccf79ae36a1d89542eaf9aaec < c1175c4ad01dbc9c979d099861fa90a754f72059 [affected]
  • 959466588aa7f84ccf79ae36a1d89542eaf9aaec < 51eb3b65544c9efd6a1026889ee5fb5aa62da3bb [affected]
Linux Linux
  • 4.14 [affected]
  • < 4.14 [unaffected]
  • 5.4.297 ≤ 5.4.* [unaffected]
  • 5.10.241 ≤ 5.10.* [unaffected]
  • 5.15.190 ≤ 5.15.* [unaffected]
  • 6.1.138 ≤ 6.1.* [unaffected]
  • 6.6.90 ≤ 6.6.* [unaffected]
  • 6.12.28 ≤ 6.12.* [unaffected]
  • 6.14.6 ≤ 6.14.* [unaffected]
  • 6.15 ≤ * [unaffected]
© 2022 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation.

CPE

cpe start end
Configuration 1
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* < 5.4.297
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* >= 5.5 < 5.10.241
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* >= 5.11 < 5.15.190
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* >= 5.16 < 6.1.138
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* >= 6.2 < 6.6.90
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* >= 6.7 < 6.12.28
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* >= 6.13 < 6.14.6
cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*
Configuration 2
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*


REMEDIATION


Patch

Url
https://git.kernel.org/stable/c/0475c85426b18eccdcb7f9fb58d8f8e9c6c58c87
https://git.kernel.org/stable/c/51eb3b65544c9efd6a1026889ee5fb5aa62da3bb
https://git.kernel.org/stable/c/72c61ffbeeb8c50f6d4d70c65d3283aa1bac57a7
https://git.kernel.org/stable/c/9030a91235ae4845ec71902c3e0cecfc9ed1f2df
https://git.kernel.org/stable/c/9a5fd5c2f4d4afdd5e405083ee53e0789ce76956
https://git.kernel.org/stable/c/a5efc95a33bd4fcb879250852828cc58c7862970
https://git.kernel.org/stable/c/c1175c4ad01dbc9c979d099861fa90a754f72059
https://git.kernel.org/stable/c/d06476714d2819b550e0cc39222347e2c8941c9d


EXPLOITS


Exploit-db.com

id description date
No known exploits

POC Github

Url
No known exploits

Other Nist (github, ...)

Url
No known exploits


CAPEC


Common Attack Pattern Enumerations and Classifications

id description severity
No entry