CVE-2022-49997
published high CVSS 3.1 · 7.5net: lantiq_xrx200: restore buffer if memory allocation failed
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux7ea6cd16f1599c1eac6018751eadbc5fc736b99a to < 3ef2786e32d93e562cd40601248a14ae090de873 · 7ea6cd16f1599c1eac6018751eadbc5fc736b99a to < c9c3b1775f80fa21f5bff874027d2ccb10f5d90c · 217395c5ab15e92a4fd84fe77fab6b0b1bb4e456 · 70c8418469fb22a679fe5015ebe60fe15011ea43 · 5e006cdb9b759f604c4fc69b410aab37cf45f5b4 · 5.4.128 to < 5.5 · 5.10.46 to < 5.11 · 5.12.13 to < 5.13 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.13 (affected) · 0 to < 5.13 (unaffected · semver) · 5.19.6 through 5.19.* (unaffected · semver) · 6.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: net: lantiq_xrx200: restore buffer if memory allocation failed In a situation where memory allocation fails, an invalid buffer address is stored. When this descriptor is used again, the system panics in the build_skb() function when accessing memory.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: 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. AC: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. PR: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. UI: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. S: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. C: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. I: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. A: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.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 7ea6cd16f1599c1eac6018751eadbc5fc736b99a to < 3ef2786e32d93e562cd40601248a14ae090de873 (affected · git)7ea6cd16f1599c1eac6018751eadbc5fc736b99a to < c9c3b1775f80fa21f5bff874027d2ccb10f5d90c (affected · git)217395c5ab15e92a4fd84fe77fab6b0b1bb4e456 (affected · git)70c8418469fb22a679fe5015ebe60fe15011ea43 (affected · git)5e006cdb9b759f604c4fc69b410aab37cf45f5b4 (affected · git)5.4.128 to < 5.5 (affected · semver)5.10.46 to < 5.11 (affected · semver)5.12.13 to < 5.13 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.13 (affected)0 to < 5.13 (unaffected · semver)5.19.6 through 5.19.* (unaffected · semver)6.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
net: lantiq_xrx200: restore buffer if memory allocation failed
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7e3894f5ac41ead3a5acd70997c72a03f6fa64cacc7eafb40d929d0107f300d4
- Ingested
- 23 Sep 2026, 08:04:21 UTC
- Source record
- Official CVE record