# CVE-2022-49096: net: sfc: add missing xdp queue reinitialization

> 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.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-02-26T01:54:49.108Z
- **Modified:** 2026-08-05T08:53:55.150Z

## Who should check

- Anyone running Linux \>= 3990a8fffbdad5765f47ea593f9de66c91762059, \< ed7a824fda8732578d1014fad1f7fb0363705090; \>= 3990a8fffbdad5765f47ea593f9de66c91762059, \< b8c46bc358d84701e7f7ffa054037db25f25da0e; \>= 3990a8fffbdad5765f47ea593f9de66c91762059, \< dcc85e1593686e42c6749ef3d356db34759d59e8; \>= 3990a8fffbdad5765f47ea593f9de66c91762059, \< 059a47f1da93811d37533556d67e72f2261b1127
- Anyone running Linux 5.5

## Description

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

net: sfc: add missing xdp queue reinitialization

After rx/tx ring buffer size is changed, kernel panic occurs when
it acts XDP\_TX or XDP\_REDIRECT.

When tx/rx ring buffer size is changed(ethtool -G), sfc driver
reallocates and reinitializes rx and tx queues and their buffer
(tx\_queue-\>buffer).
But it misses reinitializing xdp queues(efx-\>xdp\_tx\_queues).
So, while it is acting XDP\_TX or XDP\_REDIRECT, it uses the uninitialized
tx\_queue-\>buffer.

A new function efx\_set\_xdp\_channels() is separated from efx\_set\_channels()
to handle only xdp queues.

Splat looks like:
   BUG: kernel NULL pointer dereference, address: 000000000000002a
   \#PF: supervisor write access in kernel mode
   \#PF: error\_code(0x0002) - not-present page
   PGD 0 P4D 0
   Oops: 0002 \[\#4\] PREEMPT SMP NOPTI
   RIP: 0010:efx\_tx\_map\_chunk+0x54/0x90 \[sfc\]
   CPU: 2 PID: 0 Comm: swapper/2 Tainted: G      D           5.17.0+ \#55 e8beeee8289528f11357029357cf
   Code: 48 8b 8d a8 01 00 00 48 8d 14 52 4c 8d 2c d0 44 89 e0 48 85 c9 74 0e 44 89 e2 4c 89 f6 48 80
   RSP: 0018:ffff92f121e45c60 EFLAGS: 00010297
   RIP: 0010:efx\_tx\_map\_chunk+0x54/0x90 \[sfc\]
   RAX: 0000000000000040 RBX: ffff92ea506895c0 RCX: ffffffffc0330870
   RDX: 0000000000000001 RSI: 00000001139b10ce RDI: ffff92ea506895c0
   RBP: ffffffffc0358a80 R08: 00000001139b110d R09: 0000000000000000
   R10: 0000000000000001 R11: ffff92ea414c0088 R12: 0000000000000040
   R13: 0000000000000018 R14: 00000001139b10ce R15: ffff92ea506895c0
   FS:  0000000000000000(0000) GS:ffff92f121ec0000(0000) knlGS:0000000000000000
   CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
   Code: 48 8b 8d a8 01 00 00 48 8d 14 52 4c 8d 2c d0 44 89 e0 48 85 c9 74 0e 44 89 e2 4c 89 f6 48 80
   CR2: 000000000000002a CR3: 00000003e6810004 CR4: 00000000007706e0
   RSP: 0018:ffff92f121e85c60 EFLAGS: 00010297
   PKRU: 55555554
   RAX: 0000000000000040 RBX: ffff92ea50689700 RCX: ffffffffc0330870
   RDX: 0000000000000001 RSI: 00000001145a90ce RDI: ffff92ea50689700
   RBP: ffffffffc0358a80 R08: 00000001145a910d R09: 0000000000000000
   R10: 0000000000000001 R11: ffff92ea414c0088 R12: 0000000000000040
   R13: 0000000000000018 R14: 00000001145a90ce R15: ffff92ea50689700
   FS:  0000000000000000(0000) GS:ffff92f121e80000(0000) knlGS:0000000000000000
   CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
   CR2: 000000000000002a CR3: 00000003e6810005 CR4: 00000000007706e0
   PKRU: 55555554
   Call Trace:
    \<IRQ\>
    efx\_xdp\_tx\_buffers+0x12b/0x3d0 \[sfc 84c94b8e32d44d296c17e10a634d3ad454de4ba5\]
    \_\_efx\_rx\_packet+0x5c3/0x930 \[sfc 84c94b8e32d44d296c17e10a634d3ad454de4ba5\]
    efx\_rx\_packet+0x28c/0x2e0 \[sfc 84c94b8e32d44d296c17e10a634d3ad454de4ba5\]
    efx\_ef10\_ev\_process+0x5f8/0xf40 \[sfc 84c94b8e32d44d296c17e10a634d3ad454de4ba5\]
    ? enqueue\_task\_fair+0x95/0x550
    efx\_poll+0xc4/0x360 \[sfc 84c94b8e32d44d296c17e10a634d3ad454de4ba5\]

## Affected and fixed versions

- Linux: \>= 3990a8fffbdad5765f47ea593f9de66c91762059, \< ed7a824fda8732578d1014fad1f7fb0363705090; \>= 3990a8fffbdad5765f47ea593f9de66c91762059, \< b8c46bc358d84701e7f7ffa054037db25f25da0e; \>= 3990a8fffbdad5765f47ea593f9de66c91762059, \< dcc85e1593686e42c6749ef3d356db34759d59e8; \>= 3990a8fffbdad5765f47ea593f9de66c91762059, \< 059a47f1da93811d37533556d67e72f2261b1127 (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2022-49096.md
Affected: Linux >= 3990a8fffbdad5765f47ea593f9de66c91762059, < ed7a824fda8732578d1014fad1f7fb0363705090; >= 3990a8fffbdad5765f47ea593f9de66c91762059, < b8c46bc358d84701e7f7ffa054037db25f25da0e; >= 3990a8fffbdad5765f47ea593f9de66c91762059, < dcc85e1593686e42c6749ef3d356db34759d59e8; >= 3990a8fffbdad5765f47ea5…
Fixed in: Linux 059a47f1da93811d37533556d67e72f2261b1127

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

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

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

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

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

Linux \>= 3990a8fffbdad5765f47ea593f9de66c91762059, \< ed7a824fda8732578d1014fad1f7fb0363705090; \>= 3990a8fffbdad5765f47ea593f9de66c91762059, \< b8c46bc358d84701e7f7ffa054037db25f25da0e; \>= 3990a8fffbdad5765f47ea593f9de66c91762059, \< dcc85e1593686e42c6749ef3d356db34759d59e8; \>= 3990a8fffbdad5765f47ea593f9de66c91762059, \< 059a47f1da93811d37533556d67e72f2261b1127; Linux 5.5.

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

Yes. Fixed in Linux 059a47f1da93811d37533556d67e72f2261b1127. Upgrade Linux to 059a47f1da93811d37533556d67e72f2261b1127 or later.

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

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/ed7a824fda8732578d1014fad1f7fb0363705090>
- patch: <https://git.kernel.org/stable/c/b8c46bc358d84701e7f7ffa054037db25f25da0e>
- patch: <https://git.kernel.org/stable/c/dcc85e1593686e42c6749ef3d356db34759d59e8>
- patch: <https://git.kernel.org/stable/c/059a47f1da93811d37533556d67e72f2261b1127>

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

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