{"id":"CVE-2026-99885","aliases":["CVE-2026-99885"],"related":[],"kind":"vulnerability","state":"published","title":"ipmr: fully initialize the synthetic IP header in ipmr_get_route()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nipmr: fully initialize the synthetic IP header in ipmr_get_route()\n\nFor an unresolved multicast route query, ipmr_get_route() builds a\nsynthetic IP header in the headroom obtained from\nskb_realloc_headroom(), which does not zero the memory it allocates.\nOnly a few fields are initialized, leaving others as stale heap\ncontents.\n\nipmr_cache_report() copies this header into the IGMPMSG_NOCACHE report\nthat is queued to the mroute socket, so a recvmsg() on that socket leaks\nthe uninitialized bytes to user space: the 'tos' field [1] and the 'id'\nand 'frag_off' fields [2].\n\nFix by zeroing the IP header before filling in the few fields that are\nused, so that the entire header is initialized, as in ip6mr_get_route().\n\n[1]\nBUG: KMSAN: kernel-infoleak in _copy_to_iter\n raw_recvmsg\n\nUninit was stored to memory at:\n ipmr_cache_report\n ipmr_cache_unresolved\n ipmr_get_route\n\nUninit was created at:\n pskb_expand_head\n skb_realloc_headroom\n ipmr_get_route\n\nByte 1 of 28 is uninitialized\n\n[2]\nBUG: KMSAN: kernel-infoleak in _copy_to_iter\n raw_recvmsg\n\nUninit was stored to memory at:\n ipmr_cache_report\n ipmr_cache_unresolved\n ipmr_get_route\n\nUninit was created at:\n pskb_expand_head\n skb_realloc_headroom\n ipmr_get_route\n\nBytes 4-7 of 28 are uninitialized","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nipmr: fully initialize the synthetic IP header in ipmr_get_route()\n\nFor an unresolved multicast route query, ipmr_get_route() builds a\nsynthetic IP header in the headroom obtained from\nskb_realloc_headroom(), which does not zero the memory it allocates.\nOnly a few fields are initialized, leaving others as stale heap\ncontents.\n\nipmr_cache_report() copies this header into the IGMPMSG_NOCACHE report\nthat is queued to the mroute socket, so a recvmsg() on that socket leaks\nthe uninitialized bytes to user space: the 'tos' field [1] and the 'id'\nand 'frag_off' fields [2].\n\nFix by zeroing the IP header before filling in the few fields that are\nused, so that the entire header is initialized, as in ip6mr_get_route().\n\n[1]\nBUG: KMSAN: kernel-infoleak in _copy_to_iter\n raw_recvmsg\n\nUninit was stored to memory at:\n ipmr_cache_report\n ipmr_cache_unresolved\n ipmr_get_route\n\nUninit was created at:\n pskb_expand_head\n skb_realloc_headroom\n ipmr_get_route\n\nByte 1 of 28 is uninitialized\n\n[2]\nBUG: KMSAN: kernel-infoleak in _copy_to_iter\n raw_recvmsg\n\nUninit was stored to memory at:\n ipmr_cache_report\n ipmr_cache_unresolved\n ipmr_get_route\n\nUninit was created at:\n pskb_expand_head\n skb_realloc_headroom\n ipmr_get_route\n\nBytes 4-7 of 28 are uninitialized","source":"cvelist"}],"published":"2026-11-30T13:17:58.051Z","modified":"2026-11-30T14:20:23.197Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"800a54a5c21f35df73abed676d9d1c712b9c360c","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"5a521c0ccfc3e27bcebf69db15f7bc498394ff44","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"15fc9cec15eef525e6247deab4955d3c27d1edea","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"fc4eb478ad937163b659e4a5ae17a5f86c8e820a","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"5b2fc8e445c37c1b391413b90192aab25e391cda","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"0cc5459983d1e158dce54e539f7d5c94777c0ac9","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"17463fef04b15bad67789573df58d1a9d7b96f90","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"134351edc28e083c61012b6c69e8e54dd7fa5bcc","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.12","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/800a54a5c21f35df73abed676d9d1c712b9c360c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5a521c0ccfc3e27bcebf69db15f7bc498394ff44","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/15fc9cec15eef525e6247deab4955d3c27d1edea","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fc4eb478ad937163b659e4a5ae17a5f86c8e820a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5b2fc8e445c37c1b391413b90192aab25e391cda","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0cc5459983d1e158dce54e539f7d5c94777c0ac9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/17463fef04b15bad67789573df58d1a9d7b96f90","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/134351edc28e083c61012b6c69e8e54dd7fa5bcc","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99885","url":"https://www.cve.org/CVERecord?id=CVE-2026-99885","licence":"CVE Terms of Use","modified":"2026-11-30T13:17:58.051Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99885","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99885","licence":"Public domain","modified":"2026-11-30T14:20:23.197Z"}],"updatedAt":"2026-11-30T14:33:43.144Z","epss":{"score":0.00185,"percentile":0.08473,"date":"2026-12-01T12:00:22.000Z"}}