# CVE-2022-50041: ice: Fix call trace with null VSI during VF reset

> 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.26% (percentile 11, 2026-11-26)
- **CWE:** CWE-617
- **Published:** 2025-06-18T11:01:42.544Z
- **Modified:** 2026-06-17T05:22:37.443Z

## Who should check

- Anyone running Linux \>= efe41860008e57fb6b69855b4b93fdf34bc42798, \< af1b0d1547dd1686ae842cac7f3678649a5cbd89; \>= efe41860008e57fb6b69855b4b93fdf34bc42798, \< cf90b74341eecc32ceef0c136954a1668e43b1e7; 1bb8253b1dd44cf004e12c333acc6f25ee286cf3; \>= 5.18.6, \< 5.19
- Anyone running Linux 5.19

## Description

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

ice: Fix call trace with null VSI during VF reset

During stress test with attaching and detaching VF from KVM and
simultaneously changing VFs spoofcheck and trust there was a
call trace in ice\_reset\_vf that VF's VSI is null.

\[145237.352797\] WARNING: CPU: 46 PID: 840629 at drivers/net/ethernet/intel/ice/ice\_vf\_lib.c:508 ice\_reset\_vf+0x3d6/0x410 \[ice\]
\[145237.352851\] Modules linked in: ice(E) vfio\_pci vfio\_pci\_core vfio\_virqfd vfio\_iommu\_type1 vfio iavf dm\_mod xt\_CHECKSUM xt\_MASQUERADE
xt\_conntrack ipt\_REJECT nf\_reject\_ipv4 nft\_compat nft\_chain\_nat nf\_nat nf\_conntrack nf\_defrag\_ipv6 nf\_defrag\_ipv4 nf\_tables nfnetlink tun
 bridge stp llc sunrpc intel\_rapl\_msr intel\_rapl\_common sb\_edac x86\_pkg\_temp\_thermal intel\_powerclamp coretemp kvm\_intel kvm iTCO\_wdt iTC
O\_vendor\_support irqbypass crct10dif\_pclmul crc32\_pclmul ghash\_clmulni\_intel rapl ipmi\_si intel\_cstate ipmi\_devintf joydev intel\_uncore m
ei\_me ipmi\_msghandler i2c\_i801 pcspkr mei lpc\_ich ioatdma i2c\_smbus acpi\_pad acpi\_power\_meter ip\_tables xfs libcrc32c i2c\_algo\_bit drm\_sh
mem\_helper drm\_kms\_helper sd\_mod t10\_pi crc64\_rocksoft syscopyarea crc64 sysfillrect sg sysimgblt fb\_sys\_fops drm i40e ixgbe ahci libahci
 libata crc32c\_intel mdio dca wmi fuse \[last unloaded: ice\]
\[145237.352917\] CPU: 46 PID: 840629 Comm: kworker/46:2 Tainted: G S      W I E     5.19.0-rc6+ \#24
\[145237.352921\] Hardware name: Intel Corporation S2600WTT/S2600WTT, BIOS SE5C610.86B.01.01.0008.021120151325 02/11/2015
\[145237.352923\] Workqueue: ice ice\_service\_task \[ice\]
\[145237.352948\] RIP: 0010:ice\_reset\_vf+0x3d6/0x410 \[ice\]
\[145237.352984\] Code: 30 ec f3 cc e9 28 fd ff ff 0f b7 4b 50 48 c7 c2 48 19 9c c0 4c 89 ee 48 c7 c7 30 fe 9e c0 e8 d1 21 9d cc 31 c0 e9 a
9 fe ff ff \<0f\> 0b b8 ea ff ff ff e9 c1 fc ff ff 0f 0b b8 fb ff ff ff e9 91 fe
\[145237.352987\] RSP: 0018:ffffb453e257fdb8 EFLAGS: 00010246
\[145237.352990\] RAX: ffff8bd0040181c0 RBX: ffff8be68db8f800 RCX: 0000000000000000
\[145237.352991\] RDX: 000000000000ffff RSI: 0000000000000000 RDI: ffff8be68db8f800
\[145237.352993\] RBP: ffff8bd0040181c0 R08: 0000000000001000 R09: ffff8bcfd520e000
\[145237.352995\] R10: 0000000000000000 R11: 00008417b5ab0bc0 R12: 0000000000000005
\[145237.352996\] R13: ffff8bcee061c0d0 R14: ffff8bd004019640 R15: 0000000000000000
\[145237.352998\] FS:  0000000000000000(0000) GS:ffff8be5dfb00000(0000) knlGS:0000000000000000
\[145237.353000\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[145237.353002\] CR2: 00007fd81f651d68 CR3: 0000001a0fe10001 CR4: 00000000001726e0
\[145237.353003\] Call Trace:
\[145237.353008\]  \<TASK\>
\[145237.353011\]  ice\_process\_vflr\_event+0x8d/0xb0 \[ice\]
\[145237.353049\]  ice\_service\_task+0x79f/0xef0 \[ice\]
\[145237.353074\]  process\_one\_work+0x1c8/0x390
\[145237.353081\]  ? process\_one\_work+0x390/0x390
\[145237.353084\]  worker\_thread+0x30/0x360
\[145237.353087\]  ? process\_one\_work+0x390/0x390
\[145237.353090\]  kthread+0xe8/0x110
\[145237.353094\]  ? kthread\_complete\_and\_exit+0x20/0x20
\[145237.353097\]  ret\_from\_fork+0x22/0x30
\[145237.353103\]  \</TASK\>

Remove WARN\_ON() from check if VSI is null in ice\_reset\_vf.
Add "VF is already removed\\n" in dev\_dbg().

This WARN\_ON() is unnecessary and causes call trace, despite that
call trace, driver still works. There is no need for this warn
because this piece of code is responsible for disabling VF's Tx/Rx
queues when VF is disabled, but when VF is already removed there
is no need to do reset or disable queues.

## Affected and fixed versions

- Linux: \>= efe41860008e57fb6b69855b4b93fdf34bc42798, \< af1b0d1547dd1686ae842cac7f3678649a5cbd89; \>= efe41860008e57fb6b69855b4b93fdf34bc42798, \< cf90b74341eecc32ceef0c136954a1668e43b1e7; 1bb8253b1dd44cf004e12c333acc6f25ee286cf3; \>= 5.18.6, \< 5.19 (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- Upgrade Linux to 5.19 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-50041. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50041.md
Affected: Linux >= efe41860008e57fb6b69855b4b93fdf34bc42798, < af1b0d1547dd1686ae842cac7f3678649a5cbd89; >= efe41860008e57fb6b69855b4b93fdf34bc42798, < cf90b74341eecc32ceef0c136954a1668e43b1e7; 1bb8253b1dd44cf004e12c333acc6f25ee286cf3; >= 5.18.6, < 5.19; Linux 5.19
Fixed in: Linux 5.19

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

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

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

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

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

Linux \>= efe41860008e57fb6b69855b4b93fdf34bc42798, \< af1b0d1547dd1686ae842cac7f3678649a5cbd89; \>= efe41860008e57fb6b69855b4b93fdf34bc42798, \< cf90b74341eecc32ceef0c136954a1668e43b1e7; 1bb8253b1dd44cf004e12c333acc6f25ee286cf3; \>= 5.18.6, \< 5.19; Linux 5.19.

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

Yes. Fixed in Linux 5.19. Upgrade Linux to 5.19 or later.

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

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/af1b0d1547dd1686ae842cac7f3678649a5cbd89>
- patch: <https://git.kernel.org/stable/c/cf90b74341eecc32ceef0c136954a1668e43b1e7>

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

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