Re: [PATCH v2] net: hamradio: 6pack: fix uninit-value in sixpack_receive_buf
[email protected] Fri, 10 Apr 2026 22:30:05 +0000
| Newsgroups | org.kernel.vger.linux-hams,org.kernel.vger.netdev,org.kernel.vger.stable |
|---|---|
| Message-ID | <177586020555.2666311.14018722379357062077.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>: On Wed, 8 Apr 2026 01:31:01 +0800 you wrote: > 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. > > [...] Here is the summary with links: - [v2] net: hamradio: 6pack: fix uninit-value in sixpack_receive_buf https://git.kernel.org/netdev/net/c/bf9a38803b26 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html