製品・ソフトウェアに関する情報
LinuxのLinux Kernelにおける古典的バッファオーバーフローの脆弱性
Title LinuxのLinux Kernelにおける古典的バッファオーバーフローの脆弱性
Summary

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パス上の類似したチェック漏れも修正されました。

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

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

Publication Date April 24, 2026, midnight
Registration Date April 30, 2026, 11:04 a.m.
Last Update April 30, 2026, 11:04 a.m.
CVSS3.0 : 重要
Score 8.8
Vector CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected System
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 (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2026年04月30日]
  掲載
April 30, 2026, 11:04 a.m.

NVD Vulnerability Information
CVE-2026-31622
Summary

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.

Publication Date April 25, 2026, 12:16 a.m.
Registration Date April 25, 2026, 4:07 a.m.
Last Update April 28, 2026, 11:14 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
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
Related information, measures and tools
Common Vulnerabilities List