# CVE-2024-26907: RDMA/mlx5: Fix fortify source warning while accessing Eth segment

> 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.33% (percentile 19, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-04-17T10:27:54.194Z
- **Modified:** 2026-10-15T01:17:31.533Z

## Who should check

- Anyone running Linux \>= 34f4c9554d8b2a7d2deb9503e9373b598ee3279f, \< d27c48dc309da72c3b46351a1205d89687272baa; \>= 34f4c9554d8b2a7d2deb9503e9373b598ee3279f, \< 60ba938a8bc8c90e724c75f98e932f9fb7ae1b9d; \>= 34f4c9554d8b2a7d2deb9503e9373b598ee3279f, \< cad82f1671e41094acd3b9a60cd27d67a3c64a21; \>= 34f4c9554d8b2a7d2deb9503e9373b598ee3279f, \< 9a624a5f95733bac4648ecadb320ca83aa9c08fd; \>= 34f4c9554d8b2a7d2deb9503e9373b598ee3279f, \< 185fa07000e0a81d54cf8c05414cebff14469a5c; \>= 34f4c9554d8b2a7d2deb9503e9373b598ee3279f, \< 4d5e86a56615cc387d21c629f9af8fb0e958d350
- Anyone running Linux 5.0

## Description

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

RDMA/mlx5: Fix fortify source warning while accessing Eth segment

 ------------\[ cut here \]------------
 memcpy: detected field-spanning write (size 56) of single field "eseg-\>inline\_hdr.start" at /var/lib/dkms/mlnx-ofed-kernel/5.8/build/drivers/infiniband/hw/mlx5/wr.c:131 (size 2)
 WARNING: CPU: 0 PID: 293779 at /var/lib/dkms/mlnx-ofed-kernel/5.8/build/drivers/infiniband/hw/mlx5/wr.c:131 mlx5\_ib\_post\_send+0x191b/0x1a60 \[mlx5\_ib\]
 Modules linked in: 8021q garp mrp stp llc rdma\_ucm(OE) rdma\_cm(OE) iw\_cm(OE) ib\_ipoib(OE) ib\_cm(OE) ib\_umad(OE) mlx5\_ib(OE) ib\_uverbs(OE) ib\_core(OE) mlx5\_core(OE) pci\_hyperv\_intf mlxdevm(OE) mlx\_compat(OE) tls mlxfw(OE) psample 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 libcrc32c nfnetlink mst\_pciconf(OE) knem(OE) vfio\_pci vfio\_pci\_core vfio\_iommu\_type1 vfio iommufd irqbypass cuse nfsv3 nfs fscache netfs xfrm\_user xfrm\_algo ipmi\_devintf ipmi\_msghandler binfmt\_misc crct10dif\_pclmul crc32\_pclmul polyval\_clmulni polyval\_generic ghash\_clmulni\_intel sha512\_ssse3 snd\_pcsp aesni\_intel crypto\_simd cryptd snd\_pcm snd\_timer joydev snd soundcore input\_leds serio\_raw evbug nfsd auth\_rpcgss nfs\_acl lockd grace sch\_fq\_codel sunrpc drm efi\_pstore ip\_tables x\_tables autofs4 psmouse virtio\_net net\_failover failover floppy
  \[last unloaded: mlx\_compat(OE)\]
 CPU: 0 PID: 293779 Comm: ssh Tainted: G           OE      6.2.0-32-generic \#32~22.04.1-Ubuntu
 Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
 RIP: 0010:mlx5\_ib\_post\_send+0x191b/0x1a60 \[mlx5\_ib\]
 Code: 0c 01 00 a8 01 75 25 48 8b 75 a0 b9 02 00 00 00 48 c7 c2 10 5b fd c0 48 c7 c7 80 5b fd c0 c6 05 57 0c 03 00 01 e8 95 4d 93 da \<0f\> 0b 44 8b 4d b0 4c 8b 45 c8 48 8b 4d c0 e9 49 fb ff ff 41 0f b7
 RSP: 0018:ffffb5b48478b570 EFLAGS: 00010046
 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
 RBP: ffffb5b48478b628 R08: 0000000000000000 R09: 0000000000000000
 R10: 0000000000000000 R11: 0000000000000000 R12: ffffb5b48478b5e8
 R13: ffff963a3c609b5e R14: ffff9639c3fbd800 R15: ffffb5b480475a80
 FS:  00007fc03b444c80(0000) GS:ffff963a3dc00000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 0000556f46bdf000 CR3: 0000000006ac6003 CR4: 00000000003706f0
 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
 Call Trace:
  \<TASK\>
  ? show\_regs+0x72/0x90
  ? mlx5\_ib\_post\_send+0x191b/0x1a60 \[mlx5\_ib\]
  ? \_\_warn+0x8d/0x160
  ? mlx5\_ib\_post\_send+0x191b/0x1a60 \[mlx5\_ib\]
  ? report\_bug+0x1bb/0x1d0
  ? handle\_bug+0x46/0x90
  ? exc\_invalid\_op+0x19/0x80
  ? asm\_exc\_invalid\_op+0x1b/0x20
  ? mlx5\_ib\_post\_send+0x191b/0x1a60 \[mlx5\_ib\]
  mlx5\_ib\_post\_send\_nodrain+0xb/0x20 \[mlx5\_ib\]
  ipoib\_send+0x2ec/0x770 \[ib\_ipoib\]
  ipoib\_start\_xmit+0x5a0/0x770 \[ib\_ipoib\]
  dev\_hard\_start\_xmit+0x8e/0x1e0
  ? validate\_xmit\_skb\_list+0x4d/0x80
  sch\_direct\_xmit+0x116/0x3a0
  \_\_dev\_xmit\_skb+0x1fd/0x580
  \_\_dev\_queue\_xmit+0x284/0x6b0
  ? \_raw\_spin\_unlock\_irq+0xe/0x50
  ? \_\_flush\_work.isra.0+0x20d/0x370
  ? push\_pseudo\_header+0x17/0x40 \[ib\_ipoib\]
  neigh\_connected\_output+0xcd/0x110
  ip\_finish\_output2+0x179/0x480
  ? \_\_smp\_call\_single\_queue+0x61/0xa0
  \_\_ip\_finish\_output+0xc3/0x190
  ip\_finish\_output+0x2e/0xf0
  ip\_output+0x78/0x110
  ? \_\_pfx\_ip\_finish\_output+0x10/0x10
  ip\_local\_out+0x64/0x70
  \_\_ip\_queue\_xmit+0x18a/0x460
  ip\_queue\_xmit+0x15/0x30
  \_\_tcp\_transmit\_skb+0x914/0x9c0
  tcp\_write\_xmit+0x334/0x8d0
  tcp\_push\_one+0x3c/0x60
  tcp\_sendmsg\_locked+0x2e1/0xac0
  tcp\_sendmsg+0x2d/0x50
  inet\_sendmsg+0x43/0x90
  sock\_sendmsg+0x68/0x80
  sock\_write\_iter+0x93/0x100
  vfs\_write+0x326/0x3c0
  ksys\_write+0xbd/0xf0
  ? do\_syscall\_64+0x69/0x90
  \_\_x64\_sys\_write+0x19/0x30
  do\_syscall\_
---truncated---

## Affected and fixed versions

- Linux: \>= 34f4c9554d8b2a7d2deb9503e9373b598ee3279f, \< d27c48dc309da72c3b46351a1205d89687272baa; \>= 34f4c9554d8b2a7d2deb9503e9373b598ee3279f, \< 60ba938a8bc8c90e724c75f98e932f9fb7ae1b9d; \>= 34f4c9554d8b2a7d2deb9503e9373b598ee3279f, \< cad82f1671e41094acd3b9a60cd27d67a3c64a21; \>= 34f4c9554d8b2a7d2deb9503e9373b598ee3279f, \< 9a624a5f95733bac4648ecadb320ca83aa9c08fd; \>= 34f4c9554d8b2a7d2deb9503e9373b598ee3279f, \< 185fa07000e0a81d54cf8c05414cebff14469a5c; \>= 34f4c9554d8b2a7d2deb9503e9373b598ee3279f, \< 4d5e86a56615cc387d21c629f9af8fb0e958d350 (cvelist)
- Linux: 5.0 (cvelist)

## Mitigation

- Upgrade Linux to 4d5e86a56615cc387d21c629f9af8fb0e958d350 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-26907.md
Affected: Linux >= 34f4c9554d8b2a7d2deb9503e9373b598ee3279f, < d27c48dc309da72c3b46351a1205d89687272baa; >= 34f4c9554d8b2a7d2deb9503e9373b598ee3279f, < 60ba938a8bc8c90e724c75f98e932f9fb7ae1b9d; >= 34f4c9554d8b2a7d2deb9503e9373b598ee3279f, < cad82f1671e41094acd3b9a60cd27d67a3c64a21; >= 34f4c9554d8b2a7d2deb950…
Fixed in: Linux 60ba938a8bc8c90e724c75f98e932f9fb7ae1b9d, Linux 9a624a5f95733bac4648ecadb320ca83aa9c08fd, Linux 185fa07000e0a81d54cf8c05414cebff14469a5c, Linux 4d5e86a56615cc387d21c629f9af8fb0e958d350

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-2024-26907 being exploited?

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

### How serious is CVE-2024-26907?

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

### Which versions are affected by CVE-2024-26907?

Linux \>= 34f4c9554d8b2a7d2deb9503e9373b598ee3279f, \< d27c48dc309da72c3b46351a1205d89687272baa; \>= 34f4c9554d8b2a7d2deb9503e9373b598ee3279f, \< 60ba938a8bc8c90e724c75f98e932f9fb7ae1b9d; \>= 34f4c9554d8b2a7d2deb9503e9373b598ee3279f, \< cad82f1671e41094acd3b9a60cd27d67a3c64a21; \>= 34f4c9554d8b2a7d2deb9503e9373b598ee3279f, \< 9a624a5f95733bac4648ecadb320ca83aa9c08fd; \>= 34f4c9554d8b2a7d2deb9503e9373b598ee3279f, \< 185fa07000e0a81d54cf8c05414cebff14469a5c; \>= 34f4c9554d8b2a7d2deb9503e9373b598ee3279f, \< 4d5e86a56615cc387d21c629f9af8fb0e958d350; Linux 5.0.

### Is there a fix for CVE-2024-26907?

Yes. Fixed in Linux 60ba938a8bc8c90e724c75f98e932f9fb7ae1b9d, Linux 9a624a5f95733bac4648ecadb320ca83aa9c08fd, Linux 185fa07000e0a81d54cf8c05414cebff14469a5c, Linux 4d5e86a56615cc387d21c629f9af8fb0e958d350. Upgrade Linux to 4d5e86a56615cc387d21c629f9af8fb0e958d350 or later.

### How do I check if I'm affected by CVE-2024-26907?

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/d27c48dc309da72c3b46351a1205d89687272baa>
- patch: <https://git.kernel.org/stable/c/60ba938a8bc8c90e724c75f98e932f9fb7ae1b9d>
- patch: <https://git.kernel.org/stable/c/cad82f1671e41094acd3b9a60cd27d67a3c64a21>
- patch: <https://git.kernel.org/stable/c/9a624a5f95733bac4648ecadb320ca83aa9c08fd>
- patch: <https://git.kernel.org/stable/c/185fa07000e0a81d54cf8c05414cebff14469a5c>
- patch: <https://git.kernel.org/stable/c/4d5e86a56615cc387d21c629f9af8fb0e958d350>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.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-2024-26907>

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