Skip to contentSkip to conversation

CVE-2026-43032: NFC: pn533: bound the UART receive buffer

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 1

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

NFC: pn533: bound the UART receive buffer

pn532_receive_buf() appends every incoming byte to dev->recv_skb and only resets the buffer after pn532_uart_rx_is_frame() recognizes a complete frame. A continuous stream of bytes without a valid PN532 frame header therefore keeps growing the skb until skb_put_u8() hits the tail limit.

Drop the accumulated partial frame once the fixed receive buffer is full so malformed UART traffic cannot grow the skb past PN532_UART_SKB_BUFF_LEN.

The Linux kernel CVE team has assigned CVE-2026-43032 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.5 with commit c656aa4c27b17a8c70da223ed5ab42145800d6b5 and fixed in 5.10.253 with commit 8bedf1dd5640ac8997bff00bbefe241b438df397
	Issue introduced in 5.5 with commit c656aa4c27b17a8c70da223ed5ab42145800d6b5 and fixed in 5.15.203 with commit 23e925183db26cd322597679669ad29d70ed2ada
	Issue introduced in 5.5 with commit c656aa4c27b17a8c70da223ed5ab42145800d6b5 and fixed in 6.1.168 with commit 3adca9be14bf36b927193f05f5aea35a1a90e913
	Issue introduced in 5.5 with commit c656aa4c27b17a8c70da223ed5ab42145800d6b5 and fixed in 6.6.134 with commit 2c1fadd221b21d8038acfe6a0f56291881d5ff76
	Issue introduced in 5.5 with commit c656aa4c27b17a8c70da223ed5ab42145800d6b5 and fixed in 6.12.81 with commit f48ab6ee654ecc350434e4566bc785773f412b7e
	Issue introduced in 5.5 with commit c656aa4c27b17a8c70da223ed5ab42145800d6b5 and fixed in 6.18.22 with commit ad2f60de5045bfb5d20ea468a97c8760c6a3a4f8
	Issue introduced in 5.5 with commit c656aa4c27b17a8c70da223ed5ab42145800d6b5 and fixed in 6.19.12 with commit cf2ff10183204349edfd6b972e189375fc5f1fb0
	Issue introduced in 5.5 with commit c656aa4c27b17a8c70da223ed5ab42145800d6b5 and fixed in 7.0 with commit 30fe3f5f6494f827d812ff179f295a8e532709d6

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-43032

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:

	drivers/nfc/pn533/uart.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/8bedf1dd5640ac8997bff00bbefe241b438df397
	https://git.kernel.org/stable/c/23e925183db26cd322597679669ad29d70ed2ada
	https://git.kernel.org/stable/c/3adca9be14bf36b927193f05f5aea35a1a90e913
	https://git.kernel.org/stable/c/2c1fadd221b21d8038acfe6a0f56291881d5ff76
	https://git.kernel.org/stable/c/f48ab6ee654ecc350434e4566bc785773f412b7e
	https://git.kernel.org/stable/c/ad2f60de5045bfb5d20ea468a97c8760c6a3a4f8
	https://git.kernel.org/stable/c/cf2ff10183204349edfd6b972e189375fc5f1fb0
	https://git.kernel.org/stable/c/30fe3f5f6494f827d812ff179f295a8e532709d6