{"id":"CVE-2024-38586","aliases":["CVE-2024-38586"],"related":[],"kind":"vulnerability","state":"published","title":"r8169: Fix possible ring buffer corruption on fragmented Tx packets.","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nr8169: Fix possible ring buffer corruption on fragmented Tx packets.\n\nAn issue was found on the RTL8125b when transmitting small fragmented\npackets, whereby invalid entries were inserted into the transmit ring\nbuffer, subsequently leading to calls to dma_unmap_single() with a null\naddress.\n\nThis was caused by rtl8169_start_xmit() not noticing changes to nr_frags\nwhich may occur when small packets are padded (to work around hardware\nquirks) in rtl8169_tso_csum_v2().\n\nTo fix this, postpone inspecting nr_frags until after any padding has been\napplied.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nr8169: Fix possible ring buffer corruption on fragmented Tx packets.\n\nAn issue was found on the RTL8125b when transmitting small fragmented\npackets, whereby invalid entries were inserted into the transmit ring\nbuffer, subsequently leading to calls to dma_unmap_single() with a null\naddress.\n\nThis was caused by rtl8169_start_xmit() not noticing changes to nr_frags\nwhich may occur when small packets are padded (to work around hardware\nquirks) in rtl8169_tso_csum_v2().\n\nTo fix this, postpone inspecting nr_frags until after any padding has been\napplied.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: r8169: corrige una posible corrupción del búfer en anillo en paquetes Tx fragmentados. Se encontró un problema en el RTL8125b al transmitir pequeños paquetes fragmentados, por el cual se insertaban entradas no válidas en el búfer del anillo de transmisión, lo que posteriormente generaba llamadas a dma_unmap_single() con una dirección nula. Esto se debió a que rtl8169_start_xmit() no notó los cambios en nr_frags que pueden ocurrir cuando se rellenan paquetes pequeños (para evitar peculiaridades del hardware) en rtl8169_tso_csum_v2(). Para solucionar este problema, posponga la inspección de nr_frags hasta que se haya aplicado el relleno.","source":"nvd"}],"published":"2024-06-19T13:37:41.879Z","modified":"2026-06-17T07:40:38.830Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"git","introduced":"9020845fb5d6bb4876a38fdf1259600e7d9a63d4","fixed":"61c1c98e2607120ce9c3fa1bf75e6da909712b27","status":"affected"},{"type":"git","introduced":"9020845fb5d6bb4876a38fdf1259600e7d9a63d4","fixed":"b6d21cf40de103d63ae78551098a7c06af8c98dd","status":"affected"},{"type":"git","introduced":"9020845fb5d6bb4876a38fdf1259600e7d9a63d4","fixed":"0c48185a95309556725f818b82120bb74e9c627d","status":"affected"},{"type":"git","introduced":"9020845fb5d6bb4876a38fdf1259600e7d9a63d4","fixed":"68222d7b4b72aa321135cd453dac37f00ec41fd1","status":"affected"},{"type":"git","introduced":"9020845fb5d6bb4876a38fdf1259600e7d9a63d4","fixed":"078d5b7500d70af2de6b38e226b03f0b932026a6","status":"affected"},{"type":"git","introduced":"9020845fb5d6bb4876a38fdf1259600e7d9a63d4","fixed":"54e7a0d111240c92c0f02ceba6eb8f26bf6d6479","status":"affected"},{"type":"git","introduced":"9020845fb5d6bb4876a38fdf1259600e7d9a63d4","fixed":"c71e3a5cffd5309d7f84444df03d5b72600cc417","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.7","status":"unaffected"},{"type":"semver","introduced":"5.10.221","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.161","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.93","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.33","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.8.12","lastAffected":"6.8.*","status":"unaffected"},{"type":"semver","introduced":"6.9.3","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.7","fixed":"5.10.221"},{"status":"affected","introduced":"5.11","fixed":"5.15.161"},{"status":"affected","introduced":"5.16","fixed":"6.1.93"},{"status":"affected","introduced":"6.2","fixed":"6.6.33"},{"status":"affected","introduced":"6.7","fixed":"6.8.12"},{"status":"affected","introduced":"6.9","fixed":"6.9.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/61c1c98e2607120ce9c3fa1bf75e6da909712b27","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b6d21cf40de103d63ae78551098a7c06af8c98dd","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0c48185a95309556725f818b82120bb74e9c627d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/68222d7b4b72aa321135cd453dac37f00ec41fd1","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/078d5b7500d70af2de6b38e226b03f0b932026a6","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/54e7a0d111240c92c0f02ceba6eb8f26bf6d6479","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c71e3a5cffd5309d7f84444df03d5b72600cc417","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:13:50.332Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-38586","url":"https://www.cve.org/CVERecord?id=CVE-2024-38586","licence":"CVE Terms of Use","modified":"2026-05-11T20:19:35.312Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-38586","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38586","licence":"Public domain","modified":"2026-06-17T07:40:38.830Z"}],"updatedAt":"2026-11-25T22:58:42.029Z","epss":{"score":0.00327,"percentile":0.18256,"date":"2026-11-30T12:00:22.000Z"}}