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 products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <800a54a5c21f35df73abed676d9d1c712b9c360c [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <5a521c0ccfc3e27bcebf69db15f7bc498394ff44 [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <15fc9cec15eef525e6247deab4955d3c27d1edea [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <fc4eb478ad937163b659e4a5ae17a5f86c8e820a [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <5b2fc8e445c37c1b391413b90192aab25e391cda [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <0cc5459983d1e158dce54e539f7d5c94777c0ac9 [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <17463fef04b15bad67789573df58d1a9d7b96f90 [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <134351edc28e083c61012b6c69e8e54dd7fa5bcc [affected] |
| Linux | Linux | 2.6.12 [affected]; 0 to <2.6.12 [unaffected]; 5.10.275 to <=5.10.* [unaffected]; 5.15.226 to <=5.15.* [unaffected]; 6.1.193 to <=6.1.* [unaffected]; 6.6.163 to <=6.6.* [unaffected]; 6.12.117 to <=6.12.* [unaffected]; 6.18.63 to <=6.18.* [unaffected]; 7.3.4 to <=7.3.* [unaffected]; 7.4-rc1 to <=* [unaffected] |
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
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 01 Dec 2026 08:04 UTC.