{"api_version":"1","generated_at":"2026-06-25T11:33:17+00:00","cve":"CVE-2026-53247","urls":{"html":"https://cve.report/CVE-2026-53247","api":"https://cve.report/api/cve/CVE-2026-53247.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-53247","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-53247"},"summary":{"title":"net: ethernet: mtk_eth_soc: Fix use-after-free in metadata dst teardown","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-06-25 09:16:42","updated_at":"2026-06-25 09:16:42"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/e634408d2b0cd939cfe019398a21fb47b7a8ffe3","name":"https://git.kernel.org/stable/c/e634408d2b0cd939cfe019398a21fb47b7a8ffe3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/459c6f35c58cf0fd5247e55d73ddaa29571d9b7e","name":"https://git.kernel.org/stable/c/459c6f35c58cf0fd5247e55d73ddaa29571d9b7e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/72775977e89c25c99ee84d2c5baa3f86a8ba5cb4","name":"https://git.kernel.org/stable/c/72775977e89c25c99ee84d2c5baa3f86a8ba5cb4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2d86aeb46d5f69c704065a8c69822582787272a1","name":"https://git.kernel.org/stable/c/2d86aeb46d5f69c704065a8c69822582787272a1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/80df409e1a483676826a6c66e693dba6ac507751","name":"https://git.kernel.org/stable/c/80df409e1a483676826a6c66e693dba6ac507751","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-53247","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53247","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2d7605a729062bb554f03c5983d8cfb8c0b42e9c 72775977e89c25c99ee84d2c5baa3f86a8ba5cb4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2d7605a729062bb554f03c5983d8cfb8c0b42e9c 459c6f35c58cf0fd5247e55d73ddaa29571d9b7e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2d7605a729062bb554f03c5983d8cfb8c0b42e9c e634408d2b0cd939cfe019398a21fb47b7a8ffe3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2d7605a729062bb554f03c5983d8cfb8c0b42e9c 2d86aeb46d5f69c704065a8c69822582787272a1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2d7605a729062bb554f03c5983d8cfb8c0b42e9c 80df409e1a483676826a6c66e693dba6ac507751 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.2","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.143 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.94 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.36 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.13 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1 * 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":["drivers/net/ethernet/mediatek/mtk_eth_soc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"72775977e89c25c99ee84d2c5baa3f86a8ba5cb4","status":"affected","version":"2d7605a729062bb554f03c5983d8cfb8c0b42e9c","versionType":"git"},{"lessThan":"459c6f35c58cf0fd5247e55d73ddaa29571d9b7e","status":"affected","version":"2d7605a729062bb554f03c5983d8cfb8c0b42e9c","versionType":"git"},{"lessThan":"e634408d2b0cd939cfe019398a21fb47b7a8ffe3","status":"affected","version":"2d7605a729062bb554f03c5983d8cfb8c0b42e9c","versionType":"git"},{"lessThan":"2d86aeb46d5f69c704065a8c69822582787272a1","status":"affected","version":"2d7605a729062bb554f03c5983d8cfb8c0b42e9c","versionType":"git"},{"lessThan":"80df409e1a483676826a6c66e693dba6ac507751","status":"affected","version":"2d7605a729062bb554f03c5983d8cfb8c0b42e9c","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/ethernet/mediatek/mtk_eth_soc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.2"},{"lessThan":"6.2","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.143","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.94","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.36","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.13","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.143","versionStartIncluding":"6.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.94","versionStartIncluding":"6.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.36","versionStartIncluding":"6.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.13","versionStartIncluding":"6.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1","versionStartIncluding":"6.2","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-06-25T08:39:40.654Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/72775977e89c25c99ee84d2c5baa3f86a8ba5cb4"},{"url":"https://git.kernel.org/stable/c/459c6f35c58cf0fd5247e55d73ddaa29571d9b7e"},{"url":"https://git.kernel.org/stable/c/e634408d2b0cd939cfe019398a21fb47b7a8ffe3"},{"url":"https://git.kernel.org/stable/c/2d86aeb46d5f69c704065a8c69822582787272a1"},{"url":"https://git.kernel.org/stable/c/80df409e1a483676826a6c66e693dba6ac507751"}],"title":"net: ethernet: mtk_eth_soc: Fix use-after-free in metadata dst teardown","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-53247","datePublished":"2026-06-25T08:39:40.654Z","dateReserved":"2026-06-09T07:44:35.394Z","dateUpdated":"2026-06-25T08:39:40.654Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-06-25 09:16:42","lastModifiedDate":"2026-06-25 09:16:42","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"53247","Ordinal":"1","Title":"net: ethernet: mtk_eth_soc: Fix use-after-free in metadata dst t","CVE":"CVE-2026-53247","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"53247","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"net: ethernet: mtk_eth_soc: Fix use-after-free in metadata dst t"}]}}}