{"api_version":"1","generated_at":"2026-12-01T06:50:22+00:00","cve":"CVE-2026-99943","urls":{"html":"https://cve.report/CVE-2026-99943","api":"https://cve.report/api/cve/CVE-2026-99943.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99943","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99943"},"summary":{"title":"ipmr: only copy pktinfo to cache reports","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nipmr: only copy pktinfo to cache reports\n\nipmr_cache_report() prepares IP_PKTINFO on the original skb. The\nipv4_pktinfo_prepare() helper updates skb->cb and clears the pktinfo fields\nwhen packet info is disabled. Since the skb can continue through the data\npath, preserve and restore its original control block around the helper.\n\nThe original implementation copies the entire control block to the report\nskb. For synthetic RTM_GETROUTE packets, NETLINK_CB data is interpreted as\nIPCB by the raw IPv4 receive path. With IP_RECVOPTS or IP_RETOPTS enabled,\ncorrupted option offsets cause out-of-bounds reads or a stack buffer\noverflow. WHOLEPKT and WRVIFWHOLE reports also inherit stale IP option\noffsets when their header is prepended.\n\nClear the report skb control block. Only prepare and copy pktinfo when the\ninput skb has an IPv4 header. Synthetic route-query skbs use NETLINK_CB,\nnot IPCB, so leave their report control block zeroed. Restore pkt->cb after\npreparing pktinfo for regular IPv4 packets.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:20:31","updated_at":"2026-12-01 06:17:58"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/94a6736bb5abe6b2ef38490d0cab19c1c6a7c71f","name":"https://git.kernel.org/stable/c/94a6736bb5abe6b2ef38490d0cab19c1c6a7c71f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/91b7d6abf96793b79f4ac5fd0163a1f15aa9b307","name":"https://git.kernel.org/stable/c/91b7d6abf96793b79f4ac5fd0163a1f15aa9b307","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2a9df39afb332035eceb5d793d18193386e79dc9","name":"https://git.kernel.org/stable/c/2a9df39afb332035eceb5d793d18193386e79dc9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9b003d5c6e84ffe4593f13ef30605519cf55d54a","name":"https://git.kernel.org/stable/c/9b003d5c6e84ffe4593f13ef30605519cf55d54a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1fc0b66a123f25f0a5965a9cbe8312a37d5afeec","name":"https://git.kernel.org/stable/c/1fc0b66a123f25f0a5965a9cbe8312a37d5afeec","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/936d3aa096a9308603aec9a03a8d2e90bdf1509b","name":"https://git.kernel.org/stable/c/936d3aa096a9308603aec9a03a8d2e90bdf1509b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99943","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99943","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 2a9df39afb332035eceb5d793d18193386e79dc9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 91b7d6abf96793b79f4ac5fd0163a1f15aa9b307 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 1fc0b66a123f25f0a5965a9cbe8312a37d5afeec git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 9b003d5c6e84ffe4593f13ef30605519cf55d54a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 936d3aa096a9308603aec9a03a8d2e90bdf1509b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 94a6736bb5abe6b2ef38490d0cab19c1c6a7c71f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.12","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.118 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.64 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/ipv4/ipmr.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"2a9df39afb332035eceb5d793d18193386e79dc9","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"91b7d6abf96793b79f4ac5fd0163a1f15aa9b307","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"1fc0b66a123f25f0a5965a9cbe8312a37d5afeec","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"9b003d5c6e84ffe4593f13ef30605519cf55d54a","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"936d3aa096a9308603aec9a03a8d2e90bdf1509b","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"94a6736bb5abe6b2ef38490d0cab19c1c6a7c71f","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/ipv4/ipmr.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.12"},{"lessThan":"2.6.12","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.118","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.64","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.118","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.64","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"2.6.12","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nipmr: only copy pktinfo to cache reports\n\nipmr_cache_report() prepares IP_PKTINFO on the original skb. The\nipv4_pktinfo_prepare() helper updates skb->cb and clears the pktinfo fields\nwhen packet info is disabled. Since the skb can continue through the data\npath, preserve and restore its original control block around the helper.\n\nThe original implementation copies the entire control block to the report\nskb. For synthetic RTM_GETROUTE packets, NETLINK_CB data is interpreted as\nIPCB by the raw IPv4 receive path. With IP_RECVOPTS or IP_RETOPTS enabled,\ncorrupted option offsets cause out-of-bounds reads or a stack buffer\noverflow. WHOLEPKT and WRVIFWHOLE reports also inherit stale IP option\noffsets when their header is prepended.\n\nClear the report skb control block. Only prepare and copy pktinfo when the\ninput skb has an IPv4 header. Synthetic route-query skbs use NETLINK_CB,\nnot IPCB, so leave their report control block zeroed. Restore pkt->cb after\npreparing pktinfo for regular IPv4 packets."}],"metrics":[{"cvssV3_1":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:L - The bad data is the requester's netlink portid, which ipmr_get_route() stores in NETLINK_CB of a synthetic skb from inet_rtm_getroute(). ipmr_cache_report(IGMPMSG_NOCACHE) then copies that cb into the report skb. Triggering needs a local RTM_GETROUTE plus recvmsg() on a local raw IGMP mroute socket. The remote WHOLEPKT variant needs the daemon to set IP_RETOPTS, which I could not show any daemon does.\nAC:L - The attacker sets every input: portid via netlink bind(nl_pid), which lands on IPCB opt.optlen/rr; RTA_SRC, whose first byte becomes the copy length when rr=11; and the IP_RETOPTS/IP_RECVOPTS sockopts on their own mroute socket. The overflow length and offsets are deterministic, with no race and no outside condition.\nPR:L - Works after unshare -Urn. The raw IGMP socket needs only CAP_NET_RAW in the namespace. MRT_INIT has no extra capability check, and MRT_ADD_VIF is allowed for the socket that called MRT_INIT. That sets MC_FORWARDING/IN_DEV_MFORWARD, so ip_route_input_mc() and rt_fill_info() call ipmr_get_route(). RTM_GETROUTE is unprivileged.\nUI:N - No other user takes part. The attacker sends the route query and reads the corrupted report on the mroute socket they created themselves.\nS:U - A stack overflow in the kernel's own recvmsg cmsg path. This is ordinary kernel memory corruption and does not cross a VM, IOMMU or sandbox boundary.\nC:H - With IP_RECVOPTS, ip_cmsg_recv_opts() copies up to 255 bytes past the 20-byte report header (opt.optlen comes from the portid) to userspace, repeatedly. That is uninitialised skb-head heap contents, which can include kernel pointers. The stack-overflow primitive could also be chained into wider memory reads.\nI:H - With IP_RETOPTS, ip_cmsg_recv_retopts() calls __ip_options_echo(), which does memcpy(dptr, sptr+rr, sptr[rr+1]) into the 40-byte __data of a 56-byte stack optbuf. The copy length comes from RTA_SRC and the content from the attacker's header plus groomable heap memory, an overflow of up to about 215 bytes. ip_options_undo() then writes through corrupted offsets.\nA:H - The stack overflow in ip_cmsg_recv_retopts() trips the stack protector or corrupts saved state and oopses the kernel. Any unprivileged user who can create a user namespace can repeat it at will."}]}],"providerMetadata":{"dateUpdated":"2026-12-01T05:44:23.613Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/2a9df39afb332035eceb5d793d18193386e79dc9"},{"url":"https://git.kernel.org/stable/c/91b7d6abf96793b79f4ac5fd0163a1f15aa9b307"},{"url":"https://git.kernel.org/stable/c/1fc0b66a123f25f0a5965a9cbe8312a37d5afeec"},{"url":"https://git.kernel.org/stable/c/9b003d5c6e84ffe4593f13ef30605519cf55d54a"},{"url":"https://git.kernel.org/stable/c/936d3aa096a9308603aec9a03a8d2e90bdf1509b"},{"url":"https://git.kernel.org/stable/c/94a6736bb5abe6b2ef38490d0cab19c1c6a7c71f"}],"title":"ipmr: only copy pktinfo to cache reports","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99943","datePublished":"2026-11-30T13:18:30.066Z","dateReserved":"2026-09-25T10:25:14.448Z","dateUpdated":"2026-12-01T05:44:23.613Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:20:31","lastModifiedDate":"2026-12-01 06:17:58","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99943","Ordinal":"1","Title":"ipmr: only copy pktinfo to cache reports","CVE":"CVE-2026-99943","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99943","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nipmr: only copy pktinfo to cache reports\n\nipmr_cache_report() prepares IP_PKTINFO on the original skb. The\nipv4_pktinfo_prepare() helper updates skb->cb and clears the pktinfo fields\nwhen packet info is disabled. Since the skb can continue through the data\npath, preserve and restore its original control block around the helper.\n\nThe original implementation copies the entire control block to the report\nskb. For synthetic RTM_GETROUTE packets, NETLINK_CB data is interpreted as\nIPCB by the raw IPv4 receive path. With IP_RECVOPTS or IP_RETOPTS enabled,\ncorrupted option offsets cause out-of-bounds reads or a stack buffer\noverflow. WHOLEPKT and WRVIFWHOLE reports also inherit stale IP option\noffsets when their header is prepended.\n\nClear the report skb control block. Only prepare and copy pktinfo when the\ninput skb has an IPv4 header. Synthetic route-query skbs use NETLINK_CB,\nnot IPCB, so leave their report control block zeroed. Restore pkt->cb after\npreparing pktinfo for regular IPv4 packets.","Type":"Description","Title":"ipmr: only copy pktinfo to cache reports"}]}}}