# CVE-2022-49625: sfc: fix kernel panic when creating VF

> 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.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-02-26T02:23:40.786Z
- **Modified:** 2026-06-17T05:18:39.893Z

## Who should check

- Anyone running Linux \>= d778819609a27efd5358da8151a0ad3507243e19, \< d9840212a9c00507347c703f4fdeda16400407e0; \>= d778819609a27efd5358da8151a0ad3507243e19, \< b9072305270579a9d6afc9b926166231e5b1a7c8; \>= d778819609a27efd5358da8151a0ad3507243e19, \< 82bcb730f856086f033e6c04082eb4503d4c2fa4; \>= d778819609a27efd5358da8151a0ad3507243e19, \< da346adcf5573fd8663cabfdfe8371009629a906; \>= d778819609a27efd5358da8151a0ad3507243e19, \< b82e4ad58a7fb72456503958a93060f87896e629; \>= d778819609a27efd5358da8151a0ad3507243e19, \< 68e5f32f0de9594629ff9e599294d9801c6187de; \>= d778819609a27efd5358da8151a0ad3507243e19, \< 16662524ec5da801fb78a1afcaf6e782f1cf103a; \>= d778819609a27efd5358da8151a0ad3507243e19, \< ada74c5539eba06cf8b47d068f92e0b3963a9a6e
- Anyone running Linux 4.2

## Description

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

sfc: fix kernel panic when creating VF

When creating VFs a kernel panic can happen when calling to
efx\_ef10\_try\_update\_nic\_stats\_vf.

When releasing a DMA coherent buffer, sometimes, I don't know in what
specific circumstances, it has to unmap memory with vunmap. It is
disallowed to do that in IRQ context or with BH disabled. Otherwise, we
hit this line in vunmap, causing the crash:
  BUG\_ON(in\_interrupt());

This patch reenables BH to release the buffer.

Log messages when the bug is hit:
 kernel BUG at mm/vmalloc.c:2727!
 invalid opcode: 0000 \[\#1\] PREEMPT SMP NOPTI
 CPU: 6 PID: 1462 Comm: NetworkManager Kdump: loaded Tainted: G          I      --------- ---  5.14.0-119.el9.x86\_64 \#1
 Hardware name: Dell Inc. PowerEdge R740/06WXJT, BIOS 2.8.2 08/27/2020
 RIP: 0010:vunmap+0x2e/0x30
 ...skip...
 Call Trace:
  \_\_iommu\_dma\_free+0x96/0x100
  efx\_nic\_free\_buffer+0x2b/0x40 \[sfc\]
  efx\_ef10\_try\_update\_nic\_stats\_vf+0x14a/0x1c0 \[sfc\]
  efx\_ef10\_update\_stats\_vf+0x18/0x40 \[sfc\]
  efx\_start\_all+0x15e/0x1d0 \[sfc\]
  efx\_net\_open+0x5a/0xe0 \[sfc\]
  \_\_dev\_open+0xe7/0x1a0
  \_\_dev\_change\_flags+0x1d7/0x240
  dev\_change\_flags+0x21/0x60
  ...skip...

## Affected and fixed versions

- Linux: \>= d778819609a27efd5358da8151a0ad3507243e19, \< d9840212a9c00507347c703f4fdeda16400407e0; \>= d778819609a27efd5358da8151a0ad3507243e19, \< b9072305270579a9d6afc9b926166231e5b1a7c8; \>= d778819609a27efd5358da8151a0ad3507243e19, \< 82bcb730f856086f033e6c04082eb4503d4c2fa4; \>= d778819609a27efd5358da8151a0ad3507243e19, \< da346adcf5573fd8663cabfdfe8371009629a906; \>= d778819609a27efd5358da8151a0ad3507243e19, \< b82e4ad58a7fb72456503958a93060f87896e629; \>= d778819609a27efd5358da8151a0ad3507243e19, \< 68e5f32f0de9594629ff9e599294d9801c6187de; \>= d778819609a27efd5358da8151a0ad3507243e19, \< 16662524ec5da801fb78a1afcaf6e782f1cf103a; \>= d778819609a27efd5358da8151a0ad3507243e19, \< ada74c5539eba06cf8b47d068f92e0b3963a9a6e (cvelist)
- Linux: 4.2 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-49625.md
Affected: Linux >= d778819609a27efd5358da8151a0ad3507243e19, < d9840212a9c00507347c703f4fdeda16400407e0; >= d778819609a27efd5358da8151a0ad3507243e19, < b9072305270579a9d6afc9b926166231e5b1a7c8; >= d778819609a27efd5358da8151a0ad3507243e19, < 82bcb730f856086f033e6c04082eb4503d4c2fa4; >= d778819609a27efd5358da8…
Fixed in: Linux 82bcb730f856086f033e6c04082eb4503d4c2fa4, Linux 68e5f32f0de9594629ff9e599294d9801c6187de, Linux 16662524ec5da801fb78a1afcaf6e782f1cf103a

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-49625 being exploited?

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

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

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

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

Linux \>= d778819609a27efd5358da8151a0ad3507243e19, \< d9840212a9c00507347c703f4fdeda16400407e0; \>= d778819609a27efd5358da8151a0ad3507243e19, \< b9072305270579a9d6afc9b926166231e5b1a7c8; \>= d778819609a27efd5358da8151a0ad3507243e19, \< 82bcb730f856086f033e6c04082eb4503d4c2fa4; \>= d778819609a27efd5358da8151a0ad3507243e19, \< da346adcf5573fd8663cabfdfe8371009629a906; \>= d778819609a27efd5358da8151a0ad3507243e19, \< b82e4ad58a7fb72456503958a93060f87896e629; \>= d778819609a27efd5358da8151a0ad3507243e19, \< 68e5f32f0de9594629ff9e599294d9801c6187de; \>= d778819609a27efd5358da8151a0ad3507243e19, \< 16662524ec5da801fb78a1afcaf6e782f1cf103a; \>= d778819609a27efd5358da8151a0ad3507243e19, \< ada74c5539eba06cf8b47d068f92e0b3963a9a6e; Linux 4.2.

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

Yes. Fixed in Linux 82bcb730f856086f033e6c04082eb4503d4c2fa4, Linux 68e5f32f0de9594629ff9e599294d9801c6187de, Linux 16662524ec5da801fb78a1afcaf6e782f1cf103a. No fix listed yet: follow the vendor advisory.

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

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/d9840212a9c00507347c703f4fdeda16400407e0>
- patch: <https://git.kernel.org/stable/c/b9072305270579a9d6afc9b926166231e5b1a7c8>
- patch: <https://git.kernel.org/stable/c/82bcb730f856086f033e6c04082eb4503d4c2fa4>
- patch: <https://git.kernel.org/stable/c/da346adcf5573fd8663cabfdfe8371009629a906>
- patch: <https://git.kernel.org/stable/c/b82e4ad58a7fb72456503958a93060f87896e629>
- patch: <https://git.kernel.org/stable/c/68e5f32f0de9594629ff9e599294d9801c6187de>
- patch: <https://git.kernel.org/stable/c/16662524ec5da801fb78a1afcaf6e782f1cf103a>
- patch: <https://git.kernel.org/stable/c/ada74c5539eba06cf8b47d068f92e0b3963a9a6e>

## 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-49625>

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