Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-49997

published high CVSS 3.1 · 7.5

net: lantiq_xrx200: restore buffer if memory allocation failed

Published
18 Jun 2025, 11:00:57 UTC
Updated
05 Aug 2026, 08:57:05 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

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.

Affected vendor and product assertions
VendorProductVersion statusSource
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

0

No weakness assertions.

References

2

Provider assertions

1

Linux · 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

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected