{"id":"CVE-2022-48809","published":"2024-07-16T11:43:59Z","modified":"2026-05-11T18:47:33Z","title":"net: fix a memleak when uncloning an skb dst and its metadata","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: fix a memleak when uncloning an skb dst and its metadata\n\nWhen uncloning an skb dst and its associated metadata, a new\ndst+metadata is allocated and later replaces the old one in the skb.\nThis is helpful to have a non-shared dst+metadata attached to a specific\nskb.\n\nThe issue is the uncloned dst+metadata is initialized with a refcount of\n1, which is increased to 2 before attaching it to the skb. When\ntun_dst_unclone returns, the dst+metadata is only referenced from a\nsingle place (the skb) while its refcount is 2. Its refcount will never\ndrop to 0 (when the skb is consumed), leading to a memory leak.\n\nFix this by removing the call to dst_hold in tun_dst_unclone, as the\ndst+metadata refcount is already 1.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00284,"percentile":0.21443,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/4ac84498fbe84a00e7aef185e2bb3e40ce71eca4","tags":[]},{"url":"https://git.kernel.org/stable/c/c1ff27d100e2670b03cbfddb9117e5f9fc672540","tags":[]},{"url":"https://git.kernel.org/stable/c/0be943916d781df2b652793bb2d3ae4f9624c10a","tags":[]},{"url":"https://git.kernel.org/stable/c/a80817adc2a4c1ba26a7aa5f3ed886e4a18dff88","tags":[]},{"url":"https://git.kernel.org/stable/c/00e6d6c3bc14dfe32824e2c515f0e0f2d6ecf2f1","tags":[]},{"url":"https://git.kernel.org/stable/c/fdcb263fa5cda15b8cb24a641fa2718c47605314","tags":[]},{"url":"https://git.kernel.org/stable/c/8b1087b998e273f07be13dcb5f3ca4c309c7f108","tags":[]},{"url":"https://git.kernel.org/stable/c/9eeabdf17fa0ab75381045c867c370f4cc75a613","tags":[]}],"priority":{"score":4.3,"factors":[{"name":"EPSS percentile","points":4.29}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= fc4099f17240767554ff3a73977acb78ef615404, < 4ac84498fbe84a00e7aef185e2bb3e40ce71eca4",">= fc4099f17240767554ff3a73977acb78ef615404, < c1ff27d100e2670b03cbfddb9117e5f9fc672540",">= fc4099f17240767554ff3a73977acb78ef615404, < 0be943916d781df2b652793bb2d3ae4f9624c10a",">= fc4099f17240767554ff3a73977acb78ef615404, < a80817adc2a4c1ba26a7aa5f3ed886e4a18dff88",">= fc4099f17240767554ff3a73977acb78ef615404, < 00e6d6c3bc14dfe32824e2c515f0e0f2d6ecf2f1",">= fc4099f17240767554ff3a73977acb78ef615404, < fdcb263fa5cda15b8cb24a641fa2718c47605314",">= fc4099f17240767554ff3a73977acb78ef615404, < 8b1087b998e273f07be13dcb5f3ca4c309c7f108",">= fc4099f17240767554ff3a73977acb78ef615404, < 9eeabdf17fa0ab75381045c867c370f4cc75a613"]},{"vendor":"Linux","product":"Linux","versions":["4.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:58:37.940393Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-53688","exploited":false,"provenance":"source"}}