CVE-2026-53082

ANALYSIS PENDING

net: hamradio: 6pack: fix uninit-value in sixpack_receive_buf

Title source: cna
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: net: hamradio: 6pack: fix uninit-value in sixpack_receive_buf sixpack_receive_buf() does not properly skip bytes with TTY error flags. The while loop iterates through the flags buffer but never advances the data pointer (cp), and passes the original count (including error bytes) to sixpack_decode(). This causes sixpack_decode() to process bytes that should have been skipped due to TTY errors. The TTY layer does not guarantee that cp[i] holds a meaningful value when fp[i] is set, so passing those positions to sixpack_decode() results in KMSAN reporting an uninit-value read. Fix this by processing bytes one at a time, advancing cp on each iteration, and only passing valid (non-error) bytes to sixpack_decode(). This matches the pattern used by slip_receive_buf() and mkiss_receive_buf() for the same purpose.

Scores

EPSS 0.0016
EPSS Percentile 6.0%

Details

Status published
Products (25)
linux/Kernel 2.6.12 - 5.10.258linux
linux/Kernel 5.11.0 - 5.15.209linux
linux/Kernel 5.16.0 - 6.1.175linux
linux/Kernel 6.13.0 - 6.18.33linux
linux/Kernel 6.19.0 - 7.0.10linux
linux/Kernel 6.2.0 - 6.6.141linux
linux/Kernel 6.7.0 - 6.12.91linux
Linux/Linux < 2.6.12
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 1d3abf0c3ddeefc6f6d913aa129acc06fce8240a
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 2951656b0de00153f2687f3a093890bce72b6215
... and 15 more
Published Jun 24, 2026
Tracked Since Jun 24, 2026