# CVE-2024-41066: ibmvnic: Add tx check to prevent skb leak

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.89% (percentile 57, 2026-11-28)
- **CWE:** CWE-401
- **Published:** 2024-07-29T14:57:27.832Z
- **Modified:** 2026-08-05T11:35:08.968Z

## Who should check

- Anyone running Linux \>= 65d6470d139a6c1655fccb5cbacbeaba8e8ad2f8, \< 16ad1557cae582e79bb82dddd612d9bdfaa11d4c; \>= 65d6470d139a6c1655fccb5cbacbeaba8e8ad2f8, \< 267c61c4afed0ff9a2e83462abad3f41d8ca1f06; \>= 65d6470d139a6c1655fccb5cbacbeaba8e8ad2f8, \< e7b75def33eae61ddaad6cb616c517dc3882eb2a; \>= 65d6470d139a6c1655fccb5cbacbeaba8e8ad2f8, \< 0983d288caf984de0202c66641577b739caad561; 1a64564eee05128f773930649edfdd50cbe80656; 5142c39253385702a4de8f897027e1d76fc333de; \>= 5.12.17, \< 5.13; \>= 5.13.2, \< 5.14
- Anyone running Linux 5.14

## 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 and fixed versions

- Linux: \>= 65d6470d139a6c1655fccb5cbacbeaba8e8ad2f8, \< 16ad1557cae582e79bb82dddd612d9bdfaa11d4c; \>= 65d6470d139a6c1655fccb5cbacbeaba8e8ad2f8, \< 267c61c4afed0ff9a2e83462abad3f41d8ca1f06; \>= 65d6470d139a6c1655fccb5cbacbeaba8e8ad2f8, \< e7b75def33eae61ddaad6cb616c517dc3882eb2a; \>= 65d6470d139a6c1655fccb5cbacbeaba8e8ad2f8, \< 0983d288caf984de0202c66641577b739caad561; 1a64564eee05128f773930649edfdd50cbe80656; 5142c39253385702a4de8f897027e1d76fc333de; \>= 5.12.17, \< 5.13; \>= 5.13.2, \< 5.14 (cvelist)
- Linux: 5.14 (cvelist)

## Mitigation

- Upgrade Linux to 5.14 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-41066. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-41066.md
Affected: Linux >= 65d6470d139a6c1655fccb5cbacbeaba8e8ad2f8, < 16ad1557cae582e79bb82dddd612d9bdfaa11d4c; >= 65d6470d139a6c1655fccb5cbacbeaba8e8ad2f8, < 267c61c4afed0ff9a2e83462abad3f41d8ca1f06; >= 65d6470d139a6c1655fccb5cbacbeaba8e8ad2f8, < e7b75def33eae61ddaad6cb616c517dc3882eb2a; >= 65d6470d139a6c1655fccb5…
Fixed in: Linux 16ad1557cae582e79bb82dddd612d9bdfaa11d4c, Linux 267c61c4afed0ff9a2e83462abad3f41d8ca1f06, Linux 0983d288caf984de0202c66641577b739caad561, Linux 5.13, Linux 5.14

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-41066 being exploited?

There is no confirmed exploitation: CVE-2024-41066 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.89% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-41066?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-41066?

Linux \>= 65d6470d139a6c1655fccb5cbacbeaba8e8ad2f8, \< 16ad1557cae582e79bb82dddd612d9bdfaa11d4c; \>= 65d6470d139a6c1655fccb5cbacbeaba8e8ad2f8, \< 267c61c4afed0ff9a2e83462abad3f41d8ca1f06; \>= 65d6470d139a6c1655fccb5cbacbeaba8e8ad2f8, \< e7b75def33eae61ddaad6cb616c517dc3882eb2a; \>= 65d6470d139a6c1655fccb5cbacbeaba8e8ad2f8, \< 0983d288caf984de0202c66641577b739caad561; 1a64564eee05128f773930649edfdd50cbe80656; 5142c39253385702a4de8f897027e1d76fc333de; \>= 5.12.17, \< 5.13; \>= 5.13.2, \< 5.14; Linux 5.14.

### Is there a fix for CVE-2024-41066?

Yes. Fixed in Linux 16ad1557cae582e79bb82dddd612d9bdfaa11d4c, Linux 267c61c4afed0ff9a2e83462abad3f41d8ca1f06, Linux 0983d288caf984de0202c66641577b739caad561, Linux 5.13, Linux 5.14. Upgrade Linux to 5.14 or later.

### How do I check if I'm affected by CVE-2024-41066?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/16ad1557cae582e79bb82dddd612d9bdfaa11d4c>
- patch: <https://git.kernel.org/stable/c/267c61c4afed0ff9a2e83462abad3f41d8ca1f06>
- patch: <https://git.kernel.org/stable/c/e7b75def33eae61ddaad6cb616c517dc3882eb2a>
- patch: <https://git.kernel.org/stable/c/0983d288caf984de0202c66641577b739caad561>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-41066>

HTML: <https://flawdb.com/CVE-2024-41066> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-41066>
