CVE-2024-38586

r8169: Fix possible ring buffer corruption on fragmented Tx packets.

HIGH
7.8
CVSS Score
Published: June 19, 2024 at 01:37 PM UTC
Updated: June 17, 2026 at 07:40 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: r8169: Fix possible ring buffer corruption on fragmented Tx packets. An issue was found on the RTL8125b when transmitting small fragmented packets, whereby invalid entries were inserted into the transmit ring buffer, subsequently leading to calls to dma_unmap_single() with a null address. This was caused by rtl8169_start_xmit() not noticing changes to nr_frags which may occur when small packets are padded (to work around hardware quirks) in rtl8169_tso_csum_v2(). To fix this, postpone inspecting nr_frags until after any padding has been applied.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.1615.16 ≤ v < 6.1.935.7 ≤ v < 5.10.2215.7 ≤ v < 5.15.1615.7 ≤ v < 6.1.935.7 ≤ v < 6.105.7 ≤ v < 6.6.335.7 ≤ v < 6.8.125.7 ≤ v < 6.9.36.2 ≤ v < 6.6.336.7 ≤ v < 6.8.126.9 ≤ v < 6.9.35.79020845fb5d6bb4876a38fdf1259600e7d9a63d4
Vendor states this is fixed in 078d5b7500d70af2de6b38e226b03f0b932026a6 (fixed)
Vendor states this is fixed in 0c48185a95309556725f818b82120bb74e9c627d (fixed)
Vendor states this is fixed in 54e7a0d111240c92c0f02ceba6eb8f26bf6d6479 (fixed)
Vendor states this is fixed in 61c1c98e2607120ce9c3fa1bf75e6da909712b27 (fixed)
Vendor states this is fixed in 68222d7b4b72aa321135cd453dac37f00ec41fd1 (fixed)
Vendor states this is fixed in b6d21cf40de103d63ae78551098a7c06af8c98dd (fixed)
Vendor states this is fixed in c71e3a5cffd5309d7f84444df03d5b72600cc417 (fixed)
Vendor states this is fixed in 5.10.221 (unaffected)
Vendor states this is fixed in 5.15.161 (unaffected)
Vendor states this is fixed in 5.7 (unaffected)
Vendor states this is fixed in 6.1.93 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.6.33 (unaffected)
Vendor states this is fixed in 6.8.12 (unaffected)
Vendor states this is fixed in 6.9.3 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/078d5b7500d70af2de6b38e226b03f0b932026a6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0c48185a95309556725f818b82120bb74e9c627d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/54e7a0d111240c92c0f02ceba6eb8f26bf6d6479
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/61c1c98e2607120ce9c3fa1bf75e6da909712b27
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/68222d7b4b72aa321135cd453dac37f00ec41fd1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b6d21cf40de103d63ae78551098a7c06af8c98dd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c71e3a5cffd5309d7f84444df03d5b72600cc417

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card