CVE-2024-26740
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
03/04/2024
Last modified:
17/03/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
net/sched: act_mirred: use the backlog for mirred ingress<br />
<br />
The test Davide added in commit ca22da2fbd69 ("act_mirred: use the backlog<br />
for nested calls to mirred ingress") hangs our testing VMs every 10 or so<br />
runs, with the familiar tcp_v4_rcv -> tcp_v4_rcv deadlock reported by<br />
lockdep.<br />
<br />
The problem as previously described by Davide (see Link) is that<br />
if we reverse flow of traffic with the redirect (egress -> ingress)<br />
we may reach the same socket which generated the packet. And we may<br />
still be holding its socket lock. The common solution to such deadlocks<br />
is to put the packet in the Rx backlog, rather than run the Rx path<br />
inline. Do that for all egress -> ingress reversals, not just once<br />
we started to nest mirred calls.<br />
<br />
In the past there was a concern that the backlog indirection will<br />
lead to loss of error reporting / less accurate stats. But the current<br />
workaround does not seem to address the issue.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.10 (including) | 6.6.19 (excluding) |
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.7.7 (excluding) |
cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:* | ||
cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:* | ||
cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:* | ||
cpe:2.3:o:linux:linux_kernel:6.8:rc4:*:*:*:*:*:* | ||
cpe:2.3:o:linux:linux_kernel:6.8:rc5:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/52f671db18823089a02f07efc04efdb2272ddc17
- https://git.kernel.org/stable/c/60ddea1600bc476e0f5e02bce0e29a460ccbf0be
- https://git.kernel.org/stable/c/7c787888d164689da8b1b115f3ef562c1e843af4
- https://git.kernel.org/stable/c/52f671db18823089a02f07efc04efdb2272ddc17
- https://git.kernel.org/stable/c/60ddea1600bc476e0f5e02bce0e29a460ccbf0be
- https://git.kernel.org/stable/c/7c787888d164689da8b1b115f3ef562c1e843af4