{"id":"CVE-2024-26834","summary":"netfilter: nft_flow_offload: release dst in case direct xmit path is used","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_flow_offload: release dst in case direct xmit path is used\n\nDirect xmit does not use it since it calls dev_queue_xmit() to send\npackets, hence it calls dst_release().\n\nkmemleak reports:\n\nunreferenced object 0xffff88814f440900 (size 184):\n  comm \"softirq\", pid 0, jiffies 4294951896\n  hex dump (first 32 bytes):\n    00 60 5b 04 81 88 ff ff 00 e6 e8 82 ff ff ff ff  .`[.............\n    21 0b 50 82 ff ff ff ff 00 00 00 00 00 00 00 00  !.P.............\n  backtrace (crc cb2bf5d6):\n    [\u003c000000003ee17107\u003e] kmem_cache_alloc+0x286/0x340\n    [\u003c0000000021a5de2c\u003e] dst_alloc+0x43/0xb0\n    [\u003c00000000f0671159\u003e] rt_dst_alloc+0x2e/0x190\n    [\u003c00000000fe5092c9\u003e] __mkroute_output+0x244/0x980\n    [\u003c000000005fb96fb0\u003e] ip_route_output_flow+0xc0/0x160\n    [\u003c0000000045367433\u003e] nf_ip_route+0xf/0x30\n    [\u003c0000000085da1d8e\u003e] nf_route+0x2d/0x60\n    [\u003c00000000d1ecd1cb\u003e] nft_flow_route+0x171/0x6a0 [nft_flow_offload]\n    [\u003c00000000d9b2fb60\u003e] nft_flow_offload_eval+0x4e8/0x700 [nft_flow_offload]\n    [\u003c000000009f447dbb\u003e] expr_call_ops_eval+0x53/0x330 [nf_tables]\n    [\u003c00000000072e1be6\u003e] nft_do_chain+0x17c/0x840 [nf_tables]\n    [\u003c00000000d0551029\u003e] nft_do_chain_inet+0xa1/0x210 [nf_tables]\n    [\u003c0000000097c9d5c6\u003e] nf_hook_slow+0x5b/0x160\n    [\u003c0000000005eccab1\u003e] ip_forward+0x8b6/0x9b0\n    [\u003c00000000553a269b\u003e] ip_rcv+0x221/0x230\n    [\u003c00000000412872e5\u003e] __netif_receive_skb_one_core+0xfe/0x110","modified":"2026-05-18T05:58:48.668606027Z","published":"2024-04-17T10:10:02.282Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26834.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/13b57b5cd591d5b22f9bbf047b2922967de411f3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2d17cf10179a7de6d8f0128168b84ad0b4a1863f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8762785f459be1cfe6fcf7285c123aad6a3703f0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9256ab9232e35a16af9c30fa4e522e6d1bd3605a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a6cafdb49a7bbf4a88367db209703eee6941e023"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26834.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26834"},{"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":"7c71b831220edeab7ce603d818dc1708d9ea4137"},{"fixed":"13b57b5cd591d5b22f9bbf047b2922967de411f3"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9c5662e95a8dcc232c3ef4deb21033badcd260f6"},{"fixed":"a6cafdb49a7bbf4a88367db209703eee6941e023"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"fa502c86566680ac62bc28ec883a069bf7a2aa5e"},{"fixed":"9256ab9232e35a16af9c30fa4e522e6d1bd3605a"},{"fixed":"2d17cf10179a7de6d8f0128168b84ad0b4a1863f"},{"fixed":"8762785f459be1cfe6fcf7285c123aad6a3703f0"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26834.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.5.0"},{"fixed":"6.6.19"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.7.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26834.json"}}],"schema_version":"1.7.5"}