CVEvulnerability

CVE-2024-26739

7.8 HIGH Published 2024-04-03 Modified 2026-08-04 Official page ↗
Status
Modified
Published
2024-04-03
Last modified
2026-08-04
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-416

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.

Affected configurations

• 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

Related

Weakness · CWE (1)

References