Files
vuln-cve/data/2026/53xxx/CVE-2026-53248.json
T

159 lines
8.9 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-53248",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2026-06-09T07:44:35.394Z",
"datePublished": "2026-06-25T08:39:41.307Z",
"dateUpdated": "2026-08-05T12:34:32.572Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T12:34:32.572Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: airoha: Fix use-after-free in metadata dst teardown\n\nairoha_metadata_dst_free() runs metadata_dst_free() which frees the\nmetadata_dst with 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, an 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."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"baseScore": 8.8,
"baseSeverity": "HIGH"
},
"scenarios": [
{
"lang": "en",
"value": "AV:N - An unauthenticated network peer can feed packets into the Airoha Ethernet RX path, where `skb_dst_set_noref()` attaches the metadata_dst used by DSA. In router/embedded deployments this RX path can be exposed on network-facing Ethernet ports.\nAC:L - The bug is a straightforward lifetime violation: attacker-supplied traffic can keep SKBs carrying the noref dst while teardown frees the object without an RCU grace period. Per the UAF guidance, no special hard-to-control condition is required beyond arranging traffic around teardown.\nPR:N - The attacker does not need local credentials to supply the RX packets that hold the stale metadata pointer. The privileged driver teardown is treated as victim/system interaction rather than attacker-held privileges.\nUI:R - Exploitation requires the device/driver to be torn down, such as by platform-driver unbind or module unload, while attacker-fed SKBs still reference the metadata_dst. That teardown is not triggered by normal packets alone.\nS:U - The vulnerability corrupts kernel networking state within the same kernel security authority. It does not cross a VM, IOMMU, or separate security-scope boundary.\nC:H - This is a kernel use-after-free of a heap-allocated metadata_dst reachable from packet processing. Following the UAF scoring rule, freed-object reuse can enable kernel memory disclosure.\nI:H - Kernel UAFs can be leveraged through heap reuse and spraying into broader memory corruption or control-flow manipulation. The fix changes lifetime management to RCU-delayed `dst_release()`, confirming the stale pointer risk.\nA:H - A stale dst pointer can be dereferenced during DSA receive processing after the object was freed. This can cause kernel oops/panic or network stack failure."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/net/ethernet/airoha/airoha_eth.c"
],
"versions": [
{
"version": "af3cf757d5c99011b9b94ea8d78aeaccc0153fdc",
"lessThan": "6f829e2c17a53a35321268339cd252aff6d6d723",
"status": "affected",
"versionType": "git"
},
{
"version": "af3cf757d5c99011b9b94ea8d78aeaccc0153fdc",
"lessThan": "4b5a574e033e66d2131eff1c18feef8d8643c67e",
"status": "affected",
"versionType": "git"
},
{
"version": "af3cf757d5c99011b9b94ea8d78aeaccc0153fdc",
"lessThan": "b38cae85d1c45ff189d7ecb6ac36f41cdc3d84d0",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/net/ethernet/airoha/airoha_eth.c"
],
"versions": [
{
"version": "6.15",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.15",
"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"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.15",
"versionEndExcluding": "6.18.36"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.15",
"versionEndExcluding": "7.0.13"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.15",
"versionEndExcluding": "7.1"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/6f829e2c17a53a35321268339cd252aff6d6d723"
},
{
"url": "https://git.kernel.org/stable/c/4b5a574e033e66d2131eff1c18feef8d8643c67e"
},
{
"url": "https://git.kernel.org/stable/c/b38cae85d1c45ff189d7ecb6ac36f41cdc3d84d0"
}
],
"title": "net: airoha: Fix use-after-free in metadata dst teardown",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
}
}