# CVE-2024-26805: netlink: Fix kernel-infoleak-after-free in \_\_skb\_datagram\_iter

> 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.32% (percentile 18, 2026-11-26)
- **CWE:** CWE-908
- **Published:** 2024-04-04T08:20:32.250Z
- **Modified:** 2026-10-15T01:17:23.813Z

## Who should check

- Anyone running Linux \>= 1853c949646005b5959c483becde86608f548f24, \< ec343a55b687a452f5e87f3b52bf9f155864df65; \>= 1853c949646005b5959c483becde86608f548f24, \< 9ae51361da43270f4ba0eb924427a07e87e48777; \>= 1853c949646005b5959c483becde86608f548f24, \< f19d1f98e60e68b11fc60839105dd02a30ec0d77; \>= 1853c949646005b5959c483becde86608f548f24, \< c71ed29d15b1a1ed6c464f8c3536996963046285; \>= 1853c949646005b5959c483becde86608f548f24, \< 0b27bf4c494d61e5663baa34c3edd7ccebf0ea44; \>= 1853c949646005b5959c483becde86608f548f24, \< d3ada42e534a83b618bbc1e490d23bf0fdae4736; \>= 1853c949646005b5959c483becde86608f548f24, \< 59fc3e3d049e39e7d0d271f20dd5fb47c57faf1d; \>= 1853c949646005b5959c483becde86608f548f24, \< 661779e1fcafe1b74b3f3fe8e980c1e207fea1fd; 92994a5f49d0a81c8643452d5c0a6e8b31d85a61; 85aec6328f3346b0718211faad564a3ffa64f60e; …
- Anyone running Linux 4.3

## Description

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

netlink: Fix kernel-infoleak-after-free in \_\_skb\_datagram\_iter

syzbot reported the following uninit-value access issue \[1\]:

netlink\_to\_full\_skb() creates a new \`skb\` and puts the \`skb-\>data\`
passed as a 1st arg of netlink\_to\_full\_skb() onto new \`skb\`. The data
size is specified as \`len\` and passed to skb\_put\_data(). This \`len\`
is based on \`skb-\>end\` that is not data offset but buffer offset. The
\`skb-\>end\` contains data and tailroom. Since the tailroom is not
initialized when the new \`skb\` created, KMSAN detects uninitialized
memory area when copying the data.

This patch resolved this issue by correct the len from \`skb-\>end\` to
\`skb-\>len\`, which is the actual data offset.

BUG: KMSAN: kernel-infoleak-after-free in instrument\_copy\_to\_user include/linux/instrumented.h:114 \[inline\]
BUG: KMSAN: kernel-infoleak-after-free in copy\_to\_user\_iter lib/iov\_iter.c:24 \[inline\]
BUG: KMSAN: kernel-infoleak-after-free in iterate\_ubuf include/linux/iov\_iter.h:29 \[inline\]
BUG: KMSAN: kernel-infoleak-after-free in iterate\_and\_advance2 include/linux/iov\_iter.h:245 \[inline\]
BUG: KMSAN: kernel-infoleak-after-free in iterate\_and\_advance include/linux/iov\_iter.h:271 \[inline\]
BUG: KMSAN: kernel-infoleak-after-free in \_copy\_to\_iter+0x364/0x2520 lib/iov\_iter.c:186
 instrument\_copy\_to\_user include/linux/instrumented.h:114 \[inline\]
 copy\_to\_user\_iter lib/iov\_iter.c:24 \[inline\]
 iterate\_ubuf include/linux/iov\_iter.h:29 \[inline\]
 iterate\_and\_advance2 include/linux/iov\_iter.h:245 \[inline\]
 iterate\_and\_advance include/linux/iov\_iter.h:271 \[inline\]
 \_copy\_to\_iter+0x364/0x2520 lib/iov\_iter.c:186
 copy\_to\_iter include/linux/uio.h:197 \[inline\]
 simple\_copy\_to\_iter+0x68/0xa0 net/core/datagram.c:532
 \_\_skb\_datagram\_iter+0x123/0xdc0 net/core/datagram.c:420
 skb\_copy\_datagram\_iter+0x5c/0x200 net/core/datagram.c:546
 skb\_copy\_datagram\_msg include/linux/skbuff.h:3960 \[inline\]
 packet\_recvmsg+0xd9c/0x2000 net/packet/af\_packet.c:3482
 sock\_recvmsg\_nosec net/socket.c:1044 \[inline\]
 sock\_recvmsg net/socket.c:1066 \[inline\]
 sock\_read\_iter+0x467/0x580 net/socket.c:1136
 call\_read\_iter include/linux/fs.h:2014 \[inline\]
 new\_sync\_read fs/read\_write.c:389 \[inline\]
 vfs\_read+0x8f6/0xe00 fs/read\_write.c:470
 ksys\_read+0x20f/0x4c0 fs/read\_write.c:613
 \_\_do\_sys\_read fs/read\_write.c:623 \[inline\]
 \_\_se\_sys\_read fs/read\_write.c:621 \[inline\]
 \_\_x64\_sys\_read+0x93/0xd0 fs/read\_write.c:621
 do\_syscall\_x64 arch/x86/entry/common.c:52 \[inline\]
 do\_syscall\_64+0x44/0x110 arch/x86/entry/common.c:83
 entry\_SYSCALL\_64\_after\_hwframe+0x63/0x6b

Uninit was stored to memory at:
 skb\_put\_data include/linux/skbuff.h:2622 \[inline\]
 netlink\_to\_full\_skb net/netlink/af\_netlink.c:181 \[inline\]
 \_\_netlink\_deliver\_tap\_skb net/netlink/af\_netlink.c:298 \[inline\]
 \_\_netlink\_deliver\_tap+0x5be/0xc90 net/netlink/af\_netlink.c:325
 netlink\_deliver\_tap net/netlink/af\_netlink.c:338 \[inline\]
 netlink\_deliver\_tap\_kernel net/netlink/af\_netlink.c:347 \[inline\]
 netlink\_unicast\_kernel net/netlink/af\_netlink.c:1341 \[inline\]
 netlink\_unicast+0x10f1/0x1250 net/netlink/af\_netlink.c:1368
 netlink\_sendmsg+0x1238/0x13d0 net/netlink/af\_netlink.c:1910
 sock\_sendmsg\_nosec net/socket.c:730 \[inline\]
 \_\_sock\_sendmsg net/socket.c:745 \[inline\]
 \_\_\_\_sys\_sendmsg+0x9c2/0xd60 net/socket.c:2584
 \_\_\_sys\_sendmsg+0x28d/0x3c0 net/socket.c:2638
 \_\_sys\_sendmsg net/socket.c:2667 \[inline\]
 \_\_do\_sys\_sendmsg net/socket.c:2676 \[inline\]
 \_\_se\_sys\_sendmsg net/socket.c:2674 \[inline\]
 \_\_x64\_sys\_sendmsg+0x307/0x490 net/socket.c:2674
 do\_syscall\_x64 arch/x86/entry/common.c:52 \[inline\]
 do\_syscall\_64+0x44/0x110 arch/x86/entry/common.c:83
 entry\_SYSCALL\_64\_after\_hwframe+0x63/0x6b

Uninit was created at:
 free\_pages\_prepare mm/page\_alloc.c:1087 \[inline\]
 free\_unref\_page\_prepare+0xb0/0xa40 mm/page\_alloc.c:2347
 free\_unref\_page\_list+0xeb/0x1100 mm/page\_alloc.c:2533
 release\_pages+0x23d3/0x2410 mm/swap.c:1042
 free\_pages\_and\_swap\_cache+0xd9/0xf0 mm/swap\_state.c:316
 tlb\_batch\_pages
---truncated---

## Affected and fixed versions

- Linux: \>= 1853c949646005b5959c483becde86608f548f24, \< ec343a55b687a452f5e87f3b52bf9f155864df65; \>= 1853c949646005b5959c483becde86608f548f24, \< 9ae51361da43270f4ba0eb924427a07e87e48777; \>= 1853c949646005b5959c483becde86608f548f24, \< f19d1f98e60e68b11fc60839105dd02a30ec0d77; \>= 1853c949646005b5959c483becde86608f548f24, \< c71ed29d15b1a1ed6c464f8c3536996963046285; \>= 1853c949646005b5959c483becde86608f548f24, \< 0b27bf4c494d61e5663baa34c3edd7ccebf0ea44; \>= 1853c949646005b5959c483becde86608f548f24, \< d3ada42e534a83b618bbc1e490d23bf0fdae4736; \>= 1853c949646005b5959c483becde86608f548f24, \< 59fc3e3d049e39e7d0d271f20dd5fb47c57faf1d; \>= 1853c949646005b5959c483becde86608f548f24, \< 661779e1fcafe1b74b3f3fe8e980c1e207fea1fd; 92994a5f49d0a81c8643452d5c0a6e8b31d85a61; 85aec6328f3346b0718211faad564a3ffa64f60e; … (cvelist)
- Linux: 4.3 (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-2024-26805. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26805.md
Affected: Linux >= 1853c949646005b5959c483becde86608f548f24, < ec343a55b687a452f5e87f3b52bf9f155864df65; >= 1853c949646005b5959c483becde86608f548f24, < 9ae51361da43270f4ba0eb924427a07e87e48777; >= 1853c949646005b5959c483becde86608f548f24, < f19d1f98e60e68b11fc60839105dd02a30ec0d77; >= 1853c949646005b5959c483…
Fixed in: Linux 9ae51361da43270f4ba0eb924427a07e87e48777, Linux 0b27bf4c494d61e5663baa34c3edd7ccebf0ea44, Linux 59fc3e3d049e39e7d0d271f20dd5fb47c57faf1d, Linux 661779e1fcafe1b74b3f3fe8e980c1e207fea1fd

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

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

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

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

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

Linux \>= 1853c949646005b5959c483becde86608f548f24, \< ec343a55b687a452f5e87f3b52bf9f155864df65; \>= 1853c949646005b5959c483becde86608f548f24, \< 9ae51361da43270f4ba0eb924427a07e87e48777; \>= 1853c949646005b5959c483becde86608f548f24, \< f19d1f98e60e68b11fc60839105dd02a30ec0d77; \>= 1853c949646005b5959c483becde86608f548f24, \< c71ed29d15b1a1ed6c464f8c3536996963046285; \>= 1853c949646005b5959c483becde86608f548f24, \< 0b27bf4c494d61e5663baa34c3edd7ccebf0ea44; \>= 1853c949646005b5959c483becde86608f548f24, \< d3ada42e534a83b618bbc1e490d23bf0fdae4736; \>= 1853c949646005b5959c483becde86608f548f24, \< 59fc3e3d049e39e7d0d271f20dd5fb47c57faf1d; \>= 1853c949646005b5959c483becde86608f548f24, \< 661779e1fcafe1b74b3f3fe8e980c1e207fea1fd; 92994a5f49d0a81c8643452d5c0a6e8b31d85a61; 85aec6328f3346b0718211faad564a3ffa64f60e; …; Linux 4.3.

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

Yes. Fixed in Linux 9ae51361da43270f4ba0eb924427a07e87e48777, Linux 0b27bf4c494d61e5663baa34c3edd7ccebf0ea44, Linux 59fc3e3d049e39e7d0d271f20dd5fb47c57faf1d, Linux 661779e1fcafe1b74b3f3fe8e980c1e207fea1fd. No fix listed yet: follow the vendor advisory.

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

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/ec343a55b687a452f5e87f3b52bf9f155864df65>
- patch: <https://git.kernel.org/stable/c/9ae51361da43270f4ba0eb924427a07e87e48777>
- patch: <https://git.kernel.org/stable/c/f19d1f98e60e68b11fc60839105dd02a30ec0d77>
- patch: <https://git.kernel.org/stable/c/c71ed29d15b1a1ed6c464f8c3536996963046285>
- patch: <https://git.kernel.org/stable/c/0b27bf4c494d61e5663baa34c3edd7ccebf0ea44>
- patch: <https://git.kernel.org/stable/c/d3ada42e534a83b618bbc1e490d23bf0fdae4736>
- patch: <https://git.kernel.org/stable/c/59fc3e3d049e39e7d0d271f20dd5fb47c57faf1d>
- patch: <https://git.kernel.org/stable/c/661779e1fcafe1b74b3f3fe8e980c1e207fea1fd>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-613116.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-26805>

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