# CVE-2024-26740: net/sched: act\_mirred: use the backlog for mirred ingress

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2024-04-03T17:00:25.534Z
- **Modified:** 2026-10-30T13:17:21.640Z

## Who should check

- Anyone running Linux \>= 53592b3640019f2834701093e38272fdfd367ad8, \< ac5c2ed6394c85f84877b1a1eec61cf004f90f4f; \>= 53592b3640019f2834701093e38272fdfd367ad8, \< 7c787888d164689da8b1b115f3ef562c1e843af4; \>= 53592b3640019f2834701093e38272fdfd367ad8, \< 60ddea1600bc476e0f5e02bce0e29a460ccbf0be; \>= 53592b3640019f2834701093e38272fdfd367ad8, \< 52f671db18823089a02f07efc04efdb2272ddc17
- Anyone running Linux 4.10

## Description

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

net/sched: act\_mirred: use the backlog for mirred ingress

The test Davide added in commit ca22da2fbd69 ("act\_mirred: use the backlog
for nested calls to mirred ingress") hangs our testing VMs every 10 or so
runs, with the familiar tcp\_v4\_rcv -\> tcp\_v4\_rcv deadlock reported by
lockdep.

The problem as previously described by Davide (see Link) is that
if we reverse flow of traffic with the redirect (egress -\> ingress)
we may reach the same socket which generated the packet. And we may
still be holding its socket lock. The common solution to such deadlocks
is to put the packet in the Rx backlog, rather than run the Rx path
inline. Do that for all egress -\> ingress reversals, not just once
we started to nest mirred calls.

In the past there was a concern that the backlog indirection will
lead to loss of error reporting / less accurate stats. But the current
workaround does not seem to address the issue.

## Affected and fixed versions

- Linux: \>= 53592b3640019f2834701093e38272fdfd367ad8, \< ac5c2ed6394c85f84877b1a1eec61cf004f90f4f; \>= 53592b3640019f2834701093e38272fdfd367ad8, \< 7c787888d164689da8b1b115f3ef562c1e843af4; \>= 53592b3640019f2834701093e38272fdfd367ad8, \< 60ddea1600bc476e0f5e02bce0e29a460ccbf0be; \>= 53592b3640019f2834701093e38272fdfd367ad8, \< 52f671db18823089a02f07efc04efdb2272ddc17 (cvelist)
- Linux: 4.10 (cvelist)

## Mitigation

- Upgrade Linux to 52f671db18823089a02f07efc04efdb2272ddc17 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-26740. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26740.md
Affected: Linux >= 53592b3640019f2834701093e38272fdfd367ad8, < ac5c2ed6394c85f84877b1a1eec61cf004f90f4f; >= 53592b3640019f2834701093e38272fdfd367ad8, < 7c787888d164689da8b1b115f3ef562c1e843af4; >= 53592b3640019f2834701093e38272fdfd367ad8, < 60ddea1600bc476e0f5e02bce0e29a460ccbf0be; >= 53592b3640019f283470109…
Fixed in: Linux 7c787888d164689da8b1b115f3ef562c1e843af4, Linux 60ddea1600bc476e0f5e02bce0e29a460ccbf0be, Linux 52f671db18823089a02f07efc04efdb2272ddc17

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-26740 being exploited?

There is no confirmed exploitation: CVE-2024-26740 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-26740?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-26740?

Linux \>= 53592b3640019f2834701093e38272fdfd367ad8, \< ac5c2ed6394c85f84877b1a1eec61cf004f90f4f; \>= 53592b3640019f2834701093e38272fdfd367ad8, \< 7c787888d164689da8b1b115f3ef562c1e843af4; \>= 53592b3640019f2834701093e38272fdfd367ad8, \< 60ddea1600bc476e0f5e02bce0e29a460ccbf0be; \>= 53592b3640019f2834701093e38272fdfd367ad8, \< 52f671db18823089a02f07efc04efdb2272ddc17; Linux 4.10.

### Is there a fix for CVE-2024-26740?

Yes. Fixed in Linux 7c787888d164689da8b1b115f3ef562c1e843af4, Linux 60ddea1600bc476e0f5e02bce0e29a460ccbf0be, Linux 52f671db18823089a02f07efc04efdb2272ddc17. Upgrade Linux to 52f671db18823089a02f07efc04efdb2272ddc17 or later.

### How do I check if I'm affected by CVE-2024-26740?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/7c787888d164689da8b1b115f3ef562c1e843af4>
- patch: <https://git.kernel.org/stable/c/60ddea1600bc476e0f5e02bce0e29a460ccbf0be>
- patch: <https://git.kernel.org/stable/c/52f671db18823089a02f07efc04efdb2272ddc17>
- other: <https://git.kernel.org/stable/c/ac5c2ed6394c85f84877b1a1eec61cf004f90f4f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-26740>

HTML: <https://flawdb.com/CVE-2024-26740> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-26740>
