Linuxカーネルにおいて、以下の脆弱性が修正されました。nfc: pn533における、バイトを消費する前に受信用skbを割り当てる問題です。pn532_receive_buf()は受け入れたバイト数をserdevコアに報告します。現在のコードはrecv_skbにバイトを消費させた後、まだ新しい受信バッファを割り当てる前にpn533_recv_frame()に完全なフレームを渡している可能性があります。もしalloc_skb()が失敗した場合、コールバックはすでにバイトを消費しているにもかかわらず0を返し、次の受信コールバックのためにrecv_skbをNULLのままにします。これによりreceive_buf()の会計契約が破られ、次のskb_put_u8()でNULL参照が発生する可能性があります。次のバイトを消費する前に受信用skbを遅延割り当てし、割り当てに失敗した場合はすでに受け入れたバイト数を返すようにしています。
Linux Linux Kernel 5.11 以上 5.15.203 未満 Linux Kernel 5.16 以上 6.1.169 未満 Linux Kernel 5.5.1 以上 5.10.253 未満 Linux Kernel 6.13 以上 6.18.23 未満 Linux Kernel 6.19 以上 6.19.13 未満 Linux Kernel 6.2 以上 6.6.135 未満 Linux Kernel 6.7 以上 6.12.82 未満 Linux Kernel 5.5 Linux Kernel 7.0
当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。
リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。
その他(CWE-Other) [NVD評価]
CVE-2026-31660
National Vulnerability Database (NVD) : CVE-2026-31660 関連文書 : nfc: pn533: allocate rx skb before consuming bytes - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/c71ba669b570c7b3f86ec875be222ea11dacb352) 関連文書 : nfc: pn533: allocate rx skb before consuming bytes - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/16649adc2e19509104245ea1f349b629d858f11f) 関連文書 : nfc: pn533: allocate rx skb before consuming bytes - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/7e37da42eda45d7859d9273fc7e225d8df458038) 関連文書 : nfc: pn533: allocate rx skb before consuming bytes - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/21ae2cda66a55c759607bbf1d23cbaa42019d2de) 関連文書 : nfc: pn533: allocate rx skb before consuming bytes - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/2ca64fb7e2d2ae14619dd204d4f2f0a601f421fb) 関連文書 : nfc: pn533: allocate rx skb before consuming bytes - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/07cb6c72e66ba548679f22ac29ad588da8999279) 関連文書 : nfc: pn533: allocate rx skb before consuming bytes - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/8b71299d587d9e4c830c18afb884c80ddb30ad28) 関連文書 : nfc: pn533: allocate rx skb before consuming bytes - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/a9495069b43b8634c1ae0042e888766c34f66637)
[2026年04月30日] 掲載