CVE-2026-93134 PUBLISHED

printk: Fix possible console use-after-free

Assigner: Linux
Reserved: 17.09.2026 Published: 17.09.2026 Updated: 17.09.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from c158834b223fbfab3a14855ac203b8d9cddbbefd to f0104a7b730de32eefb3d4a27279592b5504ad59 (excl.)
  • affected from c158834b223fbfab3a14855ac203b8d9cddbbefd to fbf9bb81b21537ede387a31cc586f1d2ce66a74e (excl.)
  • affected from c158834b223fbfab3a14855ac203b8d9cddbbefd to 8f194dee0c0d1223255bae1429e1939882f540fc (excl.)
  • affected from c158834b223fbfab3a14855ac203b8d9cddbbefd to 36630cafbeede0b64c370edb2f7b4094327ee1e0 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.12 is affected
  • unaffected from 0 to 6.12 (excl.)
  • unaffected from 6.12.110 to 6.12.* (incl.)
  • unaffected from 6.18.52 to 6.18.* (incl.)
  • unaffected from 7.2.6 to 7.2.* (incl.)
  • unaffected from 7.3-rc1 to * (incl.)

References