Skip to main content

Linux Kernel CVE-2025-38463

MEDIUM
Integer Underflow (CWE-191)
2025-07-25 416baaa9-dc9f-4396-8d5f-8c081fb06d67
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain local shell on target Linux host
  2. Delivery
    Open TCP socket and send ~2GB of data
  3. Exploit
    tcp_bound_to_half_wnd() reduces size_goal below skb->len
  4. Install
    Unsigned promotion wraps subtraction to large positive value
  5. C2
    tcp_wmem_schedule() sets sk_forward_alloc near INT_MAX
  6. Execute
    Next allocation wraps counter negative
  7. Impact
    Kernel memory accounting failure and panic

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer underflow checks
Exploitation Conditions

Exploitation requires a local authenticated session on the target system with the ability to create TCP sockets, which is available to any unprivileged user account (no root or special capabilities needed for the tcp_bound_to_half_wnd() trigger path). The specific triggering condition is sending a sufficiently large volume of TCP data (approximately 2GB in one operation) such that skb->len in the tail write-queue buffer exceeds the size_goal value computed by the kernel's congestion and window-bounding logic. The most reliable reproduction path reported uses the TCP_REPAIR socket option, which requires CAP_NET_ADMIN and is therefore restricted to privileged users; however, the upstream maintainers explicitly confirm that real-world triggering via tcp_bound_to_half_wnd() does not require TCP_REPAIR or any elevated capability, making the effective privilege requirement that of any local user. Exploitation is limited to 64-bit Linux systems where ssize_t is 64 bits and zero-extension of the unsigned result occurs; no remote or unauthenticated exploitation vector exists.

Impact

The CVSS 3.1 score of 5.5 Medium with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H is well-calibrated to the actual risk. The local attack vector limits exposure exclusively to authenticated system users; no network-facing exploitation surface exists. EPSS at 0.15% (4th percentile) places this firmly in the low-exploitation-probability category despite a reliable Syzkaller reproducer existing. The KEV non-listing further confirms no known active exploitation at time of analysis. The primary real-world risk is on multi-tenant systems - cloud VMs, container hosts, shared HPC clusters - where local users are less trusted and a single panicking kernel disrupts all co-tenants. The availability impact is assessed as High (A:H) because sk_forward_alloc corruption can propagate to a kernel panic. Confidentiality and integrity are correctly scored as Not Affected (C:N/I:N): this is a memory accounting error, not an arbitrary write or information leak primitive. One potential inconsistency: the most reliable reproduction path (TCP_REPAIR) requires CAP_NET_ADMIN, which typically elevates the effective privilege requirement above PR:L; however, the upstream commit explicitly confirms triggering is also possible via tcp_bound_to_half_wnd() without special capabilities, validating the PR:L assignment.

Exploit ScenarioDerived

A low-privileged local user on a shared Linux server creates a TCP socket and sends approximately 2GB of data, causing the kernel's tcp_bound_to_half_wnd() to reduce size_goal below the current skb->len of the tail write-queue buffer. The implicit unsigned promotion in the space calculation produces a near-UINT_MAX positive value for copy, which tcp_wmem_schedule() writes into sk_forward_alloc, setting it close to INT_MAX; the next memory allocation wraps the counter negative, triggering kernel memory accounting failures and potentially a kernel panic that takes down all processes on the host.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 30, 2026

Kernel denial-of-service in the Linux kernel TCP write path allows local, low-privileged users to corrupt the socket's forward memory allocation counter, potentially triggering a kernel panic or system instability. The flaw stems from a signedness mismatch in the skb remaining-space calculation where implicit C type promotion causes a large unsigned wraparound value to be zero-extended into a signed 64-bit variable, driving sk_forward_alloc toward INT_MAX. No public exploit identified at time of analysis beyond a Syzkaller fuzzer reproducer; EPSS of 0.15% (4th percentile) reflects low near-term exploitation probability and CISA KEV does not list this CVE.

RemediationAI

Apply the four upstream fixes available in the Linux kernel stable repository: https://git.kernel.org/stable/c/62e6160cfb5514787bda833d466509edc38fde23, https://git.kernel.org/stable/c/81373cd1d72d87c7d844d4454a526b8f53e72d00, https://git.kernel.org/stable/c/9f164fa6bb09fbcc60fa5c3ff551ce9eec1befd7, and https://git.kernel.org/stable/c/d3a5f2871adc0c61c61869f37f3e697d97f03d8c. Exact patched tagged release versions are not confirmed in available data beyond stable-tree commit level - upstream fix is available per vendor advisory. Linux distribution maintainers (Red Hat, Canonical, SUSE) are expected to backport these commits; check respective vendor security channels for distribution-specific patched package versions before deploying. As a partial compensating control on multi-tenant systems that cannot immediately patch, restricting CAP_NET_ADMIN (e.g., via seccomp or capability bounding sets in container runtimes) removes the TCP_REPAIR-based reliable reproduction path, but does not fully mitigate the vulnerability since tcp_bound_to_half_wnd() can trigger the same code path without elevated capabilities - this trade-off should be clearly understood before relying on this control alone.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the Linux kernel TCP transmit path, where the remaining space in the tail socket buffer is computed as: copy = size_goal - skb->len. The operand types are size_goal (int, signed 32-bit) and skb->len (unsigned int). Under ISO C integer promotion rules, the signed size_goal is implicitly converted to unsigned int before the subtraction; when skb->len exceeds size_goal, the result wraps to a large unsigned value (e.g., near UINT_MAX). This unsigned result is then zero-extended into the ssize_t (s64 on 64-bit) variable copy, making it appear as a large positive integer rather than the expected negative number. The subsequent tcp_wmem_schedule() call uses this spurious value to update sk->sk_forward_alloc, setting it near INT_MAX. A later memory allocation then wraps sk_forward_alloc negative, breaking kernel memory accounting invariants. CWE-191 (Integer Underflow/Wrap-around) precisely classifies this root cause. CPE data confirms all Linux kernel versions through 6.16-rc5 are affected, with no lower bound specified in the available data.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local unprivileged TCP socket write triggers the bug with no special configuration; impact is availability-only via kernel memory counter corruption, with no confidentiality or integrity consequence.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 6.1 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
Red Hat 7.3 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

tcp: Correct signedness in skb remaining space calculation

Syzkaller reported a bug [1] where sk->sk_forward_alloc can overflow.

When we send data, if an skb exists at the tail of the write queue, the kernel will attempt to append the new data to that skb. However, the code that checks for available space in the skb is flawed: ''' copy = size_goal - skb->len '''

The types of the variables involved are: ''' copy: ssize_t (s64 on 64-bit systems) size_goal: int skb->len: unsigned int '''

Due to C's type promotion rules, the signed size_goal is converted to an unsigned int to match skb->len before the subtraction. The result is an unsigned int.

When this unsigned int result is then assigned to the s64 copy variable, it is zero-extended, preserving its non-negative value. Consequently, copy is always >= 0.

Assume we are sending 2GB of data and size_goal has been adjusted to a value smaller than skb->len. The subtraction will result in copy holding a very large positive integer. In the subsequent logic, this large value is used to update sk->sk_forward_alloc, which can easily cause it to overflow.

The syzkaller reproducer uses TCP_REPAIR to reliably create this condition. However, this can also occur in real-world scenarios. The tcp_bound_to_half_wnd() function can also reduce size_goal to a small value. This would cause the subsequent tcp_wmem_schedule() to set sk->sk_forward_alloc to a value close to INT_MAX. Further memory allocation requests would then cause sk_forward_alloc to wrap around and become negative.

[1]: https://syzkaller.appspot.com/bug?extid=de6565462ab540f50e47

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Ubiquitous
core OS kernel powering virtually all Linux servers and cloud infrastructure
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Affected Products (CPE)NVD

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc5:*:*:*:*:*:*

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/hpc/warewulf4-x86_64/sle-hpc-node:15.6.17.8.103 Image SLES15-SP6 Image SLES15-SP6-BYOS Image SLES15-SP6-BYOS-Azure Image SLES15-SP6-BYOS-EC2 Image SLES15-SP6-BYOS-GCE Image SLES15-SP6-CHOST-BYOS Image SLES15-SP6-CHOST-BYOS-Aliyun Image SLES15-SP6-CHOST-BYOS-Azure Image SLES15-SP6-CHOST-BYOS-EC2 Image SLES15-SP6-CHOST-BYOS-GCE Image SLES15-SP6-CHOST-BYOS-GDC Image SLES15-SP6-CHOST-BYOS-SAP-CCloud Image SLES15-SP6-EC2 Image SLES15-SP6-EC2-ECS-HVM Image SLES15-SP6-GCE Image SLES15-SP6-HPC-BYOS Image SLES15-SP6-HPC-BYOS-Azure Image SLES15-SP6-HPC-BYOS-EC2 Image SLES15-SP6-HPC-BYOS-GCE Image SLES15-SP6-HPC-EC2 Image SLES15-SP6-HPC-GCE Image SLES15-SP6-Hardened-BYOS Image SLES15-SP6-Hardened-BYOS-Azure Image SLES15-SP6-Hardened-BYOS-EC2 Image SLES15-SP6-Hardened-BYOS-GCE Image SLES15-SP6-SAP Image SLES15-SP6-SAP-Azure Image SLES15-SP6-SAP-EC2 Image SLES15-SP6-SAP-GCE Image SLES15-SP6-SAPCAL Image SLES15-SP6-SAPCAL-Azure Image SLES15-SP6-SAPCAL-EC2 Image SLES15-SP6-SAPCAL-GCE Affected
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.44 Container suse/sl-micro/6.1/base-os-container:2.2.1-5.27 Image SL-Micro Image SL-Micro-Azure Image SL-Micro-BYOS-Azure Image SL-Micro-BYOS-EC2 Image SL-Micro-BYOS-GCE Image SL-Micro-EC2 Image SLE-Micro Image SLE-Micro-Azure Image SLE-Micro-BYOS Image SLE-Micro-BYOS-Azure Image SLE-Micro-BYOS-EC2 Image SLE-Micro-BYOS-GCE Image SLE-Micro-EC2 Image SLE-Micro-GCE Image SUSE-Multi-Linux-Manager-Proxy-BYOS-Azure Image SUSE-Multi-Linux-Manager-Proxy-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Proxy-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-Azure-llc Image SUSE-Multi-Linux-Manager-Server-Azure-ltd Image SUSE-Multi-Linux-Manager-Server-BYOS-Azure Image SUSE-Multi-Linux-Manager-Server-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Server-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-EC2-llc Image SUSE-Multi-Linux-Manager-Server-EC2-ltd Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.67 Container suse/sl-micro/6.1/kvm-os-container:2.2.1-5.29 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.76 Container suse/sl-micro/6.1/rt-os-container:2.2.1-5.14 Affected
Image SLES-Azure-3P Image SLES-Azure-Basic Image SLES-Azure-Standard Image SLES-BYOS-Azure Image SLES-BYOS-EC2 Image SLES-BYOS-GCE Image SLES-CHOST-BYOS-Aliyun Image SLES-CHOST-BYOS-Azure Image SLES-CHOST-BYOS-EC2 Image SLES-CHOST-BYOS-GCE Image SLES-CHOST-BYOS-GDC Image SLES-CHOST-BYOS-SAP-CCloud Image SLES-EC2 Image SLES-EC2-ECS Image SLES-GCE Image SLES-GCE-3P Image SLES-Hardened-BYOS-Azure Image SLES-Hardened-BYOS-EC2 Image SLES-Hardened-BYOS-GCE Image SLES-SAPCAL-Azure Image SLES-SAPCAL-EC2 Image SLES-SAPCAL-GCE Affected

References

Advisories & patches
PATCH https://git.kernel.org/stable/c/62e6160cfb5514787bda833d466509edc38fde23 PATCH https://git.kernel.org/stable/c/81373cd1d72d87c7d844d4454a526b8f53e72d00 PATCH https://git.kernel.org/stable/c/9f164fa6bb09fbcc60fa5c3ff551ce9eec1befd7 PATCH https://git.kernel.org/stable/c/d3a5f2871adc0c61c61869f37f3e697d97f03d8c ADVISORY https://access.redhat.com/errata/RHSA-2025:15782 ADVISORY https://vuldb.com/vuln/317747 ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02853/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02923/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02969/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02996/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02997/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03011/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03023/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20577/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20586/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20601/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20602/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20994/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20996/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21074/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21139/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21179/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20309/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20330/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20560/

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy