rxrpc: Fix recvmsg() unconditional requeue
Summary
| CVE | CVE-2026-23066 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-02-04 17:16:17 UTC |
| Updated | 2026-06-01 17:16:44 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix recvmsg() unconditional requeue If rxrpc_recvmsg() fails because MSG_DONTWAIT was specified but the call at the front of the recvmsg queue already has its mutex locked, it requeues the call - whether or not the call is already queued. The call may be on the queue because MSG_PEEK was also passed and so the call was not dequeued or because the I/O thread requeued it. The unconditional requeue may then corrupt the recvmsg queue, leading to things like UAFs or refcount underruns. Fix this by only requeuing the call if it isn't already on the queue - and moving it to the front if it is already queued. If we don't queue it, we have to put the ref we obtained by dequeuing it. Also, MSG_PEEK doesn't dequeue the call so shouldn't call rxrpc_notify_socket() for the call if we didn't use up all the data on the queue, so fix that also. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.000180000 probability, percentile 0.048600000 (date 2026-06-04)
Problem Types: CWE-674
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
| Operating System | Linux | Linux Kernel | 6.19 | rc1 | All | All |
| Operating System | Linux | Linux Kernel | 6.19 | rc2 | All | All |
| Operating System | Linux | Linux Kernel | 6.19 | rc3 | All | All |
| Operating System | Linux | Linux Kernel | 6.19 | rc4 | All | All |
| Operating System | Linux | Linux Kernel | 6.19 | rc5 | All | All |
| Operating System | Linux | Linux Kernel | 6.19 | rc6 | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 540b1c48c37ac0ad66212004db21e1ff7e2d78be 8fd3b5e297854a4da0f273169baf4b1b7b257b97 git | Not specified |
| CNA | Linux | Linux | affected 540b1c48c37ac0ad66212004db21e1ff7e2d78be c198628f3fca5c874d93874c233014d336e09f64 git | Not specified |
| CNA | Linux | Linux | affected 540b1c48c37ac0ad66212004db21e1ff7e2d78be c6cebcb4e0b3140ec2ace45c020a9049527385d1 git | Not specified |
| CNA | Linux | Linux | affected 540b1c48c37ac0ad66212004db21e1ff7e2d78be 0464bf75590da75b8413c3e758c04647b4cdb3c6 git | Not specified |
| CNA | Linux | Linux | affected 540b1c48c37ac0ad66212004db21e1ff7e2d78be cf969bddd6e69c5777fa89dc88402204e72f312a git | Not specified |
| CNA | Linux | Linux | affected 540b1c48c37ac0ad66212004db21e1ff7e2d78be 930114425065f7ace6e0c0630fab4af75e059ea8 git | Not specified |
| CNA | Linux | Linux | affected 540b1c48c37ac0ad66212004db21e1ff7e2d78be 2c28769a51deb6022d7fbd499987e237a01dd63a git | Not specified |
| CNA | Linux | Linux | affected 4.11 | Not specified |
| CNA | Linux | Linux | unaffected 4.11 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.258 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.209 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.175 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.130 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.78 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.8 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.19 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/930114425065f7ace6e0c0630fab4af75e059ea8 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/c6cebcb4e0b3140ec2ace45c020a9049527385d1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/2c28769a51deb6022d7fbd499987e237a01dd63a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/8fd3b5e297854a4da0f273169baf4b1b7b257b97 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/cf969bddd6e69c5777fa89dc88402204e72f312a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/c198628f3fca5c874d93874c233014d336e09f64 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/0464bf75590da75b8413c3e758c04647b4cdb3c6 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.