Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-38463

HIGH 7.8EPSS 13%

tcp: Correct signedness in skb remaining space calculation

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 270a1c3de47e49dd2fc18f48e46b101e48050e78, < 81373cd1d72d87c7d844d4454a526b8f53e72d00; >= 270a1c3de47e49dd2fc18f48e46b101e48050e78, < 62e6160cfb5514787bda833d466509edc38fde23; >= 270a1c3de47e49dd2fc18f48e46b101e48050e78, < 9f164fa6bb09fbcc60fa5c3ff551ce9eec1befd7; >= 270a1c3de47e49dd2fc18f48e46b101e48050e78, < d3a5f2871adc0c61c61869f37f3e697d97f03d8c
  • Anyone running Linux 6.5

Vulnerability facts

Affected
Linux >= 270a1c3de47e49dd2fc18f48e46b101e48050e78, < 81373cd1d72d87c7d844d4454a526b8f53e72d00; >= 270a1c3de47e49dd2fc18f48e46b101e48050e78, < 62e6160cfb5514787bda833d466509edc38fde23; >= 270a1c3de47e49dd2fc18f48e46b101e48050e78, < 9f164fa6bb09fbcc60fa5c3ff551ce9eec1befd7; >= 270a1c3de47e49dd2fc18f48e46b101e48050e78, < d3a5f2871adc0c61c61869f37f3e697d97f03d8c; Linux 6.5
Fixed in
Linux 81373cd1d72d87c7d844d4454a526b8f53e72d00, Linux 62e6160cfb5514787bda833d466509edc38fde23, Linux 9f164fa6bb09fbcc60fa5c3ff551ce9eec1befd7
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
CWE
CWE-191
Published
Modified

Description

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

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 270a1c3de47e49dd2fc18f48e46b101e48050e78, < 81373cd1d72d87c7d844d4454a526b8f53e72d00; >= 270a1c3de47e49dd2fc18f48e46b101e48050e78, < 62e6160cfb5514787bda833d466509edc38fde23; >= 270a1c3de47e49dd2fc18f48e46b101e48050e78, < 9f164fa6bb09fbcc60fa5c3ff551ce9eec1befd7; >= 270a1c3de47e49dd2fc18f48e46b101e48050e78, < d3a5f2871adc0c61c61869f37f3e697d97f03d8c—cvelist
Linux6.5—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-38463. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38463.md
Affected: Linux >= 270a1c3de47e49dd2fc18f48e46b101e48050e78, < 81373cd1d72d87c7d844d4454a526b8f53e72d00; >= 270a1c3de47e49dd2fc18f48e46b101e48050e78, < 62e6160cfb5514787bda833d466509edc38fde23; >= 270a1c3de47e49dd2fc18f48e46b101e48050e78, < 9f164fa6bb09fbcc60fa5c3ff551ce9eec1befd7; >= 270a1c3de47e49dd2fc18f4…
Fixed in: Linux 81373cd1d72d87c7d844d4454a526b8f53e72d00, Linux 62e6160cfb5514787bda833d466509edc38fde23, Linux 9f164fa6bb09fbcc60fa5c3ff551ce9eec1befd7

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-38463 being exploited?

There is no confirmed exploitation: CVE-2025-38463 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-38463?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-38463?

Linux >= 270a1c3de47e49dd2fc18f48e46b101e48050e78, < 81373cd1d72d87c7d844d4454a526b8f53e72d00; >= 270a1c3de47e49dd2fc18f48e46b101e48050e78, < 62e6160cfb5514787bda833d466509edc38fde23; >= 270a1c3de47e49dd2fc18f48e46b101e48050e78, < 9f164fa6bb09fbcc60fa5c3ff551ce9eec1befd7; >= 270a1c3de47e49dd2fc18f48e46b101e48050e78, < d3a5f2871adc0c61c61869f37f3e697d97f03d8c; Linux 6.5.

Is there a fix for CVE-2025-38463?

Yes. Fixed in Linux 81373cd1d72d87c7d844d4454a526b8f53e72d00, Linux 62e6160cfb5514787bda833d466509edc38fde23, Linux 9f164fa6bb09fbcc60fa5c3ff551ce9eec1befd7. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-38463?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors