{"id":"CVE-2024-26739","aliases":["CVE-2024-26739"],"related":[],"kind":"vulnerability","state":"published","title":"net/sched: act_mirred: don't override retval if we already lost the skb","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net/sched: act_mirred: no anula retval si ya perdimos el skb. Si estamos redirigiendo el skb y aún no hemos llamado a tcf_mirred_forward(), necesitamos para decirle al núcleo que suelte el skb configurando el código de retección en SHOT. Sin embargo, si hemos llamado a tcf_mirred_forward(), el skb está fuera de nuestras manos y devolver SHOT conducirá a UaF. Mueva la anulación de recuperación a la ruta de error que realmente la necesita.","source":"nvd"}],"published":"2024-04-03T17:00:24.879Z","modified":"2026-08-05T11:26:57.172Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"e5cf1baf92cb785b90390db1c624948e70c8b8bd","fixed":"0117fe0a4615a7c8d30d6ebcbf87332fbe63e6fd","status":"affected"},{"type":"git","introduced":"e5cf1baf92cb785b90390db1c624948e70c8b8bd","fixed":"9d3ef89b6a5e9f2e940de2cef3d543be0be8dec5","status":"affected"},{"type":"git","introduced":"e5cf1baf92cb785b90390db1c624948e70c8b8bd","fixed":"e873e8f7d03a2ee5b77fb1a305c782fed98e2754","status":"affected"},{"type":"git","introduced":"e5cf1baf92cb785b90390db1c624948e70c8b8bd","fixed":"28cdbbd38a4413b8eff53399b3f872fd4e80db9d","status":"affected"},{"type":"git","introduced":"e5cf1baf92cb785b90390db1c624948e70c8b8bd","fixed":"f4e294bbdca8ac8757db436fc82214f3882fc7e7","status":"affected"},{"type":"git","introduced":"e5cf1baf92cb785b90390db1c624948e70c8b8bd","fixed":"166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.19","status":"unaffected"},{"type":"semver","introduced":"5.10.238","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.182","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.136","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.19","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.7","lastAffected":"6.7.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.8","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"4.19","fixed":"5.10.238"},{"status":"affected","introduced":"5.11","fixed":"5.15.182"},{"status":"affected","introduced":"5.16","fixed":"6.1.136"},{"status":"affected","introduced":"6.2","fixed":"6.6.19"},{"status":"affected","introduced":"6.7","fixed":"6.7.7"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0117fe0a4615a7c8d30d6ebcbf87332fbe63e6fd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9d3ef89b6a5e9f2e940de2cef3d543be0be8dec5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e873e8f7d03a2ee5b77fb1a305c782fed98e2754","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/28cdbbd38a4413b8eff53399b3f872fd4e80db9d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f4e294bbdca8ac8757db436fc82214f3882fc7e7","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T15:51:53.930Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-26739","url":"https://www.cve.org/CVERecord?id=CVE-2024-26739","licence":"CVE Terms of Use","modified":"2026-08-05T11:26:57.172Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-26739","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26739","licence":"Public domain","modified":"2026-08-04T11:17:00.353Z"}],"updatedAt":"2026-11-25T22:58:38.677Z","epss":{"score":0.00278,"percentile":0.21706,"date":"2026-12-01T12:00:22.000Z"}}