{"id":"CVE-2026-74476","aliases":["CVE-2026-74476"],"related":[],"kind":"vulnerability","state":"published","title":"veth: convert frag_list skbs before running XDP","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-08-15T12:27:11.309Z","modified":"2026-10-16T20:17:30.613Z","severity":{"scorer":"Linux","scheme":"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,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"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,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"718a18a0c8a67f97781e40bdef7cdd055c430996","fixed":"0be3632597b8349d43a7dc4244b492dc62a05998","status":"affected"},{"type":"git","introduced":"718a18a0c8a67f97781e40bdef7cdd055c430996","fixed":"04958dba44dc795dc79ce2fcbc117821bbbd6542","status":"affected"},{"type":"git","introduced":"718a18a0c8a67f97781e40bdef7cdd055c430996","fixed":"5c1c15c540fc45820ce3033c319151ec891bc10a","status":"affected"},{"type":"git","introduced":"718a18a0c8a67f97781e40bdef7cdd055c430996","fixed":"b24ba0bbffe3e23eb2f6838881c1fabcb29fb9fb","status":"affected"},{"type":"git","introduced":"718a18a0c8a67f97781e40bdef7cdd055c430996","fixed":"f9c1fff857e93be709c8b52ed1a643f37bd82c66","status":"affected"},{"type":"git","introduced":"718a18a0c8a67f97781e40bdef7cdd055c430996","fixed":"d0d6415963040c401e7a7e4e482a698ba52448cb","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.18","status":"unaffected"},{"type":"semver","introduced":"6.1.184","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.153","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.103","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.44","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.8","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/0be3632597b8349d43a7dc4244b492dc62a05998","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/04958dba44dc795dc79ce2fcbc117821bbbd6542","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5c1c15c540fc45820ce3033c319151ec891bc10a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b24ba0bbffe3e23eb2f6838881c1fabcb29fb9fb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f9c1fff857e93be709c8b52ed1a643f37bd82c66","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d0d6415963040c401e7a7e4e482a698ba52448cb","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-16T18:57:33.426Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74476","url":"https://www.cve.org/CVERecord?id=CVE-2026-74476","licence":"CVE Terms of Use","modified":"2026-10-16T19:05:48.477Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74476","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74476","licence":"Public domain","modified":"2026-10-16T20:17:30.613Z"}],"updatedAt":"2026-11-25T22:59:33.227Z","epss":{"score":0.00702,"percentile":0.48862,"date":"2026-11-30T12:00:22.000Z"}}