{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-53247: net: ethernet: mtk_eth_soc: Fix use-after-free in metadata dst teardown","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-53247","status":"final","version":"1","initial_release_date":"2026-06-25T08:39:40.654Z","current_release_date":"2026-06-28T06:40:53.820Z","revision_history":[{"date":"2026-06-25T08:39:40.654Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ethernet: mtk_eth_soc: Fix use-after-free in metadata dst teardown\n\nmtk_free_dev() calls metadata_dst_free() which frees the metadata_dst\nwith kfree() immediately, bypassing the RCU grace period.\nIn the RX path, skb_dst_set_noref() sets a non-refcounted pointer from\nthe skb to the metadata_dst. This function requires RCU read-side\nprotection and the dst must remain valid until all RCU readers complete.\nSince metadata_dst_free() calls kfree() directly, a use-after-free can\noccur if any skb still holds a noref pointer to the dst when the driver\ntears it down.\nReplace metadata_dst_free() with dst_release() which properly goes\nthrough the refcount path: when the refcount drops to zero, it schedules\nthe actual free via call_rcu_hurry(), ensuring all RCU readers have\ncompleted before the memory is freed.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-53247 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-53247"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-53247"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/72775977e89c25c99ee84d2c5baa3f86a8ba5cb4"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/459c6f35c58cf0fd5247e55d73ddaa29571d9b7e"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/e634408d2b0cd939cfe019398a21fb47b7a8ffe3"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/2d86aeb46d5f69c704065a8c69822582787272a1"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/80df409e1a483676826a6c66e693dba6ac507751"}]},"product_tree":{"branches":[{"category":"vendor","name":"Linux","branches":[{"category":"product_name","name":"Linux","branches":[{"category":"product_version_range","name":">=2d7605a729062bb554f03c5983d8cfb8c0b42e9c <72775977e89c25c99ee84d2c5baa3f86a8ba5cb4","product":{"name":"Linux Linux >=2d7605a729062bb554f03c5983d8cfb8c0b42e9c <72775977e89c25c99ee84d2c5baa3f86a8ba5cb4","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=2d7605a729062bb554f03c5983d8cfb8c0b42e9c <459c6f35c58cf0fd5247e55d73ddaa29571d9b7e","product":{"name":"Linux Linux >=2d7605a729062bb554f03c5983d8cfb8c0b42e9c <459c6f35c58cf0fd5247e55d73ddaa29571d9b7e","product_id":"CSAFPID-2","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=2d7605a729062bb554f03c5983d8cfb8c0b42e9c <e634408d2b0cd939cfe019398a21fb47b7a8ffe3","product":{"name":"Linux Linux >=2d7605a729062bb554f03c5983d8cfb8c0b42e9c <e634408d2b0cd939cfe019398a21fb47b7a8ffe3","product_id":"CSAFPID-3","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=2d7605a729062bb554f03c5983d8cfb8c0b42e9c <2d86aeb46d5f69c704065a8c69822582787272a1","product":{"name":"Linux Linux >=2d7605a729062bb554f03c5983d8cfb8c0b42e9c <2d86aeb46d5f69c704065a8c69822582787272a1","product_id":"CSAFPID-4","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=2d7605a729062bb554f03c5983d8cfb8c0b42e9c <80df409e1a483676826a6c66e693dba6ac507751","product":{"name":"Linux Linux >=2d7605a729062bb554f03c5983d8cfb8c0b42e9c <80df409e1a483676826a6c66e693dba6ac507751","product_id":"CSAFPID-5","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}}]}]},{"category":"vendor","name":"Linux","branches":[{"category":"product_name","name":"Linux","branches":[{"category":"product_version","name":"6.2","product":{"name":"Linux Linux 6.2","product_id":"CSAFPID-6","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:6.2:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"0","product":{"name":"Linux Linux 0","product_id":"CSAFPID-7","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:6.2:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.6.143","product":{"name":"Linux Linux 6.6.143","product_id":"CSAFPID-8","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:6.2:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.12.94","product":{"name":"Linux Linux 6.12.94","product_id":"CSAFPID-9","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:6.2:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.18.36","product":{"name":"Linux Linux 6.18.36","product_id":"CSAFPID-10","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:6.2:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"7.0.13","product":{"name":"Linux Linux 7.0.13","product_id":"CSAFPID-11","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:6.2:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"7.1","product":{"name":"Linux Linux 7.1","product_id":"CSAFPID-12","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:6.2:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-53247","title":"net: ethernet: mtk_eth_soc: Fix use-after-free in metadata dst teardown","notes":[{"category":"description","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ethernet: mtk_eth_soc: Fix use-after-free in metadata dst teardown\n\nmtk_free_dev() calls metadata_dst_free() which frees the metadata_dst\nwith kfree() immediately, bypassing the RCU grace period.\nIn the RX path, skb_dst_set_noref() sets a non-refcounted pointer from\nthe skb to the metadata_dst. This function requires RCU read-side\nprotection and the dst must remain valid until all RCU readers complete.\nSince metadata_dst_free() calls kfree() directly, a use-after-free can\noccur if any skb still holds a noref pointer to the dst when the driver\ntears it down.\nReplace metadata_dst_free() with dst_release() which properly goes\nthrough the refcount path: when the refcount drops to zero, it schedules\nthe actual free via call_rcu_hurry(), ensuring all RCU readers have\ncompleted before the memory is freed.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6"],"fixed":["CSAFPID-7","CSAFPID-8","CSAFPID-9","CSAFPID-10","CSAFPID-11","CSAFPID-12"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL"},"products":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6"]}],"remediations":[{"category":"vendor_fix","details":"Update to a fixed version: 0, 2d86aeb46d5f69c704065a8c69822582787272a1, 459c6f35c58cf0fd5247e55d73ddaa29571d9b7e, 6.6.143, 6.12.94, 6.18.36, 7.0.13, 7.1, 72775977e89c25c99ee84d2c5baa3f86a8ba5cb4, 80df409e1a483676826a6c66e693dba6ac507751, e634408d2b0cd939cfe019398a21fb47b7a8ffe3.","product_ids":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6"]}]}]}