# CVE-2022-49063: ice: arfs: fix use-after-free when freeing @rx\_cpu\_rmap

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-02-26T01:54:32.460Z
- **Modified:** 2026-06-17T05:16:58.687Z

## Who should check

- Anyone running Linux \>= 28bf26724fdb0e02267d19e280d6717ee810a10d, \< ba2f6ec28733fb6b24ed086e676df3df4c138f3f; \>= 28bf26724fdb0e02267d19e280d6717ee810a10d, \< 618df75f2e30c7838a3e010ca32cd4893ec9fe33; \>= 28bf26724fdb0e02267d19e280d6717ee810a10d, \< d08d2fb6d99d82da1c63aba5c0d1c6f237e150f3; \>= 28bf26724fdb0e02267d19e280d6717ee810a10d, \< d7442f512b71fc63a99c8a801422dde4fbbf9f93
- Anyone running Linux 5.8

## Description

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

ice: arfs: fix use-after-free when freeing @rx\_cpu\_rmap

The CI testing bots triggered the following splat:

\[  718.203054\] BUG: KASAN: use-after-free in free\_irq\_cpu\_rmap+0x53/0x80
\[  718.206349\] Read of size 4 at addr ffff8881bd127e00 by task sh/20834
\[  718.212852\] CPU: 28 PID: 20834 Comm: sh Kdump: loaded Tainted: G S      W IOE     5.17.0-rc8\_nextqueue-devqueue-02643-g23f3121aca93 \#1
\[  718.219695\] Hardware name: Intel Corporation S2600WFT/S2600WFT, BIOS SE5C620.86B.02.01.0012.070720200218 07/07/2020
\[  718.223418\] Call Trace:
\[  718.227139\]
\[  718.230783\]  dump\_stack\_lvl+0x33/0x42
\[  718.234431\]  print\_address\_description.constprop.9+0x21/0x170
\[  718.238177\]  ? free\_irq\_cpu\_rmap+0x53/0x80
\[  718.241885\]  ? free\_irq\_cpu\_rmap+0x53/0x80
\[  718.245539\]  kasan\_report.cold.18+0x7f/0x11b
\[  718.249197\]  ? free\_irq\_cpu\_rmap+0x53/0x80
\[  718.252852\]  free\_irq\_cpu\_rmap+0x53/0x80
\[  718.256471\]  ice\_free\_cpu\_rx\_rmap.part.11+0x37/0x50 \[ice\]
\[  718.260174\]  ice\_remove\_arfs+0x5f/0x70 \[ice\]
\[  718.263810\]  ice\_rebuild\_arfs+0x3b/0x70 \[ice\]
\[  718.267419\]  ice\_rebuild+0x39c/0xb60 \[ice\]
\[  718.270974\]  ? asm\_sysvec\_apic\_timer\_interrupt+0x12/0x20
\[  718.274472\]  ? ice\_init\_phy\_user\_cfg+0x360/0x360 \[ice\]
\[  718.278033\]  ? delay\_tsc+0x4a/0xb0
\[  718.281513\]  ? preempt\_count\_sub+0x14/0xc0
\[  718.284984\]  ? delay\_tsc+0x8f/0xb0
\[  718.288463\]  ice\_do\_reset+0x92/0xf0 \[ice\]
\[  718.292014\]  ice\_pci\_err\_resume+0x91/0xf0 \[ice\]
\[  718.295561\]  pci\_reset\_function+0x53/0x80
\<...\>
\[  718.393035\] Allocated by task 690:
\[  718.433497\] Freed by task 20834:
\[  718.495688\] Last potentially related work creation:
\[  718.568966\] The buggy address belongs to the object at ffff8881bd127e00
                which belongs to the cache kmalloc-96 of size 96
\[  718.574085\] The buggy address is located 0 bytes inside of
                96-byte region \[ffff8881bd127e00, ffff8881bd127e60)
\[  718.579265\] The buggy address belongs to the page:
\[  718.598905\] Memory state around the buggy address:
\[  718.601809\]  ffff8881bd127d00: fa fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc
\[  718.604796\]  ffff8881bd127d80: 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc
\[  718.607794\] \>ffff8881bd127e00: fa fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc
\[  718.610811\]                    ^
\[  718.613819\]  ffff8881bd127e80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc
\[  718.617107\]  ffff8881bd127f00: fa fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc

This is due to that free\_irq\_cpu\_rmap() is always being called
\*after\* (devm\_)free\_irq() and thus it tries to work with IRQ descs
already freed. For example, on device reset the driver frees the
rmap right before allocating a new one (the splat above).
Make rmap creation and freeing function symmetrical with
{request,free}\_irq() calls i.e. do that on ifup/ifdown instead
of device probe/remove/resume. These operations can be performed
independently from the actual device aRFS configuration.
Also, make sure ice\_vsi\_free\_irq() clears IRQ affinity notifiers
only when aRFS is disabled -- otherwise, CPU rmap sets and clears
its own and they must not be touched manually.

## Affected and fixed versions

- Linux: \>= 28bf26724fdb0e02267d19e280d6717ee810a10d, \< ba2f6ec28733fb6b24ed086e676df3df4c138f3f; \>= 28bf26724fdb0e02267d19e280d6717ee810a10d, \< 618df75f2e30c7838a3e010ca32cd4893ec9fe33; \>= 28bf26724fdb0e02267d19e280d6717ee810a10d, \< d08d2fb6d99d82da1c63aba5c0d1c6f237e150f3; \>= 28bf26724fdb0e02267d19e280d6717ee810a10d, \< d7442f512b71fc63a99c8a801422dde4fbbf9f93 (cvelist)
- Linux: 5.8 (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-49063. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49063.md
Affected: Linux >= 28bf26724fdb0e02267d19e280d6717ee810a10d, < ba2f6ec28733fb6b24ed086e676df3df4c138f3f; >= 28bf26724fdb0e02267d19e280d6717ee810a10d, < 618df75f2e30c7838a3e010ca32cd4893ec9fe33; >= 28bf26724fdb0e02267d19e280d6717ee810a10d, < d08d2fb6d99d82da1c63aba5c0d1c6f237e150f3; >= 28bf26724fdb0e02267d19e…
Fixed in: Linux 618df75f2e30c7838a3e010ca32cd4893ec9fe33

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

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 28bf26724fdb0e02267d19e280d6717ee810a10d, \< ba2f6ec28733fb6b24ed086e676df3df4c138f3f; \>= 28bf26724fdb0e02267d19e280d6717ee810a10d, \< 618df75f2e30c7838a3e010ca32cd4893ec9fe33; \>= 28bf26724fdb0e02267d19e280d6717ee810a10d, \< d08d2fb6d99d82da1c63aba5c0d1c6f237e150f3; \>= 28bf26724fdb0e02267d19e280d6717ee810a10d, \< d7442f512b71fc63a99c8a801422dde4fbbf9f93; Linux 5.8.

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

Yes. Fixed in Linux 618df75f2e30c7838a3e010ca32cd4893ec9fe33. No fix listed yet: follow the vendor advisory.

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

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/ba2f6ec28733fb6b24ed086e676df3df4c138f3f>
- patch: <https://git.kernel.org/stable/c/618df75f2e30c7838a3e010ca32cd4893ec9fe33>
- patch: <https://git.kernel.org/stable/c/d08d2fb6d99d82da1c63aba5c0d1c6f237e150f3>
- patch: <https://git.kernel.org/stable/c/d7442f512b71fc63a99c8a801422dde4fbbf9f93>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>

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

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