{"id":"CVE-2026-93134","state":"PUBLISHED","title":"printk: Fix possible console use-after-free","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nprintk: Fix possible console use-after-free\n\nWhen emitting a record via legacy printing, it is possible that a handover\nto another legacy printing context occurs. When a context has performed a\nhandover, the console SRCU read lock is released and the pointer to the\nconsole struct might now be invalid. Therefore, after calling\nnbcon_legacy_emit_next_record() or console_emit_next_record(), it is\nnecessary to check if a handover occurred _before_ further @con usage.\n\nSashiko pointed out that console_flush_one_record() was not doing this.\n\nIn console_flush_one_record(), after emitting a record, move the further\nusage of @con after the handover check.","publishedAt":"2026-09-17T16:11:36.077Z","updatedAt":"2026-10-19T09:06:07.190Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c158834b223fbfab3a14855ac203b8d9cddbbefd","status":"affected","lessThan":"f0104a7b730de32eefb3d4a27279592b5504ad59","versionType":"git"},{"version":"c158834b223fbfab3a14855ac203b8d9cddbbefd","status":"affected","lessThan":"fbf9bb81b21537ede387a31cc586f1d2ce66a74e","versionType":"git"},{"version":"c158834b223fbfab3a14855ac203b8d9cddbbefd","status":"affected","lessThan":"8f194dee0c0d1223255bae1429e1939882f540fc","versionType":"git"},{"version":"c158834b223fbfab3a14855ac203b8d9cddbbefd","status":"affected","lessThan":"36630cafbeede0b64c370edb2f7b4094327ee1e0","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/printk/printk.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.12","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/printk/printk.c"]}],"references":["https://git.kernel.org/stable/c/f0104a7b730de32eefb3d4a27279592b5504ad59","https://git.kernel.org/stable/c/fbf9bb81b21537ede387a31cc586f1d2ce66a74e","https://git.kernel.org/stable/c/8f194dee0c0d1223255bae1429e1939882f540fc","https://git.kernel.org/stable/c/36630cafbeede0b64c370edb2f7b4094327ee1e0"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:34.582Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/93xxx/CVE-2026-93134.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-93134","state":"PUBLISHED","datePublished":"2026-09-17T16:11:36.077Z","dateUpdated":"2026-10-19T09:06:07.190Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-17T16:02:15.087Z"},"containers":{"cna":{"title":"printk: Fix possible console use-after-free","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nprintk: Fix possible console use-after-free\n\nWhen emitting a record via legacy printing, it is possible that a handover\nto another legacy printing context occurs. When a context has performed a\nhandover, the console SRCU read lock is released and the pointer to the\nconsole struct might now be invalid. Therefore, after calling\nnbcon_legacy_emit_next_record() or console_emit_next_record(), it is\nnecessary to check if a handover occurred _before_ further @con usage.\n\nSashiko pointed out that console_flush_one_record() was not doing this.\n\nIn console_flush_one_record(), after emitting a record, move the further\nusage of @con after the handover check."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c158834b223fbfab3a14855ac203b8d9cddbbefd","status":"affected","lessThan":"f0104a7b730de32eefb3d4a27279592b5504ad59","versionType":"git"},{"version":"c158834b223fbfab3a14855ac203b8d9cddbbefd","status":"affected","lessThan":"fbf9bb81b21537ede387a31cc586f1d2ce66a74e","versionType":"git"},{"version":"c158834b223fbfab3a14855ac203b8d9cddbbefd","status":"affected","lessThan":"8f194dee0c0d1223255bae1429e1939882f540fc","versionType":"git"},{"version":"c158834b223fbfab3a14855ac203b8d9cddbbefd","status":"affected","lessThan":"36630cafbeede0b64c370edb2f7b4094327ee1e0","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/printk/printk.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.12","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/printk/printk.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/f0104a7b730de32eefb3d4a27279592b5504ad59"},{"url":"https://git.kernel.org/stable/c/fbf9bb81b21537ede387a31cc586f1d2ce66a74e"},{"url":"https://git.kernel.org/stable/c/8f194dee0c0d1223255bae1429e1939882f540fc"},{"url":"https://git.kernel.org/stable/c/36630cafbeede0b64c370edb2f7b4094327ee1e0"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:06:07.190Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.12.110"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.18.52"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"7.2.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}