Shellfeed logo Shellfeed

CVE-2026-93134 · UNKNOWN

Summary: printk: Fix possible console use-after-free

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 10.7).

Details

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.

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [c158834b223fbfab3a14855ac203b8d9cddbbefd – f0104a7b730de32eefb3d4a27279592b5504ad59]
  • Linux Kernel [6.12.0 – 6.12.110] [6.13.0 – 6.18.52] [6.19.0 – 7.2.6]

References