{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-38107","id":"CVE-2025-38107","title":"net_sched: ets: fix a race in ets_qdisc_change()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet_sched: ets: fix a race in ets_qdisc_change()\n\nGerrard Tai reported a race condition in ETS, 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]: loc","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet_sched: ets: fix a race in ets_qdisc_change()\n\nGerrard Tai reported a race condition in ETS, 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:17.487Z","updated":"2026-11-17T07:03:29.930039403Z","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":"699d82e9a6db29d509a71f1f2f4316231e6232e6","lessThan":"eb7b74e9754e1ba2088f914ad1f57a778b11894b","status":"affected","versionType":"git"},{"version":"ce881ddbdc028fb1988b66e40e45ca0529c23b46","lessThan":"0b479d0aa488cb478eb2e1d8868be946ac8afb4f","status":"affected","versionType":"git"},{"version":"b05972f01e7d30419987a1f221b5593668fd6448","lessThan":"347867cb424edae5fec1622712c8dd0a2c42918f","status":"affected","versionType":"git"},{"version":"b05972f01e7d30419987a1f221b5593668fd6448","lessThan":"0383b25488a545be168744336847549d4a2d3d6c","status":"affected","versionType":"git"},{"version":"b05972f01e7d30419987a1f221b5593668fd6448","lessThan":"073f64c03516bcfaf790f8edc772e0cfb8a84ec3","status":"affected","versionType":"git"},{"version":"b05972f01e7d30419987a1f221b5593668fd6448","lessThan":"fed94bd51d62d2e0e006aa61480e94e5cd0582b0","status":"affected","versionType":"git"},{"version":"b05972f01e7d30419987a1f221b5593668fd6448","lessThan":"d92adacdd8c2960be856e0b82acc5b7c5395fddb","status":"affected","versionType":"git"},{"version":"fffa19b5e58c34004a0d6f642d9c24b11d213994","status":"affected","versionType":"git"},{"version":"fb155f6597cd7bc3aeed668c3bb15fc3b7cb257d","status":"affected","versionType":"git"},{"version":"5.10.142","lessThan":"5.10.239","status":"affected","versionType":"semver"},{"version":"5.15.66","lessThan":"5.15.186","status":"affected","versionType":"semver"},{"version":"5.4.213","lessThan":"5.5","status":"affected","versionType":"semver"},{"version":"5.19.8","lessThan":"5.20","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.0","status":"affected"},{"version":"0","lessThan":"6.0","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/eb7b74e9754e1ba2088f914ad1f57a778b11894b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0b479d0aa488cb478eb2e1d8868be946ac8afb4f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/347867cb424edae5fec1622712c8dd0a2c42918f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0383b25488a545be168744336847549d4a2d3d6c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/073f64c03516bcfaf790f8edc772e0cfb8a84ec3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/fed94bd51d62d2e0e006aa61480e94e5cd0582b0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d92adacdd8c2960be856e0b82acc5b7c5395fddb","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-38107.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38107","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.00166,"epssPercentile":0.05959,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-38107","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38107","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-38107","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-38107","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}