# CVE-2026-53082: net: hamradio: 6pack: fix uninit-value in sixpack_receive_buf

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-06-24T16:30:22.817Z
- Modified: 2026-07-23T18:37:41.440Z
- Weaknesses: CWE-908
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 1d3abf0c3ddeefc6f6d913aa129acc06fce8240a; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d4cceb5184538613572fb79319453f281b1eeacb; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2951656b0de00153f2687f3a093890bce72b6215; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e9cf4018d74237d142cd66243c821d13593270f0; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d9ce2a4b679122397d7f35bad7be46913ad1ca80; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 987af7625ceb1ee59d70eb0abd7af11c75e45d79; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 578f3aba427c938fecfa0d8c83d9acb213a9b24a; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before bf9a38803b2626b01cc769aaf13485d8650f576f; 2.6.12 (not affected: before 2.6.12; from 5.10.258 up to 5.10.*; from 5.15.209 up to 5.15.*; from 6.1.175 up to 6.1.*; from 6.6.141 up to 6.6.*; from 6.12.91 up to 6.12.*; from 6.18.33 up to 6.18.*; from 7.0.10 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 2.6.12.1 before 5.10.258; from 5.11 before 5.15.209; from 5.16 before 6.1.175; from 6.2 before 6.6.141; from 6.7 before 6.12.91; from 6.13 before 6.18.33; from 6.19 before 7.0.10; 2.6.12

## References

- <https://git.kernel.org/stable/c/1d3abf0c3ddeefc6f6d913aa129acc06fce8240a> (patch)
- <https://git.kernel.org/stable/c/d4cceb5184538613572fb79319453f281b1eeacb> (patch)
- <https://git.kernel.org/stable/c/2951656b0de00153f2687f3a093890bce72b6215> (patch)
- <https://git.kernel.org/stable/c/e9cf4018d74237d142cd66243c821d13593270f0> (patch)
- <https://git.kernel.org/stable/c/d9ce2a4b679122397d7f35bad7be46913ad1ca80> (patch)
- <https://git.kernel.org/stable/c/987af7625ceb1ee59d70eb0abd7af11c75e45d79> (patch)
- <https://git.kernel.org/stable/c/578f3aba427c938fecfa0d8c83d9acb213a9b24a> (patch)
- <https://git.kernel.org/stable/c/bf9a38803b2626b01cc769aaf13485d8650f576f> (patch)

## Sources

- CVE List: [CVE-2026-53082](https://www.cve.org/CVERecord?id=CVE-2026-53082), CVE Terms of Use, modified 2026-06-24
- NVD: [CVE-2026-53082](https://nvd.nist.gov/vuln/detail/CVE-2026-53082), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-53082 · Whole record: https://cve.day/CVE-2026-53082.json · Rebuilt by cve.day 2026-11-25T22:59:25.688Z
