rxrpc: Fix bug due to prealloc collision (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.15 % · centile 5 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix bug due to prealloc collision When userspace is using AF_RXRPC to provide a server, it has to preallocate incoming calls and assign to them call IDs that will be used to thread related recvmsg() and sendmsg() together. The preallocated call IDs will automatically be attached to calls as they come in until the pool is empty. To the kernel, the call IDs are just arbitrary numbers, but userspace can use the call ID to hold a pointer to prepared structs. In any case, the user isn't permitted to create two calls with the same call ID (call IDs become available again when the call ends) and EBADSLT should result from sendmsg() if an attempt is made to preallocate a call with an in-use call ID. However, the cleanup in the error handling will trigger both assertions in rxrpc_cleanup_call() because the call isn't marked complete and isn't marked as having been released. Fix this by setting the call state in rxrpc_service_prealloc_one() and then marking it as being released before calling the cleanup function.
Faiblesses (CWE)
- CWE-617 — Assertion atteignable
Références
- https://git.kernel.org/stable/c/3838acfc347b803b66a2c8eb510da1c489d44ca1
- https://git.kernel.org/stable/c/432c5363cd6fe5a928bbc94524d28b05515684dd
- https://git.kernel.org/stable/c/5385ad53793de2ab11e396bdcdaa65bb04b4dad6
- https://git.kernel.org/stable/c/d8ffb47a443919277cb093c3db1ec6c0a06880b1
- https://git.kernel.org/stable/c/69e4186773c6445b258fb45b6e1df18df831ec45
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
Références européennes
- ENISA EUVD · EUVD-2025-27896
- GCVE · GCVE-0-2025-38544
Avis du CERT-FR
- CERTFR-2026-AVI-0326 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0316 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0246 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0227 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0218 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0194 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0169 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1135 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1075 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1073 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1050 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0921 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0895 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.9 < 6.6.99cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.7 < 6.12.39cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.13 < 6.15.7cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.16:rc5:*:*:*:*:*:*
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 00e907127e6f86d0f9b122d9b4347a8aa09a8b61 < 3838acfc347b803b66a2c8eb510da1c489d44ca1 ; affected 00e907127e6f86d0f9b122d9b4347a8aa09a8b61 < 432c5363cd6fe5a928bbc94524d28b05515684dd ; affected 00e907127e6f86d0f9b122d9b4347a8aa09a8b61 < 5385ad53793de2ab11e396bdcdaa65bb04b4dad6 ; affected 00e907127e6f86d0f9b122d9b4347a8aa09a8b61 < d8ffb47a443919277cb093c3db1ec6c0a06880b1 ; affected 00e907127e6f86d0f9b122d9b4347a8aa09a8b61 < 69e4186773c6445b258fb45b6e1df18df831ec45 |
| Linux · Linux | affected 4.9 ; unaffected 0 < 4.9 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.99 ≤ 6.6.* ; unaffected 6.12.39 ≤ 6.12.* ; unaffected 6.15.7 ≤ 6.15.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |