CVE-2024-41066

ibmvnic: Add tx check to prevent skb leak

MEDIUM
5.5
CVSS Score
Published: July 29, 2024 at 02:57 PM UTC
Updated: August 5, 2026 at 12:04 PM 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
MEDIUM5.5
Exploit prediction
EPSS 0.5%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: ibmvnic: Add tx check to prevent skb leak Below is a summary of how the driver stores a reference to an skb during transmit: tx_buff[free_map[consumer_index]]->skb = new_skb; free_map[consumer_index] = IBMVNIC_INVALID_MAP; consumer_index ++; Where variable data looks like this: free_map == [4, IBMVNIC_INVALID_MAP, IBMVNIC_INVALID_MAP, 0, 3] consumer_index^ tx_buff == [skb=null, skb=<ptr>, skb=<ptr>, skb=null, skb=null] The driver has checks to ensure that free_map[consumer_index] pointed to a valid index but there was no check to ensure that this index pointed to an unused/null skb address. So, if, by some chance, our free_map and tx_buff lists become out of sync then we were previously risking an skb memory leak. This could then cause tcp congestion control to stop sending packets, eventually leading to ETIMEDOUT. Therefore, add a conditional to ensure that the skb address is null. If not then warn the user (because this is still a bug that should be patched) and free the old pointer to prevent memleak/tcp problems.

Affected

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

v ≥ 5.12.17v ≥ 5.13.2v < 6.1.1015.12.17 ≤ v < 5.135.13.2 ≤ v < 5.145.14 ≤ v < 6.1.1015.14 ≤ v < 6.105.14 ≤ v < 6.6.425.14 ≤ v < 6.9.116.2 ≤ v < 6.6.426.7 ≤ v < 6.9.111a64564eee05128f773930649edfdd50cbe806565.12.175.13.25142c39253385702a4de8f897027e1d76fc333de6.10 rc16.10 rc26.10 rc36.10 rc46.10 rc565d6470d139a6c1655fccb5cbacbeaba8e8ad2f8
Vendor states this is fixed in 0983d288caf984de0202c66641577b739caad561 (fixed)
Vendor states this is fixed in 16ad1557cae582e79bb82dddd612d9bdfaa11d4c (fixed)
Vendor states this is fixed in 267c61c4afed0ff9a2e83462abad3f41d8ca1f06 (fixed)
Vendor states this is fixed in e7b75def33eae61ddaad6cb616c517dc3882eb2a (fixed)
Affected range stops below 5.13, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.14 (unaffected)
Vendor states this is fixed in 6.1.101 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.6.42 (unaffected)
Vendor states this is fixed in 6.9.11 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0983d288caf984de0202c66641577b739caad561
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/16ad1557cae582e79bb82dddd612d9bdfaa11d4c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/267c61c4afed0ff9a2e83462abad3f41d8ca1f06
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e7b75def33eae61ddaad6cb616c517dc3882eb2a
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

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
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

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