# CVE-2024-50110: xfrm: fix one more kernel-infoleak in algo dumping

> 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, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **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.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-908
- **Published:** 2024-11-05T17:10:43.325Z
- **Modified:** 2026-06-17T08:03:36.787Z

## Who should check

- Anyone running Linux \>= c7a5899eb26e2a4d516d53f65b6dd67be2228041, \< 610d4cea9b442b22b4820695fc3335e64849725e; \>= c7a5899eb26e2a4d516d53f65b6dd67be2228041, \< dc2ad8e8818e4bf1a93db78d81745b4877b32972; \>= c7a5899eb26e2a4d516d53f65b6dd67be2228041, \< c73bca72b84b453c8d26a5e7673b20adb294bf54; \>= c7a5899eb26e2a4d516d53f65b6dd67be2228041, \< 1e8fbd2441cb2ea28d6825f2985bf7d84af060bb; \>= c7a5899eb26e2a4d516d53f65b6dd67be2228041, \< 6889cd2a93e1e3606b3f6e958aa0924e836de4d2
- Anyone running Linux 5.11

## Description

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

xfrm: fix one more kernel-infoleak in algo dumping

During fuzz testing, the following issue was discovered:

BUG: KMSAN: kernel-infoleak in \_copy\_to\_iter+0x598/0x2a30
 \_copy\_to\_iter+0x598/0x2a30
 \_\_skb\_datagram\_iter+0x168/0x1060
 skb\_copy\_datagram\_iter+0x5b/0x220
 netlink\_recvmsg+0x362/0x1700
 sock\_recvmsg+0x2dc/0x390
 \_\_sys\_recvfrom+0x381/0x6d0
 \_\_x64\_sys\_recvfrom+0x130/0x200
 x64\_sys\_call+0x32c8/0x3cc0
 do\_syscall\_64+0xd8/0x1c0
 entry\_SYSCALL\_64\_after\_hwframe+0x79/0x81

Uninit was stored to memory at:
 copy\_to\_user\_state\_extra+0xcc1/0x1e00
 dump\_one\_state+0x28c/0x5f0
 xfrm\_state\_walk+0x548/0x11e0
 xfrm\_dump\_sa+0x1e0/0x840
 netlink\_dump+0x943/0x1c40
 \_\_netlink\_dump\_start+0x746/0xdb0
 xfrm\_user\_rcv\_msg+0x429/0xc00
 netlink\_rcv\_skb+0x613/0x780
 xfrm\_netlink\_rcv+0x77/0xc0
 netlink\_unicast+0xe90/0x1280
 netlink\_sendmsg+0x126d/0x1490
 \_\_sock\_sendmsg+0x332/0x3d0
 \_\_\_\_sys\_sendmsg+0x863/0xc30
 \_\_\_sys\_sendmsg+0x285/0x3e0
 \_\_x64\_sys\_sendmsg+0x2d6/0x560
 x64\_sys\_call+0x1316/0x3cc0
 do\_syscall\_64+0xd8/0x1c0
 entry\_SYSCALL\_64\_after\_hwframe+0x79/0x81

Uninit was created at:
 \_\_kmalloc+0x571/0xd30
 attach\_auth+0x106/0x3e0
 xfrm\_add\_sa+0x2aa0/0x4230
 xfrm\_user\_rcv\_msg+0x832/0xc00
 netlink\_rcv\_skb+0x613/0x780
 xfrm\_netlink\_rcv+0x77/0xc0
 netlink\_unicast+0xe90/0x1280
 netlink\_sendmsg+0x126d/0x1490
 \_\_sock\_sendmsg+0x332/0x3d0
 \_\_\_\_sys\_sendmsg+0x863/0xc30
 \_\_\_sys\_sendmsg+0x285/0x3e0
 \_\_x64\_sys\_sendmsg+0x2d6/0x560
 x64\_sys\_call+0x1316/0x3cc0
 do\_syscall\_64+0xd8/0x1c0
 entry\_SYSCALL\_64\_after\_hwframe+0x79/0x81

Bytes 328-379 of 732 are uninitialized
Memory access of size 732 starts at ffff88800e18e000
Data copied to user address 00007ff30f48aff0

CPU: 2 PID: 18167 Comm: syz-executor.0 Not tainted 6.8.11 \#1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014

Fixes copying of xfrm algorithms where some random
data of the structure fields can end up in userspace.
Padding in structures may be filled with random (possibly sensitve)
data and should never be given directly to user-space.

A similar issue was resolved in the commit
8222d5910dae ("xfrm: Zero padding when dumping algos and encap")

Found by Linux Verification Center (linuxtesting.org) with Syzkaller.

## Affected and fixed versions

- Linux: \>= c7a5899eb26e2a4d516d53f65b6dd67be2228041, \< 610d4cea9b442b22b4820695fc3335e64849725e; \>= c7a5899eb26e2a4d516d53f65b6dd67be2228041, \< dc2ad8e8818e4bf1a93db78d81745b4877b32972; \>= c7a5899eb26e2a4d516d53f65b6dd67be2228041, \< c73bca72b84b453c8d26a5e7673b20adb294bf54; \>= c7a5899eb26e2a4d516d53f65b6dd67be2228041, \< 1e8fbd2441cb2ea28d6825f2985bf7d84af060bb; \>= c7a5899eb26e2a4d516d53f65b6dd67be2228041, \< 6889cd2a93e1e3606b3f6e958aa0924e836de4d2 (cvelist)
- Linux: 5.11 (cvelist)

## Mitigation

- Upgrade Linux to 6889cd2a93e1e3606b3f6e958aa0924e836de4d2 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-50110. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-50110.md
Affected: Linux >= c7a5899eb26e2a4d516d53f65b6dd67be2228041, < 610d4cea9b442b22b4820695fc3335e64849725e; >= c7a5899eb26e2a4d516d53f65b6dd67be2228041, < dc2ad8e8818e4bf1a93db78d81745b4877b32972; >= c7a5899eb26e2a4d516d53f65b6dd67be2228041, < c73bca72b84b453c8d26a5e7673b20adb294bf54; >= c7a5899eb26e2a4d516d53f…
Fixed in: Linux 610d4cea9b442b22b4820695fc3335e64849725e, Linux 1e8fbd2441cb2ea28d6825f2985bf7d84af060bb, Linux 6889cd2a93e1e3606b3f6e958aa0924e836de4d2

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

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

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

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

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

Linux \>= c7a5899eb26e2a4d516d53f65b6dd67be2228041, \< 610d4cea9b442b22b4820695fc3335e64849725e; \>= c7a5899eb26e2a4d516d53f65b6dd67be2228041, \< dc2ad8e8818e4bf1a93db78d81745b4877b32972; \>= c7a5899eb26e2a4d516d53f65b6dd67be2228041, \< c73bca72b84b453c8d26a5e7673b20adb294bf54; \>= c7a5899eb26e2a4d516d53f65b6dd67be2228041, \< 1e8fbd2441cb2ea28d6825f2985bf7d84af060bb; \>= c7a5899eb26e2a4d516d53f65b6dd67be2228041, \< 6889cd2a93e1e3606b3f6e958aa0924e836de4d2; Linux 5.11.

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

Yes. Fixed in Linux 610d4cea9b442b22b4820695fc3335e64849725e, Linux 1e8fbd2441cb2ea28d6825f2985bf7d84af060bb, Linux 6889cd2a93e1e3606b3f6e958aa0924e836de4d2. Upgrade Linux to 6889cd2a93e1e3606b3f6e958aa0924e836de4d2 or later.

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

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/610d4cea9b442b22b4820695fc3335e64849725e>
- patch: <https://git.kernel.org/stable/c/dc2ad8e8818e4bf1a93db78d81745b4877b32972>
- patch: <https://git.kernel.org/stable/c/c73bca72b84b453c8d26a5e7673b20adb294bf54>
- patch: <https://git.kernel.org/stable/c/1e8fbd2441cb2ea28d6825f2985bf7d84af060bb>
- patch: <https://git.kernel.org/stable/c/6889cd2a93e1e3606b3f6e958aa0924e836de4d2>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.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-50110>

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