# CVE-2025-71096: RDMA/core: Check for the presence of LS\_NLA\_TYPE\_DGID correctly

> 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.20% (percentile 6, 2026-11-26)
- **CWE:** CWE-908, CWE-457
- **Published:** 2026-01-13T15:34:56.118Z
- **Modified:** 2026-10-19T19:17:11.390Z

## Who should check

- Anyone running Linux \>= ae43f8286730d1f2d241c34601df59f6d2286ac4, \< 376f46c8983458ead26cac83aa897a0b78491831; \>= ae43f8286730d1f2d241c34601df59f6d2286ac4, \< bfe10318fc23e0b3f1d0a18dad387d29473a624d; \>= ae43f8286730d1f2d241c34601df59f6d2286ac4, \< 45532638de5da24c201aa2a9b3dd4b054064de7b; \>= ae43f8286730d1f2d241c34601df59f6d2286ac4, \< 9d85524789c2f17c0e87de8d596bcccc3683a1fc; \>= ae43f8286730d1f2d241c34601df59f6d2286ac4, \< acadd4097d25d6bd472bcb3f9f3eba2b5105d1ec; \>= ae43f8286730d1f2d241c34601df59f6d2286ac4, \< 0b948afc1ded88b3562c893114387f34389eeb94; \>= ae43f8286730d1f2d241c34601df59f6d2286ac4, \< a7b8e876e0ef0232b8076972c57ce9a7286b47ca
- Anyone running Linux 4.7

## Description

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

RDMA/core: Check for the presence of LS\_NLA\_TYPE\_DGID correctly

The netlink response for RDMA\_NL\_LS\_OP\_IP\_RESOLVE should always have a
LS\_NLA\_TYPE\_DGID attribute, it is invalid if it does not.

Use the nl parsing logic properly and call nla\_parse\_deprecated() to fill
the nlattrs array and then directly index that array to get the data for
the DGID. Just fail if it is NULL.

Remove the for loop searching for the nla, and squash the validation and
parsing into one function.

Fixes an uninitialized read from the stack triggered by userspace if it
does not provide the DGID to a kernel initiated RDMA\_NL\_LS\_OP\_IP\_RESOLVE
query.

    BUG: KMSAN: uninit-value in hex\_byte\_pack include/linux/hex.h:13 \[inline\]
    BUG: KMSAN: uninit-value in ip6\_string+0xef4/0x13a0 lib/vsprintf.c:1490
     hex\_byte\_pack include/linux/hex.h:13 \[inline\]
     ip6\_string+0xef4/0x13a0 lib/vsprintf.c:1490
     ip6\_addr\_string+0x18a/0x3e0 lib/vsprintf.c:1509
     ip\_addr\_string+0x245/0xee0 lib/vsprintf.c:1633
     pointer+0xc09/0x1bd0 lib/vsprintf.c:2542
     vsnprintf+0xf8a/0x1bd0 lib/vsprintf.c:2930
     vprintk\_store+0x3ae/0x1530 kernel/printk/printk.c:2279
     vprintk\_emit+0x307/0xcd0 kernel/printk/printk.c:2426
     vprintk\_default+0x3f/0x50 kernel/printk/printk.c:2465
     vprintk+0x36/0x50 kernel/printk/printk\_safe.c:82
     \_printk+0x17e/0x1b0 kernel/printk/printk.c:2475
     ib\_nl\_process\_good\_ip\_rsep drivers/infiniband/core/addr.c:128 \[inline\]
     ib\_nl\_handle\_ip\_res\_resp+0x963/0x9d0 drivers/infiniband/core/addr.c:141
     rdma\_nl\_rcv\_msg drivers/infiniband/core/netlink.c:-1 \[inline\]
     rdma\_nl\_rcv\_skb drivers/infiniband/core/netlink.c:239 \[inline\]
     rdma\_nl\_rcv+0xefa/0x11c0 drivers/infiniband/core/netlink.c:259
     netlink\_unicast\_kernel net/netlink/af\_netlink.c:1320 \[inline\]
     netlink\_unicast+0xf04/0x12b0 net/netlink/af\_netlink.c:1346
     netlink\_sendmsg+0x10b3/0x1250 net/netlink/af\_netlink.c:1896
     sock\_sendmsg\_nosec net/socket.c:714 \[inline\]
     \_\_sock\_sendmsg+0x333/0x3d0 net/socket.c:729
     \_\_\_\_sys\_sendmsg+0x7e0/0xd80 net/socket.c:2617
     \_\_\_sys\_sendmsg+0x271/0x3b0 net/socket.c:2671
     \_\_sys\_sendmsg+0x1aa/0x300 net/socket.c:2703
     \_\_compat\_sys\_sendmsg net/compat.c:346 \[inline\]
     \_\_do\_compat\_sys\_sendmsg net/compat.c:353 \[inline\]
     \_\_se\_compat\_sys\_sendmsg net/compat.c:350 \[inline\]
     \_\_ia32\_compat\_sys\_sendmsg+0xa4/0x100 net/compat.c:350
     ia32\_sys\_call+0x3f6c/0x4310 arch/x86/include/generated/asm/syscalls\_32.h:371
     do\_syscall\_32\_irqs\_on arch/x86/entry/syscall\_32.c:83 \[inline\]
     \_\_do\_fast\_syscall\_32+0xb0/0x150 arch/x86/entry/syscall\_32.c:306
     do\_fast\_syscall\_32+0x38/0x80 arch/x86/entry/syscall\_32.c:331
     do\_SYSENTER\_32+0x1f/0x30 arch/x86/entry/syscall\_32.c:3

## Affected and fixed versions

- Linux: \>= ae43f8286730d1f2d241c34601df59f6d2286ac4, \< 376f46c8983458ead26cac83aa897a0b78491831; \>= ae43f8286730d1f2d241c34601df59f6d2286ac4, \< bfe10318fc23e0b3f1d0a18dad387d29473a624d; \>= ae43f8286730d1f2d241c34601df59f6d2286ac4, \< 45532638de5da24c201aa2a9b3dd4b054064de7b; \>= ae43f8286730d1f2d241c34601df59f6d2286ac4, \< 9d85524789c2f17c0e87de8d596bcccc3683a1fc; \>= ae43f8286730d1f2d241c34601df59f6d2286ac4, \< acadd4097d25d6bd472bcb3f9f3eba2b5105d1ec; \>= ae43f8286730d1f2d241c34601df59f6d2286ac4, \< 0b948afc1ded88b3562c893114387f34389eeb94; \>= ae43f8286730d1f2d241c34601df59f6d2286ac4, \< a7b8e876e0ef0232b8076972c57ce9a7286b47ca (cvelist)
- Linux: 4.7 (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-2025-71096. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-71096.md
Affected: Linux >= ae43f8286730d1f2d241c34601df59f6d2286ac4, < 376f46c8983458ead26cac83aa897a0b78491831; >= ae43f8286730d1f2d241c34601df59f6d2286ac4, < bfe10318fc23e0b3f1d0a18dad387d29473a624d; >= ae43f8286730d1f2d241c34601df59f6d2286ac4, < 45532638de5da24c201aa2a9b3dd4b054064de7b; >= ae43f8286730d1f2d241c34…
Fixed in: Linux 376f46c8983458ead26cac83aa897a0b78491831, Linux 45532638de5da24c201aa2a9b3dd4b054064de7b, Linux 9d85524789c2f17c0e87de8d596bcccc3683a1fc, Linux 0b948afc1ded88b3562c893114387f34389eeb94

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

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

### How serious is CVE-2025-71096?

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

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

Linux \>= ae43f8286730d1f2d241c34601df59f6d2286ac4, \< 376f46c8983458ead26cac83aa897a0b78491831; \>= ae43f8286730d1f2d241c34601df59f6d2286ac4, \< bfe10318fc23e0b3f1d0a18dad387d29473a624d; \>= ae43f8286730d1f2d241c34601df59f6d2286ac4, \< 45532638de5da24c201aa2a9b3dd4b054064de7b; \>= ae43f8286730d1f2d241c34601df59f6d2286ac4, \< 9d85524789c2f17c0e87de8d596bcccc3683a1fc; \>= ae43f8286730d1f2d241c34601df59f6d2286ac4, \< acadd4097d25d6bd472bcb3f9f3eba2b5105d1ec; \>= ae43f8286730d1f2d241c34601df59f6d2286ac4, \< 0b948afc1ded88b3562c893114387f34389eeb94; \>= ae43f8286730d1f2d241c34601df59f6d2286ac4, \< a7b8e876e0ef0232b8076972c57ce9a7286b47ca; Linux 4.7.

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

Yes. Fixed in Linux 376f46c8983458ead26cac83aa897a0b78491831, Linux 45532638de5da24c201aa2a9b3dd4b054064de7b, Linux 9d85524789c2f17c0e87de8d596bcccc3683a1fc, Linux 0b948afc1ded88b3562c893114387f34389eeb94. No fix listed yet: follow the vendor advisory.

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

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/376f46c8983458ead26cac83aa897a0b78491831>
- patch: <https://git.kernel.org/stable/c/bfe10318fc23e0b3f1d0a18dad387d29473a624d>
- patch: <https://git.kernel.org/stable/c/45532638de5da24c201aa2a9b3dd4b054064de7b>
- patch: <https://git.kernel.org/stable/c/9d85524789c2f17c0e87de8d596bcccc3683a1fc>
- patch: <https://git.kernel.org/stable/c/acadd4097d25d6bd472bcb3f9f3eba2b5105d1ec>
- patch: <https://git.kernel.org/stable/c/0b948afc1ded88b3562c893114387f34389eeb94>
- patch: <https://git.kernel.org/stable/c/a7b8e876e0ef0232b8076972c57ce9a7286b47ca>

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

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