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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
c656aa4c27b17a8c70da223ed5ab42145800d6b5 to < 8bedf1dd5640ac8997bff00bbefe241b438df397affectedc656aa4c27b17a8c70da223ed5ab42145800d6b5 to < 23e925183db26cd322597679669ad29d70ed2adaaffectedc656aa4c27b17a8c70da223ed5ab42145800d6b5 to < 3adca9be14bf36b927193f05f5aea35a1a90e913affectedc656aa4c27b17a8c70da223ed5ab42145800d6b5 to < 2c1fadd221b21d8038acfe6a0f56291881d5ff76affectedc656aa4c27b17a8c70da223ed5ab42145800d6b5 to < f48ab6ee654ecc350434e4566bc785773f412b7eaffectedc656aa4c27b17a8c70da223ed5ab42145800d6b5 to < ad2f60de5045bfb5d20ea468a97c8760c6a3a4f8affectedc656aa4c27b17a8c70da223ed5ab42145800d6b5 to < cf2ff10183204349edfd6b972e189375fc5f1fb0affectedc656aa4c27b17a8c70da223ed5ab42145800d6b5 to < 30fe3f5f6494f827d812ff179f295a8e532709d6affected
Linux Linux
Default version status: affected
5.5affected0 to < 5.5unaffected5.10.253 to ≤ 5.10.*unaffected5.15.203 to ≤ 5.15.*unaffected6.1.168 to ≤ 6.1.*unaffected6.6.134 to ≤ 6.6.*unaffected6.12.81 to ≤ 6.12.*unaffected6.18.22 to ≤ 6.18.*unaffected6.19.12 to ≤ 6.19.*unaffected7.0 to ≤ *unaffected
References
- 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 ↗