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.
Published: 2026-06-24
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The 6pack hamradio driver in the Linux kernel contains an uninitialized‑value bug: while scanning the TTY error flags buffer the loop fails to advance the data pointer and passes corrupted bytes to the sixpack_decode() function. Because the TTY layer does not guarantee that a byte marked with an error flag holds usable data, the decoder receives garbage values. This leads to KMSAN reports of uninitialized reads. The CVE description does not note a crash, but such uninitialized reads can cause kernel memory corruption or kernel instability, potentially resulting in a denial‑of‑service if an attacker crafts a malicious hamradio packet.

Affected Systems

The vulnerability is located in the Linux kernel hamradio 6pack networking driver. All kernel releases that include the sixpack_receive_buf path before the commit references listed in the advisory are affected. No specific version numbers are provided by the CNA; administrators should verify that their running kernel contains the patch commit hashes shown in the references.

Risk and Exploitability

No public CVSS or EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation would require a specially crafted hamradio packet that reaches the uninitialized‑value code path in the driver. Given the lack of publicly known exploits and the need for the attacker to send data to the hamradio interface, the likelihood of exploitation appears limited; however, the impact could be kernel instability or denial‑of‑service if the bug is successfully triggered.

Generated by OpenCVE AI on June 24, 2026 at 21:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that contains the hamradio 6pack uninitialized‑value fix referenced in the advisory commit links.
  • If a kernel upgrade is not feasible, disable the hamradio interface or the 6pack protocol to prevent the driver from processing packets.
  • Configure firewall or packet filtering rules to reject malformed hamradio packets or restrict hamradio traffic to trusted hosts only.

Generated by OpenCVE AI on June 24, 2026 at 21:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 24 Jun 2026 21:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-457

Wed, 24 Jun 2026 17:15:00 +0000

Type Values Removed Values Added
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.
Title net: hamradio: 6pack: fix uninit-value in sixpack_receive_buf
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-24T16:30:22.817Z

Reserved: 2026-06-09T07:44:35.383Z

Link: CVE-2026-53082

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-24T21:30:04Z

Weaknesses
  • CWE-457

    Use of Uninitialized Variable