In the Linux kernel, the following vulnerability has been resolved:
schhfsc: make hfscqlen_notify() idempotent
hfscqlennotify() is not idempotent either and not friendly to its callers, like fqcodeldequeue(). Let's make it idempotent to ease qdisctreereduce_backlog() callers' life:
updatevf() decreases cl->clnactive, so we can check whether it is non-zero before calling it.
eltreeremove() always removes RB node cl->elnode, but we can use RBEMPTYNODE() + RBCLEARNODE() to make it safe.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38177.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38177.json"
[
{
"signature_type": "Line",
"id": "CVE-2025-38177-001c1f6a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c1175c4ad01dbc9c979d099861fa90a754f72059",
"signature_version": "v1",
"target": {
"file": "net/sched/sch_hfsc.c"
},
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"214629076153745013370732226329115407756",
"187375392153806216288454445782033648430",
"15072850813336166075697334009142732917",
"231268340533104745025107088687072882299",
"220838664898025740921518555970029617818",
"244152888221597963279285708589083578245",
"295848327678072850052924776832761566497",
"295192642100263028497742551546261701802"
]
}
},
{
"signature_type": "Line",
"id": "CVE-2025-38177-34db556b",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9a5fd5c2f4d4afdd5e405083ee53e0789ce76956",
"signature_version": "v1",
"target": {
"file": "net/sched/sch_hfsc.c"
},
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"214629076153745013370732226329115407756",
"187375392153806216288454445782033648430",
"15072850813336166075697334009142732917",
"231268340533104745025107088687072882299",
"220838664898025740921518555970029617818",
"244152888221597963279285708589083578245",
"295848327678072850052924776832761566497",
"295192642100263028497742551546261701802"
]
}
},
{
"signature_type": "Function",
"id": "CVE-2025-38177-4b409118",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9a5fd5c2f4d4afdd5e405083ee53e0789ce76956",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "hfsc_qlen_notify",
"file": "net/sched/sch_hfsc.c"
},
"digest": {
"function_hash": "271691576654346889246100858321763902889",
"length": 180.0
}
},
{
"signature_type": "Function",
"target": {
"function": "eltree_remove",
"file": "net/sched/sch_hfsc.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9a5fd5c2f4d4afdd5e405083ee53e0789ce76956",
"id": "CVE-2025-38177-db0a2634",
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "171026308548828292856729872530306479465",
"length": 115.0
}
},
{
"signature_type": "Function",
"id": "CVE-2025-38177-e10956fc",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c1175c4ad01dbc9c979d099861fa90a754f72059",
"signature_version": "v1",
"target": {
"function": "hfsc_qlen_notify",
"file": "net/sched/sch_hfsc.c"
},
"deprecated": false,
"digest": {
"function_hash": "271691576654346889246100858321763902889",
"length": 180.0
}
},
{
"signature_type": "Function",
"id": "CVE-2025-38177-e1809037",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c1175c4ad01dbc9c979d099861fa90a754f72059",
"target": {
"function": "eltree_remove",
"file": "net/sched/sch_hfsc.c"
},
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "171026308548828292856729872530306479465",
"length": 115.0
}
}
]