{"api_version":"1","generated_at":"2026-04-25T21:27:32+00:00","cve":"CVE-2026-31640","urls":{"html":"https://cve.report/CVE-2026-31640","api":"https://cve.report/api/cve/CVE-2026-31640.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31640","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31640"},"summary":{"title":"rxrpc: Fix use of wrong skb when comparing queued RESP challenge serial","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nrxrpc: Fix use of wrong skb when comparing queued RESP challenge serial\n\nIn rxrpc_post_response(), the code should be comparing the challenge serial\nnumber from the cached response before deciding to switch to a newer\nresponse, but looks at the newer packet private data instead, rendering the\ncomparison always false.\n\nFix this by switching to look at the older packet.\n\nFix further[1] to substitute the new packet in place of the old one if\nnewer and also to release whichever we don't use.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-04-24 15:16:43","updated_at":"2026-04-24 17:51:40"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/20386e7f8d97475b8d815873e246423317ec4260","name":"https://git.kernel.org/stable/c/20386e7f8d97475b8d815873e246423317ec4260","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b33f5741bb187db8ff32e8f5b96def77cc94dfca","name":"https://git.kernel.org/stable/c/b33f5741bb187db8ff32e8f5b96def77cc94dfca","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9132b1a7bf83b4a8042fffbc99d075b727a16742","name":"https://git.kernel.org/stable/c/9132b1a7bf83b4a8042fffbc99d075b727a16742","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-31640","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31640","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5800b1cf3fd8ccab752a101865be1e76dac33142 9132b1a7bf83b4a8042fffbc99d075b727a16742 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5800b1cf3fd8ccab752a101865be1e76dac33142 20386e7f8d97475b8d815873e246423317ec4260 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5800b1cf3fd8ccab752a101865be1e76dac33142 b33f5741bb187db8ff32e8f5b96def77cc94dfca git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.16","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.23 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19.13 6.19.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["include/trace/events/rxrpc.h","net/rxrpc/conn_event.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"9132b1a7bf83b4a8042fffbc99d075b727a16742","status":"affected","version":"5800b1cf3fd8ccab752a101865be1e76dac33142","versionType":"git"},{"lessThan":"20386e7f8d97475b8d815873e246423317ec4260","status":"affected","version":"5800b1cf3fd8ccab752a101865be1e76dac33142","versionType":"git"},{"lessThan":"b33f5741bb187db8ff32e8f5b96def77cc94dfca","status":"affected","version":"5800b1cf3fd8ccab752a101865be1e76dac33142","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["include/trace/events/rxrpc.h","net/rxrpc/conn_event.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.16"},{"lessThan":"6.16","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.23","versionType":"semver"},{"lessThanOrEqual":"6.19.*","status":"unaffected","version":"6.19.13","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.0","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.23","versionStartIncluding":"6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.19.13","versionStartIncluding":"6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0","versionStartIncluding":"6.16","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nrxrpc: Fix use of wrong skb when comparing queued RESP challenge serial\n\nIn rxrpc_post_response(), the code should be comparing the challenge serial\nnumber from the cached response before deciding to switch to a newer\nresponse, but looks at the newer packet private data instead, rendering the\ncomparison always false.\n\nFix this by switching to look at the older packet.\n\nFix further[1] to substitute the new packet in place of the old one if\nnewer and also to release whichever we don't use."}],"providerMetadata":{"dateUpdated":"2026-04-24T14:44:54.024Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/9132b1a7bf83b4a8042fffbc99d075b727a16742"},{"url":"https://git.kernel.org/stable/c/20386e7f8d97475b8d815873e246423317ec4260"},{"url":"https://git.kernel.org/stable/c/b33f5741bb187db8ff32e8f5b96def77cc94dfca"}],"title":"rxrpc: Fix use of wrong skb when comparing queued RESP challenge serial","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-31640","datePublished":"2026-04-24T14:44:54.024Z","dateReserved":"2026-03-09T15:48:24.125Z","dateUpdated":"2026-04-24T14:44:54.024Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-04-24 15:16:43","lastModifiedDate":"2026-04-24 17:51:40","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"31640","Ordinal":"1","Title":"rxrpc: Fix use of wrong skb when comparing queued RESP challenge","CVE":"CVE-2026-31640","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"31640","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nrxrpc: Fix use of wrong skb when comparing queued RESP challenge serial\n\nIn rxrpc_post_response(), the code should be comparing the challenge serial\nnumber from the cached response before deciding to switch to a newer\nresponse, but looks at the newer packet private data instead, rendering the\ncomparison always false.\n\nFix this by switching to look at the older packet.\n\nFix further[1] to substitute the new packet in place of the old one if\nnewer and also to release whichever we don't use.","Type":"Description","Title":"rxrpc: Fix use of wrong skb when comparing queued RESP challenge"}]}}}