Bug 1226750 (CVE-2024-38586) - VUL-0: CVE-2024-38586: kernel: r8169: Fix possible ring buffer corruption on fragmented Tx packets.
Summary: VUL-0: CVE-2024-38586: kernel: r8169: Fix possible ring buffer corruption on ...
Status: NEW
Alias: CVE-2024-38586
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/411450/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-38586:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-21 11:38 UTC by SMASH SMASH
Modified: 2024-07-17 12:29 UTC (History)
3 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-06-21 11:38:42 UTC
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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-38586
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-38586.mbox
https://git.kernel.org/stable/c/b6d21cf40de103d63ae78551098a7c06af8c98dd
https://git.kernel.org/stable/c/0c48185a95309556725f818b82120bb74e9c627d
https://git.kernel.org/stable/c/68222d7b4b72aa321135cd453dac37f00ec41fd1
https://git.kernel.org/stable/c/078d5b7500d70af2de6b38e226b03f0b932026a6
https://git.kernel.org/stable/c/54e7a0d111240c92c0f02ceba6eb8f26bf6d6479
https://git.kernel.org/stable/c/c71e3a5cffd5309d7f84444df03d5b72600cc417
https://www.cve.org/CVERecord?id=CVE-2024-38586
https://bugzilla.redhat.com/show_bug.cgi?id=2293402