Review reviewHigh

CVE-2024-26739

Linux Linux, debian linux, linux kernel

In the Linux kernel, the following vulnerability has been resolved: net/sched: act_mirred: don't override retval if we already lost the skb If we're redirecting the skb, and haven't called tcf_mirred_forward(), yet, we need to tell the core to drop the skb by setting the retcode to SHOT. If we have called tcf_mirred_forward(), however, the skb is out of our hands and returning SHOT will lead to UaF. Move the retval override to the error path which actually need it.

CVSS
7.8
EPSS
0.28%
19.7% percentile
CISA KEV
Not listed
Published
2024.04.04
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.28%
Technical severityCVSS 7.8

Vulnerability overview

In the Linux kernel, the following vulnerability has been resolved: net/sched: act_mirred: don't override retval if we already lost the skb If we're redirecting the skb, and haven't called tcf_mirred_forward(), yet, we need to tell the core to drop the skb by setting the retcode to SHOT. If we have called tcf_mirred_forward(), however, the skb is out of our hands and returning SHOT will lead to UaF. Move the retval override to the error path which actually need it.

Affected product and versions

Product
Linux Linux, debian linux, linux kernel
Affected versions
>= e5cf1baf92cb785b90390db1c624948e70c8b8bd < 0117fe0a4615a7c8d30d6ebcbf87332fbe63e6fd, >= e5cf1baf92cb785b90390db1c624948e70c8b8bd < 9d3ef89b6a5e9f2e940de2cef3d543be0be8dec5, >= e5cf1baf92cb785b90390db1c624948e70c8b8bd < e873e8f7d03a2ee5b77fb1a305c782fed98e2754, >= e5cf1baf92cb785b90390db1c624948e70c8b8bd < 28cdbbd38a4413b8eff53399b3f872fd4e80db9d, >= e5cf1baf92cb785b90390db1c624948e70c8b8bd < f4e294bbdca8ac8757db436fc82214f3882fc7e7, >= e5cf1baf92cb785b90390db1c624948e70c8b8bd < 166c2c8a6a4dc2e4ceba9e10cfe81c3e469e3210, >= 4.19, 11.0, >= 4.19 < 5.10.238, >= 5.11 < 5.15.182, >= 5.16 < 6.1.136, >= 6.2 < 6.6.19, >= 6.7 < 6.7.7, 6.8
Fixed versions
5.10.238, 5.15.182, 6.1.136, 6.6.19, 6.7.7

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, debian linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-416
CVE-2024-26739 — Linux Linux, debian linux, linux kernel | SECUFOCUS NOW