# CVE-2024-26626: ipmr: fix kernel panic when forwarding mcast packets

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; 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:** Remote, no login needed
- **EPSS:** 0.89% (percentile 57, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-03-06T06:45:33.826Z
- **Modified:** 2026-08-05T11:26:22.586Z

## Who should check

- Anyone running Linux \>= f69365e3a7cab819099249c50b39f4450fdddc60, \< d2f1b7fe74afd66298dbb3c7b39e7b62e4df1724; \>= 7b32e63f881432bf30f282328b8e64c6aa494ba2, \< dcaafdba6c6162bb49f1192850bc3bbc3707738c; \>= 7d97858e21fbc472acda7d908357c5fe54a8e439, \< 2e8c9ae40adda2be1ba41c05fd3cd1e61cce3207; \>= bb7403655b3c3eb245d0ee330047cd3e20b3c4af, \< e622502c310f1069fd9f41cd38210553115f610a
- Anyone running Linux \>= 6.1.75, \< 6.1.77; \>= 6.6.14, \< 6.6.16; \>= 6.7.2, \< 6.7.4

## Description

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

ipmr: fix kernel panic when forwarding mcast packets

The stacktrace was:
\[   86.305548\] BUG: kernel NULL pointer dereference, address: 0000000000000092
\[   86.306815\] \#PF: supervisor read access in kernel mode
\[   86.307717\] \#PF: error\_code(0x0000) - not-present page
\[   86.308624\] PGD 0 P4D 0
\[   86.309091\] Oops: 0000 \[\#1\] PREEMPT SMP NOPTI
\[   86.309883\] CPU: 2 PID: 3139 Comm: pimd Tainted: G     U             6.8.0-6wind-knet \#1
\[   86.311027\] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.11.1-0-g0551a4be2c-prebuilt.qemu-project.org 04/01/2014
\[   86.312728\] RIP: 0010:ip\_mr\_forward (/build/work/knet/net/ipv4/ipmr.c:1985)
\[ 86.313399\] Code: f9 1f 0f 87 85 03 00 00 48 8d 04 5b 48 8d 04 83 49 8d 44 c5 00 48 8b 40 70 48 39 c2 0f 84 d9 00 00 00 49 8b 46 58 48 83 e0 fe \<80\> b8 92 00 00 00 00 0f 84 55 ff ff ff 49 83 47 38 01 45 85 e4 0f
\[   86.316565\] RSP: 0018:ffffad21c0583ae0 EFLAGS: 00010246
\[   86.317497\] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
\[   86.318596\] RDX: ffff9559cb46c000 RSI: 0000000000000000 RDI: 0000000000000000
\[   86.319627\] RBP: ffffad21c0583b30 R08: 0000000000000000 R09: 0000000000000000
\[   86.320650\] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001
\[   86.321672\] R13: ffff9559c093a000 R14: ffff9559cc00b800 R15: ffff9559c09c1d80
\[   86.322873\] FS:  00007f85db661980(0000) GS:ffff955a79d00000(0000) knlGS:0000000000000000
\[   86.324291\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[   86.325314\] CR2: 0000000000000092 CR3: 000000002f13a000 CR4: 0000000000350ef0
\[   86.326589\] Call Trace:
\[   86.327036\]  \<TASK\>
\[   86.327434\] ? show\_regs (/build/work/knet/arch/x86/kernel/dumpstack.c:479)
\[   86.328049\] ? \_\_die (/build/work/knet/arch/x86/kernel/dumpstack.c:421 /build/work/knet/arch/x86/kernel/dumpstack.c:434)
\[   86.328508\] ? page\_fault\_oops (/build/work/knet/arch/x86/mm/fault.c:707)
\[   86.329107\] ? do\_user\_addr\_fault (/build/work/knet/arch/x86/mm/fault.c:1264)
\[   86.329756\] ? srso\_return\_thunk (/build/work/knet/arch/x86/lib/retpoline.S:223)
\[   86.330350\] ? \_\_irq\_work\_queue\_local (/build/work/knet/kernel/irq\_work.c:111 (discriminator 1))
\[   86.331013\] ? exc\_page\_fault (/build/work/knet/./arch/x86/include/asm/paravirt.h:693 /build/work/knet/arch/x86/mm/fault.c:1515 /build/work/knet/arch/x86/mm/fault.c:1563)
\[   86.331702\] ? asm\_exc\_page\_fault (/build/work/knet/./arch/x86/include/asm/idtentry.h:570)
\[   86.332468\] ? ip\_mr\_forward (/build/work/knet/net/ipv4/ipmr.c:1985)
\[   86.333183\] ? srso\_return\_thunk (/build/work/knet/arch/x86/lib/retpoline.S:223)
\[   86.333920\] ipmr\_mfc\_add (/build/work/knet/./include/linux/rcupdate.h:782 /build/work/knet/net/ipv4/ipmr.c:1009 /build/work/knet/net/ipv4/ipmr.c:1273)
\[   86.334583\] ? \_\_pfx\_ipmr\_hash\_cmp (/build/work/knet/net/ipv4/ipmr.c:363)
\[   86.335357\] ip\_mroute\_setsockopt (/build/work/knet/net/ipv4/ipmr.c:1470)
\[   86.336135\] ? srso\_return\_thunk (/build/work/knet/arch/x86/lib/retpoline.S:223)
\[   86.336854\] ? ip\_mroute\_setsockopt (/build/work/knet/net/ipv4/ipmr.c:1470)
\[   86.337679\] do\_ip\_setsockopt (/build/work/knet/net/ipv4/ip\_sockglue.c:944)
\[   86.338408\] ? \_\_pfx\_unix\_stream\_read\_actor (/build/work/knet/net/unix/af\_unix.c:2862)
\[   86.339232\] ? srso\_return\_thunk (/build/work/knet/arch/x86/lib/retpoline.S:223)
\[   86.339809\] ? aa\_sk\_perm (/build/work/knet/security/apparmor/include/cred.h:153 /build/work/knet/security/apparmor/net.c:181)
\[   86.340342\] ip\_setsockopt (/build/work/knet/net/ipv4/ip\_sockglue.c:1415)
\[   86.340859\] raw\_setsockopt (/build/work/knet/net/ipv4/raw.c:836)
\[   86.341408\] ? security\_socket\_setsockopt (/build/work/knet/security/security.c:4561 (discriminator 13))
\[   86.342116\] sock\_common\_setsockopt (/build/work/knet/net/core/sock.c:3716)
\[   86.342747\] do\_sock\_setsockopt (/build/work/knet/net/socket.c:2313)
\[   86.343363\] \_\_sys\_setsockopt (/build/work/knet/./include/linux/file.h:32 /build/work/kn
---truncated---

## Affected and fixed versions

- Linux: \>= f69365e3a7cab819099249c50b39f4450fdddc60, \< d2f1b7fe74afd66298dbb3c7b39e7b62e4df1724; \>= 7b32e63f881432bf30f282328b8e64c6aa494ba2, \< dcaafdba6c6162bb49f1192850bc3bbc3707738c; \>= 7d97858e21fbc472acda7d908357c5fe54a8e439, \< 2e8c9ae40adda2be1ba41c05fd3cd1e61cce3207; \>= bb7403655b3c3eb245d0ee330047cd3e20b3c4af, \< e622502c310f1069fd9f41cd38210553115f610a (cvelist)
- Linux: \>= 6.1.75, \< 6.1.77; \>= 6.6.14, \< 6.6.16; \>= 6.7.2, \< 6.7.4 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2024-26626.md
Affected: Linux >= f69365e3a7cab819099249c50b39f4450fdddc60, < d2f1b7fe74afd66298dbb3c7b39e7b62e4df1724; >= 7b32e63f881432bf30f282328b8e64c6aa494ba2, < dcaafdba6c6162bb49f1192850bc3bbc3707738c; >= 7d97858e21fbc472acda7d908357c5fe54a8e439, < 2e8c9ae40adda2be1ba41c05fd3cd1e61cce3207; >= bb7403655b3c3eb245d0ee3…
Fixed in: Linux 2e8c9ae40adda2be1ba41c05fd3cd1e61cce3207, Linux 6.1.77, Linux 6.6.16, Linux 6.7.4

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

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

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

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= f69365e3a7cab819099249c50b39f4450fdddc60, \< d2f1b7fe74afd66298dbb3c7b39e7b62e4df1724; \>= 7b32e63f881432bf30f282328b8e64c6aa494ba2, \< dcaafdba6c6162bb49f1192850bc3bbc3707738c; \>= 7d97858e21fbc472acda7d908357c5fe54a8e439, \< 2e8c9ae40adda2be1ba41c05fd3cd1e61cce3207; \>= bb7403655b3c3eb245d0ee330047cd3e20b3c4af, \< e622502c310f1069fd9f41cd38210553115f610a; Linux \>= 6.1.75, \< 6.1.77; \>= 6.6.14, \< 6.6.16; \>= 6.7.2, \< 6.7.4.

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

Yes. Fixed in Linux 2e8c9ae40adda2be1ba41c05fd3cd1e61cce3207, Linux 6.1.77, Linux 6.6.16, Linux 6.7.4. Upgrade Linux to 6.7.4 or later.

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

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/d2f1b7fe74afd66298dbb3c7b39e7b62e4df1724>
- patch: <https://git.kernel.org/stable/c/dcaafdba6c6162bb49f1192850bc3bbc3707738c>
- patch: <https://git.kernel.org/stable/c/2e8c9ae40adda2be1ba41c05fd3cd1e61cce3207>
- patch: <https://git.kernel.org/stable/c/e622502c310f1069fd9f41cd38210553115f610a>

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

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