{"id":"CVE-2026-64054","state":"PUBLISHED","title":"net: shaper: reject duplicate leaves in GROUP request","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: shaper: reject duplicate leaves in GROUP request\n\nnet_shaper_nl_group_doit() does not deduplicate NET_SHAPER_A_LEAVES\nentries. When userspace supplies the same leaf handle twice, the same\nold-parent pointer lands twice in old_nodes[]. The cleanup loop double\nfrees the parent. Of course the same parent may still be in old_nodes[]\ntwice if we are moving multiple of its leaves.\n\nNote that this patch also implicitly fixes the fact that the\ni >= leaves_count path forgets to set ret.","publishedAt":"2026-07-19T15:39:36.475Z","updatedAt":"2026-07-19T15:39:36.475Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5d5d4700e75d861e83bf18eb6bf66ff90f85fe4e","status":"affected","lessThan":"5098b223f0f0c5c18a3884a8b0ea5bd4a0c7bd75","versionType":"git"},{"version":"5d5d4700e75d861e83bf18eb6bf66ff90f85fe4e","status":"affected","lessThan":"31767bf852b59f05125b58a17007e4cd1ea9eb2e","versionType":"git"},{"version":"5d5d4700e75d861e83bf18eb6bf66ff90f85fe4e","status":"affected","lessThan":"a9a2fa1da619f276580b0d4c5d12efac89e8642b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/shaper/shaper.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.13","versionType":"semver"},{"version":"6.18.34","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.11","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/shaper/shaper.c"]}],"references":["https://git.kernel.org/stable/c/5098b223f0f0c5c18a3884a8b0ea5bd4a0c7bd75","https://git.kernel.org/stable/c/31767bf852b59f05125b58a17007e4cd1ea9eb2e","https://git.kernel.org/stable/c/a9a2fa1da619f276580b0d4c5d12efac89e8642b"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/64xxx/CVE-2026-64054.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-64054","state":"PUBLISHED","datePublished":"2026-07-19T15:39:36.475Z","dateUpdated":"2026-07-19T15:39:36.475Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-19T07:54:57.029Z"},"containers":{"cna":{"title":"net: shaper: reject duplicate leaves in GROUP request","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: shaper: reject duplicate leaves in GROUP request\n\nnet_shaper_nl_group_doit() does not deduplicate NET_SHAPER_A_LEAVES\nentries. When userspace supplies the same leaf handle twice, the same\nold-parent pointer lands twice in old_nodes[]. The cleanup loop double\nfrees the parent. Of course the same parent may still be in old_nodes[]\ntwice if we are moving multiple of its leaves.\n\nNote that this patch also implicitly fixes the fact that the\ni >= leaves_count path forgets to set ret."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5d5d4700e75d861e83bf18eb6bf66ff90f85fe4e","status":"affected","lessThan":"5098b223f0f0c5c18a3884a8b0ea5bd4a0c7bd75","versionType":"git"},{"version":"5d5d4700e75d861e83bf18eb6bf66ff90f85fe4e","status":"affected","lessThan":"31767bf852b59f05125b58a17007e4cd1ea9eb2e","versionType":"git"},{"version":"5d5d4700e75d861e83bf18eb6bf66ff90f85fe4e","status":"affected","lessThan":"a9a2fa1da619f276580b0d4c5d12efac89e8642b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/shaper/shaper.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.13","versionType":"semver"},{"version":"6.18.34","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.11","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/shaper/shaper.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/5098b223f0f0c5c18a3884a8b0ea5bd4a0c7bd75"},{"url":"https://git.kernel.org/stable/c/31767bf852b59f05125b58a17007e4cd1ea9eb2e"},{"url":"https://git.kernel.org/stable/c/a9a2fa1da619f276580b0d4c5d12efac89e8642b"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-07-19T15:39:36.475Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.18.34"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"7.0.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}