{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-26739","id":"CVE-2024-26739","title":"net/sched: act_mirred: don't override retval if we already lost the skb","description":"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 ","descriptionLong":"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.","published":"2024-04-03T17:00:24.879Z","updated":"2026-10-28T02:31:13.495641513Z","reserved":"2024-02-19T14:20:24.166Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e5cf1baf92cb785b90390db1c624948e70c8b8bd","lessThan":"0117fe0a4615a7c8d30d6ebcbf87332fbe63e6fd","status":"affected","versionType":"git"},{"version":"e5cf1baf92cb785b90390db1c624948e70c8b8bd","lessThan":"9d3ef89b6a5e9f2e940de2cef3d543be0be8dec5","status":"affected","versionType":"git"},{"version":"e5cf1baf92cb785b90390db1c624948e70c8b8bd","lessThan":"e873e8f7d03a2ee5b77fb1a305c782fed98e2754","status":"affected","versionType":"git"},{"version":"e5cf1baf92cb785b90390db1c624948e70c8b8bd","lessThan":"28cdbbd38a4413b8eff53399b3f872fd4e80db9d","status":"affected","versionType":"git"},{"version":"e5cf1baf92cb785b90390db1c624948e70c8b8bd","lessThan":"f4e294bbdca8ac8757db436fc82214f3882fc7e7","status":"affected","versionType":"git"},{"version":"e5cf1baf92cb785b90390db1c624948e70c8b8bd","lessThan":"166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.19","status":"affected"},{"version":"0","lessThan":"4.19","status":"unaffected","versionType":"semver"},{"version":"5.10.238","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.182","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.136","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.19","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.7.7","lessThanOrEqual":"6.7.*","status":"unaffected","versionType":"semver"},{"version":"6.8","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/0117fe0a4615a7c8d30d6ebcbf87332fbe63e6fd","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9d3ef89b6a5e9f2e940de2cef3d543be0be8dec5","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e873e8f7d03a2ee5b77fb1a305c782fed98e2754","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/28cdbbd38a4413b8eff53399b3f872fd4e80db9d","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/f4e294bbdca8ac8757db436fc82214f3882fc7e7","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210","tags":["x_transferred","Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26739.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26739","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00278,"epssPercentile":0.20601,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-26739","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26739","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-26739","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-26739","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}