# CVE-2026-99885: ipmr: fully initialize the synthetic IP header in ipmr_get_route()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-11-30T13:17:58.051Z
- Modified: 2026-11-30T14:20:23.197Z
- Assigned by: Linux

## Description

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

ipmr: fully initialize the synthetic IP header in ipmr_get_route()

For an unresolved multicast route query, ipmr_get_route() builds a
synthetic IP header in the headroom obtained from
skb_realloc_headroom(), which does not zero the memory it allocates.
Only a few fields are initialized, leaving others as stale heap
contents.

ipmr_cache_report() copies this header into the IGMPMSG_NOCACHE report
that is queued to the mroute socket, so a recvmsg() on that socket leaks
the uninitialized bytes to user space: the 'tos' field [1] and the 'id'
and 'frag_off' fields [2].

Fix by zeroing the IP header before filling in the few fields that are
used, so that the entire header is initialized, as in ip6mr_get_route().

[1]
BUG: KMSAN: kernel-infoleak in _copy_to_iter
 raw_recvmsg

Uninit was stored to memory at:
 ipmr_cache_report
 ipmr_cache_unresolved
 ipmr_get_route

Uninit was created at:
 pskb_expand_head
 skb_realloc_headroom
 ipmr_get_route

Byte 1 of 28 is uninitialized

[2]
BUG: KMSAN: kernel-infoleak in _copy_to_iter
 raw_recvmsg

Uninit was stored to memory at:
 ipmr_cache_report
 ipmr_cache_unresolved
 ipmr_get_route

Uninit was created at:
 pskb_expand_head
 skb_realloc_headroom
 ipmr_get_route

Bytes 4-7 of 28 are uninitialized

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 800a54a5c21f35df73abed676d9d1c712b9c360c; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5a521c0ccfc3e27bcebf69db15f7bc498394ff44; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 15fc9cec15eef525e6247deab4955d3c27d1edea; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before fc4eb478ad937163b659e4a5ae17a5f86c8e820a; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5b2fc8e445c37c1b391413b90192aab25e391cda; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 0cc5459983d1e158dce54e539f7d5c94777c0ac9; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 17463fef04b15bad67789573df58d1a9d7b96f90; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 134351edc28e083c61012b6c69e8e54dd7fa5bcc; 2.6.12 (not affected: before 2.6.12; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/800a54a5c21f35df73abed676d9d1c712b9c360c>
- <https://git.kernel.org/stable/c/5a521c0ccfc3e27bcebf69db15f7bc498394ff44>
- <https://git.kernel.org/stable/c/15fc9cec15eef525e6247deab4955d3c27d1edea>
- <https://git.kernel.org/stable/c/fc4eb478ad937163b659e4a5ae17a5f86c8e820a>
- <https://git.kernel.org/stable/c/5b2fc8e445c37c1b391413b90192aab25e391cda>
- <https://git.kernel.org/stable/c/0cc5459983d1e158dce54e539f7d5c94777c0ac9>
- <https://git.kernel.org/stable/c/17463fef04b15bad67789573df58d1a9d7b96f90>
- <https://git.kernel.org/stable/c/134351edc28e083c61012b6c69e8e54dd7fa5bcc>

## Sources

- CVE List: [CVE-2026-99885](https://www.cve.org/CVERecord?id=CVE-2026-99885), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-99885](https://nvd.nist.gov/vuln/detail/CVE-2026-99885), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-99885 · Whole record: https://cve.day/CVE-2026-99885.json · Rebuilt by cve.day 2026-11-30T14:33:43.144Z
