Kernel memory corruption via stale fragment count
Published Jun 19, 2024 · Updated May 11, 2026
Out-of-bounds write in the Linux r8169 driver allows local users to corrupt the transmit ring via small fragmented packets. rtl8169_start_xmit reads nr_frags before rtl8169_tso_csum_v2 pads a short packet, then builds descriptors from a stale fragment count and later passes a null DMA address to dma_unmap_single. Exploitation requires an RTL8125b interface and local packet transmission, exposing kernel memory corruption and service interruption.
Summary
What happened
Out-of-bounds write in the Linux r8169 driver allows local users to corrupt the transmit ring via small fragmented packets. rtl8169_start_xmit reads nr_frags before rtl8169_tso_csum_v2 pads a short packet, then builds descriptors from a stale fragment count and later passes a null DMA address to dma_unmap_single. Exploitation requires an RTL8125b interface and local packet transmission, exposing kernel memory corruption and service interruption.
The record
- CVE
- CVE-2024-38586
- Published
- Jun 19, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-787, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 19, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.7
- Affected versionversion=9020845fb5d6bb4876a38fdf1259600e7d9a63d4 <078d5b7500d70af2de6b38e226b03f0b932026a6
- Affected versionversion=9020845fb5d6bb4876a38fdf1259600e7d9a63d4 <0c48185a95309556725f818b82120bb74e9c627d
- Affected versionversion=9020845fb5d6bb4876a38fdf1259600e7d9a63d4 <54e7a0d111240c92c0f02ceba6eb8f26bf6d6479
- Affected versionversion=9020845fb5d6bb4876a38fdf1259600e7d9a63d4 <61c1c98e2607120ce9c3fa1bf75e6da909712b27
- Affected versionversion=9020845fb5d6bb4876a38fdf1259600e7d9a63d4 <68222d7b4b72aa321135cd453dac37f00ec41fd1
- Affected versionversion=9020845fb5d6bb4876a38fdf1259600e7d9a63d4 <b6d21cf40de103d63ae78551098a7c06af8c98dd
- Affected versionversion=9020845fb5d6bb4876a38fdf1259600e7d9a63d4 <c71e3a5cffd5309d7f84444df03d5b72600cc417
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo