{"id":"CVE-2024-41066","published":"2024-07-29T14:57:27Z","modified":"2026-08-05T11:35:08Z","title":"ibmvnic: Add tx check to prevent skb leak","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nibmvnic: Add tx check to prevent skb leak\n\nBelow is a summary of how the driver stores a reference to an skb during\ntransmit:\n    tx_buff[free_map[consumer_index]]->skb = new_skb;\n    free_map[consumer_index] = IBMVNIC_INVALID_MAP;\n    consumer_index ++;\nWhere variable data looks like this:\n    free_map == [4, IBMVNIC_INVALID_MAP, IBMVNIC_INVALID_MAP, 0, 3]\n                                               \tconsumer_index^\n    tx_buff == [skb=null, skb=<ptr>, skb=<ptr>, skb=null, skb=null]\n\nThe driver has checks to ensure that free_map[consumer_index] pointed to\na valid index but there was no check to ensure that this index pointed\nto an unused/null skb address. So, if, by some chance, our free_map and\ntx_buff lists become out of sync then we were previously risking an\nskb memory leak. This could then cause tcp congestion control to stop\nsending packets, eventually leading to ETIMEDOUT.\n\nTherefore, add a conditional to ensure that the skb address is null. If\nnot then warn the user (because this is still a bug that should be\npatched) and free the old pointer to prevent memleak/tcp problems.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00887,"percentile":0.57107,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/16ad1557cae582e79bb82dddd612d9bdfaa11d4c","tags":[]},{"url":"https://git.kernel.org/stable/c/267c61c4afed0ff9a2e83462abad3f41d8ca1f06","tags":[]},{"url":"https://git.kernel.org/stable/c/e7b75def33eae61ddaad6cb616c517dc3882eb2a","tags":[]},{"url":"https://git.kernel.org/stable/c/0983d288caf984de0202c66641577b739caad561","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":16.7,"factors":[{"name":"EPSS percentile","points":11.42},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 65d6470d139a6c1655fccb5cbacbeaba8e8ad2f8, < 16ad1557cae582e79bb82dddd612d9bdfaa11d4c",">= 65d6470d139a6c1655fccb5cbacbeaba8e8ad2f8, < 267c61c4afed0ff9a2e83462abad3f41d8ca1f06",">= 65d6470d139a6c1655fccb5cbacbeaba8e8ad2f8, < e7b75def33eae61ddaad6cb616c517dc3882eb2a",">= 65d6470d139a6c1655fccb5cbacbeaba8e8ad2f8, < 0983d288caf984de0202c66641577b739caad561","1a64564eee05128f773930649edfdd50cbe80656","5142c39253385702a4de8f897027e1d76fc333de",">= 5.12.17, < 5.13",">= 5.13.2, < 5.14"]},{"vendor":"Linux","product":"Linux","versions":["5.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:21:52.759335Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-38864","exploited":false,"provenance":"source"}}