printk: Fix possible console use-after-free (Linux Linux)

CVE-2026-93134
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.21 % · centile 11 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: printk: Fix possible console use-after-free When emitting a record via legacy printing, it is possible that a handover to another legacy printing context occurs. When a context has performed a handover, the console SRCU read lock is released and the pointer to the console struct might now be invalid. Therefore, after calling nbcon_legacy_emit_next_record() or console_emit_next_record(), it is necessary to check if a handover occurred _before_ further @con usage. Sashiko pointed out that console_flush_one_record() was not doing this. In console_flush_one_record(), after emitting a record, move the further usage of @con after the handover check.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected c158834b223fbfab3a14855ac203b8d9cddbbefd < f0104a7b730de32eefb3d4a27279592b5504ad59 ; affected c158834b223fbfab3a14855ac203b8d9cddbbefd < fbf9bb81b21537ede387a31cc586f1d2ce66a74e ; affected c158834b223fbfab3a14855ac203b8d9cddbbefd < 8f194dee0c0d1223255bae1429e1939882f540fc ; affected c158834b223fbfab3a14855ac203b8d9cddbbefd < 36630cafbeede0b64c370edb2f7b4094327ee1e0
Linux · Linuxaffected 6.12 ; unaffected 0 < 6.12 ; unaffected 6.12.110 ≤ 6.12.* ; unaffected 6.18.52 ≤ 6.18.* ; unaffected 7.2.6 ≤ 7.2.* ; unaffected 7.3 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD