{"id":"CVE-2023-52577","state":"PUBLISHED","title":"dccp: fix dccp_v4_err()/dccp_v6_err() again","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndccp: fix dccp_v4_err()/dccp_v6_err() again\n\ndh->dccph_x is the 9th byte (offset 8) in \"struct dccp_hdr\",\nnot in the \"byte 7\" as Jann claimed.\n\nWe need to make sure the ICMP messages are big enough,\nusing more standard ways (no more assumptions).\n\nsyzbot reported:\nBUG: KMSAN: uninit-value in pskb_may_pull_reason include/linux/skbuff.h:2667 [inline]\nBUG: KMSAN: uninit-value in pskb_may_pull include/linux/skbuff.h:2681 [inline]\nBUG: KMSAN: uninit-value in dccp_v6_err+0x426/0x1aa0 net/dccp/ipv6.c:94\npskb_may_pull_reason include/linux/skbuff.h:2667 [inline]\npskb_may_pull include/linux/skbuff.h:2681 [inline]\ndccp_v6_err+0x426/0x1aa0 net/dccp/ipv6.c:94\nicmpv6_notify+0x4c7/0x880 net/ipv6/icmp.c:867\nicmpv6_rcv+0x19d5/0x30d0\nip6_protocol_deliver_rcu+0xda6/0x2a60 net/ipv6/ip6_input.c:438\nip6_input_finish net/ipv6/ip6_input.c:483 [inline]\nNF_HOOK include/linux/netfilter.h:304 [inline]\nip6_input+0x15d/0x430 net/ipv6/ip6_input.c:492\nip6_mc_input+0xa7e/0xc80 net/ipv6/ip6_input.c:586\ndst_input include/net/dst.h:468 [inline]\nip6_rcv_finish+0x5db/0x870 net/ipv6/ip6_input.c:79\nNF_HOOK include/linux/netfilter.h:304 [inline]\nipv6_rcv+0xda/0x390 net/ipv6/ip6_input.c:310\n__netif_receive_skb_one_core net/core/dev.c:5523 [inline]\n__netif_receive_skb+0x1a6/0x5a0 net/core/dev.c:5637\nnetif_receive_skb_internal net/core/dev.c:5723 [inline]\nnetif_receive_skb+0x58/0x660 net/core/dev.c:5782\ntun_rx_batched+0x83b/0x920\ntun_get_user+0x564c/0x6940 drivers/net/tun.c:2002\ntun_chr_write_iter+0x3af/0x5d0 drivers/net/tun.c:2048\ncall_write_iter include/linux/fs.h:1985 [inline]\nnew_sync_write fs/read_write.c:491 [inline]\nvfs_write+0x8ef/0x15c0 fs/read_write.c:584\nksys_write+0x20f/0x4c0 fs/read_write.c:637\n__do_sys_write fs/read_write.c:649 [inline]\n__se_sys_write fs/read_write.c:646 [inline]\n__x64_sys_write+0x93/0xd0 fs/read_write.c:646\ndo_syscall_x64 arch/x86/entry/common.c:50 [inline]\ndo_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80\nentry_SYSCALL_64_after_hwframe+0x63/0xcd\n\nUninit was created at:\nslab_post_alloc_hook+0x12f/0xb70 mm/slab.h:767\nslab_alloc_node mm/slub.c:3478 [inline]\nkmem_cache_alloc_node+0x577/0xa80 mm/slub.c:3523\nkmalloc_reserve+0x13d/0x4a0 net/core/skbuff.c:559\n__alloc_skb+0x318/0x740 net/core/skbuff.c:650\nalloc_skb include/linux/skbuff.h:1286 [inline]\nalloc_skb_with_frags+0xc8/0xbd0 net/core/skbuff.c:6313\nsock_alloc_send_pskb+0xa80/0xbf0 net/core/sock.c:2795\ntun_alloc_skb drivers/net/tun.c:1531 [inline]\ntun_get_user+0x23cf/0x6940 drivers/net/tun.c:1846\ntun_chr_write_iter+0x3af/0x5d0 drivers/net/tun.c:2048\ncall_write_iter include/linux/fs.h:1985 [inline]\nnew_sync_write fs/read_write.c:491 [inline]\nvfs_write+0x8ef/0x15c0 fs/read_write.c:584\nksys_write+0x20f/0x4c0 fs/read_write.c:637\n__do_sys_write fs/read_write.c:649 [inline]\n__se_sys_write fs/read_write.c:646 [inline]\n__x64_sys_write+0x93/0xd0 fs/read_write.c:646\ndo_syscall_x64 arch/x86/entry/common.c:50 [inline]\ndo_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80\nentry_SYSCALL_64_after_hwframe+0x63/0xcd\n\nCPU: 0 PID: 4995 Comm: syz-executor153 Not tainted 6.6.0-rc1-syzkaller-00014-ga747acc0b752 #0\nHardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023","publishedAt":"2024-03-02T21:59:45.279Z","updatedAt":"2026-05-23T15:26:23.897Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3533e10272555c422a7d51ebc0ce8c483429f7f2","status":"affected","lessThan":"4600beae416d754a3cedbb1ecea8181ec05073b6","versionType":"git"},{"version":"177212bf6dc1ff2d13d0409cddc5c9e81feec63d","status":"affected","lessThan":"62c218124fe58372e0e1f60d5b634d21c264b337","versionType":"git"},{"version":"7a7dd70cb954d3efa706a429687ded88c02496fa","status":"affected","lessThan":"a6f4d582e25d512c9b492670b6608436694357b3","versionType":"git"},{"version":"4b8a938e329ae4eb54b73b0c87b5170607b038a8","status":"affected","lessThan":"60d73c62e3e4464f375758b6f2459c13d46465b6","versionType":"git"},{"version":"6ecf09699eb1554299aa1e7fd13e9e80f656c2f9","status":"affected","lessThan":"26df9ab5de308caa1503d937533c56c35793018d","versionType":"git"},{"version":"f8a7f10a1dccf9868ff09342a73dce27501b86df","status":"affected","lessThan":"73be49248a04746096339a48a33fa2f03bd85969","versionType":"git"},{"version":"ec620c34f5fa5d055f9f6136a387755db6157712","status":"affected","lessThan":"1512d8f45d3c5d0b5baa00bd8e600492fa569f40","versionType":"git"},{"version":"977ad86c2a1bcaf58f01ab98df5cc145083c489c","status":"affected","lessThan":"6af289746a636f71f4c0535a9801774118486c7a","versionType":"git"},{"version":"d8171411a661253e6271fa10b65b46daf1b6471c","status":"affected","versionType":"git"},{"version":"6.4.16","status":"affected","lessThan":"6.5","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/dccp/ipv4.c","net/dccp/ipv6.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4.14.326","status":"affected","lessThan":"4.14.327","versionType":"semver"},{"version":"4.19.295","status":"affected","lessThan":"4.19.296","versionType":"semver"},{"version":"5.4.257","status":"affected","lessThan":"5.4.258","versionType":"semver"},{"version":"5.10.195","status":"affected","lessThan":"5.10.198","versionType":"semver"},{"version":"5.15.132","status":"affected","lessThan":"5.15.134","versionType":"semver"},{"version":"6.1.53","status":"affected","lessThan":"6.1.56","versionType":"semver"},{"version":"6.5.3","status":"affected","lessThan":"6.5.6","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/dccp/ipv4.c","net/dccp/ipv6.c"]}],"references":["https://git.kernel.org/stable/c/4600beae416d754a3cedbb1ecea8181ec05073b6","https://git.kernel.org/stable/c/62c218124fe58372e0e1f60d5b634d21c264b337","https://git.kernel.org/stable/c/a6f4d582e25d512c9b492670b6608436694357b3","https://git.kernel.org/stable/c/60d73c62e3e4464f375758b6f2459c13d46465b6","https://git.kernel.org/stable/c/26df9ab5de308caa1503d937533c56c35793018d","https://git.kernel.org/stable/c/73be49248a04746096339a48a33fa2f03bd85969","https://git.kernel.org/stable/c/1512d8f45d3c5d0b5baa00bd8e600492fa569f40","https://git.kernel.org/stable/c/6af289746a636f71f4c0535a9801774118486c7a"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/52xxx/CVE-2023-52577.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-52577","state":"PUBLISHED","datePublished":"2024-03-02T21:59:45.279Z","dateUpdated":"2026-05-23T15:26:23.897Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-03-02T21:55:42.568Z"},"containers":{"cna":{"title":"dccp: fix dccp_v4_err()/dccp_v6_err() again","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndccp: fix dccp_v4_err()/dccp_v6_err() again\n\ndh->dccph_x is the 9th byte (offset 8) in \"struct dccp_hdr\",\nnot in the \"byte 7\" as Jann claimed.\n\nWe need to make sure the ICMP messages are big enough,\nusing more standard ways (no more assumptions).\n\nsyzbot reported:\nBUG: KMSAN: uninit-value in pskb_may_pull_reason include/linux/skbuff.h:2667 [inline]\nBUG: KMSAN: uninit-value in pskb_may_pull include/linux/skbuff.h:2681 [inline]\nBUG: KMSAN: uninit-value in dccp_v6_err+0x426/0x1aa0 net/dccp/ipv6.c:94\npskb_may_pull_reason include/linux/skbuff.h:2667 [inline]\npskb_may_pull include/linux/skbuff.h:2681 [inline]\ndccp_v6_err+0x426/0x1aa0 net/dccp/ipv6.c:94\nicmpv6_notify+0x4c7/0x880 net/ipv6/icmp.c:867\nicmpv6_rcv+0x19d5/0x30d0\nip6_protocol_deliver_rcu+0xda6/0x2a60 net/ipv6/ip6_input.c:438\nip6_input_finish net/ipv6/ip6_input.c:483 [inline]\nNF_HOOK include/linux/netfilter.h:304 [inline]\nip6_input+0x15d/0x430 net/ipv6/ip6_input.c:492\nip6_mc_input+0xa7e/0xc80 net/ipv6/ip6_input.c:586\ndst_input include/net/dst.h:468 [inline]\nip6_rcv_finish+0x5db/0x870 net/ipv6/ip6_input.c:79\nNF_HOOK include/linux/netfilter.h:304 [inline]\nipv6_rcv+0xda/0x390 net/ipv6/ip6_input.c:310\n__netif_receive_skb_one_core net/core/dev.c:5523 [inline]\n__netif_receive_skb+0x1a6/0x5a0 net/core/dev.c:5637\nnetif_receive_skb_internal net/core/dev.c:5723 [inline]\nnetif_receive_skb+0x58/0x660 net/core/dev.c:5782\ntun_rx_batched+0x83b/0x920\ntun_get_user+0x564c/0x6940 drivers/net/tun.c:2002\ntun_chr_write_iter+0x3af/0x5d0 drivers/net/tun.c:2048\ncall_write_iter include/linux/fs.h:1985 [inline]\nnew_sync_write fs/read_write.c:491 [inline]\nvfs_write+0x8ef/0x15c0 fs/read_write.c:584\nksys_write+0x20f/0x4c0 fs/read_write.c:637\n__do_sys_write fs/read_write.c:649 [inline]\n__se_sys_write fs/read_write.c:646 [inline]\n__x64_sys_write+0x93/0xd0 fs/read_write.c:646\ndo_syscall_x64 arch/x86/entry/common.c:50 [inline]\ndo_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80\nentry_SYSCALL_64_after_hwframe+0x63/0xcd\n\nUninit was created at:\nslab_post_alloc_hook+0x12f/0xb70 mm/slab.h:767\nslab_alloc_node mm/slub.c:3478 [inline]\nkmem_cache_alloc_node+0x577/0xa80 mm/slub.c:3523\nkmalloc_reserve+0x13d/0x4a0 net/core/skbuff.c:559\n__alloc_skb+0x318/0x740 net/core/skbuff.c:650\nalloc_skb include/linux/skbuff.h:1286 [inline]\nalloc_skb_with_frags+0xc8/0xbd0 net/core/skbuff.c:6313\nsock_alloc_send_pskb+0xa80/0xbf0 net/core/sock.c:2795\ntun_alloc_skb drivers/net/tun.c:1531 [inline]\ntun_get_user+0x23cf/0x6940 drivers/net/tun.c:1846\ntun_chr_write_iter+0x3af/0x5d0 drivers/net/tun.c:2048\ncall_write_iter include/linux/fs.h:1985 [inline]\nnew_sync_write fs/read_write.c:491 [inline]\nvfs_write+0x8ef/0x15c0 fs/read_write.c:584\nksys_write+0x20f/0x4c0 fs/read_write.c:637\n__do_sys_write fs/read_write.c:649 [inline]\n__se_sys_write fs/read_write.c:646 [inline]\n__x64_sys_write+0x93/0xd0 fs/read_write.c:646\ndo_syscall_x64 arch/x86/entry/common.c:50 [inline]\ndo_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80\nentry_SYSCALL_64_after_hwframe+0x63/0xcd\n\nCPU: 0 PID: 4995 Comm: syz-executor153 Not tainted 6.6.0-rc1-syzkaller-00014-ga747acc0b752 #0\nHardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3533e10272555c422a7d51ebc0ce8c483429f7f2","status":"affected","lessThan":"4600beae416d754a3cedbb1ecea8181ec05073b6","versionType":"git"},{"version":"177212bf6dc1ff2d13d0409cddc5c9e81feec63d","status":"affected","lessThan":"62c218124fe58372e0e1f60d5b634d21c264b337","versionType":"git"},{"version":"7a7dd70cb954d3efa706a429687ded88c02496fa","status":"affected","lessThan":"a6f4d582e25d512c9b492670b6608436694357b3","versionType":"git"},{"version":"4b8a938e329ae4eb54b73b0c87b5170607b038a8","status":"affected","lessThan":"60d73c62e3e4464f375758b6f2459c13d46465b6","versionType":"git"},{"version":"6ecf09699eb1554299aa1e7fd13e9e80f656c2f9","status":"affected","lessThan":"26df9ab5de308caa1503d937533c56c35793018d","versionType":"git"},{"version":"f8a7f10a1dccf9868ff09342a73dce27501b86df","status":"affected","lessThan":"73be49248a04746096339a48a33fa2f03bd85969","versionType":"git"},{"version":"ec620c34f5fa5d055f9f6136a387755db6157712","status":"affected","lessThan":"1512d8f45d3c5d0b5baa00bd8e600492fa569f40","versionType":"git"},{"version":"977ad86c2a1bcaf58f01ab98df5cc145083c489c","status":"affected","lessThan":"6af289746a636f71f4c0535a9801774118486c7a","versionType":"git"},{"version":"d8171411a661253e6271fa10b65b46daf1b6471c","status":"affected","versionType":"git"},{"version":"6.4.16","status":"affected","lessThan":"6.5","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/dccp/ipv4.c","net/dccp/ipv6.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4.14.326","status":"affected","lessThan":"4.14.327","versionType":"semver"},{"version":"4.19.295","status":"affected","lessThan":"4.19.296","versionType":"semver"},{"version":"5.4.257","status":"affected","lessThan":"5.4.258","versionType":"semver"},{"version":"5.10.195","status":"affected","lessThan":"5.10.198","versionType":"semver"},{"version":"5.15.132","status":"affected","lessThan":"5.15.134","versionType":"semver"},{"version":"6.1.53","status":"affected","lessThan":"6.1.56","versionType":"semver"},{"version":"6.5.3","status":"affected","lessThan":"6.5.6","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/dccp/ipv4.c","net/dccp/ipv6.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/4600beae416d754a3cedbb1ecea8181ec05073b6"},{"url":"https://git.kernel.org/stable/c/62c218124fe58372e0e1f60d5b634d21c264b337"},{"url":"https://git.kernel.org/stable/c/a6f4d582e25d512c9b492670b6608436694357b3"},{"url":"https://git.kernel.org/stable/c/60d73c62e3e4464f375758b6f2459c13d46465b6"},{"url":"https://git.kernel.org/stable/c/26df9ab5de308caa1503d937533c56c35793018d"},{"url":"https://git.kernel.org/stable/c/73be49248a04746096339a48a33fa2f03bd85969"},{"url":"https://git.kernel.org/stable/c/1512d8f45d3c5d0b5baa00bd8e600492fa569f40"},{"url":"https://git.kernel.org/stable/c/6af289746a636f71f4c0535a9801774118486c7a"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-23T15:26:23.897Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14.326","versionEndExcluding":"4.14.327"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19.295","versionEndExcluding":"4.19.296"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4.257","versionEndExcluding":"5.4.258"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.195","versionEndExcluding":"5.10.198"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.132","versionEndExcluding":"5.15.134"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.53","versionEndExcluding":"6.1.56"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5.3","versionEndExcluding":"6.5.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4.16"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-26T20:40:23.115267Z","id":"CVE-2023-52577","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-26T20:40:47.293Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/4600beae416d754a3cedbb1ecea8181ec05073b6","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/62c218124fe58372e0e1f60d5b634d21c264b337","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/a6f4d582e25d512c9b492670b6608436694357b3","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/60d73c62e3e4464f375758b6f2459c13d46465b6","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/26df9ab5de308caa1503d937533c56c35793018d","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/73be49248a04746096339a48a33fa2f03bd85969","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/1512d8f45d3c5d0b5baa00bd8e600492fa569f40","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/6af289746a636f71f4c0535a9801774118486c7a","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T23:03:21.243Z"}}]}}}