{"id":"CVE-2025-38177","summary":"sch_hfsc: make hfsc_qlen_notify() idempotent","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nsch_hfsc: make hfsc_qlen_notify() idempotent\n\nhfsc_qlen_notify() is not idempotent either and not friendly\nto its callers, like fq_codel_dequeue(). Let's make it idempotent\nto ease qdisc_tree_reduce_backlog() callers' life:\n\n1. update_vf() decreases cl-\u003ecl_nactive, so we can check whether it is\nnon-zero before calling it.\n\n2. eltree_remove() always removes RB node cl-\u003eel_node, but we can use\n   RB_EMPTY_NODE() + RB_CLEAR_NODE() to make it safe.","modified":"2026-05-18T05:59:30.402869806Z","published":"2025-07-04T12:47:09.127Z","related":["SUSE-SU-2025:02846-1","SUSE-SU-2025:02848-1","SUSE-SU-2025:02849-1","SUSE-SU-2025:02850-1","SUSE-SU-2025:02851-1","SUSE-SU-2025:02852-1","SUSE-SU-2025:02853-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:02969-1","SUSE-SU-2025:02996-1","SUSE-SU-2025:02997-1","SUSE-SU-2025:03011-1","SUSE-SU-2025:03023-1","SUSE-SU-2025:03315-1","SUSE-SU-2025:03317-1","SUSE-SU-2025:03319-1","SUSE-SU-2025:03329-1","SUSE-SU-2025:03336-1","SUSE-SU-2025:03337-1","SUSE-SU-2025:03341-1","SUSE-SU-2025:03342-1","SUSE-SU-2025:03343-1","SUSE-SU-2025:03344-1","SUSE-SU-2025:03350-1","SUSE-SU-2025:03358-1","SUSE-SU-2025:03359-1","SUSE-SU-2025:03362-1","SUSE-SU-2025:03370-1","SUSE-SU-2025:03374-1","SUSE-SU-2025:03375-1","SUSE-SU-2025:03381-1","SUSE-SU-2025:03387-1","SUSE-SU-2025:03391-1","SUSE-SU-2025:03393-1","SUSE-SU-2025:03395-1","SUSE-SU-2025:03397-1","SUSE-SU-2025:03400-1","SUSE-SU-2025:03406-1","SUSE-SU-2025:03408-1","SUSE-SU-2025:03410-1","SUSE-SU-2025:03414-1","SUSE-SU-2025:03418-1","SUSE-SU-2025:20577-1","SUSE-SU-2025:20586-1","SUSE-SU-2025:20601-1","SUSE-SU-2025:20602-1","SUSE-SU-2025:20722-1","SUSE-SU-2025:20723-1","SUSE-SU-2025:20724-1","SUSE-SU-2025:20725-1","SUSE-SU-2025:20726-1","SUSE-SU-2025:20727-1","SUSE-SU-2025:20728-1","SUSE-SU-2025:20729-1","SUSE-SU-2025:20730-1","SUSE-SU-2025:20733-1","SUSE-SU-2025:20734-1","SUSE-SU-2025:20737-1","SUSE-SU-2025:20738-1","SUSE-SU-2025:20768-1","SUSE-SU-2025:20769-1","SUSE-SU-2025:20770-1","SUSE-SU-2025:20771-1","SUSE-SU-2025:20774-1","SUSE-SU-2025:20784-1","SUSE-SU-2025:20785-1","SUSE-SU-2025:20786-1","SUSE-SU-2025:20787-1","SUSE-SU-2025:20788-1","SUSE-SU-2025:20789-1","SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","SUSE-SU-2025:4123-1","SUSE-SU-2026:0688-1","openSUSE-SU-2025:20081-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38177.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0475c85426b18eccdcb7f9fb58d8f8e9c6c58c87"},{"type":"WEB","url":"https://git.kernel.org/stable/c/51eb3b65544c9efd6a1026889ee5fb5aa62da3bb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/72c61ffbeeb8c50f6d4d70c65d3283aa1bac57a7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9030a91235ae4845ec71902c3e0cecfc9ed1f2df"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9a5fd5c2f4d4afdd5e405083ee53e0789ce76956"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a5efc95a33bd4fcb879250852828cc58c7862970"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c1175c4ad01dbc9c979d099861fa90a754f72059"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d06476714d2819b550e0cc39222347e2c8941c9d"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38177.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38177"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"959466588aa7f84ccf79ae36a1d89542eaf9aaec"},{"fixed":"9a5fd5c2f4d4afdd5e405083ee53e0789ce76956"},{"fixed":"72c61ffbeeb8c50f6d4d70c65d3283aa1bac57a7"},{"fixed":"a5efc95a33bd4fcb879250852828cc58c7862970"},{"fixed":"0475c85426b18eccdcb7f9fb58d8f8e9c6c58c87"},{"fixed":"9030a91235ae4845ec71902c3e0cecfc9ed1f2df"},{"fixed":"d06476714d2819b550e0cc39222347e2c8941c9d"},{"fixed":"c1175c4ad01dbc9c979d099861fa90a754f72059"},{"fixed":"51eb3b65544c9efd6a1026889ee5fb5aa62da3bb"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38177.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.14.0"},{"fixed":"5.4.297"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.241"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.190"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.138"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.90"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.28"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.14.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38177.json"}}],"schema_version":"1.7.5"}