CVE Catalog

CVE-2024-26739

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.28%

20th percentile - higher than 20% of all known CVEs

Summary

In the Linux kernel, the net/sched module (act_mirred) has an issue with overriding the return value if the skb is already lost. If redirecting the skb and tcf_mirred_forward() has not been called, the retcode should be set to SHOT to drop the skb. If tcf_mirred_forward() has been called, the skb is out of control and returning SHOT leads to use-after-free.

Risk Assessment

Use-after-free can lead to system crashes or unexpected behavior, potentially affecting network stability.

Recommendation

It is recommended to update the Linux kernel to a version with the fix that moves the retval override to the error path.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS