{"id":"CVE-2025-38177","aliases":["CVE-2025-38177"],"related":[],"kind":"vulnerability","state":"published","title":"sch_hfsc: make hfsc_qlen_notify() idempotent","summary":"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->cl_nactive, so we can check whether it is\nnon-zero before calling it.\n\n2. eltree_remove() always removes RB node cl->el_node, but we can use\n   RB_EMPTY_NODE() + RB_CLEAR_NODE() to make it safe.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->cl_nactive, so we can check whether it is\nnon-zero before calling it.\n\n2. eltree_remove() always removes RB node cl->el_node, but we can use\n   RB_EMPTY_NODE() + RB_CLEAR_NODE() to make it safe.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: sch_hfsc: hace que hfsc_qlen_notify() sea idempotente. hfsc_qlen_notify() tampoco es idempotente y no es compatible con quienes lo llaman, como fq_codel_dequeue(). Vamos a convertirlo en idempotente para simplificar la tarea de quienes llaman a qdisc_tree_reduce_backlog(): 1. update_vf() reduce cl-&gt;cl_nactive, lo que permite comprobar si es distinto de cero antes de llamarlo. 2. eltree_remove() siempre elimina el nodo RB cl-&gt;el_node, pero podemos usar RB_EMPTY_NODE() + RB_CLEAR_NODE() para hacerlo seguro.","source":"nvd"}],"published":"2025-07-04T12:47:09.127Z","modified":"2026-08-05T12:00:08.513Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-459"],"affected":[{"ranges":[{"type":"git","introduced":"959466588aa7f84ccf79ae36a1d89542eaf9aaec","fixed":"9a5fd5c2f4d4afdd5e405083ee53e0789ce76956","status":"affected"},{"type":"git","introduced":"959466588aa7f84ccf79ae36a1d89542eaf9aaec","fixed":"72c61ffbeeb8c50f6d4d70c65d3283aa1bac57a7","status":"affected"},{"type":"git","introduced":"959466588aa7f84ccf79ae36a1d89542eaf9aaec","fixed":"a5efc95a33bd4fcb879250852828cc58c7862970","status":"affected"},{"type":"git","introduced":"959466588aa7f84ccf79ae36a1d89542eaf9aaec","fixed":"0475c85426b18eccdcb7f9fb58d8f8e9c6c58c87","status":"affected"},{"type":"git","introduced":"959466588aa7f84ccf79ae36a1d89542eaf9aaec","fixed":"9030a91235ae4845ec71902c3e0cecfc9ed1f2df","status":"affected"},{"type":"git","introduced":"959466588aa7f84ccf79ae36a1d89542eaf9aaec","fixed":"d06476714d2819b550e0cc39222347e2c8941c9d","status":"affected"},{"type":"git","introduced":"959466588aa7f84ccf79ae36a1d89542eaf9aaec","fixed":"c1175c4ad01dbc9c979d099861fa90a754f72059","status":"affected"},{"type":"git","introduced":"959466588aa7f84ccf79ae36a1d89542eaf9aaec","fixed":"51eb3b65544c9efd6a1026889ee5fb5aa62da3bb","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.14","status":"unaffected"},{"type":"semver","introduced":"5.4.297","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.241","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.190","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.138","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.90","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.28","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.14.6","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.4.297"},{"status":"affected","introduced":"5.5","fixed":"5.10.241"},{"status":"affected","introduced":"5.11","fixed":"5.15.190"},{"status":"affected","introduced":"5.16","fixed":"6.1.138"},{"status":"affected","introduced":"6.2","fixed":"6.6.90"},{"status":"affected","introduced":"6.7","fixed":"6.12.28"},{"status":"affected","introduced":"6.13","fixed":"6.14.6"},{"status":"affected","version":"6.15"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/9a5fd5c2f4d4afdd5e405083ee53e0789ce76956","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/72c61ffbeeb8c50f6d4d70c65d3283aa1bac57a7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a5efc95a33bd4fcb879250852828cc58c7862970","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0475c85426b18eccdcb7f9fb58d8f8e9c6c58c87","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9030a91235ae4845ec71902c3e0cecfc9ed1f2df","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d06476714d2819b550e0cc39222347e2c8941c9d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c1175c4ad01dbc9c979d099861fa90a754f72059","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/51eb3b65544c9efd6a1026889ee5fb5aa62da3bb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-10T20:40:35.261Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38177","url":"https://www.cve.org/CVERecord?id=CVE-2025-38177","licence":"CVE Terms of Use","modified":"2026-08-05T12:00:08.513Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38177","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38177","licence":"Public domain","modified":"2026-07-30T06:22:57.540Z"}],"updatedAt":"2026-11-25T22:59:00.622Z","epss":{"score":0.00226,"percentile":0.14194,"date":"2026-12-01T12:00:22.000Z"}}