{"id":"CVE-2026-74476","revision":"dcc0bb26f47e4fc59a8018a95c5d6c27","records":[{"revision":"dcc0bb26f47e4fc59a8018a95c5d6c27","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-74476","aliases":[],"title":"veth: convert frag_list skbs before running XDP","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nveth: convert frag_list skbs before running XDP\n\nA frag_list skb can reach veth with data_len set but nr_frags zero.\nveth_convert_skb_to_xdp_buff() only converts skbs that are shared,\nlocked, have frags[], or do not have enough headroom. It later uses\nskb_is_nonlinear() to decide whether to set XDP_FLAGS_HAS_FRAGS and\nxdp_frags_size.\n\nThat exposes frag_list data to XDP as if it were stored in frags[], but\nfrags[] is empty. AF_XDP copy mode can then trust the bogus XDP fragment\nmetadata, walk an empty fragment entry, and crash in memcpy() from\n__xsk_rcv().\n\nRoute non-linear skbs through skb_pp_cow_data() before exposing them to\nXDP, and only advertise XDP frags when the resulting skb has frags[].\nskb_copy_bits() already handles frag_list input, and skb_pp_cow_data()\nbuilds frags[] output with skb_add_rx_frag(), which is the\nrepresentation XDP multi-buffer expects.","state":0,"publishedAt":"2026-08-15T12:27:11.309+00:00","modifiedAt":"2026-10-16T19:05:48.477+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/veth.c\",\n                        \"net/core/skbuff.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"718a18a0c8a67f97781e40bdef7cdd055c430996\",\n                            \"lessThan\": \"0be3632597b8349d43a7dc4244b492dc62a05998\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"718a18a0c8a67f97781e40bdef7cdd055c430996\",\n                            \"lessThan\": \"04958dba44dc795dc79ce2fcbc117821bbbd6542\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"718a18a0c8a67f97781e40bdef7cdd055c430996\",\n                            \"lessThan\": \"5c1c15c540fc45820ce3033c319151ec891bc10a\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"718a18a0c8a67f97781e40bdef7cdd055c430996\",\n                            \"lessThan\": \"b24ba0bbffe3e23eb2f6838881c1fabcb29fb9fb\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"718a18a0c8a67f97781e40bdef7cdd055c430996\",\n                            \"lessThan\": \"f9c1fff857e93be709c8b52ed1a643f37bd82c66\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"718a18a0c8a67f97781e40bdef7cdd055c430996\",\n                            \"lessThan\": \"d0d6415963040c401e7a7e4e482a698ba52448cb\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/veth.c\",\n                        \"net/core/skbuff.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"5.18\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"5.18\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.184\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.153\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.103\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.44\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.1.8\",\n                            \"lessThanOrEqual\": \"7.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"severity":"CRITICAL"}],"references":["https://git.kernel.org/stable/c/0be3632597b8349d43a7dc4244b492dc62a05998","https://git.kernel.org/stable/c/04958dba44dc795dc79ce2fcbc117821bbbd6542","https://git.kernel.org/stable/c/5c1c15c540fc45820ce3033c319151ec891bc10a","https://git.kernel.org/stable/c/b24ba0bbffe3e23eb2f6838881c1fabcb29fb9fb","https://git.kernel.org/stable/c/f9c1fff857e93be709c8b52ed1a643f37bd82c66","https://git.kernel.org/stable/c/d0d6415963040c401e7a7e4e482a698ba52448cb"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-74476","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-74476","identifiers":["CVE-2026-74476"]},"retained":false,"historicalAffected":[]}],"coverage":[]}