LinuxのLinux Kernelにおける古典的バッファオーバーフローの脆弱性
タイトル LinuxのLinux Kernelにおける古典的バッファオーバーフローの脆弱性
概要

Linuxカーネルにおいて、以下の脆弱性が修正されました。 NFCのdigitalモジュールにおけるSDDレスポンスハンドラで、NFC-Aカスケード深さの境界チェックが不十分でした。 NFC-Aのアンチコリジョンカスケードは、digital_in_recv_sdd_res()関数内で各ラウンドごとに3バイトまたは4バイトをtarget-nfcid1に追加しますが、カスケードラウンドの数は完全に相手デバイスによって制御されます。 相手はSDD_RES内のカスケードタグ(3バイトか4バイトかを決定)とSEL_RESのカスケード未完了ビット(次のラウンドが続くかどうかを決定)を設定します。 ISO 14443-3規格ではNFC-Aを最大3カスケードレベルに制限しており、target-nfcid1のサイズもそれに合わせて(NFC_NFCID1_MAXSIZE = 10)決定されていますが、このドライバー内には実際にそれを強制する処理がありませんでした。 そのため、悪意のある相手はカスケードを継続してヒープに確保されたnfc_targetのバッファを越えて書き込みを行う可能性がありました。 この問題は、蓄積されたUIDがバッファサイズを超える場合にレスポンスを拒否する処理を追加することで修正されました。 コミットe329e71013c9("NFC: nci: Bounds check struct nfc_target arrays")により、同じフィールドに対するNCIパス上の類似したチェック漏れも修正されました。

想定される影響 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
対策

リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。

公表日 2026年4月24日0:00
登録日 2026年4月30日11:04
最終更新日 2026年4月30日11:04
CVSS3.0 : 重要
スコア 8.8
ベクター CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
影響を受けるシステム
Linux
Linux Kernel 3.13 以上 6.6.136 未満
Linux Kernel 6.13 以上 6.18.24 未満
Linux Kernel 6.19 以上 6.19.14 未満
Linux Kernel 6.7 以上 6.12.83 未満
Linux Kernel 7.0 以上 7.0.1 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
変更履歴
No 変更内容 変更日
1 [2026年04月30日]
  掲載
2026年4月30日11:04

NVD脆弱性情報
CVE-2026-31622
概要

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

NFC: digital: Bounds check NFC-A cascade depth in SDD response handler

The NFC-A anti-collision cascade in digital_in_recv_sdd_res() appends 3
or 4 bytes to target->nfcid1 on each round, but the number of cascade
rounds is controlled entirely by the peer device. The peer sets the
cascade tag in the SDD_RES (deciding 3 vs 4 bytes) and the
cascade-incomplete bit in the SEL_RES (deciding whether another round
follows).

ISO 14443-3 limits NFC-A to three cascade levels and target->nfcid1 is
sized accordingly (NFC_NFCID1_MAXSIZE = 10), but nothing in the driver
actually enforces this. This means a malicious peer can keep the
cascade running, writing past the heap-allocated nfc_target with each
round.

Fix this by rejecting the response when the accumulated UID would exceed
the buffer.

Commit e329e71013c9 ("NFC: nci: Bounds check struct nfc_target arrays")
fixed similar missing checks against the same field on the NCI path.

公表日 2026年4月25日0:16
登録日 2026年4月25日4:07
最終更新日 2026年4月28日23:14
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 3.13 6.6.136
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 6.12.83
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 6.18.24
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.19 6.19.14
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 7.0 7.0.1
関連情報、対策とツール
共通脆弱性一覧