CVE-2024-26739

high
Published 2024-09-24 Β· Modified 2024-11-03
CVSS v3
β€”
CVSS v4 NEW
β€”
not yet in upstream
VIR risk
8.0

Description

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.

Predictions

Exploit likelihood
20%
Patch ETA
β€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Red Hat Errata β€” Red Hat Inc. Β· View original β†— Β· Open-Errata-API

Description kernel: net/sched: act_mirred: don't override retval if we already lost the skb CVSS v3: 5.5 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) Errata / fixed releases ProductPackageAdvisoryReleased Red Hat Enterprise Linux 9kernel-0:5.14.0-427.37.1.el9_4RHSA-2024:69972024-09-24T00:00:00Z Red Hat Enterprise Linux 9kernel-0:5.14.0-427.37.1.el9_4RHSA-2024:69972024-09-24T00:00:00Z Red Hat…

Description

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

CVSS v3: 5.5 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)

Errata / fixed releases

ProductPackageAdvisoryReleased
Red Hat Enterprise Linux 9kernel-0:5.14.0-427.37.1.el9_4RHSA-2024:69972024-09-24T00:00:00Z
Red Hat Enterprise Linux 9kernel-0:5.14.0-427.37.1.el9_4RHSA-2024:69972024-09-24T00:00:00Z
Red Hat Enterprise Linux 9.2 Extended Update Supportkernel-0:5.14.0-284.75.1.el9_2RHSA-2024:48232024-07-24T00:00:00Z
Red Hat Enterprise Linux 9.2 Extended Update Supportkernel-rt-0:5.14.0-284.75.1.rt14.360.el9_2RHSA-2024:48312024-07-24T00:00:00Z

Package state

ProductPackageState
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernel-rtAffected

Apply commands

bash fix
Apply RHSA-2024:6997 for Red Hat Enterprise Linux 9
yum update -y kernel
# or:
dnf upgrade -y kernel

Affected

VendorProductVersion
redhatRed Hat Enterprise Linux 8Not affected
redhatRed Hat Enterprise Linux 8Not affected
redhatRed Hat Enterprise Linux 9Affected

OS impact

suse SUSE Affected 1 release
VersionStatusFixed in
β€” Affected β€”
almalinux AlmaLinux Fixed 1 release
VersionStatusFixed in
9 Fixed kernel-64k-devel-matched-5.14.0-427.37.1.el9_4.aarch64.rpm
debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 6.7.7-1
sid Fixed 6.7.7-1
forky Fixed 6.7.7-1
bullseye Fixed 5.10.244-1
bookworm Fixed 6.1.137-1
redhat Red Hat Fixed 1 release
VersionStatusFixed in
9 Fixed β€”

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.