CVE-2022-50054: iavf: Fix NULL pointer dereference in iavf_get_link_ksettings
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.16% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 541a1af451b0cb3779e915d48d08efb17915207b, b305c7e9363f5a174ee08ac5f056e4b209f0325b.
Low priority for now. Upgrade to Linux Linux 541a1af451b0cb3779e915d48d08efb17915207b, b305c7e9363f5a174ee08ac5f056e4b209f0325b or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: iavf: Fix NULL pointer dereference in iavf_get_link_ksettings Fix possible NULL pointer dereference, due to freeing of adapter->vf_res in iavf_init_get_resources. Previous commit introduced a regression, where receiving IAVF_ERR_ADMIN_QUEUE_NO_WORK from iavf_get_vf_config would free adapter->vf_res. However, netdev is still registered, so ethtool_ops can be called. Calling iavf_get_link_ksettings with no vf_res, will result with: [ 9385.242676] BUG: kernel NULL pointer dereference, address: 0000000000000008 [ 9385.242683] #PF: supervisor read access in kernel mode [ 9385.242686] #PF: error_code(0x0000) - not-present page [ 9385.242690] PGD 0 P4D 0 [ 9385.242696] Oops: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC PTI [ 9385.242701] CPU: 6 PID: 3217 Comm: pmdalinux Kdump: loaded Tainted: G S E 5.18.0-04958-ga54ce3703613-dirty #1 [ 9385.242708] Hardware name: Dell Inc. PowerEdge R730/0WCJNT, BIOS 2.11.0 11/02/2019 [ 9385.242710] RIP: 0010:iavf_get_link_ksettings+0x29/0xd0 [iavf] [ 9385.242745] Code: 00 0f 1f 44 00 00 b8 01 ef ff ff 48 c7 46 30 00 00 00 00 48 c7 46 38 00 00 00 00 c6 46 0b 00 66 89 46 08 48 8b 87 68 0e 00 00 <f6> 40 08 80 75 50 8b 87 5c 0e 00 00 83 f8 08 74 7a 76 1d 83 f8 20 [ 9385.242749] RSP: 0018:ffffc0560ec7fbd0 EFLAGS: 00010246 [ 9385.242755] RAX: 0000000000000000 RBX: ffffc0560ec7fc08 RCX: 0000000000000000 [ 9385.242759] RDX: ffffffffc0ad4550 RSI: ffffc0560ec7fc08 RDI: ffffa0fc66674000 [ 9385.242762] RBP: 00007ffd1fb2bf50 R08: b6a2d54b892363ee R09: ffffa101dc14fb00 [ 9385.242765] R10: 0000000000000000 R11: 0000000000000004 R12: ffffa0fc66674000 [ 9385.242768] R13: 0000000000000000 R14: ffffa0fc66674000 R15: 00000000ffffffa1 [ 9385.242771] FS: 00007f93711a2980(0000) GS:ffffa0fad72c0000(0000) knlGS:0000000000000000 [ 9385.242775] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 9385.242778] CR2: 0000000000000008 CR3: 0000000a8e61c003 CR4: 00000000003706e0 [ 9385.242781] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 9385.242784] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 9385.242787] Call Trace: [ 9385.242791] <TASK> [ 9385.242793] ethtool_get_settings+0x71/0x1a0 [ 9385.242814] __dev_ethtool+0x426/0x2f40 [ 9385.242823] ? slab_post_alloc_hook+0x4f/0x280 [ 9385.242836] ? kmem_cache_alloc_trace+0x15d/0x2f0 [ 9385.242841] ? dev_ethtool+0x59/0x170 [ 9385.242848] dev_ethtool+0xa7/0x170 [ 9385.242856] dev_ioctl+0xc3/0x520 [ 9385.242866] sock_do_ioctl+0xa0/0xe0 [ 9385.242877] sock_ioctl+0x22f/0x320 [ 9385.242885] __x64_sys_ioctl+0x84/0xc0 [ 9385.242896] do_syscall_64+0x3a/0x80 [ 9385.242904] entry_SYSCALL_64_after_hwframe+0x46/0xb0 [ 9385.242918] RIP: 0033:0x7f93702396db [ 9385.242923] Code: 73 01 c3 48 8b 0d ad 57 38 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 7d 57 38 00 f7 d8 64 89 01 48 [ 9385.242927] RSP: 002b:00007ffd1fb2bf18 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 9385.242932] RAX: ffffffffffffffda RBX: 000055671b1d2fe0 RCX: 00007f93702396db [ 9385.242935] RDX: 00007ffd1fb2bf20 RSI: 0000000000008946 RDI: 0000000000000007 [ 9385.242937] RBP: 00007ffd1fb2bf20 R08: 0000000000000003 R09: 0030763066307330 [ 9385.242940] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd1fb2bf80 [ 9385.242942] R13: 0000000000000007 R14: 0000556719f6de90 R15: 00007ffd1fb2c1b0 [ 9385.242948] </TASK> [ 9385.242949] Modules linked in: iavf(E) xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nft_compat nf_nat_tftp nft_objref nf_conntrack_tftp bridge stp llc nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set nf_tables rfkill nfnetlink vfat fat irdma ib_uverbs ib_core intel_rapl_msr intel_rapl_common sb_edac x86_pkg_temp_thermal intel_powerclamp coretem ---truncated---
- Published
- Jun 18, 2025
- Updated
- Jun 17, 2026
- EPSS
- 0.1% · 5th percentile
- CWE
- CWE-476
Report tools
Action score
22
Monitor
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel5.17 and later · before 5.19.4
- linux linux kernel6.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 5.17affected
- 209f2f9c718138ddbd8586e5a1463bd079a17241 and later · before b305c7e9363f5a174ee08ac5f056e4b209f0325baffected · git
- 209f2f9c718138ddbd8586e5a1463bd079a17241 and later · before 541a1af451b0cb3779e915d48d08efb17915207baffected · git
- before 5.17not affected · semver
- 5.19.4 and later · up to and including 5.19.*not affected · semver
- 6.0 and laternot affected · original_commit_for_fix
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.0.2-1 | 6.0.2-1 |
| Red Hat:enterprise_linux:8::baseos | bpftool | before 0:4.18.0-372.32.1.el8_6 | 0:4.18.0-372.32.1.el8_6 |
| Red Hat:enterprise_linux:8::baseos | kernel | before 0:4.18.0-372.32.1.el8_6 | 0:4.18.0-372.32.1.el8_6 |
| Red Hat:enterprise_linux:8::baseos | kernel-abi-stablelists | before 0:4.18.0-372.32.1.el8_6 | 0:4.18.0-372.32.1.el8_6 |
| Red Hat:enterprise_linux:8::baseos | kernel-core | before 0:4.18.0-372.32.1.el8_6 | 0:4.18.0-372.32.1.el8_6 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug | before 0:4.18.0-372.32.1.el8_6 | 0:4.18.0-372.32.1.el8_6 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-core | before 0:4.18.0-372.32.1.el8_6 | 0:4.18.0-372.32.1.el8_6 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-devel | before 0:4.18.0-372.32.1.el8_6 | 0:4.18.0-372.32.1.el8_6 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-modules | before 0:4.18.0-372.32.1.el8_6 | 0:4.18.0-372.32.1.el8_6 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-modules-extra | before 0:4.18.0-372.32.1.el8_6 | 0:4.18.0-372.32.1.el8_6 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo-common-aarch64 | before 0:4.18.0-372.32.1.el8_6 | 0:4.18.0-372.32.1.el8_6 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo-common-ppc64le | before 0:4.18.0-372.32.1.el8_6 | 0:4.18.0-372.32.1.el8_6 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo-common-s390x | before 0:4.18.0-372.32.1.el8_6 | 0:4.18.0-372.32.1.el8_6 |
| Red Hat:enterprise_linux:8::baseos | kernel-doc | before 0:4.18.0-372.32.1.el8_6 | 0:4.18.0-372.32.1.el8_6 |
| Red Hat:enterprise_linux:8::baseos | kernel-modules | before 0:4.18.0-372.32.1.el8_6 | 0:4.18.0-372.32.1.el8_6 |
| Red Hat:enterprise_linux:8::baseos | kernel-modules-extra | before 0:4.18.0-372.32.1.el8_6 | 0:4.18.0-372.32.1.el8_6 |
| Red Hat:enterprise_linux:8::baseos | kernel-tools | before 0:4.18.0-372.32.1.el8_6 | 0:4.18.0-372.32.1.el8_6 |
| Red Hat:enterprise_linux:8::baseos | kernel-tools-libs | before 0:4.18.0-372.32.1.el8_6 | 0:4.18.0-372.32.1.el8_6 |
| Red Hat:enterprise_linux:8::baseos | kernel-zfcpdump | before 0:4.18.0-372.32.1.el8_6 | 0:4.18.0-372.32.1.el8_6 |
| Red Hat:enterprise_linux:8::baseos | kernel-zfcpdump-core | before 0:4.18.0-372.32.1.el8_6 | 0:4.18.0-372.32.1.el8_6 |
| Red Hat:enterprise_linux:8::baseos | kernel-zfcpdump-debuginfo | before 0:4.18.0-372.32.1.el8_6 | 0:4.18.0-372.32.1.el8_6 |
| Red Hat:enterprise_linux:8::baseos | kernel-zfcpdump-devel | before 0:4.18.0-372.32.1.el8_6 | 0:4.18.0-372.32.1.el8_6 |
| Red Hat:enterprise_linux:8::baseos | kernel-zfcpdump-modules | before 0:4.18.0-372.32.1.el8_6 | 0:4.18.0-372.32.1.el8_6 |
| Red Hat:enterprise_linux:8::baseos | kernel-zfcpdump-modules-extra | before 0:4.18.0-372.32.1.el8_6 | 0:4.18.0-372.32.1.el8_6 |
+48
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2022-50052Jun 18, 2025 · ASoC: Intel: avs: Fix potential buffer overflow by snprintf()31Monitor
- ← EarlierCVE-2022-50053Jun 18, 2025 · iavf: Fix reset error handling22Monitor
- Later →CVE-2022-50055Jun 18, 2025 · iavf: Fix adminq error handling22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 541a1af451b0cb3779e915d48d08efb17915207b | Vendor (CNA) |
| Linux Linux | b305c7e9363f5a174ee08ac5f056e4b209f0325b | Vendor (CNA) |
| debian:linux | 6.0.2-1 · Debian:12 | Package registry (OSV) |
| red hat:bpftool | 0:4.18.0-372.32.1.el8_6 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:bpftool-debuginfo | 0:4.18.0-372.32.1.el8_6 · Red Hat:rhev_hypervisor:4.4::el8 | Package registry (OSV) |
| red hat:kernel | 0:4.18.0-372.32.1.el8_6 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:kernel-abi-stablelists | 0:4.18.0-372.32.1.el8_6 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:kernel-debug-debuginfo | 0:4.18.0-372.32.1.el8_6 · Red Hat:rhev_hypervisor:4.4::el8 | Package registry (OSV) |
| red hat:kernel-debuginfo | 0:4.18.0-372.32.1.el8_6 · Red Hat:rhev_hypervisor:4.4::el8 | Package registry (OSV) |
| red hat:kernel-debuginfo-common-x86_64 | 0:4.18.0-372.32.1.el8_6 · Red Hat:rhev_hypervisor:4.4::el8 | Package registry (OSV) |
| red hat:kernel-devel | 0:4.18.0-372.32.1.el8_6 · Red Hat:rhev_hypervisor:4.4::el8 | Package registry (OSV) |
| red hat:kernel-tools-debuginfo | 0:4.18.0-372.32.1.el8_6 · Red Hat:rhev_hypervisor:4.4::el8 | Package registry (OSV) |
| red hat:perf | 0:4.18.0-372.32.1.el8_6 · Red Hat:rhev_hypervisor:4.4::el8 | Package registry (OSV) |
| red hat:perf-debuginfo | 0:4.18.0-372.32.1.el8_6 · Red Hat:rhev_hypervisor:4.4::el8 | Package registry (OSV) |
| red hat:python3-perf-debuginfo | 0:4.18.0-372.32.1.el8_6 · Red Hat:rhev_hypervisor:4.4::el8 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-476 · NULL Pointer DereferenceCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (1 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.