CVE-2022-48958

ethernet: aeroflex: fix potential skb leak in greth_init_rings()

MEDIUM
5.5
CVSS Score
Published: October 21, 2024 at 08:05 PM UTC
Updated: June 17, 2026 at 05:16 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: ethernet: aeroflex: fix potential skb leak in greth_init_rings() The greth_init_rings() function won't free the newly allocated skb when dma_mapping_error() returns error, so add dev_kfree_skb() to fix it. Compile tested only.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.34 ≤ v < 4.14.3022.6.34 ≤ v < 4.19.2692.6.34 ≤ v < 4.9.3362.6.34 ≤ v < 5.10.1592.6.34 ≤ v < 5.15.832.6.34 ≤ v < 5.4.2272.6.34 ≤ v < 6.0.132.6.34 ≤ v < 6.14.10 ≤ v < 4.14.3024.15 ≤ v < 4.19.2694.20 ≤ v < 5.4.2275.11 ≤ v < 5.15.835.16 ≤ v < 6.0.135.5 ≤ v < 5.10.1596.1 rc16.1 rc26.1 rc36.1 rc46.1 rc56.1 rc66.1 rc76.1 rc8d4c41139df6e74c6fff0cbac43e51cab782133be
Vendor states this is fixed in 063a932b64db3317ec020c94466fe52923a15f60 (fixed)
Vendor states this is fixed in 223654e2e2c8d05347cd8e300f8d1ec6023103dd (fixed)
Vendor states this is fixed in 87277bdf2c370ab2d07cfe77dfa9b37f82bbe1e5 (fixed)
Vendor states this is fixed in 99669d94ce145389f1d6f197e6e18ed50d43fb76 (fixed)
Vendor states this is fixed in bfaa8f6c5b84b295dd73b0138b57c5555ca12b1c (fixed)
Vendor states this is fixed in c7adcbd0fd3fde1b19150c3e955fb4a30c5bd9b7 (fixed)
Vendor states this is fixed in cb1e293f858e5e1152b8791047ed4bdaaf392189 (fixed)
Vendor states this is fixed in dd62867a6383f78f75f07039394aac25924a3307 (fixed)
Vendor states this is fixed in 2.6.34 (unaffected)
Vendor states this is fixed in 4.14.302 (unaffected)
Vendor states this is fixed in 4.19.269 (unaffected)
Vendor states this is fixed in 4.9.336 (unaffected)
Vendor states this is fixed in 5.10.159 (unaffected)
Vendor states this is fixed in 5.15.83 (unaffected)
Vendor states this is fixed in 5.4.227 (unaffected)
Vendor states this is fixed in 6.0.13 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/063a932b64db3317ec020c94466fe52923a15f60
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/223654e2e2c8d05347cd8e300f8d1ec6023103dd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/87277bdf2c370ab2d07cfe77dfa9b37f82bbe1e5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/99669d94ce145389f1d6f197e6e18ed50d43fb76
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bfaa8f6c5b84b295dd73b0138b57c5555ca12b1c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c7adcbd0fd3fde1b19150c3e955fb4a30c5bd9b7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cb1e293f858e5e1152b8791047ed4bdaaf392189
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/dd62867a6383f78f75f07039394aac25924a3307

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card