Files
vuln-cve/data/2022/49xxx/CVE-2022-49997.json
T

186 lines
9.7 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2022-49997",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2025-06-18T10:57:27.387Z",
"datePublished": "2025-06-18T11:00:57.072Z",
"dateUpdated": "2026-08-05T08:57:05.467Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T08:57:05.467Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: lantiq_xrx200: restore buffer if memory allocation failed\n\nIn a situation where memory allocation fails, an invalid buffer address\nis stored. When this descriptor is used again, the system panics in the\nbuild_skb() function when accessing memory."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"baseScore": 7.5,
"baseSeverity": "HIGH"
},
"scenarios": [
{
"lang": "en",
"value": "AV:N - The vulnerable code is the Lantiq XRX200 Ethernet PMAC NAPI RX path, reached solely by frames arriving on the wire to the CPU port of VRX200 DSL gateways; a remote attacker’s packets both induce RX buffer refill and later reuse the poisoned descriptor with no local access required.\nAC:L - An attacker can reliably create the triggering condition by flooding a memory-constrained embedded gateway until napi_alloc_frag fails, permanently storing NULL in that ring slot; any subsequent received frame that reuses the descriptor then crashes, with no uncontrolled race or layout dependency.\nPR:N - There is no authentication, capability check, or credential gate between frame arrival and xrx200_hw_receive()/xrx200_alloc_buf()—reception runs in softirq/NAPI before any socket-level authorization, so unauthenticated network traffic suffices.\nUI:N - The RX path runs autonomously in NAPI/softirq whenever frames arrive; no local user must open a device, mount anything, or take any action for the NULL dereference to occur.\nS:U - The panic and its consequences stay within the host kernel’s security authority on the affected gateway; there is no VM escape, IOMMU bypass, or other cross-boundary impact.\nC:N - build_skb(NULL) faults while constructing skb_shared_info at a low address derived from a NULL head and aborts without returning kernel memory, pointers, or freed-object contents to the attacker.\nI:N - This is a stored NULL software pointer followed by a NULL dereference in build_skb, not an attacker-controlled out-of-bounds/UAF write or type confusion; execution aborts before any control-flow hijack or data-modification primitive is obtained.\nA:H - The NULL pointer dereference occurs in softirq/NAPI context and panics the kernel as described in the fix, fully denying service on the device and remaining re-triggerable after reboot under the same traffic load."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/net/ethernet/lantiq_xrx200.c"
],
"versions": [
{
"version": "7ea6cd16f1599c1eac6018751eadbc5fc736b99a",
"lessThan": "3ef2786e32d93e562cd40601248a14ae090de873",
"status": "affected",
"versionType": "git"
},
{
"version": "7ea6cd16f1599c1eac6018751eadbc5fc736b99a",
"lessThan": "c9c3b1775f80fa21f5bff874027d2ccb10f5d90c",
"status": "affected",
"versionType": "git"
},
{
"version": "217395c5ab15e92a4fd84fe77fab6b0b1bb4e456",
"status": "affected",
"versionType": "git"
},
{
"version": "70c8418469fb22a679fe5015ebe60fe15011ea43",
"status": "affected",
"versionType": "git"
},
{
"version": "5e006cdb9b759f604c4fc69b410aab37cf45f5b4",
"status": "affected",
"versionType": "git"
},
{
"version": "5.4.128",
"lessThan": "5.5",
"status": "affected",
"versionType": "semver"
},
{
"version": "5.10.46",
"lessThan": "5.11",
"status": "affected",
"versionType": "semver"
},
{
"version": "5.12.13",
"lessThan": "5.13",
"status": "affected",
"versionType": "semver"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/net/ethernet/lantiq_xrx200.c"
],
"versions": [
{
"version": "5.13",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.13",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.19.6",
"lessThanOrEqual": "5.19.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.0",
"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": "5.13",
"versionEndExcluding": "5.19.6"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.13",
"versionEndExcluding": "6.0"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.4.128"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.10.46"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.12.13"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/3ef2786e32d93e562cd40601248a14ae090de873"
},
{
"url": "https://git.kernel.org/stable/c/c9c3b1775f80fa21f5bff874027d2ccb10f5d90c"
}
],
"title": "net: lantiq_xrx200: restore buffer if memory allocation failed",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
}
}