{"id":"CVE-2022-50365","summary":"skbuff: Account for tail adjustment during pull operations","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nskbuff: Account for tail adjustment during pull operations\n\nExtending the tail can have some unexpected side effects if a program uses\na helper like BPF_FUNC_skb_pull_data to read partial content beyond the\nhead skb headlen when all the skbs in the gso frag_list are linear with no\nhead_frag -\n\n  kernel BUG at net/core/skbuff.c:4219!\n  pc : skb_segment+0xcf4/0xd2c\n  lr : skb_segment+0x63c/0xd2c\n  Call trace:\n   skb_segment+0xcf4/0xd2c\n   __udp_gso_segment+0xa4/0x544\n   udp4_ufo_fragment+0x184/0x1c0\n   inet_gso_segment+0x16c/0x3a4\n   skb_mac_gso_segment+0xd4/0x1b0\n   __skb_gso_segment+0xcc/0x12c\n   udp_rcv_segment+0x54/0x16c\n   udp_queue_rcv_skb+0x78/0x144\n   udp_unicast_rcv_skb+0x8c/0xa4\n   __udp4_lib_rcv+0x490/0x68c\n   udp_rcv+0x20/0x30\n   ip_protocol_deliver_rcu+0x1b0/0x33c\n   ip_local_deliver+0xd8/0x1f0\n   ip_rcv+0x98/0x1a4\n   deliver_ptype_list_skb+0x98/0x1ec\n   __netif_receive_skb_core+0x978/0xc60\n\nFix this by marking these skbs as GSO_DODGY so segmentation can handle\nthe tail updates accordingly.","modified":"2026-03-20T11:47:25.715439Z","published":"2025-09-17T14:56:16.648Z","related":["SUSE-SU-2025:03614-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50365.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2d59f0ca153e9573ec4f140988c0ccca0eb4181b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2d7afdcbc9d32423f177ee12b7c93783aea338fb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/331615d837f4979eb91a336a223a5c7f7886ecd5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/668dc454bcbd1da73605201ff43f988c70848215"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6ac417d71b80e74b002313fcd73f7e9008e8e457"},{"type":"WEB","url":"https://git.kernel.org/stable/c/821be5a5ab09a40ba09cb5ba354f18cf7996fea0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8fb773eed4909ef5dc1bbeb3629a337d3336df7e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/946dd5dc4fcc4123cdfe3942b20012c4448cf89a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ff3743d00f41d803e6ab9334962b674f3b7fd0cb"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50365.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50365"},{"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":"162a5a8c3aff15c449e6b38355cdf80ab4f77a5a"},{"fixed":"ff3743d00f41d803e6ab9334962b674f3b7fd0cb"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"55fb612bef7fd237fb70068e2b6ff1cd1543a8ef"},{"fixed":"6ac417d71b80e74b002313fcd73f7e9008e8e457"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"821302dd0c51d29269ef73a595bdff294419e2cd"},{"fixed":"2d59f0ca153e9573ec4f140988c0ccca0eb4181b"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3dcbdb134f329842a38f0e6797191b885ab00a00"},{"fixed":"668dc454bcbd1da73605201ff43f988c70848215"},{"fixed":"821be5a5ab09a40ba09cb5ba354f18cf7996fea0"},{"fixed":"8fb773eed4909ef5dc1bbeb3629a337d3336df7e"},{"fixed":"946dd5dc4fcc4123cdfe3942b20012c4448cf89a"},{"fixed":"331615d837f4979eb91a336a223a5c7f7886ecd5"},{"fixed":"2d7afdcbc9d32423f177ee12b7c93783aea338fb"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"92984818ff8cfd97311a5e0ac27f148a00df2b54"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50365.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}