CVE-2024-41066 json
ibmvnic: Add tx check to prevent skb leak
published 2024-07-29 2 y ago modified 2026-08-05 3 mo ago also EUVD-2024-38864
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.13, 5.14, 6.1.101, 6.6.42, 6.9.11, 6.10
- linux Debian 12 6.1.106-1
- linux Debian 14, Debian 13 6.9.11-1
debian advisories DEBIAN-CVE-2024-41066
- linux Ubuntu 20.04 LTS 5.4.0-208.228
- linux Ubuntu 22.04 LTS 5.15.0-133.144
- linux Ubuntu 24.04 LTS 6.8.0-48.48
- linux-aws Ubuntu 20.04 LTS 5.4.0-1140.150
- linux-aws Ubuntu 22.04 LTS 5.15.0-1078.85
- linux-aws Ubuntu 24.04 LTS 6.8.0-1018.20
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1143.152
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1077.86
ubuntu advisories UBUNTU-CVE-2024-41066
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt RHEL 8 4.18.0-553.27.1.rt7.368.el8_10
- kernel-rt-kvm RHEL 8 4.18.0-553.27.1.rt7.368.el8_10
- kernel-rt-core RHEL 8 4.18.0-553.27.1.rt7.368.el8_10
- kernel-rt-modules RHEL 8 4.18.0-553.27.1.rt7.368.el8_10
- kernel-rt-debug-kvm RHEL 8 4.18.0-553.27.1.rt7.368.el8_10
- kernel-rt-debug-core RHEL 8 4.18.0-553.27.1.rt7.368.el8_10
- kernel-rt-debug-modules RHEL 8 4.18.0-553.27.1.rt7.368.el8_10
- kernel-rt-modules-extra RHEL 8 4.18.0-553.27.1.rt7.368.el8_10
red hat advisories RHSA-2024:9546RHSA-2024:8870RHSA-2024:8856RHSA-2024:8158RHSA-2024:8157
- kernel-rt Linux Micro 6.0 6.4.0-10.1
- kernel-source-rt Linux Micro 6.0 6.4.0-10.1
- kernel-livepatch-MICRO-6-0-RT_Update_2 Linux Micro 6.0 1-1.1
- kernel-source Linux Micro 6.0 6.4.0-19.1
- kernel-default Linux Micro 6.0 6.4.0-19.1
- kernel-kvmsmall Linux Micro 6.0 6.4.0-19.1
- kernel-default-base Linux Micro 6.0 6.4.0-17.1.1.51
- kernel-livepatch-MICRO-6-0_Update_2 Linux Micro 6.0 1-1.1
suse advisories SUSE-SU-2025:20047-1SUSE-SU-2025:20044-1SUSE-SU-2024:3383-1SUSE-SU-2024:3195-1SUSE-SU-2024:3194-1SUSE-SU-2024:2947-1
- kernel AlmaLinux 8 4.18.0-553.27.1.el8_10
- perf AlmaLinux 8 4.18.0-553.27.1.el8_10
- bpftool AlmaLinux 8 4.18.0-553.27.1.el8_10
- kernel-core AlmaLinux 8 4.18.0-553.27.1.el8_10
- kernel-tools AlmaLinux 8 4.18.0-553.27.1.el8_10
- python3-perf AlmaLinux 8 4.18.0-553.27.1.el8_10
- kernel-modules AlmaLinux 8 4.18.0-553.27.1.el8_10
- kernel-zfcpdump AlmaLinux 8 4.18.0-553.27.1.el8_10
almalinux advisories ALSA-2024:8856ALSA-2024:8870
- kernel-rt Rocky Linux 8 4.18.0-553.27.1.rt7.368.el8_10
- kernel Rocky Linux 8 4.18.0-553.27.1.el8_10
rocky linux advisories RLSA-2024:8870RLSA-2024:8856
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-41066 updated cvss 4.4
kernel: ibmvnic: Add tx check to prevent skb leak
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: workaround, no fix planned “To mitigate this issue, prevent module ibmvnic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.”
-
Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 moreaffected: workaround, no fix available “To mitigate this issue, prevent module ibmvnic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.”
-
Red Hat CodeReady Linux Builder EUS (v.9.2) kernel-debuginfo-common-s390x 5.14.0-284.88.1.el9_2, kernel-debuginfo-common-x86_64 5.14.0-284.88.1.el9_2, kernel-debuginfo-common-aarch64 5.14.0-284.88.1.el9_2, kernel-debuginfo-common-ppc64le 5.14.0-284.88.1.el9_2fixed: vendor fix “To mitigate this issue, prevent module ibmvnic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2024:8157
-
Red Hat CodeReady Linux Builder EUS (v.9.4) libperf 5.14.0-427.44.1.el9_4, kernel-debuginfo-common-s390x 5.14.0-427.44.1.el9_4, kernel-debuginfo-common-x86_64 5.14.0-427.44.1.el9_4, kernel-debuginfo-common-aarch64 5.14.0-427.44.1.el9_4, kernel-debuginfo-common-ppc64le 5.14.0-427.44.1.el9_4fixed: vendor fix “To mitigate this issue, prevent module ibmvnic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2024:9546
-
Red Hat Enterprise Linux AppStream EUS (v.9.2) perf 5.14.0-284.88.1.el9_2, rtla 5.14.0-284.88.1.el9_2, kernel-devel-matched 5.14.0-284.88.1.el9_2, kernel-64k-devel-matched 5.14.0-284.88.1.el9_2, kernel-debug-devel-matched 5.14.0-284.88.1.el9_2, kernel-debuginfo-common-s390x 5.14.0-284.88.1.el9_2, +5 morefixed: vendor fix “To mitigate this issue, prevent module ibmvnic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2024:8157
-
Red Hat Enterprise Linux AppStream EUS (v.9.4) rv 5.14.0-427.44.1.el9_4, perf 5.14.0-427.44.1.el9_4, rtla 5.14.0-427.44.1.el9_4, kernel-devel-matched 5.14.0-427.44.1.el9_4, kernel-64k-devel-matched 5.14.0-427.44.1.el9_4, kernel-debug-devel-matched 5.14.0-427.44.1.el9_4, +6 morefixed: vendor fix “To mitigate this issue, prevent module ibmvnic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2024:9546
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-553.27.1.el8_10, kernel 4.18.0-553.27.1.el8_10, bpftool 4.18.0-553.27.1.el8_10, kernel-core 4.18.0-553.27.1.el8_10, kernel-tools 4.18.0-553.27.1.el8_10, python3-perf 4.18.0-553.27.1.el8_10, +15 morefixed: vendor fix “To mitigate this issue, prevent module ibmvnic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2024:8856
-
Red Hat Enterprise Linux BaseOS EUS (v.9.2) bpftool 7.0.0-284.88.1.el9_2, kernel 5.14.0-284.88.1.el9_2, kernel-64k 5.14.0-284.88.1.el9_2, kernel-core 5.14.0-284.88.1.el9_2, kernel-tools 5.14.0-284.88.1.el9_2, python3-perf 5.14.0-284.88.1.el9_2, +28 morefixed: vendor fix “To mitigate this issue, prevent module ibmvnic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2024:8157
show 9 moreshow fewer
-
Red Hat Enterprise Linux BaseOS EUS (v.9.4) bpftool 7.3.0-427.44.1.el9_4, kernel 5.14.0-427.44.1.el9_4, kernel-64k 5.14.0-427.44.1.el9_4, kernel-core 5.14.0-427.44.1.el9_4, kernel-tools 5.14.0-427.44.1.el9_4, python3-perf 5.14.0-427.44.1.el9_4, +28 morefixed: vendor fix “To mitigate this issue, prevent module ibmvnic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2024:9546
-
Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-553.27.1.el8_10, kernel-debuginfo-common-aarch64 4.18.0-553.27.1.el8_10, kernel-debuginfo-common-ppc64le 4.18.0-553.27.1.el8_10fixed: vendor fix “To mitigate this issue, prevent module ibmvnic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2024:8856
-
Red Hat Enterprise Linux NFV (v. 8) kernel-rt 4.18.0-553.27.1.rt7.368.el8_10, kernel-rt-kvm 4.18.0-553.27.1.rt7.368.el8_10, kernel-rt-core 4.18.0-553.27.1.rt7.368.el8_10, kernel-rt-modules 4.18.0-553.27.1.rt7.368.el8_10, kernel-rt-debug-kvm 4.18.0-553.27.1.rt7.368.el8_10, kernel-rt-debug-core 4.18.0-553.27.1.rt7.368.el8_10, +4 morefixed: vendor fix “To mitigate this issue, prevent module ibmvnic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2024:8870
-
Red Hat Enterprise Linux Real Time EUS (v.9.2) kernel-rt 5.14.0-284.88.1.rt14.373.el9_2, kernel-rt-core 5.14.0-284.88.1.rt14.373.el9_2, kernel-rt-modules 5.14.0-284.88.1.rt14.373.el9_2, kernel-rt-debug-core 5.14.0-284.88.1.rt14.373.el9_2, kernel-rt-modules-core 5.14.0-284.88.1.rt14.373.el9_2, kernel-rt-debug-modules 5.14.0-284.88.1.rt14.373.el9_2, +4 morefixed: vendor fix “To mitigate this issue, prevent module ibmvnic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2024:8158
-
Red Hat Enterprise Linux Real Time EUS (v.9.4) kernel-rt 5.14.0-427.44.1.el9_4, kernel-rt-core 5.14.0-427.44.1.el9_4, kernel-rt-modules 5.14.0-427.44.1.el9_4, kernel-rt-debug-core 5.14.0-427.44.1.el9_4, kernel-rt-modules-core 5.14.0-427.44.1.el9_4, kernel-rt-debug-modules 5.14.0-427.44.1.el9_4, +4 morefixed: vendor fix “To mitigate this issue, prevent module ibmvnic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2024:9546
-
Red Hat Enterprise Linux Real Time for NFV EUS (v.9.2) kernel-rt 5.14.0-284.88.1.rt14.373.el9_2, kernel-rt-kvm 5.14.0-284.88.1.rt14.373.el9_2, kernel-rt-core 5.14.0-284.88.1.rt14.373.el9_2, kernel-rt-modules 5.14.0-284.88.1.rt14.373.el9_2, kernel-rt-debug-kvm 5.14.0-284.88.1.rt14.373.el9_2, kernel-rt-debug-core 5.14.0-284.88.1.rt14.373.el9_2, +6 morefixed: vendor fix “To mitigate this issue, prevent module ibmvnic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2024:8158
-
Red Hat Enterprise Linux Real Time for NFV EUS (v.9.4) kernel-rt 5.14.0-427.44.1.el9_4, kernel-rt-kvm 5.14.0-427.44.1.el9_4, kernel-rt-core 5.14.0-427.44.1.el9_4, kernel-rt-modules 5.14.0-427.44.1.el9_4, kernel-rt-debug-kvm 5.14.0-427.44.1.el9_4, kernel-rt-debug-core 5.14.0-427.44.1.el9_4, +6 morefixed: vendor fix “To mitigate this issue, prevent module ibmvnic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2024:9546
-
Red Hat Enterprise Linux RT (v. 8) kernel-rt 4.18.0-553.27.1.rt7.368.el8_10, kernel-rt-core 4.18.0-553.27.1.rt7.368.el8_10, kernel-rt-modules 4.18.0-553.27.1.rt7.368.el8_10, kernel-rt-debug-core 4.18.0-553.27.1.rt7.368.el8_10, kernel-rt-debug-modules 4.18.0-553.27.1.rt7.368.el8_10, kernel-rt-modules-extra 4.18.0-553.27.1.rt7.368.el8_10, +2 morefixed: vendor fix “To mitigate this issue, prevent module ibmvnic from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2024:8870
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux AppStream EUS (v.9.2) kernel-doc 5.14.0-284.88.1.el9_2not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.53% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-401 Missing Release of Memory after Effective Lifetime
- Technology feeds
References
-
git.kernel.org
/stable/c/16ad1557cae582e79bb82dddd612d9bdfaa11d4c
patch
-
git.kernel.org
/stable/c/267c61c4afed0ff9a2e83462abad3f41d8ca1f06
patch
-
git.kernel.org
/stable/c/e7b75def33eae61ddaad6cb616c517dc3882eb2a
patch
-
git.kernel.org
/stable/c/0983d288caf984de0202c66641577b739caad561
patch
- lists.debian.org /debian-lts-announce/2025/01/msg00001.html
Sources
- CVE List CVE-2024-41066
- NVD CVE-2024-41066
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.