# CVE-2025-22075: rtnetlink: Allocate vfinfo size for VF GUIDs when supported

> 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.30% (percentile 15, 2026-11-26)
- **Published:** 2025-04-16T14:12:26.566Z
- **Modified:** 2026-11-05T21:17:48.430Z

## Who should check

- Anyone running Linux \>= 30aad41721e087babcf27c5192474724d555936c, \< 0f5489707cf528f9df2f39a3045c1ee713ec90e7; \>= 30aad41721e087babcf27c5192474724d555936c, \< bb7bdf636cef74cdd7a7d548bdc7457ae161f617; \>= 30aad41721e087babcf27c5192474724d555936c, \< 5fed5f6de3cf734b231a11775748a6871ee3020f; \>= 30aad41721e087babcf27c5192474724d555936c, \< 15f150771e0ec97f8ab1657e7d2568e593c7fa04; \>= 30aad41721e087babcf27c5192474724d555936c, \< 28b21ee8e8fb326ba961a4bbce04ec04c65e705a; \>= 30aad41721e087babcf27c5192474724d555936c, \< 365c1ae819455561d4746aafabad673e4bcb0163; \>= 30aad41721e087babcf27c5192474724d555936c, \< 5f39454468329bb7fc7fc4895a6ba6ae3b95027e; \>= 30aad41721e087babcf27c5192474724d555936c, \< 23f00807619d15063d676218f36c5dfeda1eb420
- Anyone running Linux 5.5

## Description

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

rtnetlink: Allocate vfinfo size for VF GUIDs when supported

Commit 30aad41721e0 ("net/core: Add support for getting VF GUIDs")
added support for getting VF port and node GUIDs in netlink ifinfo
messages, but their size was not taken into consideration in the
function that allocates the netlink message, causing the following
warning when a netlink message is filled with many VF port and node
GUIDs:
 \# echo 64 \> /sys/bus/pci/devices/0000\\:08\\:00.0/sriov\_numvfs
 \# ip link show dev ib0
 RTNETLINK answers: Message too long
 Cannot send link get request: Message too long

Kernel warning:

 ------------\[ cut here \]------------
 WARNING: CPU: 2 PID: 1930 at net/core/rtnetlink.c:4151 rtnl\_getlink+0x586/0x5a0
 Modules linked in: xt\_conntrack xt\_MASQUERADE nfnetlink xt\_addrtype iptable\_nat nf\_nat br\_netfilter overlay mlx5\_ib macsec mlx5\_core tls rpcrdma rdma\_ucm ib\_uverbs ib\_iser libiscsi scsi\_transport\_iscsi ib\_umad rdma\_cm iw\_cm ib\_ipoib fuse ib\_cm ib\_core
 CPU: 2 UID: 0 PID: 1930 Comm: ip Not tainted 6.14.0-rc2+ \#1
 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.13.0-0-gf21b5a4aeb02-prebuilt.qemu.org 04/01/2014
 RIP: 0010:rtnl\_getlink+0x586/0x5a0
 Code: cb 82 e8 3d af 0a 00 4d 85 ff 0f 84 08 ff ff ff 4c 89 ff 41 be ea ff ff ff e8 66 63 5b ff 49 c7 07 80 4f cb 82 e9 36 fc ff ff \<0f\> 0b e9 16 fe ff ff e8 de a0 56 00 66 66 2e 0f 1f 84 00 00 00 00
 RSP: 0018:ffff888113557348 EFLAGS: 00010246
 RAX: 00000000ffffffa6 RBX: ffff88817e87aa34 RCX: dffffc0000000000
 RDX: 0000000000000003 RSI: 0000000000000000 RDI: ffff88817e87afb8
 RBP: 0000000000000009 R08: ffffffff821f44aa R09: 0000000000000000
 R10: ffff8881260f79a8 R11: ffff88817e87af00 R12: ffff88817e87aa00
 R13: ffffffff8563d300 R14: 00000000ffffffa6 R15: 00000000ffffffff
 FS:  00007f63a5dbf280(0000) GS:ffff88881ee00000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 00007f63a5ba4493 CR3: 00000001700fe002 CR4: 0000000000772eb0
 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
 PKRU: 55555554
 Call Trace:
  \<TASK\>
  ? \_\_warn+0xa5/0x230
  ? rtnl\_getlink+0x586/0x5a0
  ? report\_bug+0x22d/0x240
  ? handle\_bug+0x53/0xa0
  ? exc\_invalid\_op+0x14/0x50
  ? asm\_exc\_invalid\_op+0x16/0x20
  ? skb\_trim+0x6a/0x80
  ? rtnl\_getlink+0x586/0x5a0
  ? \_\_pfx\_rtnl\_getlink+0x10/0x10
  ? rtnetlink\_rcv\_msg+0x1e5/0x860
  ? \_\_pfx\_\_\_mutex\_lock+0x10/0x10
  ? rcu\_is\_watching+0x34/0x60
  ? \_\_pfx\_lock\_acquire+0x10/0x10
  ? stack\_trace\_save+0x90/0xd0
  ? filter\_irq\_stacks+0x1d/0x70
  ? kasan\_save\_stack+0x30/0x40
  ? kasan\_save\_stack+0x20/0x40
  ? kasan\_save\_track+0x10/0x30
  rtnetlink\_rcv\_msg+0x21c/0x860
  ? entry\_SYSCALL\_64\_after\_hwframe+0x76/0x7e
  ? \_\_pfx\_rtnetlink\_rcv\_msg+0x10/0x10
  ? arch\_stack\_walk+0x9e/0xf0
  ? rcu\_is\_watching+0x34/0x60
  ? lock\_acquire+0xd5/0x410
  ? rcu\_is\_watching+0x34/0x60
  netlink\_rcv\_skb+0xe0/0x210
  ? \_\_pfx\_rtnetlink\_rcv\_msg+0x10/0x10
  ? \_\_pfx\_netlink\_rcv\_skb+0x10/0x10
  ? rcu\_is\_watching+0x34/0x60
  ? \_\_pfx\_\_\_netlink\_lookup+0x10/0x10
  ? lock\_release+0x62/0x200
  ? netlink\_deliver\_tap+0xfd/0x290
  ? rcu\_is\_watching+0x34/0x60
  ? lock\_release+0x62/0x200
  ? netlink\_deliver\_tap+0x95/0x290
  netlink\_unicast+0x31f/0x480
  ? \_\_pfx\_netlink\_unicast+0x10/0x10
  ? rcu\_is\_watching+0x34/0x60
  ? lock\_acquire+0xd5/0x410
  netlink\_sendmsg+0x369/0x660
  ? lock\_release+0x62/0x200
  ? \_\_pfx\_netlink\_sendmsg+0x10/0x10
  ? import\_ubuf+0xb9/0xf0
  ? \_\_import\_iovec+0x254/0x2b0
  ? lock\_release+0x62/0x200
  ? \_\_pfx\_netlink\_sendmsg+0x10/0x10
  \_\_\_\_sys\_sendmsg+0x559/0x5a0
  ? \_\_pfx\_\_\_\_\_sys\_sendmsg+0x10/0x10
  ? \_\_pfx\_copy\_msghdr\_from\_user+0x10/0x10
  ? rcu\_is\_watching+0x34/0x60
  ? do\_read\_fault+0x213/0x4a0
  ? rcu\_is\_watching+0x34/0x60
  \_\_\_sys\_sendmsg+0xe4/0x150
  ? \_\_pfx\_\_\_\_sys\_sendmsg+0x10/0x10
  ? do\_fault+0x2cc/0x6f0
  ? handle\_pte\_fault+0x2e3/0x3d0
  ? \_\_pfx\_handle\_pte\_fault+0x10/0x10
---truncated---

## Affected and fixed versions

- Linux: \>= 30aad41721e087babcf27c5192474724d555936c, \< 0f5489707cf528f9df2f39a3045c1ee713ec90e7; \>= 30aad41721e087babcf27c5192474724d555936c, \< bb7bdf636cef74cdd7a7d548bdc7457ae161f617; \>= 30aad41721e087babcf27c5192474724d555936c, \< 5fed5f6de3cf734b231a11775748a6871ee3020f; \>= 30aad41721e087babcf27c5192474724d555936c, \< 15f150771e0ec97f8ab1657e7d2568e593c7fa04; \>= 30aad41721e087babcf27c5192474724d555936c, \< 28b21ee8e8fb326ba961a4bbce04ec04c65e705a; \>= 30aad41721e087babcf27c5192474724d555936c, \< 365c1ae819455561d4746aafabad673e4bcb0163; \>= 30aad41721e087babcf27c5192474724d555936c, \< 5f39454468329bb7fc7fc4895a6ba6ae3b95027e; \>= 30aad41721e087babcf27c5192474724d555936c, \< 23f00807619d15063d676218f36c5dfeda1eb420 (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

- Upgrade Linux to 23f00807619d15063d676218f36c5dfeda1eb420 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-22075.md
Affected: Linux >= 30aad41721e087babcf27c5192474724d555936c, < 0f5489707cf528f9df2f39a3045c1ee713ec90e7; >= 30aad41721e087babcf27c5192474724d555936c, < bb7bdf636cef74cdd7a7d548bdc7457ae161f617; >= 30aad41721e087babcf27c5192474724d555936c, < 5fed5f6de3cf734b231a11775748a6871ee3020f; >= 30aad41721e087babcf27c5…
Fixed in: Linux 0f5489707cf528f9df2f39a3045c1ee713ec90e7, Linux 5fed5f6de3cf734b231a11775748a6871ee3020f, Linux 15f150771e0ec97f8ab1657e7d2568e593c7fa04, Linux 28b21ee8e8fb326ba961a4bbce04ec04c65e705a, Linux 365c1ae819455561d4746aafabad673e4bcb0163, Linux 5f39454468329bb7fc7fc4895a6ba6ae3b95027e, Linux 23f00…

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-2025-22075 being exploited?

There is no confirmed exploitation: CVE-2025-22075 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-2025-22075?

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

### Which versions are affected by CVE-2025-22075?

Linux \>= 30aad41721e087babcf27c5192474724d555936c, \< 0f5489707cf528f9df2f39a3045c1ee713ec90e7; \>= 30aad41721e087babcf27c5192474724d555936c, \< bb7bdf636cef74cdd7a7d548bdc7457ae161f617; \>= 30aad41721e087babcf27c5192474724d555936c, \< 5fed5f6de3cf734b231a11775748a6871ee3020f; \>= 30aad41721e087babcf27c5192474724d555936c, \< 15f150771e0ec97f8ab1657e7d2568e593c7fa04; \>= 30aad41721e087babcf27c5192474724d555936c, \< 28b21ee8e8fb326ba961a4bbce04ec04c65e705a; \>= 30aad41721e087babcf27c5192474724d555936c, \< 365c1ae819455561d4746aafabad673e4bcb0163; \>= 30aad41721e087babcf27c5192474724d555936c, \< 5f39454468329bb7fc7fc4895a6ba6ae3b95027e; \>= 30aad41721e087babcf27c5192474724d555936c, \< 23f00807619d15063d676218f36c5dfeda1eb420; Linux 5.5.

### Is there a fix for CVE-2025-22075?

Yes. Fixed in Linux 0f5489707cf528f9df2f39a3045c1ee713ec90e7, Linux 5fed5f6de3cf734b231a11775748a6871ee3020f, Linux 15f150771e0ec97f8ab1657e7d2568e593c7fa04, Linux 28b21ee8e8fb326ba961a4bbce04ec04c65e705a, Linux 365c1ae819455561d4746aafabad673e4bcb0163, Linux 5f39454468329bb7fc7fc4895a6ba6ae3b95027e, Linux 23f00807619d15063d676218f36c5dfeda1eb420. Upgrade Linux to 23f00807619d15063d676218f36c5dfeda1eb420 or later.

### How do I check if I'm affected by CVE-2025-22075?

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/0f5489707cf528f9df2f39a3045c1ee713ec90e7>
- patch: <https://git.kernel.org/stable/c/bb7bdf636cef74cdd7a7d548bdc7457ae161f617>
- patch: <https://git.kernel.org/stable/c/5fed5f6de3cf734b231a11775748a6871ee3020f>
- patch: <https://git.kernel.org/stable/c/15f150771e0ec97f8ab1657e7d2568e593c7fa04>
- patch: <https://git.kernel.org/stable/c/28b21ee8e8fb326ba961a4bbce04ec04c65e705a>
- patch: <https://git.kernel.org/stable/c/365c1ae819455561d4746aafabad673e4bcb0163>
- patch: <https://git.kernel.org/stable/c/5f39454468329bb7fc7fc4895a6ba6ae3b95027e>
- patch: <https://git.kernel.org/stable/c/23f00807619d15063d676218f36c5dfeda1eb420>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.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-2025-22075>

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