# CVE-2022-49227: igc: avoid kernel warning when changing RX ring parameters

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **Published:** 2025-02-26T01:55:56.202Z
- **Modified:** 2026-06-17T05:17:26.690Z

## Who should check

- Anyone running Linux \>= 73f1071c1d2952b8c93cd6cd99744768c59ec840, \< ab8c107470d12e7ef99030bf0911a10cdef62d16; \>= 73f1071c1d2952b8c93cd6cd99744768c59ec840, \< 3ddb49af08094ebee250b461172ee7b8e27a35d3; \>= 73f1071c1d2952b8c93cd6cd99744768c59ec840, \< 65aebcf1e05bd97d2e7ffcdff36efea1757c9450; \>= 73f1071c1d2952b8c93cd6cd99744768c59ec840, \< 453307b569a0d41bddd07f26bf41b784cd82a4c9
- Anyone running Linux 5.13

## Description

In the Linux kernel, the following vulnerability has been resolved:

igc: avoid kernel warning when changing RX ring parameters

Calling ethtool changing the RX ring parameters like this:

  $ ethtool -G eth0 rx 1024

on igc triggers kernel warnings like this:

\[  225.198467\] ------------\[ cut here \]------------
\[  225.198473\] Missing unregister, handled but fix driver
\[  225.198485\] WARNING: CPU: 7 PID: 959 at net/core/xdp.c:168
xdp\_rxq\_info\_reg+0x79/0xd0
\[...\]
\[  225.198601\] Call Trace:
\[  225.198604\]  \<TASK\>
\[  225.198609\]  igc\_setup\_rx\_resources+0x3f/0xe0 \[igc\]
\[  225.198617\]  igc\_ethtool\_set\_ringparam+0x30e/0x450 \[igc\]
\[  225.198626\]  ethnl\_set\_rings+0x18a/0x250
\[  225.198631\]  genl\_family\_rcv\_msg\_doit+0xca/0x110
\[  225.198637\]  genl\_rcv\_msg+0xce/0x1c0
\[  225.198640\]  ? rings\_prepare\_data+0x60/0x60
\[  225.198644\]  ? genl\_get\_cmd+0xd0/0xd0
\[  225.198647\]  netlink\_rcv\_skb+0x4e/0xf0
\[  225.198652\]  genl\_rcv+0x24/0x40
\[  225.198655\]  netlink\_unicast+0x20e/0x330
\[  225.198659\]  netlink\_sendmsg+0x23f/0x480
\[  225.198663\]  sock\_sendmsg+0x5b/0x60
\[  225.198667\]  \_\_sys\_sendto+0xf0/0x160
\[  225.198671\]  ? handle\_mm\_fault+0xb2/0x280
\[  225.198676\]  ? do\_user\_addr\_fault+0x1eb/0x690
\[  225.198680\]  \_\_x64\_sys\_sendto+0x20/0x30
\[  225.198683\]  do\_syscall\_64+0x38/0x90
\[  225.198687\]  entry\_SYSCALL\_64\_after\_hwframe+0x44/0xae
\[  225.198693\] RIP: 0033:0x7f7ae38ac3aa

igc\_ethtool\_set\_ringparam() copies the igc\_ring structure but neglects to
reset the xdp\_rxq\_info member before calling igc\_setup\_rx\_resources().
This in turn calls xdp\_rxq\_info\_reg() with an already registered xdp\_rxq\_info.

Make sure to unregister the xdp\_rxq\_info structure first in
igc\_setup\_rx\_resources.

## Affected and fixed versions

- Linux: \>= 73f1071c1d2952b8c93cd6cd99744768c59ec840, \< ab8c107470d12e7ef99030bf0911a10cdef62d16; \>= 73f1071c1d2952b8c93cd6cd99744768c59ec840, \< 3ddb49af08094ebee250b461172ee7b8e27a35d3; \>= 73f1071c1d2952b8c93cd6cd99744768c59ec840, \< 65aebcf1e05bd97d2e7ffcdff36efea1757c9450; \>= 73f1071c1d2952b8c93cd6cd99744768c59ec840, \< 453307b569a0d41bddd07f26bf41b784cd82a4c9 (cvelist)
- Linux: 5.13 (cvelist)

## Mitigation

- Upgrade Linux to 453307b569a0d41bddd07f26bf41b784cd82a4c9 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49227. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49227.md
Affected: Linux >= 73f1071c1d2952b8c93cd6cd99744768c59ec840, < ab8c107470d12e7ef99030bf0911a10cdef62d16; >= 73f1071c1d2952b8c93cd6cd99744768c59ec840, < 3ddb49af08094ebee250b461172ee7b8e27a35d3; >= 73f1071c1d2952b8c93cd6cd99744768c59ec840, < 65aebcf1e05bd97d2e7ffcdff36efea1757c9450; >= 73f1071c1d2952b8c93cd6c…
Fixed in: Linux 3ddb49af08094ebee250b461172ee7b8e27a35d3, Linux 65aebcf1e05bd97d2e7ffcdff36efea1757c9450, Linux 453307b569a0d41bddd07f26bf41b784cd82a4c9

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49227 being exploited?

There is no confirmed exploitation: CVE-2022-49227 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49227?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49227?

Linux \>= 73f1071c1d2952b8c93cd6cd99744768c59ec840, \< ab8c107470d12e7ef99030bf0911a10cdef62d16; \>= 73f1071c1d2952b8c93cd6cd99744768c59ec840, \< 3ddb49af08094ebee250b461172ee7b8e27a35d3; \>= 73f1071c1d2952b8c93cd6cd99744768c59ec840, \< 65aebcf1e05bd97d2e7ffcdff36efea1757c9450; \>= 73f1071c1d2952b8c93cd6cd99744768c59ec840, \< 453307b569a0d41bddd07f26bf41b784cd82a4c9; Linux 5.13.

### Is there a fix for CVE-2022-49227?

Yes. Fixed in Linux 3ddb49af08094ebee250b461172ee7b8e27a35d3, Linux 65aebcf1e05bd97d2e7ffcdff36efea1757c9450, Linux 453307b569a0d41bddd07f26bf41b784cd82a4c9. Upgrade Linux to 453307b569a0d41bddd07f26bf41b784cd82a4c9 or later.

### How do I check if I'm affected by CVE-2022-49227?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/ab8c107470d12e7ef99030bf0911a10cdef62d16>
- patch: <https://git.kernel.org/stable/c/3ddb49af08094ebee250b461172ee7b8e27a35d3>
- patch: <https://git.kernel.org/stable/c/65aebcf1e05bd97d2e7ffcdff36efea1757c9450>
- patch: <https://git.kernel.org/stable/c/453307b569a0d41bddd07f26bf41b784cd82a4c9>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49227>

HTML: <https://flawdb.com/CVE-2022-49227> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49227>
