CVE-2024-26739: net/sched: act_mirred: don't override retval if we already lost the skb

Published Apr 3, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net/sched: actmirred: don't override retval if we already lost the skb

If we're redirecting the skb, and haven't called tcfmirredforward(), yet, we need to tell the core to drop the skb by setting the retcode to SHOT. If we have called tcfmirredforward(), 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.

Other sources

In the Linux kernel, the following vulnerability has been resolved:

net/sched: actmirred: don't override retval if we already lost the skb

The Linux kernel CVE team has assigned CVE-2024-26739 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024040300-CVE-2024-26739-170e@gregkh/T

Red Hat

Affected Software

15 affected componentsFixes available
redhat/kernel<6.6.19
6.6.19
redhat/kernel<6.7.7
6.7.7
redhat/kernel<6.8
6.8
Debian Debian Linux=11.0
Linux Linux kernel>=4.19<5.10.238
Linux Linux kernel>=5.11<5.15.182
Linux Linux kernel>=5.16<6.1.136
Linux Linux kernel>=6.2<6.6.19
Linux Linux kernel>=6.7<6.7.7
Linux Linux kernel=6.8-rc1
Linux Linux kernel=6.8-rc2
Linux Linux kernel=6.8-rc3
Linux Linux kernel=6.8-rc4
Microsoft cbl2 kernel 5.15.182.1-1
Microsoft cbl2 kernel 5.15.182.1-1<5.15.182.1-1
5.15.182.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.6.19
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.7.7
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.8
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 5.15.182.1-1

Event History

Apr 3, 2024
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
DescriptionSeverity
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 4, 2024
Data Sourced
via Red Hat·01:32 AM
DescriptionSeverityAffected Software
Sep 4, 2025
Data Sourced
via Microsoft·02:34 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·02:34 AM
Affected Software
Updated
via Microsoft·02:34 AM
DescriptionSeverity
Updated
via Microsoft·02:34 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2024-26739?

CVE-2024-26739 has been classified as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2024-26739?

To fix CVE-2024-26739, update your kernel to versions 6.6.19, 6.7.7, or 6.8.

3

Which Linux kernel versions are affected by CVE-2024-26739?

CVE-2024-26739 affects Linux kernel versions prior to 6.6.19, 6.7.7, and all pre-release versions of 6.8.

4

What components are vulnerable in CVE-2024-26739?

The vulnerable component in CVE-2024-26739 is the net/sched function in the Linux kernel.

5

Is there a workaround for CVE-2024-26739?

Currently, the recommended solution for CVE-2024-26739 is to apply the available patches by updating the kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203