CVE-2026-31640
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-31640 is a logic error vulnerability in the Linux kernel's RxRPC protocol implementation, specifically in the rxrpc_post_response() function, where an incorrect socket buffer (skb) is referenced when comparing queued RESP challenge serial numbers. This flaw causes the comparison to always evaluate as false, preventing proper validation of response packets and potentially enabling packet injection, replay attacks, or denial of service. Affected Linux kernel versions include 6.16.1 through 6.18.22 and 6.19 through 6.19.12, as well as release candidates for 7.0 up to rc7. The vulnerability was published on April 24, 2026, with a CVSS v3.1 base score of 7.5 (High) (GitHub Advisory, Red Hat Bugzilla).

Technical details

The root cause is classified under CWE-1025 (Comparison Using Wrong Factors) and CWE-401 (Missing Release of Memory after Effective Lifetime). In rxrpc_post_response(), the code incorrectly references the newer packet's private data instead of the cached (older) response packet when comparing challenge serial numbers, causing the conditional check to always return false. This means the kernel never properly decides whether to replace a queued response with a newer one, and also fails to release whichever packet is not used — resulting in a memory leak alongside the logic error. The fix involves switching the comparison to use the older (cached) packet's data, substituting the new packet only when it is actually newer, and releasing the unused packet (GitHub Advisory, Red Hat Bugzilla).

Impact

Successful exploitation of this vulnerability could allow a network-adjacent or remote attacker to bypass RxRPC response packet validation, enabling packet injection or replay attacks against services relying on the RxRPC protocol. The availability impact is rated High, meaning an attacker could cause denial of service conditions on affected systems. There is no confidentiality or integrity impact identified, and lateral movement potential is limited to disruption of RxRPC-dependent services (GitHub Advisory, Feedly).

Exploitability

There is no public proof-of-concept exploit available, and no evidence of in-the-wild exploitation has been observed as of the time of publication (Feedly). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.017% (0.054% per GitHub Advisory), placing it in the 17th percentile for exploitation likelihood within 30 days (GitHub Advisory). No threat actor attribution has been reported.

Mitigation and workarounds

Patches are available in the Linux kernel stable trees. Administrators should upgrade to kernel version 6.18.23 or later (for the 6.18.x branch), 6.19.13 or later (for the 6.19.x branch), or the 7.0 release or later. The specific fixes are available at the following upstream commits: 20386e7f, 9132b1a7, and b33f5741. Systems not using RxRPC (e.g., those not running AFS or similar services) may have reduced exposure, but patching remains the recommended remediation (GitHub Advisory, Red Hat Bugzilla).

Community reactions

Red Hat has tracked this vulnerability via their Bugzilla system with a medium priority/severity rating, and the upstream kernel community addressed it promptly through the stable tree patch process (Red Hat Bugzilla). No significant broader media coverage or notable researcher commentary has been identified beyond standard vulnerability tracking.

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68426MEDIUM4.7
  • Linux Kernel logoLinux Kernel
  • kernel-rt-debug-modules-core
NoYesAug 10, 2026
CVE-2026-68425MEDIUM4.3
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesAug 10, 2026
CVE-2026-68422LOW3.3
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 10, 2026
CVE-2026-68428NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel6.12
NoYesAug 10, 2026
CVE-2026-68421NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel6.12
NoYesAug 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management