CVE-2026-99885
JSON

Not scored

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

Severity
Not scored
Exploit likelihood
0.18% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
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

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 1 more
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.*
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-99885 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-99885 changed 2026-11-30Public domain