CVE-2026-31640

rxrpc: Fix use of wrong skb when comparing queued RESP challenge serial

State
Published
Severity
7.5 High
Published
Apr 24, 2026
Updated
Aug 5, 2026
Reserved
Mar 9, 2026

Read the record on cve.org

Description

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

rxrpc: Fix use of wrong skb when comparing queued RESP challenge serial

In rxrpc_post_response(), the code should be comparing the challenge serial number from the cached response before deciding to switch to a newer response, but looks at the newer packet private data instead, rendering the comparison always false.

Fix this by switching to look at the older packet.

Fix further[1] to substitute the new packet in place of the old one if newer and also to release whichever we don't use.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5800b1cf3fd8ccab752a101865be1e76dac33142 to before 9132b1a7bf83b4a8042fffbc99d075b727a16742Affected
  • 5800b1cf3fd8ccab752a101865be1e76dac33142 to before 20386e7f8d97475b8d815873e246423317ec4260Affected
  • 5800b1cf3fd8ccab752a101865be1e76dac33142 to before b33f5741bb187db8ff32e8f5b96def77cc94dfcaAffected
LinuxLinux
  • 6.16Affected
  • before 6.16Not affected
  • 6.18.23 through 6.18.*Not affected
  • 6.19.13 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.