{"id":"CVE-2026-31658","summary":"net: altera-tse: fix skb leak on DMA mapping error in tse_start_xmit()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: altera-tse: fix skb leak on DMA mapping error in tse_start_xmit()\n\nWhen dma_map_single() fails in tse_start_xmit(), the function returns\nNETDEV_TX_OK without freeing the skb. Since NETDEV_TX_OK tells the\nstack the packet was consumed, the skb is never freed, leaking memory\non every DMA mapping failure.\n\nAdd dev_kfree_skb_any() before returning to properly free the skb.","modified":"2026-06-18T03:57:05.069271567Z","published":"2026-04-24T14:45:09.566Z","related":["SUSE-SU-2026:21841-1","SUSE-SU-2026:21845-1","SUSE-SU-2026:21860-1","openSUSE-SU-2026:20826-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31658.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2eb9d67704ca8f1101f7435b85f113ede471f9f2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3aca300e88afe56afb000cdc4c65383014fb17f9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/60f462cd2716d86bd2174f9d5e035c9278f30480"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6dede3967619b5944003227a5d09fdc21ed57d10"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9f3ec44aeb58501d11834048d5d0dbaeacb6d4e7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ae2cd46f57f422b51aedd406ff5d75cbff401d5d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cb1d318702fdf643061350d164250198df4116f2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d5ec406f0543bd6cdfd563b08015fdec8c4d5712"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31658.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31658"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"bbd2190ce96d8fce031f0526c1f970b68adc9d1a"},{"fixed":"ae2cd46f57f422b51aedd406ff5d75cbff401d5d"},{"fixed":"cb1d318702fdf643061350d164250198df4116f2"},{"fixed":"d5ec406f0543bd6cdfd563b08015fdec8c4d5712"},{"fixed":"2eb9d67704ca8f1101f7435b85f113ede471f9f2"},{"fixed":"9f3ec44aeb58501d11834048d5d0dbaeacb6d4e7"},{"fixed":"60f462cd2716d86bd2174f9d5e035c9278f30480"},{"fixed":"3aca300e88afe56afb000cdc4c65383014fb17f9"},{"fixed":"6dede3967619b5944003227a5d09fdc21ed57d10"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31658.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.15.0"},{"fixed":"5.10.253"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.203"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.169"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.135"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.82"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.23"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.13"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31658.json"}}],"schema_version":"1.7.5"}