# CVE-2024-43878: xfrm: Fix input error path memory access

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; 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:** Remote, no login needed
- **EPSS:** 0.70% (percentile 49, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2024-08-21T00:06:30.412Z
- **Modified:** 2026-08-05T11:36:54.502Z

## Who should check

- Anyone running Linux \>= 304b44f0d5a4c2f91f82f7c31538d00485fb484c, \< a4c10813bc394ff2b5c61f913971be216f8f8834; \>= 304b44f0d5a4c2f91f82f7c31538d00485fb484c, \< 54fcc6189dfb822eea984fa2b3e477a02447279d
- Anyone running Linux 6.10

## Description

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

xfrm: Fix input error path memory access

When there is a misconfiguration of input state slow path
KASAN report error. Fix this error.
west login:
\[   52.987278\] eth1: renamed from veth11
\[   53.078814\] eth1: renamed from veth21
\[   53.181355\] eth1: renamed from veth31
\[   54.921702\] ==================================================================
\[   54.922602\] BUG: KASAN: wild-memory-access in xfrmi\_rcv\_cb+0x2d/0x295
\[   54.923393\] Read of size 8 at addr 6b6b6b6b00000000 by task ping/512
\[   54.924169\]
\[   54.924386\] CPU: 0 PID: 512 Comm: ping Not tainted 6.9.0-08574-gcd29a4313a1b \#25
\[   54.925290\] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
\[   54.926401\] Call Trace:
\[   54.926731\]  \<IRQ\>
\[   54.927009\]  dump\_stack\_lvl+0x2a/0x3b
\[   54.927478\]  kasan\_report+0x84/0xa6
\[   54.927930\]  ? xfrmi\_rcv\_cb+0x2d/0x295
\[   54.928410\]  xfrmi\_rcv\_cb+0x2d/0x295
\[   54.928872\]  ? xfrm4\_rcv\_cb+0x3d/0x5e
\[   54.929354\]  xfrm4\_rcv\_cb+0x46/0x5e
\[   54.929804\]  xfrm\_rcv\_cb+0x7e/0xa1
\[   54.930240\]  xfrm\_input+0x1b3a/0x1b96
\[   54.930715\]  ? xfrm\_offload+0x41/0x41
\[   54.931182\]  ? raw\_rcv+0x292/0x292
\[   54.931617\]  ? nf\_conntrack\_confirm+0xa2/0xa2
\[   54.932158\]  ? skb\_sec\_path+0xd/0x3f
\[   54.932610\]  ? xfrmi\_input+0x90/0xce
\[   54.933066\]  xfrm4\_esp\_rcv+0x33/0x54
\[   54.933521\]  ip\_protocol\_deliver\_rcu+0xd7/0x1b2
\[   54.934089\]  ip\_local\_deliver\_finish+0x110/0x120
\[   54.934659\]  ? ip\_protocol\_deliver\_rcu+0x1b2/0x1b2
\[   54.935248\]  NF\_HOOK.constprop.0+0xf8/0x138
\[   54.935767\]  ? ip\_sublist\_rcv\_finish+0x68/0x68
\[   54.936317\]  ? secure\_tcpv6\_ts\_off+0x23/0x168
\[   54.936859\]  ? ip\_protocol\_deliver\_rcu+0x1b2/0x1b2
\[   54.937454\]  ? \_\_xfrm\_policy\_check2.constprop.0+0x18d/0x18d
\[   54.938135\]  NF\_HOOK.constprop.0+0xf8/0x138
\[   54.938663\]  ? ip\_sublist\_rcv\_finish+0x68/0x68
\[   54.939220\]  ? \_\_xfrm\_policy\_check2.constprop.0+0x18d/0x18d
\[   54.939904\]  ? ip\_local\_deliver\_finish+0x120/0x120
\[   54.940497\]  \_\_netif\_receive\_skb\_one\_core+0xc9/0x107
\[   54.941121\]  ? \_\_netif\_receive\_skb\_list\_core+0x1c2/0x1c2
\[   54.941771\]  ? blk\_mq\_start\_stopped\_hw\_queues+0xc7/0xf9
\[   54.942413\]  ? blk\_mq\_start\_stopped\_hw\_queue+0x38/0x38
\[   54.943044\]  ? virtqueue\_get\_buf\_ctx+0x295/0x46b
\[   54.943618\]  process\_backlog+0xb3/0x187
\[   54.944102\]  \_\_napi\_poll.constprop.0+0x57/0x1a7
\[   54.944669\]  net\_rx\_action+0x1cb/0x380
\[   54.945150\]  ? \_\_napi\_poll.constprop.0+0x1a7/0x1a7
\[   54.945744\]  ? vring\_new\_virtqueue+0x17a/0x17a
\[   54.946300\]  ? note\_interrupt+0x2cd/0x367
\[   54.946805\]  handle\_softirqs+0x13c/0x2c9
\[   54.947300\]  do\_softirq+0x5f/0x7d
\[   54.947727\]  \</IRQ\>
\[   54.948014\]  \<TASK\>
\[   54.948300\]  \_\_local\_bh\_enable\_ip+0x48/0x62
\[   54.948832\]  \_\_neigh\_event\_send+0x3fd/0x4ca
\[   54.949361\]  neigh\_resolve\_output+0x1e/0x210
\[   54.949896\]  ip\_finish\_output2+0x4bf/0x4f0
\[   54.950410\]  ? \_\_ip\_finish\_output+0x171/0x1b8
\[   54.950956\]  ip\_send\_skb+0x25/0x57
\[   54.951390\]  raw\_sendmsg+0xf95/0x10c0
\[   54.951850\]  ? check\_new\_pages+0x45/0x71
\[   54.952343\]  ? raw\_hash\_sk+0x21b/0x21b
\[   54.952815\]  ? kernel\_init\_pages+0x42/0x51
\[   54.953337\]  ? prep\_new\_page+0x44/0x51
\[   54.953811\]  ? get\_page\_from\_freelist+0x72b/0x915
\[   54.954390\]  ? signal\_pending\_state+0x77/0x77
\[   54.954936\]  ? preempt\_count\_sub+0x14/0xb3
\[   54.955450\]  ? \_\_might\_resched+0x8a/0x240
\[   54.955951\]  ? \_\_might\_sleep+0x25/0xa0
\[   54.956424\]  ? first\_zones\_zonelist+0x2c/0x43
\[   54.956977\]  ? \_\_rcu\_read\_lock+0x2d/0x3a
\[   54.957476\]  ? \_\_pte\_offset\_map+0x32/0xa4
\[   54.957980\]  ? \_\_might\_resched+0x8a/0x240
\[   54.958483\]  ? \_\_might\_sleep+0x25/0xa0
\[   54.958963\]  ? inet\_send\_prepare+0x54/0x54
\[   54.959478\]  ? sock\_sendmsg\_nosec+0x42/0x6c
\[   54.960000\]  sock\_sendmsg\_nosec+0x42/0x6c
\[   54.960502\]  \_\_sys\_sendto+0x15d/0x1cc
\[   54.960966\]  ? \_\_x64\_sys\_getpeername+0x44/0x44
\[   54.961522\]  ? \_\_handle\_mm\_fault+0x679/0xae4
\[   54.962068\]  ? find\_vma+0x6b/0x
---truncated---

## Affected and fixed versions

- Linux: \>= 304b44f0d5a4c2f91f82f7c31538d00485fb484c, \< a4c10813bc394ff2b5c61f913971be216f8f8834; \>= 304b44f0d5a4c2f91f82f7c31538d00485fb484c, \< 54fcc6189dfb822eea984fa2b3e477a02447279d (cvelist)
- Linux: 6.10 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2024-43878.md
Affected: Linux >= 304b44f0d5a4c2f91f82f7c31538d00485fb484c, < a4c10813bc394ff2b5c61f913971be216f8f8834; >= 304b44f0d5a4c2f91f82f7c31538d00485fb484c, < 54fcc6189dfb822eea984fa2b3e477a02447279d; Linux 6.10
Fixed in: Linux 54fcc6189dfb822eea984fa2b3e477a02447279d

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

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

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

High: CVSS 8.1 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

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

Linux \>= 304b44f0d5a4c2f91f82f7c31538d00485fb484c, \< a4c10813bc394ff2b5c61f913971be216f8f8834; \>= 304b44f0d5a4c2f91f82f7c31538d00485fb484c, \< 54fcc6189dfb822eea984fa2b3e477a02447279d; Linux 6.10.

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

Yes. Fixed in Linux 54fcc6189dfb822eea984fa2b3e477a02447279d. Upgrade Linux to 54fcc6189dfb822eea984fa2b3e477a02447279d or later.

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

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/a4c10813bc394ff2b5c61f913971be216f8f8834>
- patch: <https://git.kernel.org/stable/c/54fcc6189dfb822eea984fa2b3e477a02447279d>

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

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