{"id":"CVE-2026-64571","summary":"wifi: p54: validate RX frame length in p54_rx_eeprom_readback()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: p54: validate RX frame length in p54_rx_eeprom_readback()\n\np54_rx_eeprom_readback() copies the requested EEPROM slice out of a\ndevice-supplied readback frame without checking that the skb actually holds\nthat many bytes. Commit da1b9a55ff11 (\"wifi: p54: prevent buffer-overflow in\np54_rx_eeprom_readback()\") closed the destination overflow by copying a\nfixed priv-\u003eeeprom_slice_size (and rejecting a mismatched advertised len),\nbut the source side is still unbounded: nothing verifies the frame is long\nenough to supply that many bytes.\n\nA malicious USB device can send a short frame whose advertised len matches\npriv-\u003eeeprom_slice_size while the payload is truncated. The equality check\npasses and memcpy() reads past the end of the skb, leaking adjacent heap:\n\n  BUG: KASAN: slab-out-of-bounds in p54_rx (drivers/net/wireless/intersil/p54/txrx.c:507)\n  Read of size 1016 at addr ffff88800f077114 by task swapper/0/0\n  Call Trace:\n   \u003cIRQ\u003e\n   ...\n   __asan_memcpy (mm/kasan/shadow.c:105)\n   p54_rx (drivers/net/wireless/intersil/p54/txrx.c:507)\n   p54u_rx_cb (drivers/net/wireless/intersil/p54/p54usb.c:163)\n   __usb_hcd_giveback_urb (drivers/usb/core/hcd.c:1657)\n   dummy_timer (drivers/usb/gadget/udc/dummy_hcd.c:2005)\n   ...\n   \u003c/IRQ\u003e\n\n  The buggy address belongs to the object at ffff88800f0770c0\n   which belongs to the cache skbuff_small_head of size 704\n  The buggy address is located 84 bytes inside of\n   allocated 704-byte region [ffff88800f0770c0, ffff88800f077380)\n\nCheck that the slice fits in the skb before copying.","modified":"2026-08-21T03:30:31.573926197Z","published":"2026-08-05T08:08:08.466Z","related":["openSUSE-SU-2026:11476-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64571.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/25c3b85af3fc4f8043159b14e65790fc3bbdaf48"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7a456ffcd20bd92ad0ef46c1aaa0e39e3be1f7e7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/88f7044f92b8326fbfab26d0d8ed297c367ebb76"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9096e1f7014174067239a63df18ae5f28301990d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d38f5d868a0a4770e3bcd0925e16c46acdbc9509"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ebd6d37fa94bee929e0b4c9ca19fdf9b1dcf6cea"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f21b7e096fe5371bf697cd410537fb434a763f5e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f46f8f9c43fd02f4dd5f716d4bda296a523c04f0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64571.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64571"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7cb770729ba895f73253dfcd46c3fcba45d896f9"},{"fixed":"7a456ffcd20bd92ad0ef46c1aaa0e39e3be1f7e7"},{"fixed":"88f7044f92b8326fbfab26d0d8ed297c367ebb76"},{"fixed":"f21b7e096fe5371bf697cd410537fb434a763f5e"},{"fixed":"25c3b85af3fc4f8043159b14e65790fc3bbdaf48"},{"fixed":"f46f8f9c43fd02f4dd5f716d4bda296a523c04f0"},{"fixed":"d38f5d868a0a4770e3bcd0925e16c46acdbc9509"},{"fixed":"9096e1f7014174067239a63df18ae5f28301990d"},{"fixed":"ebd6d37fa94bee929e0b4c9ca19fdf9b1dcf6cea"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64571.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.28"},{"fixed":"5.10.265"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.216"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.183"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.148"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.101"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.42"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64571.json"}}],"schema_version":"1.9.0"}