Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-49605

MEDIUM 5.5EPSS 14%

igc: Reinstate IGC_REMOVED logic and implement it properly

Mitigation

  • Upgrade Linux to 7c1ddcee5311f3315096217881d2dbe47cc683f9 or later.

Who should check

  • Anyone running Linux >= 146740f9abc4976e4f0af1aa302efee1c699d2e4, < 16cb6717f4f42487ef10583eb8bc98e7d1e33d65; >= 146740f9abc4976e4f0af1aa302efee1c699d2e4, < 77836dbe35382aaf8108489060c5c89530c77494; >= 146740f9abc4976e4f0af1aa302efee1c699d2e4, < e75b73081f1ec169518773626c2ff3950476660b; >= 146740f9abc4976e4f0af1aa302efee1c699d2e4, < 70965b6e5c03aa70cc754af1226b9f9cde0c4bf3; >= 146740f9abc4976e4f0af1aa302efee1c699d2e4, < 7c1ddcee5311f3315096217881d2dbe47cc683f9
  • Anyone running Linux 4.20

Vulnerability facts

Affected
Linux >= 146740f9abc4976e4f0af1aa302efee1c699d2e4, < 16cb6717f4f42487ef10583eb8bc98e7d1e33d65; >= 146740f9abc4976e4f0af1aa302efee1c699d2e4, < 77836dbe35382aaf8108489060c5c89530c77494; >= 146740f9abc4976e4f0af1aa302efee1c699d2e4, < e75b73081f1ec169518773626c2ff3950476660b; >= 146740f9abc4976e4f0af1aa302efee1c699d2e4, < 70965b6e5c03aa70cc754af1226b9f9cde0c4bf3; >= 146740f9abc4976e4f0af1aa302efee1c699d2e4, < 7c1ddcee5311f3315096217881d2dbe47cc683f9; Linux 4.20
Fixed in
Linux 16cb6717f4f42487ef10583eb8bc98e7d1e33d65, Linux 77836dbe35382aaf8108489060c5c89530c77494, Linux 70965b6e5c03aa70cc754af1226b9f9cde0c4bf3, Linux 7c1ddcee5311f3315096217881d2dbe47cc683f9
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
EPSS
0.28% chance of exploitation in 30 days (percentile 14, 2026-11-26)
CWE
CWE-476
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: igc: Reinstate IGC_REMOVED logic and implement it properly The initially merged version of the igc driver code (via commit 146740f9abc4, "igc: Add support for PF") contained the following IGC_REMOVED checks in the igc_rd32/wr32() MMIO accessors: u32 igc_rd32(struct igc_hw *hw, u32 reg) { u8 __iomem *hw_addr = READ_ONCE(hw->hw_addr); u32 value = 0; if (IGC_REMOVED(hw_addr)) return ~value; value = readl(&hw_addr[reg]); /* reads should not return all F's */ if (!(~value) && (!reg || !(~readl(hw_addr)))) hw->hw_addr = NULL; return value; } And: #define wr32(reg, val) \ do { \ u8 __iomem *hw_addr = READ_ONCE((hw)->hw_addr); \ if (!IGC_REMOVED(hw_addr)) \ writel((val), &hw_addr[(reg)]); \ } while (0) E.g. igb has similar checks in its MMIO accessors, and has a similar macro E1000_REMOVED, which is implemented as follows: #define E1000_REMOVED(h) unlikely(!(h)) These checks serve to detect and take note of an 0xffffffff MMIO read return from the device, which can be caused by a PCIe link flap or some other kind of PCI bus error, and to avoid performing MMIO reads and writes from that point onwards. However, the IGC_REMOVED macro was not originally implemented: #ifndef IGC_REMOVED #define IGC_REMOVED(a) (0) #endif /* IGC_REMOVED */ This led to the IGC_REMOVED logic to be removed entirely in a subsequent commit (commit 3c215fb18e70, "igc: remove IGC_REMOVED function"), with the rationale that such checks matter only for virtualization and that igc does not support virtualization -- but a PCIe device can become detached even without virtualization being in use, and without proper checks, a PCIe bus error affecting an igc adapter will lead to various NULL pointer dereferences, as the first access after the error will set hw->hw_addr to NULL, and subsequent accesses will blindly dereference this now-NULL pointer. This patch reinstates the IGC_REMOVED checks in igc_rd32/wr32(), and implements IGC_REMOVED the way it is done for igb, by checking for the unlikely() case of hw_addr being NULL. This change prevents the oopses seen when a PCIe link flap occurs on an igc adapter.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 146740f9abc4976e4f0af1aa302efee1c699d2e4, < 16cb6717f4f42487ef10583eb8bc98e7d1e33d65; >= 146740f9abc4976e4f0af1aa302efee1c699d2e4, < 77836dbe35382aaf8108489060c5c89530c77494; >= 146740f9abc4976e4f0af1aa302efee1c699d2e4, < e75b73081f1ec169518773626c2ff3950476660b; >= 146740f9abc4976e4f0af1aa302efee1c699d2e4, < 70965b6e5c03aa70cc754af1226b9f9cde0c4bf3; >= 146740f9abc4976e4f0af1aa302efee1c699d2e4, < 7c1ddcee5311f3315096217881d2dbe47cc683f9—cvelist
Linux4.20—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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

Details: https://flawdb.com/CVE-2022-49605.md
Affected: Linux >= 146740f9abc4976e4f0af1aa302efee1c699d2e4, < 16cb6717f4f42487ef10583eb8bc98e7d1e33d65; >= 146740f9abc4976e4f0af1aa302efee1c699d2e4, < 77836dbe35382aaf8108489060c5c89530c77494; >= 146740f9abc4976e4f0af1aa302efee1c699d2e4, < e75b73081f1ec169518773626c2ff3950476660b; >= 146740f9abc4976e4f0af1a…
Fixed in: Linux 16cb6717f4f42487ef10583eb8bc98e7d1e33d65, Linux 77836dbe35382aaf8108489060c5c89530c77494, Linux 70965b6e5c03aa70cc754af1226b9f9cde0c4bf3, Linux 7c1ddcee5311f3315096217881d2dbe47cc683f9

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.

References

FAQ

Is CVE-2022-49605 being exploited?

There is no confirmed exploitation: CVE-2022-49605 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-49605?

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

Which versions are affected by CVE-2022-49605?

Linux >= 146740f9abc4976e4f0af1aa302efee1c699d2e4, < 16cb6717f4f42487ef10583eb8bc98e7d1e33d65; >= 146740f9abc4976e4f0af1aa302efee1c699d2e4, < 77836dbe35382aaf8108489060c5c89530c77494; >= 146740f9abc4976e4f0af1aa302efee1c699d2e4, < e75b73081f1ec169518773626c2ff3950476660b; >= 146740f9abc4976e4f0af1aa302efee1c699d2e4, < 70965b6e5c03aa70cc754af1226b9f9cde0c4bf3; >= 146740f9abc4976e4f0af1aa302efee1c699d2e4, < 7c1ddcee5311f3315096217881d2dbe47cc683f9; Linux 4.20.

Is there a fix for CVE-2022-49605?

Yes. Fixed in Linux 16cb6717f4f42487ef10583eb8bc98e7d1e33d65, Linux 77836dbe35382aaf8108489060c5c89530c77494, Linux 70965b6e5c03aa70cc754af1226b9f9cde0c4bf3, Linux 7c1ddcee5311f3315096217881d2dbe47cc683f9. Upgrade Linux to 7c1ddcee5311f3315096217881d2dbe47cc683f9 or later.

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

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.

Sponsors