packet: synchronize pressure clearing with ring reconfiguration (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.13 % · centile 3 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: packet: synchronize pressure clearing with ring reconfiguration packet_set_ring() updates the RX ring state under sk_receive_queue.lock, but used to publish the tpacket receive mode through po->prot_hook.func after releasing that lock. packet_poll() and packet_recvmsg() can then run the pressure clearing path after the ring has been cleared while still seeing tpacket_rcv, causing __packet_rcv_has_room() to dereference stale or NULL ring storage. Move the existing receive hook assignment into the same sk_receive_queue.lock section as the ring state update. Keep the assignment otherwise unchanged, including on TX ring reconfiguration, to avoid adding behavior changes that are not required for the fix. Serialize packet_recvmsg() pressure clearing with the same queue lock only after PACKET_SOCK_PRESSURE has been observed. If the flag is clear and the socket has moved away from tpacket_rcv, packet_set_ring() has already detached the socket and waited for synchronize_net(), so no new packet input can set the flag again. packet_poll() already holds sk_receive_queue.lock, so it uses the new unlocked helper directly.
Références
- https://git.kernel.org/stable/c/bf3c8e86bc8ad111be3f3136125e255344bcb3da
- https://git.kernel.org/stable/c/8cfb2e71926a682f36c4240067d424074dd8f70f
- https://git.kernel.org/stable/c/f015c9de92b731814059a343b765c60c0196225c
- https://git.kernel.org/stable/c/cf8189b82bb93f219ab740e0346c919ad65ada62
- https://git.kernel.org/stable/c/ad740b4990347521f0db260d381f9f74e7b340ba
- https://git.kernel.org/stable/c/2c7b5eb87b2b288cdbde825f21d2b83b2f5da747
- https://git.kernel.org/stable/c/a08196c3cc105947746ec21309edfbb60275fcdb
- https://git.kernel.org/stable/c/1a35da325cac4d5bcad76a2aa943408a6f1d9000
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2026-64353
- GCVE · GCVE-0-2026-74666
Avis du CERT-FR
- CERTFR-2026-AVI-1372 — Multiples vulnérabilités dans les produits SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1335 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1232 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1163 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1090 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 2ccdbaa6d55b0656244ba57c4b56765a0af76c0a < bf3c8e86bc8ad111be3f3136125e255344bcb3da ; affected 2ccdbaa6d55b0656244ba57c4b56765a0af76c0a < 8cfb2e71926a682f36c4240067d424074dd8f70f ; affected 2ccdbaa6d55b0656244ba57c4b56765a0af76c0a < f015c9de92b731814059a343b765c60c0196225c ; affected 2ccdbaa6d55b0656244ba57c4b56765a0af76c0a < cf8189b82bb93f219ab740e0346c919ad65ada62 ; affected 2ccdbaa6d55b0656244ba57c4b56765a0af76c0a < ad740b4990347521f0db260d381f9f74e7b340ba ; affected 2ccdbaa6d55b0656244ba57c4b56765a0af76c0a < 2c7b5eb87b2b288cdbde825f21d2b83b2f5da747 |
| Linux · Linux | affected 4.2 ; unaffected 0 < 4.2 ; unaffected 5.10.267 ≤ 5.10.* ; unaffected 5.15.218 ≤ 5.15.* ; unaffected 6.1.185 ≤ 6.1.* ; unaffected 6.6.152 ≤ 6.6.* |
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 |