{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-53247","id":"CVE-2026-53247","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 rea","descriptionLong":"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.","published":"2026-06-25T08:39:40.654Z","updated":"2026-10-28T02:30:58.661327091Z","reserved":"2026-06-09T07:44:35.394Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Linux"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Linux"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2d7605a729062bb554f03c5983d8cfb8c0b42e9c","lessThan":"72775977e89c25c99ee84d2c5baa3f86a8ba5cb4","status":"affected","versionType":"git"},{"version":"2d7605a729062bb554f03c5983d8cfb8c0b42e9c","lessThan":"459c6f35c58cf0fd5247e55d73ddaa29571d9b7e","status":"affected","versionType":"git"},{"version":"2d7605a729062bb554f03c5983d8cfb8c0b42e9c","lessThan":"e634408d2b0cd939cfe019398a21fb47b7a8ffe3","status":"affected","versionType":"git"},{"version":"2d7605a729062bb554f03c5983d8cfb8c0b42e9c","lessThan":"2d86aeb46d5f69c704065a8c69822582787272a1","status":"affected","versionType":"git"},{"version":"2d7605a729062bb554f03c5983d8cfb8c0b42e9c","lessThan":"80df409e1a483676826a6c66e693dba6ac507751","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.2","status":"affected"},{"version":"0","lessThan":"6.2","status":"unaffected","versionType":"semver"},{"version":"6.6.143","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.94","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.36","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.0.13","lessThanOrEqual":"7.0.*","status":"unaffected","versionType":"semver"},{"version":"7.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/72775977e89c25c99ee84d2c5baa3f86a8ba5cb4","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/459c6f35c58cf0fd5247e55d73ddaa29571d9b7e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e634408d2b0cd939cfe019398a21fb47b7a8ffe3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2d86aeb46d5f69c704065a8c69822582787272a1","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/80df409e1a483676826a6c66e693dba6ac507751","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53247.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53247","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":null,"epss":0.00685,"epssPercentile":0.53386,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-53247","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53247","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-53247","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-2026-53247","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}