CVE-2026-43197: netconsole: avoid OOB reads, msg is not nul-terminated

Published May 6, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

netconsole: avoid OOB reads, msg is not nul-terminated

msg passed to netconsole from the console subsystem is not guaranteed to be nul-terminated. Before recent commit 7eab73b18630 ("netconsole: convert to NBCON console infrastructure") the message would be placed in printksharedpbufs, a static global buffer, so KASAN had harder time catching OOB accesses. Now we see:

printk: console [netconext0] enabled BUG: KASAN: slab-out-of-bounds in string+0x1f7/0x240 Read of size 1 at addr ffff88813b6d4c00 by task pr/netconext0/594

CPU: 65 UID: 0 PID: 594 Comm: pr/netconext0 Not tainted 6.19.0-11754-g4246fd6547c9 Call Trace: kasanreport+0xe4/0x120 string+0x1f7/0x240 vsnprintf+0x655/0xba0 scnprintf+0xba/0x120 netconsolewrite+0x3fe/0xa10 nbconemitnextrecord+0x46e/0x860 nbconkthreadfunc+0x623/0x750

Allocated by task 1: nbconalloc+0x1ea/0x450 registerconsole+0x26b/0xe10 initnetconsole+0xbb0/0xda0

The buggy address belongs to the object at ffff88813b6d4000 which belongs to the cache kmalloc-4k of size 4096 The buggy address is located 0 bytes to the right of allocated 3072-byte region [ffff88813b6d4000, ffff88813b6d4c00)

Affected Software

4 affected components
Linux Linux kernel
Linux Linux kernel>=6.6<6.18.16
Linux Linux kernel>=6.19<6.19.6
Linux Linux kernel=7.0-rc1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 7eab73b18630
  2. Compensating control

    If affected, disable netconsole (console module netcon_ext0 / netconsole) to prevent printk messages from being processed by the netconsole NBCON console infrastructure until the fix is applied.

Event History

May 6, 2026
CVE Published
via MITRE·11:28 AM
Data Sourced
via MITRE·11:28 AM
DescriptionSeverity
Data Sourced
via NVD·12:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-43197?

CVE-2026-43197 has been classified as a moderate severity vulnerability due to the potential for out-of-bounds read issues.

2

How do I fix CVE-2026-43197?

To resolve CVE-2026-43197, update your Linux kernel to the latest version that includes the fix for this vulnerability.

3

What systems are affected by CVE-2026-43197?

CVE-2026-43197 affects the Linux kernel across various distributions that utilize netconsole.

4

Can CVE-2026-43197 lead to exploitation?

Yes, CVE-2026-43197 can potentially lead to information disclosure through out-of-bounds reads if not mitigated.

5

Is there a workaround for CVE-2026-43197?

Currently, the recommended approach is to apply the kernel update as there are no known reliable workarounds for CVE-2026-43197.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203