{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-38108","id":"CVE-2025-38108","title":"net_sched: red: fix a race in __red_change()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet_sched: red: fix a race in __red_change()\n\nGerrard Tai reported a race condition in RED, whenever SFQ perturb timer\nfires at the wrong time.\n\nThe race is as follows:\n\nCPU 0                                 CPU 1\n[1]: lock root\n[2]: qdisc_tree_flush_backlog()\n[3]: unlock root\n |\n |                                    [5]: lock ro","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet_sched: red: fix a race in __red_change()\n\nGerrard Tai reported a race condition in RED, whenever SFQ perturb timer\nfires at the wrong time.\n\nThe race is as follows:\n\nCPU 0                                 CPU 1\n[1]: lock root\n[2]: qdisc_tree_flush_backlog()\n[3]: unlock root\n |\n |                                    [5]: lock root\n |                                    [6]: rehash\n |                                    [7]: qdisc_tree_reduce_backlog()\n |\n[4]: qdisc_put()\n\nThis can be abused to underflow a parent's qlen.\n\nCalling qdisc_purge_queue() instead of qdisc_tree_flush_backlog()\nshould fix the race, because all packets will be purged from the qdisc\nbefore releasing the lock.","published":"2025-07-03T08:35:18.523Z","updated":"2026-10-28T02:30:27.557316233Z","reserved":"2025-04-16T04:51:23.985Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0c8d13ac96070000da33f394f45e9c19638483c5","lessThan":"2790c4ec481be45a80948d059cd7c9a06bc37493","status":"affected","versionType":"git"},{"version":"0c8d13ac96070000da33f394f45e9c19638483c5","lessThan":"a1bf6a4e9264a685b0e642994031f9c5aad72414","status":"affected","versionType":"git"},{"version":"0c8d13ac96070000da33f394f45e9c19638483c5","lessThan":"110a47efcf23438ff8d31dbd9c854fae2a48bf98","status":"affected","versionType":"git"},{"version":"0c8d13ac96070000da33f394f45e9c19638483c5","lessThan":"f569984417a4e12c67366e69bdcb752970de921d","status":"affected","versionType":"git"},{"version":"0c8d13ac96070000da33f394f45e9c19638483c5","lessThan":"2a71924ca4af59ffc00f0444732b6cd54b153d0e","status":"affected","versionType":"git"},{"version":"0c8d13ac96070000da33f394f45e9c19638483c5","lessThan":"4b755305b2b0618e857fdadb499365b5f2e478d1","status":"affected","versionType":"git"},{"version":"0c8d13ac96070000da33f394f45e9c19638483c5","lessThan":"444ad445df5496a785705019268a8a84b84484bb","status":"affected","versionType":"git"},{"version":"0c8d13ac96070000da33f394f45e9c19638483c5","lessThan":"85a3e0ede38450ea3053b8c45d28cf55208409b8","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.0","status":"affected"},{"version":"0","lessThan":"5.0","status":"unaffected","versionType":"semver"},{"version":"5.4.295","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.239","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.186","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.142","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.94","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.34","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.15.3","lessThanOrEqual":"6.15.*","status":"unaffected","versionType":"semver"},{"version":"6.16","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-362"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/2790c4ec481be45a80948d059cd7c9a06bc37493","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a1bf6a4e9264a685b0e642994031f9c5aad72414","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/110a47efcf23438ff8d31dbd9c854fae2a48bf98","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f569984417a4e12c67366e69bdcb752970de921d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2a71924ca4af59ffc00f0444732b6cd54b153d0e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/4b755305b2b0618e857fdadb499365b5f2e478d1","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/444ad445df5496a785705019268a8a84b84484bb","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/85a3e0ede38450ea3053b8c45d28cf55208409b8","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38108.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38108","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.0017,"epssPercentile":0.06502,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-38108","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38108","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-38108","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-38108","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}