{"id":"CVE-2026-53014","state":"PUBLISHED","title":"net/sched: act_mirred: fix wrong device for mac_header_xmit check in tcf_blockcast_redir","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: act_mirred: fix wrong device for mac_header_xmit check in tcf_blockcast_redir\n\nIn tcf_blockcast_redir(), when iterating block ports to redirect\npackets to multiple devices, the mac_header_xmit flag is queried\nfrom the wrong device. The loop sends to dev_prev but queries\ndev_is_mac_header_xmit(dev) — which is the NEXT device in the\niteration, not the one being sent to.\n\nThis causes tcf_mirred_to_dev() to make incorrect decisions about\nwhether to push or pull the MAC header. When the block contains\nmixed device types (e.g., an ethernet veth and a tunnel device),\nintermediate devices get the wrong mac_header_xmit flag, leading to\nskb header corruption. In the worst case, skb_push_rcsum with an\nincorrect mac_len can exhaust headroom and panic.\n\nThe last device in the loop is handled correctly (line 365-366 uses\ndev_is_mac_header_xmit(dev_prev)), confirming this is a copy-paste\noversight for the intermediate devices.\n\nFix by using dev_prev instead of dev for the mac_header_xmit query,\nconsistent with the device actually being sent to.","publishedAt":"2026-06-24T16:29:24.605Z","updatedAt":"2026-06-24T16:29:24.605Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"42f39036cda808d3de243192a2cf5125f12f3047","status":"affected","lessThan":"8fda5174286119addd28473fb2ec5bdf521c05a8","versionType":"git"},{"version":"42f39036cda808d3de243192a2cf5125f12f3047","status":"affected","lessThan":"7db3e4e03032261b1b519341123fc30d995478ca","versionType":"git"},{"version":"42f39036cda808d3de243192a2cf5125f12f3047","status":"affected","lessThan":"4764953c4b47585eb72797b216b63a831dc0c7e6","versionType":"git"},{"version":"42f39036cda808d3de243192a2cf5125f12f3047","status":"affected","lessThan":"4510d140524ca7d6e772db962e013f26f09a63b1","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/sched/act_mirred.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.12.91","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.33","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.10","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/sched/act_mirred.c"]}],"references":["https://git.kernel.org/stable/c/8fda5174286119addd28473fb2ec5bdf521c05a8","https://git.kernel.org/stable/c/7db3e4e03032261b1b519341123fc30d995478ca","https://git.kernel.org/stable/c/4764953c4b47585eb72797b216b63a831dc0c7e6","https://git.kernel.org/stable/c/4510d140524ca7d6e772db962e013f26f09a63b1"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/53xxx/CVE-2026-53014.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53014","state":"PUBLISHED","datePublished":"2026-06-24T16:29:24.605Z","dateUpdated":"2026-06-24T16:29:24.605Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-06-09T07:44:35.378Z"},"containers":{"cna":{"title":"net/sched: act_mirred: fix wrong device for mac_header_xmit check in tcf_blockcast_redir","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: act_mirred: fix wrong device for mac_header_xmit check in tcf_blockcast_redir\n\nIn tcf_blockcast_redir(), when iterating block ports to redirect\npackets to multiple devices, the mac_header_xmit flag is queried\nfrom the wrong device. The loop sends to dev_prev but queries\ndev_is_mac_header_xmit(dev) — which is the NEXT device in the\niteration, not the one being sent to.\n\nThis causes tcf_mirred_to_dev() to make incorrect decisions about\nwhether to push or pull the MAC header. When the block contains\nmixed device types (e.g., an ethernet veth and a tunnel device),\nintermediate devices get the wrong mac_header_xmit flag, leading to\nskb header corruption. In the worst case, skb_push_rcsum with an\nincorrect mac_len can exhaust headroom and panic.\n\nThe last device in the loop is handled correctly (line 365-366 uses\ndev_is_mac_header_xmit(dev_prev)), confirming this is a copy-paste\noversight for the intermediate devices.\n\nFix by using dev_prev instead of dev for the mac_header_xmit query,\nconsistent with the device actually being sent to."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"42f39036cda808d3de243192a2cf5125f12f3047","status":"affected","lessThan":"8fda5174286119addd28473fb2ec5bdf521c05a8","versionType":"git"},{"version":"42f39036cda808d3de243192a2cf5125f12f3047","status":"affected","lessThan":"7db3e4e03032261b1b519341123fc30d995478ca","versionType":"git"},{"version":"42f39036cda808d3de243192a2cf5125f12f3047","status":"affected","lessThan":"4764953c4b47585eb72797b216b63a831dc0c7e6","versionType":"git"},{"version":"42f39036cda808d3de243192a2cf5125f12f3047","status":"affected","lessThan":"4510d140524ca7d6e772db962e013f26f09a63b1","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/sched/act_mirred.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.12.91","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.33","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.10","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/sched/act_mirred.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/8fda5174286119addd28473fb2ec5bdf521c05a8"},{"url":"https://git.kernel.org/stable/c/7db3e4e03032261b1b519341123fc30d995478ca"},{"url":"https://git.kernel.org/stable/c/4764953c4b47585eb72797b216b63a831dc0c7e6"},{"url":"https://git.kernel.org/stable/c/4510d140524ca7d6e772db962e013f26f09a63b1"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-06-24T16:29:24.605Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.12.91"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.18.33"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.0.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}