# CVE-2024-44989: bonding: fix xfrm real\_dev null pointer dereference

> 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-476
- **Published:** 2024-09-04T19:54:36.858Z
- **Modified:** 2026-10-15T01:18:50.920Z

## Who should check

- Anyone running Linux \>= 18cb261afd7bf50134e5ccacc5ec91ea16efadd4, \< 21816b696c172c19d53a30d45ee005cce246ed21; \>= 18cb261afd7bf50134e5ccacc5ec91ea16efadd4, \< 2f72c6a66bcd7e0187ec085237fee5db27145294; \>= 18cb261afd7bf50134e5ccacc5ec91ea16efadd4, \< 7fa9243391ad2afe798ef4ea2e2851947b95754f; \>= 18cb261afd7bf50134e5ccacc5ec91ea16efadd4, \< 4582d4ff413a07d4ed8a4823c652dc5207760548; \>= 18cb261afd7bf50134e5ccacc5ec91ea16efadd4, \< 89fc1dca79db5c3e7a2d589ecbf8a3661c65f436; \>= 18cb261afd7bf50134e5ccacc5ec91ea16efadd4, \< f8cde9805981c50d0c029063dc7d82821806fc44
- Anyone running Linux 5.9

## Description

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

bonding: fix xfrm real\_dev null pointer dereference

We shouldn't set real\_dev to NULL because packets can be in transit and
xfrm might call xdo\_dev\_offload\_ok() in parallel. All callbacks assume
real\_dev is set.

 Example trace:
 kernel: BUG: unable to handle page fault for address: 0000000000001030
 kernel: bond0: (slave eni0np1): making interface the new active one
 kernel: \#PF: supervisor write access in kernel mode
 kernel: \#PF: error\_code(0x0002) - not-present page
 kernel: PGD 0 P4D 0
 kernel: Oops: 0002 \[\#1\] PREEMPT SMP
 kernel: CPU: 4 PID: 2237 Comm: ping Not tainted 6.7.7+ \#12
 kernel: Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-2.fc40 04/01/2014
 kernel: RIP: 0010:nsim\_ipsec\_offload\_ok+0xc/0x20 \[netdevsim\]
 kernel: bond0: (slave eni0np1): bond\_ipsec\_add\_sa\_all: failed to add SA
 kernel: Code: e0 0f 0b 48 83 7f 38 00 74 de 0f 0b 48 8b 47 08 48 8b 37 48 8b 78 40 e9 b2 e5 9a d7 66 90 0f 1f 44 00 00 48 8b 86 80 02 00 00 \<83\> 80 30 10 00 00 01 b8 01 00 00 00 c3 0f 1f 80 00 00 00 00 0f 1f
 kernel: bond0: (slave eni0np1): making interface the new active one
 kernel: RSP: 0018:ffffabde81553b98 EFLAGS: 00010246
 kernel: bond0: (slave eni0np1): bond\_ipsec\_add\_sa\_all: failed to add SA
 kernel:
 kernel: RAX: 0000000000000000 RBX: ffff9eb404e74900 RCX: ffff9eb403d97c60
 kernel: RDX: ffffffffc090de10 RSI: ffff9eb404e74900 RDI: ffff9eb3c5de9e00
 kernel: RBP: ffff9eb3c0a42000 R08: 0000000000000010 R09: 0000000000000014
 kernel: R10: 7974203030303030 R11: 3030303030303030 R12: 0000000000000000
 kernel: R13: ffff9eb3c5de9e00 R14: ffffabde81553cc8 R15: ffff9eb404c53000
 kernel: FS:  00007f2a77a3ad00(0000) GS:ffff9eb43bd00000(0000) knlGS:0000000000000000
 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 kernel: CR2: 0000000000001030 CR3: 00000001122ab000 CR4: 0000000000350ef0
 kernel: bond0: (slave eni0np1): making interface the new active one
 kernel: Call Trace:
 kernel:  \<TASK\>
 kernel:  ? \_\_die+0x1f/0x60
 kernel: bond0: (slave eni0np1): bond\_ipsec\_add\_sa\_all: failed to add SA
 kernel:  ? page\_fault\_oops+0x142/0x4c0
 kernel:  ? do\_user\_addr\_fault+0x65/0x670
 kernel:  ? kvm\_read\_and\_reset\_apf\_flags+0x3b/0x50
 kernel: bond0: (slave eni0np1): making interface the new active one
 kernel:  ? exc\_page\_fault+0x7b/0x180
 kernel:  ? asm\_exc\_page\_fault+0x22/0x30
 kernel:  ? nsim\_bpf\_uninit+0x50/0x50 \[netdevsim\]
 kernel: bond0: (slave eni0np1): bond\_ipsec\_add\_sa\_all: failed to add SA
 kernel:  ? nsim\_ipsec\_offload\_ok+0xc/0x20 \[netdevsim\]
 kernel: bond0: (slave eni0np1): making interface the new active one
 kernel:  bond\_ipsec\_offload\_ok+0x7b/0x90 \[bonding\]
 kernel:  xfrm\_output+0x61/0x3b0
 kernel: bond0: (slave eni0np1): bond\_ipsec\_add\_sa\_all: failed to add SA
 kernel:  ip\_push\_pending\_frames+0x56/0x80

## Affected and fixed versions

- Linux: \>= 18cb261afd7bf50134e5ccacc5ec91ea16efadd4, \< 21816b696c172c19d53a30d45ee005cce246ed21; \>= 18cb261afd7bf50134e5ccacc5ec91ea16efadd4, \< 2f72c6a66bcd7e0187ec085237fee5db27145294; \>= 18cb261afd7bf50134e5ccacc5ec91ea16efadd4, \< 7fa9243391ad2afe798ef4ea2e2851947b95754f; \>= 18cb261afd7bf50134e5ccacc5ec91ea16efadd4, \< 4582d4ff413a07d4ed8a4823c652dc5207760548; \>= 18cb261afd7bf50134e5ccacc5ec91ea16efadd4, \< 89fc1dca79db5c3e7a2d589ecbf8a3661c65f436; \>= 18cb261afd7bf50134e5ccacc5ec91ea16efadd4, \< f8cde9805981c50d0c029063dc7d82821806fc44 (cvelist)
- Linux: 5.9 (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-44989. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-44989.md
Affected: Linux >= 18cb261afd7bf50134e5ccacc5ec91ea16efadd4, < 21816b696c172c19d53a30d45ee005cce246ed21; >= 18cb261afd7bf50134e5ccacc5ec91ea16efadd4, < 2f72c6a66bcd7e0187ec085237fee5db27145294; >= 18cb261afd7bf50134e5ccacc5ec91ea16efadd4, < 7fa9243391ad2afe798ef4ea2e2851947b95754f; >= 18cb261afd7bf50134e5cca…
Fixed in: Linux 21816b696c172c19d53a30d45ee005cce246ed21, Linux 2f72c6a66bcd7e0187ec085237fee5db27145294, Linux 7fa9243391ad2afe798ef4ea2e2851947b95754f, Linux 4582d4ff413a07d4ed8a4823c652dc5207760548, Linux 89fc1dca79db5c3e7a2d589ecbf8a3661c65f436

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

There is no confirmed exploitation: CVE-2024-44989 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-44989?

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

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

Linux \>= 18cb261afd7bf50134e5ccacc5ec91ea16efadd4, \< 21816b696c172c19d53a30d45ee005cce246ed21; \>= 18cb261afd7bf50134e5ccacc5ec91ea16efadd4, \< 2f72c6a66bcd7e0187ec085237fee5db27145294; \>= 18cb261afd7bf50134e5ccacc5ec91ea16efadd4, \< 7fa9243391ad2afe798ef4ea2e2851947b95754f; \>= 18cb261afd7bf50134e5ccacc5ec91ea16efadd4, \< 4582d4ff413a07d4ed8a4823c652dc5207760548; \>= 18cb261afd7bf50134e5ccacc5ec91ea16efadd4, \< 89fc1dca79db5c3e7a2d589ecbf8a3661c65f436; \>= 18cb261afd7bf50134e5ccacc5ec91ea16efadd4, \< f8cde9805981c50d0c029063dc7d82821806fc44; Linux 5.9.

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

Yes. Fixed in Linux 21816b696c172c19d53a30d45ee005cce246ed21, Linux 2f72c6a66bcd7e0187ec085237fee5db27145294, Linux 7fa9243391ad2afe798ef4ea2e2851947b95754f, Linux 4582d4ff413a07d4ed8a4823c652dc5207760548, Linux 89fc1dca79db5c3e7a2d589ecbf8a3661c65f436. No fix listed yet: follow the vendor advisory.

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

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/21816b696c172c19d53a30d45ee005cce246ed21>
- patch: <https://git.kernel.org/stable/c/2f72c6a66bcd7e0187ec085237fee5db27145294>
- patch: <https://git.kernel.org/stable/c/7fa9243391ad2afe798ef4ea2e2851947b95754f>
- patch: <https://git.kernel.org/stable/c/4582d4ff413a07d4ed8a4823c652dc5207760548>
- patch: <https://git.kernel.org/stable/c/89fc1dca79db5c3e7a2d589ecbf8a3661c65f436>
- patch: <https://git.kernel.org/stable/c/f8cde9805981c50d0c029063dc7d82821806fc44>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-355557.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-44989>

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