dccp: fix dccp_v4_err()/dccp_v6_err() again
In the Linux kernel, the following vulnerability has been resolved: dccp: fix dccp_v4_err()/dccp_v6_err() again dh->dccph_x is the 9th byte (offset 8) in "struct dccp_hdr", not in the "byte 7" as Jann claimed. We need to make sure the ICMP messages are big enough, using more standard ways (no more assumptions). syzbot reported: BUG: KMSAN: uninit-value in pskb_may_pull_reason include/linux/skbuff.h:2667 [inline] BUG: KMSAN: uninit-value in pskb_may_pull include/linux/skbuff.h:2681 [inline] BUG: KMSAN: uninit-value in dccp_v6_err+0x426/0x1aa0 net/dccp/ipv6.c:94 pskb_may_pull_reason include/linux/skbuff.h:2667 [inline] pskb_may_pull include/linux/skbuff.h:2681 [inline] dccp_v6_err+0x426/0x1aa0 net/dccp/ipv6.c:94 icmpv6_notify+0x4c7/0x880 net/ipv6/icmp.c:867 icmpv6_rcv+0x19d5/0x30d0 ip6_protocol_deliver_rcu+0xda6/0x2a60 net/ipv6/ip6_input.c:438 ip6_input_finish net/ipv6/ip6_input.c:483 [inline] NF_HOOK include/linux/netfilter.h:304 [inline] ip6_input+0x15d/0x430 net/ipv6/ip6_input.c:492 ip6_mc_input+0xa7e/0xc80 net/ipv6/ip6_input.c:586 dst_input include/net/dst.h:468 [inline] ip6_rcv_finish+0x5db/0x870 net/ipv6/ip6_input.c:79 NF_HOOK include/linux/netfilter.h:304 [inline] ipv6_rcv+0xda/0x390 net/ipv6/ip6_input.c:310 __netif_receive_skb_one_core net/core/dev.c:5523 [inline] __netif_receive_skb+0x1a6/0x5a0 net/core/dev.c:5637 netif_receive_skb_internal net/core/dev.c:5723 [inline] netif_receive_skb+0x58/0x660 net/core/dev.c:5782 tun_rx_batched+0x83b/0x920 tun_get_user+0x564c/0x694
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 4.14.327, 4.19.296, 5.10.198, 5.15.134, 5.4.258, 6.1.56, 6.5.6
- CVEs
- CVE-2023-52577
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 12:44 UTC · Revision 1
Source evidence
dccp: fix dccp_v4_err()/dccp_v6_err() again
core-osv · Original sourcePublished 2 Mar 2024, 21:59 UTC
In the Linux kernel, the following vulnerability has been resolved: dccp: fix dccp_v4_err()/dccp_v6_err() again dh->dccph_x is the 9th byte (offset 8) in "struct dccp_hdr", not in the "byte 7" as Jann claimed. We need to make sure the ICMP messages are big enough, using more standard ways (no more assumptions). syzbot reported: BUG: KMSAN: uninit-value in pskb_may_pull_reason include/linux/skbuff.h:2667 [inline] BUG: KMSAN: uninit-value in pskb_may_pull include/linux/skbuff.h:2681 [inline] BUG: KMSAN: uninit-value in dccp_v6_err+0x426/0x1aa0 net/dccp/ipv6.c:94 pskb_may_pull_reason include/linux/skbuff.h:2667 [inline] pskb_may_pull include/linux/skbuff.h:2681 [inline] dccp_v6_err+0x426/0x1aa0 net/dccp/ipv6.c:94 icmpv6_notify+0x4c7/0x880 net/ipv6/icmp.c:867 icmpv6_rcv+0x19d5/0x30d0 ip6_protocol_deliver_rcu+0xda6/0x2a60 net/ipv6/ip6_input.c:438 ip6_input_finish net/ipv6/ip6_input.c:483 [inline] NF_HOOK include/linux/netfilter.h:304 [inline] ip6_input+0x15d/0x430 net/ipv6/ip6_input.c:492 ip6_mc_input+0xa7e/0xc80 net/ipv6/ip6_input.c:586 dst_input include/net/dst.h:468 [inline] ip6_rcv_finish+0x5db/0x870 net/ipv6/ip6_input.c:79 NF_HOOK include/linux/netfilter.h:304 [inline] ipv6_rcv+0xda/0x390 net/ipv6/ip6_input.c:310 __netif_receive_skb_one_core net/core/dev.c:5523 [inline] __netif_receive_skb+0x1a6/0x5a0 net/core/dev.c:5637 netif_receive_skb_internal net/core/dev.c:5723 [inline] netif_receive_skb+0x58/0x660 net/core/dev.c:5782 tun_rx_batched+0x83b/0x920 tun_get_user+0x564c/0x694
osv:CVE-2023-52577
Kernel
Fixed versions: 4.14.327, 4.19.296, 5.4.258, 5.10.198, 5.15.134, 6.1.56, 6.5.6
Complete source record
{
"id": "e5c29a9ce11c63514fe4a7aa4300a525ae6c7c9aeec850f8ff1d8676fb1eb212",
"url": "https://osv.dev/vulnerability/CVE-2023-52577",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "dccp: fix dccp_v4_err()/dccp_v6_err() again",
"summary": "In the Linux kernel, the following vulnerability has been resolved: dccp: fix dccp_v4_err()/dccp_v6_err() again dh->dccph_x is the 9th byte (offset 8) in \"struct dccp_hdr\", not in the \"byte 7\" as Jann claimed. We need to make sure the ICMP messages are big enough, using more standard ways (no more assumptions). syzbot reported: BUG: KMSAN: uninit-value in pskb_may_pull_reason include/linux/skbuff.h:2667 [inline] BUG: KMSAN: uninit-value in pskb_may_pull include/linux/skbuff.h:2681 [inline] BUG: KMSAN: uninit-value in dccp_v6_err+0x426/0x1aa0 net/dccp/ipv6.c:94 pskb_may_pull_reason include/linux/skbuff.h:2667 [inline] pskb_may_pull include/linux/skbuff.h:2681 [inline] dccp_v6_err+0x426/0x1aa0 net/dccp/ipv6.c:94 icmpv6_notify+0x4c7/0x880 net/ipv6/icmp.c:867 icmpv6_rcv+0x19d5/0x30d0 ip6_protocol_deliver_rcu+0xda6/0x2a60 net/ipv6/ip6_input.c:438 ip6_input_finish net/ipv6/ip6_input.c:483 [inline] NF_HOOK include/linux/netfilter.h:304 [inline] ip6_input+0x15d/0x430 net/ipv6/ip6_input.c:492 ip6_mc_input+0xa7e/0xc80 net/ipv6/ip6_input.c:586 dst_input include/net/dst.h:468 [inline] ip6_rcv_finish+0x5db/0x870 net/ipv6/ip6_input.c:79 NF_HOOK include/linux/netfilter.h:304 [inline] ipv6_rcv+0xda/0x390 net/ipv6/ip6_input.c:310 __netif_receive_skb_one_core net/core/dev.c:5523 [inline] __netif_receive_skb+0x1a6/0x5a0 net/core/dev.c:5637 netif_receive_skb_internal net/core/dev.c:5723 [inline] netif_receive_skb+0x58/0x660 net/core/dev.c:5782 tun_rx_batched+0x83b/0x920 tun_get_user+0x564c/0x694",
"evidence": "osv:CVE-2023-52577",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.14.327",
"evidence": "/affected/1/ranges"
},
{
"value": "4.19.296",
"evidence": "/affected/1/ranges"
},
{
"value": "5.4.258",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.198",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.134",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.56",
"evidence": "/affected/1/ranges"
},
{
"value": "6.5.6",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2023-52577",
"aliases": [
"CVE-2023-52577"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "3533e10272555c422a7d51ebc0ce8c483429f7f2"
},
{
"fixed": "4600beae416d754a3cedbb1ecea8181ec05073b6"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "177212bf6dc1ff2d13d0409cddc5c9e81feec63d"
},
{
"fixed": "62c218124fe58372e0e1f60d5b634d21c264b337"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "7a7dd70cb954d3efa706a429687ded88c02496fa"
},
{
"fixed": "a6f4d582e25d512c9b492670b6608436694357b3"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "4b8a938e329ae4eb54b73b0c87b5170607b038a8"
},
{
"fixed": "60d73c62e3e4464f375758b6f2459c13d46465b6"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "6ecf09699eb1554299aa1e7fd13e9e80f656c2f9"
},
{
"fixed": "26df9ab5de308caa1503d937533c56c35793018d"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "f8a7f10a1dccf9868ff09342a73dce27501b86df"
},
{
"fixed": "73be49248a04746096339a48a33fa2f03bd85969"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "ec620c34f5fa5d055f9f6136a387755db6157712"
},
{
"fixed": "1512d8f45d3c5d0b5baa00bd8e600492fa569f40"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "977ad86c2a1bcaf58f01ab98df5cc145083c489c"
},
{
"fixed": "6af289746a636f71f4c0535a9801774118486c7a"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "6.4.16"
},
{
"fixed": "6.5"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "d8171411a661253e6271fa10b65b46daf1b6471c"
}
]
}
],
"versions": [
"v4.14.326",
"v4.19.295",
"v5.4.257",
"v5.10.197",
"v5.10.196",
"v5.10.195",
"v5.15.133",
"v5.15.132",
"v6.1.55",
"v6.1.54",
"v6.1.53",
"v6.5.5",
"v6.5.4",
"v6.5.3",
"v6.4.16"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52577.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.14.326"
},
{
"fixed": "4.14.327"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.19.295"
},
{
"fixed": "4.19.296"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.4.257"
},
{
"fixed": "5.4.258"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.10.195"
},
{
"fixed": "5.10.198"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.15.132"
},
{
"fixed": "5.15.134"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.1.53"
},
{
"fixed": "6.1.56"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.5.3"
},
{
"fixed": "6.5.6"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52577.json"
}
}
],
"modified": "2026-10-28T02:30:29.111810733Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/1512d8f45d3c5d0b5baa00bd8e600492fa569f40",
"https://git.kernel.org/stable/c/26df9ab5de308caa1503d937533c56c35793018d",
"https://git.kernel.org/stable/c/4600beae416d754a3cedbb1ecea8181ec05073b6",
"https://git.kernel.org/stable/c/60d73c62e3e4464f375758b6f2459c13d46465b6",
"https://git.kernel.org/stable/c/62c218124fe58372e0e1f60d5b634d21c264b337",
"https://git.kernel.org/stable/c/6af289746a636f71f4c0535a9801774118486c7a",
"https://git.kernel.org/stable/c/73be49248a04746096339a48a33fa2f03bd85969",
"https://git.kernel.org/stable/c/a6f4d582e25d512c9b492670b6608436694357b3",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52577.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-52577",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52577.json"
}
},
"related_cves": [
{
"value": "CVE-2023-52577",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 495538,
"published_at": "2024-03-02T21:59:45.279+00:00"
}