{"api_version":"1","generated_at":"2026-08-15T08:46:03+00:00","cve":"CVE-2026-74344","urls":{"html":"https://cve.report/CVE-2026-74344","api":"https://cve.report/api/cve/CVE-2026-74344.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-74344","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-74344"},"summary":{"title":"bpf: Clear rb node linkage when freeing bpf_rb_root","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Clear rb node linkage when freeing bpf_rb_root\n\nbpf_rb_root_free() detaches the root by copying the current rb_root_cached\nand then replacing the live root with RB_ROOT_CACHED. It then walks the\ncopied root and drops each object contained in the tree.\n\nThis leaves the rb node state intact while dropping the object. If the\nobject is refcounted and survives the drop, its bpf_rb_node_kern still\ncontains an owner pointer to the freed root and stale rb tree linkage. If\na later bpf_rb_root allocation reuses the same address, bpf_rbtree_remove()\ncan incorrectly pass the owner check and call rb_erase_cached() on a node\nwhose rb pointers belong to the old tree.\n\nMirror the list draining behavior by marking nodes as busy while the root\nis being detached, then clear the rb node and release the owner before\ndropping the containing object. This makes surviving nodes unowned and\nsafe to reject from remove or accept for a later add.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-15 06:22:35","updated_at":"2026-08-15 06:22:35"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/2eb39de4962f842d653e96818ae372665cd481fd","name":"https://git.kernel.org/stable/c/2eb39de4962f842d653e96818ae372665cd481fd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4a7910ee060d8ce55612f5b3cc267f3a265a3cec","name":"https://git.kernel.org/stable/c/4a7910ee060d8ce55612f5b3cc267f3a265a3cec","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/574612793bed416f6c05fe7c9b50e9eb0441997e","name":"https://git.kernel.org/stable/c/574612793bed416f6c05fe7c9b50e9eb0441997e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-74344","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74344","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9c395c1b99bd23f74bc628fa000480c49593d17f 2eb39de4962f842d653e96818ae372665cd481fd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9c395c1b99bd23f74bc628fa000480c49593d17f 574612793bed416f6c05fe7c9b50e9eb0441997e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9c395c1b99bd23f74bc628fa000480c49593d17f 4a7910ee060d8ce55612f5b3cc267f3a265a3cec git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1d0675957d35ac5e514073481beda62e4e1e2ec5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.2.15 6.3 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.3","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.3 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.40 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.5 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["kernel/bpf/helpers.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"2eb39de4962f842d653e96818ae372665cd481fd","status":"affected","version":"9c395c1b99bd23f74bc628fa000480c49593d17f","versionType":"git"},{"lessThan":"574612793bed416f6c05fe7c9b50e9eb0441997e","status":"affected","version":"9c395c1b99bd23f74bc628fa000480c49593d17f","versionType":"git"},{"lessThan":"4a7910ee060d8ce55612f5b3cc267f3a265a3cec","status":"affected","version":"9c395c1b99bd23f74bc628fa000480c49593d17f","versionType":"git"},{"status":"affected","version":"1d0675957d35ac5e514073481beda62e4e1e2ec5","versionType":"git"},{"lessThan":"6.3","status":"affected","version":"6.2.15","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["kernel/bpf/helpers.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.3"},{"lessThan":"6.3","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.40","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.40","versionStartIncluding":"6.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.5","versionStartIncluding":"6.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2-rc1","versionStartIncluding":"6.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2.15","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Clear rb node linkage when freeing bpf_rb_root\n\nbpf_rb_root_free() detaches the root by copying the current rb_root_cached\nand then replacing the live root with RB_ROOT_CACHED. It then walks the\ncopied root and drops each object contained in the tree.\n\nThis leaves the rb node state intact while dropping the object. If the\nobject is refcounted and survives the drop, its bpf_rb_node_kern still\ncontains an owner pointer to the freed root and stale rb tree linkage. If\na later bpf_rb_root allocation reuses the same address, bpf_rbtree_remove()\ncan incorrectly pass the owner check and call rb_erase_cached() on a node\nwhose rb pointers belong to the old tree.\n\nMirror the list draining behavior by marking nodes as busy while the root\nis being detached, then clear the rb node and release the owner before\ndropping the containing object. This makes surviving nodes unowned and\nsafe to reject from remove or accept for a later add."}],"providerMetadata":{"dateUpdated":"2026-08-15T05:58:33.231Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/2eb39de4962f842d653e96818ae372665cd481fd"},{"url":"https://git.kernel.org/stable/c/574612793bed416f6c05fe7c9b50e9eb0441997e"},{"url":"https://git.kernel.org/stable/c/4a7910ee060d8ce55612f5b3cc267f3a265a3cec"}],"title":"bpf: Clear rb node linkage when freeing bpf_rb_root","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-74344","datePublished":"2026-08-15T05:58:33.231Z","dateReserved":"2026-08-15T05:44:03.886Z","dateUpdated":"2026-08-15T05:58:33.231Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-15 06:22:35","lastModifiedDate":"2026-08-15 06:22:35","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"74344","Ordinal":"1","Title":"bpf: Clear rb node linkage when freeing bpf_rb_root","CVE":"CVE-2026-74344","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"74344","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Clear rb node linkage when freeing bpf_rb_root\n\nbpf_rb_root_free() detaches the root by copying the current rb_root_cached\nand then replacing the live root with RB_ROOT_CACHED. It then walks the\ncopied root and drops each object contained in the tree.\n\nThis leaves the rb node state intact while dropping the object. If the\nobject is refcounted and survives the drop, its bpf_rb_node_kern still\ncontains an owner pointer to the freed root and stale rb tree linkage. If\na later bpf_rb_root allocation reuses the same address, bpf_rbtree_remove()\ncan incorrectly pass the owner check and call rb_erase_cached() on a node\nwhose rb pointers belong to the old tree.\n\nMirror the list draining behavior by marking nodes as busy while the root\nis being detached, then clear the rb node and release the owner before\ndropping the containing object. This makes surviving nodes unowned and\nsafe to reject from remove or accept for a later add.","Type":"Description","Title":"bpf: Clear rb node linkage when freeing bpf_rb_root"}]}}}