{"id":"CVE-2024-26739","published":"2024-04-03T17:00:24Z","modified":"2026-08-05T11:26:57Z","title":"net/sched: act_mirred: don't override retval if we already lost the skb","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: act_mirred: don't override retval if we already lost the skb\n\nIf we're redirecting the skb, and haven't called tcf_mirred_forward(),\nyet, we need to tell the core to drop the skb by setting the retcode\nto SHOT. If we have called tcf_mirred_forward(), however, the skb\nis out of our hands and returning SHOT will lead to UaF.\n\nMove the retval override to the error path which actually need it.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00278,"percentile":0.20726,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/0117fe0a4615a7c8d30d6ebcbf87332fbe63e6fd","tags":[]},{"url":"https://git.kernel.org/stable/c/9d3ef89b6a5e9f2e940de2cef3d543be0be8dec5","tags":[]},{"url":"https://git.kernel.org/stable/c/e873e8f7d03a2ee5b77fb1a305c782fed98e2754","tags":[]},{"url":"https://git.kernel.org/stable/c/28cdbbd38a4413b8eff53399b3f872fd4e80db9d","tags":[]},{"url":"https://git.kernel.org/stable/c/f4e294bbdca8ac8757db436fc82214f3882fc7e7","tags":[]},{"url":"https://git.kernel.org/stable/c/166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":[]}],"priority":{"score":9.6,"factors":[{"name":"EPSS percentile","points":4.15},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < 0117fe0a4615a7c8d30d6ebcbf87332fbe63e6fd",">= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < 9d3ef89b6a5e9f2e940de2cef3d543be0be8dec5",">= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < e873e8f7d03a2ee5b77fb1a305c782fed98e2754",">= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < 28cdbbd38a4413b8eff53399b3f872fd4e80db9d",">= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < f4e294bbdca8ac8757db436fc82214f3882fc7e7",">= e5cf1baf92cb785b90390db1c624948e70c8b8bd, < 166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210"]},{"vendor":"Linux","product":"Linux","versions":["4.19"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T15:51:53.930424Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-24001","exploited":false,"provenance":"source"}}