CVEvulnerability
CVE-2026-53082
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2026-06-24
- Last modified
- 2026-07-23
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-908
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.
Affected configurations
• linux linux kernel (>= 2.6.12.1 < 5.10.258)
• linux linux kernel (>= 5.11 < 5.15.209)
• linux linux kernel (>= 5.16 < 6.1.175)
• linux linux kernel (>= 6.2 < 6.6.141)
• linux linux kernel (>= 6.7 < 6.12.91)
• linux linux kernel (>= 6.13 < 6.18.33)
• linux linux kernel (>= 6.19 < 7.0.10)
• linux linux kernel 2.6.12
Related
Weakness · CWE (1)
- CWE-908 Use of Uninitialized Resource weakness
References
- https://git.kernel.org/stable/c/1d3abf0c3ddeefc6f6d913aa129acc06fce8240a Patch
- https://git.kernel.org/stable/c/2951656b0de00153f2687f3a093890bce72b6215 Patch
- https://git.kernel.org/stable/c/578f3aba427c938fecfa0d8c83d9acb213a9b24a Patch
- https://git.kernel.org/stable/c/987af7625ceb1ee59d70eb0abd7af11c75e45d79 Patch
- https://git.kernel.org/stable/c/bf9a38803b2626b01cc769aaf13485d8650f576f Patch
- https://git.kernel.org/stable/c/d4cceb5184538613572fb79319453f281b1eeacb Patch
- https://git.kernel.org/stable/c/d9ce2a4b679122397d7f35bad7be46913ad1ca80 Patch
- https://git.kernel.org/stable/c/e9cf4018d74237d142cd66243c821d13593270f0 Patch