{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-37953","published":"2025-05-20T16:15:33.483000Z","last_modified":"2026-06-17T09:15:45.963000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-476"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:6.1.138:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.1.138"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.6.90:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.6.90"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.12.28:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.12.28"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.14.6:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.14.6"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.15"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.15"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.15"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.15:rc5:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.15"},{"criteria":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"11.0"}],"cpes_truncated":false,"vendors":["linux","debian"],"products":["linux/linux_kernel","debian/debian_linux"],"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2025-37953/","html_en":"/en/cve/CVE-2025-37953/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-37953","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-37953"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nsch_htb: make htb_deactivate() idempotent\n\nAlan reported a NULL pointer dereference in htb_next_rb_node()\nafter we made htb_qlen_notify() idempotent.\n\nIt turns out in the following case it introduced some regression:\n\nhtb_dequeue_tree():\n  |-> fq_codel_dequeue()\n    |-> qdisc_tree_reduce_backlog()\n      |-> htb_qlen_notify()\n        |-> htb_deactivate()\n  |-> htb_next_rb_node()\n  |-> htb_deactivate()\n\nFor htb_next_rb_node(), after calling the 1st htb_deactivate(), the\nclprio[prio]->ptr could be already set to  NULL, which means\nhtb_next_rb_node() is vulnerable here.\n\nFor htb_deactivate(), although we checked qlen before calling it, in\ncase of qlen==0 after qdisc_tree_reduce_backlog(), we may call it again\nwhich triggers the warning inside.\n\nTo fix the issues here, we need to:\n\n1) Make htb_deactivate() idempotent, that is, simply return if we\n   already call it before.\n2) Make htb_next_rb_node() safe against ptr==NULL.\n\nMany thanks to Alan for testing and for the reproducer.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/31ff70ad39485698cf779f2078132d80b57f6c07","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/3769478610135e82b262640252d90f6efb05be71","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/98cd7ed92753090a714f0802d4434314526fe61d","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/99ff8a20fd61315bf9ae627440a5ff07d22ee153","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/a9945f7cf1709adc5d2d31cb6cfc85627ce299a8","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/c2d25fddd867ce20a266806634eeeb5c30cb520c","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/c4792b9e38d2f61b07eac72f10909fa76130314b","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/c928dd4f6bf0c25c72b11824a1e9ac9bd37296a0","tags":["Patch"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html","tags":["Third Party Advisory"]}]}}