net_sched: Flush gso_skb list too during ->change()
In the Linux kernel, the following vulnerability has been resolved: net_sched: Flush gso_skb list too during ->change() Previously, when reducing a qdisc's limit via the ->change() operation, only the main skb queue was trimmed, potentially leaving packets in the gso_skb list. This could result in NULL pointer dereference when we only check sch->limit against sch->q.qlen. This patch introduces a new helper, qdisc_dequeue_internal(), which ensures both the gso_skb list and the main queue are properly flushed when trimming excess packets. All relevant qdiscs (codel, fq, fq_codel, fq_pie, hhf, pie) are updated to use this helper in their ->change() routines.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.238, 5.15.184, 6.1.140, 6.12.30, 6.14.8, 6.6.92
- CVEs
- CVE-2025-37992
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 04:20 UTC · Revision 1
Source evidence
net_sched: Flush gso_skb list too during ->change()
core-osv · Original sourcePublished 26 May 2025, 14:54 UTC
In the Linux kernel, the following vulnerability has been resolved: net_sched: Flush gso_skb list too during ->change() Previously, when reducing a qdisc's limit via the ->change() operation, only the main skb queue was trimmed, potentially leaving packets in the gso_skb list. This could result in NULL pointer dereference when we only check sch->limit against sch->q.qlen. This patch introduces a new helper, qdisc_dequeue_internal(), which ensures both the gso_skb list and the main queue are properly flushed when trimming excess packets. All relevant qdiscs (codel, fq, fq_codel, fq_pie, hhf, pie) are updated to use this helper in their ->change() routines.
osv:CVE-2025-37992
Kernel
Fixed versions: 5.10.238, 5.15.184, 6.1.140, 6.6.92, 6.12.30, 6.14.8
Complete source record
{
"id": "48242e4f03e10fd62d781a29c8b46be3641bdfac94f80996ebbf6d368af4842e",
"url": "https://osv.dev/vulnerability/CVE-2025-37992",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "net_sched: Flush gso_skb list too during ->change()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: net_sched: Flush gso_skb list too during ->change() Previously, when reducing a qdisc's limit via the ->change() operation, only the main skb queue was trimmed, potentially leaving packets in the gso_skb list. This could result in NULL pointer dereference when we only check sch->limit against sch->q.qlen. This patch introduces a new helper, qdisc_dequeue_internal(), which ensures both the gso_skb list and the main queue are properly flushed when trimming excess packets. All relevant qdiscs (codel, fq, fq_codel, fq_pie, hhf, pie) are updated to use this helper in their ->change() routines.",
"evidence": "osv:CVE-2025-37992",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.238",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.184",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.140",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.92",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.30",
"evidence": "/affected/1/ranges"
},
{
"value": "6.14.8",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2025-37992",
"aliases": [
"CVE-2025-37992"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "76e3cc126bb223013a6b9a0e2a51238d1ef2e409"
},
{
"fixed": "ea1132ccb112f51ba749c56a912f67970c2cd542"
},
{
"fixed": "d3336f746f196c6a53e0480923ae93939f047b6c"
},
{
"fixed": "d38939ebe0d992d581acb6885c1723fa83c1fb2c"
},
{
"fixed": "a7d6e0ac0a8861f6b1027488062251a8e28150fd"
},
{
"fixed": "d1365ca80b012d8a7863e45949e413fb61fa4861"
},
{
"fixed": "fe88c7e4fc2c1cd75a278a15ffbf1689efad4e76"
},
{
"fixed": "2d3cbfd6d54a2c39ce3244f33f85c595844bd7b8"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37992.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.5.0"
},
{
"fixed": "5.10.238"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.184"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.140"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.92"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.30"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.14.8"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37992.json"
}
}
],
"modified": "2026-10-28T02:30:33.512135998Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/2d3cbfd6d54a2c39ce3244f33f85c595844bd7b8",
"https://git.kernel.org/stable/c/a7d6e0ac0a8861f6b1027488062251a8e28150fd",
"https://git.kernel.org/stable/c/d1365ca80b012d8a7863e45949e413fb61fa4861",
"https://git.kernel.org/stable/c/d3336f746f196c6a53e0480923ae93939f047b6c",
"https://git.kernel.org/stable/c/d38939ebe0d992d581acb6885c1723fa83c1fb2c",
"https://git.kernel.org/stable/c/ea1132ccb112f51ba749c56a912f67970c2cd542",
"https://git.kernel.org/stable/c/fe88c7e4fc2c1cd75a278a15ffbf1689efad4e76",
"https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html",
"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37992.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-37992",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37992.json"
}
},
"related_cves": [
{
"value": "CVE-2025-37992",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 500256,
"published_at": "2025-05-26T14:54:15.796+00:00"
}