CVE-2026-90222 PUBLISHED

nfc: pn533: hold a reference to the request skb during send_frame

Assigner: Linux
Reserved: 11.09.2026 Published: 17.09.2026 Updated: 17.09.2026

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

nfc: pn533: hold a reference to the request skb during send_frame

__pn533_send_async() publishes the command and then calls dev->phy_ops->send_frame(). Once dev->cmd is set, an incoming frame can be matched to this command: the I2C threaded IRQ runs pn533_recv_frame(), which queues cmd_complete_work, and pn533_send_async_complete() frees cmd->req with consume_skb().

On the I2C transport, pn533_i2c_send_frame() still dereferences the same skb after i2c_master_send() returns, so a completion that races the send can free the skb while the transport is still using it.

The request skb is owned by the command object and may be freed by command completion at any time after dev->cmd is published, so the transport send path must not assume it stays alive. Hold a temporary reference to the request skb across the send_frame() call so the transport always sees a live skb even if completion races the send. Add a pn533_send_cmd_frame() helper and use it from all three send paths.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 9815c7cf22daceabfb919ddcd6f2c80e049c1fbc to 8710faddef4ad8b2a6bfa985d896e2e1bfb77018 (excl.)
  • affected from 9815c7cf22daceabfb919ddcd6f2c80e049c1fbc to 19f1239758c23f087f4c25733cfcf62bf0b06051 (excl.)
  • affected from 9815c7cf22daceabfb919ddcd6f2c80e049c1fbc to 7ee72c64b4b66b1b42dbddbca0a80a218f1b9297 (excl.)
  • affected from 9815c7cf22daceabfb919ddcd6f2c80e049c1fbc to 753bdaf3220fe8371a6c3c75da645ea7753d11be (excl.)
  • affected from 9815c7cf22daceabfb919ddcd6f2c80e049c1fbc to d329f61ad5786900334a54c2445dc99feda545bf (excl.)
  • affected from 9815c7cf22daceabfb919ddcd6f2c80e049c1fbc to 7a8e0a7aef80721da287ac246349aba7d98f6aed (excl.)
  • affected from 9815c7cf22daceabfb919ddcd6f2c80e049c1fbc to 3e7a093c177f9f8b9fd039cab41191515079425a (excl.)
  • affected from 9815c7cf22daceabfb919ddcd6f2c80e049c1fbc to 47792358a624ea066455ef86b744159928cd7716 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.7 is affected
  • unaffected from 0 to 4.7 (excl.)
  • unaffected from 5.10.270 to 5.10.* (incl.)
  • unaffected from 5.15.221 to 5.15.* (incl.)
  • unaffected from 6.1.188 to 6.1.* (incl.)
  • unaffected from 6.6.157 to 6.6.* (incl.)
  • unaffected from 6.12.110 to 6.12.* (incl.)
  • unaffected from 6.18.52 to 6.18.* (incl.)
  • unaffected from 7.2.6 to 7.2.* (incl.)
  • unaffected from 7.3-rc1 to * (incl.)

References