Bug 2492446 (CVE-2026-53082) - CVE-2026-53082 kernel: net: hamradio: 6pack: fix uninit-value in sixpack_receive_buf
Summary: CVE-2026-53082 kernel: net: hamradio: 6pack: fix uninit-value in sixpack_rece...
Keywords:
Status: NEW
Alias: CVE-2026-53082
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-24 18:12 UTC by OSIDB Bzimport
Modified: 2026-06-25 09:14 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-24 18:12:30 UTC
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.

Comment 1 Mauro Matteo Cascella 2026-06-25 09:10:36 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026062407-CVE-2026-53082-a080@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.