Skip to content
High 7.8

Linux kernelのipmrに脆弱性、範囲外読み取りやスタックバッファオーバーフローのおそれ

CVE-2026-99943 First seen on SecPulse

Summary

Linux kernelのIPv4マルチキャスト経路処理(ipmr)に、制御ブロックの誤コピーに起因する脆弱性が見つかりました。IP_RECVOPTSやIP_RETOPTSが有効な環境では、範囲外読み取りやスタックバッファオーバーフローが起きるおそれがあります。影響は6.1.193・6.6.163・6.12.118・6.18.64・7.3.4より前の各版で、これらの修正版への更新が必要です。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Linux kernelのIPv4マルチキャスト経路処理(ipmr)に、制御ブロックの誤コピーに起因する脆弱性が見つかりました。IP_RECVOPTSやIP_RETOPTSが有効な環境では、範囲外読み取りやスタックバッファオーバーフローが起きるおそれがあります。影響は6.1.193・6.6.163・6.12.118・6.18.64・7.3.4より前の各版で、これらの修正版への更新が必要です。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 2.6.12, < 6.1.193→ 6.1.193
≥ 6.2.0, < 6.6.163→ 6.6.163
≥ 6.7.0, < 6.12.118→ 6.12.118
≥ 6.13.0, < 6.18.64→ 6.18.64
≥ 6.19.0, < 7.3.4→ 7.3.4

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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

ipmr: only copy pktinfo to cache reports

ipmr_cache_report() prepares IP_PKTINFO on the original skb. The
ipv4_pktinfo_prepare() helper updates skb->cb and clears the pktinfo fields
when packet info is disabled. Since the skb can continue through the data
path, preserve and restore its original control block around the helper.

The original implementation copies the entire control block to the report
skb. For synthetic RTM_GETROUTE packets, NETLINK_CB data is interpreted as
IPCB by the raw IPv4 receive path. With IP_RECVOPTS or IP_RETOPTS enabled,
corrupted option offsets cause out-of-bounds reads or a stack buffer
overflow. WHOLEPKT and WRVIFWHOLE reports also inherit stale IP option
offsets when their header is prepended.

Clear the report skb control block. Only prepare and copy pktinfo when the
input skb has an IPv4 header. Synthetic route-query skbs use NETLINK_CB,
not IPCB, so leave their report control block zeroed. Restore pkt->cb after
preparing pktinfo for regular IPv4 packets.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details