Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: nfc: microread: validate target discovery payload lengths microread_target_discovered() parses target discovery payloads from skb->data according to the HCI gate. The fixed field offsets and UID copies were checked only against the destination nfc_target buffers, not against the actual skb length. Validate that each gate-specific payload contains the fixed fields and UID bytes before reading or copying them.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected cfad1ba87150e198be9ea32367a24e500e59de2c before c6de4241f2efbbab286efbb84a9c7190298b3052; affected cfad1ba87150e198be9ea32367a24e500e59de2c before 92a6f0201bb68391b5eba1b3f330af007d7323b6; affected cfad1ba87150e198be9ea32367a24e500e59de2c before cb298672282421159e53ab311fe49d204c8a52da; affected cfad1ba87150e198be9ea32367a24e500e59de2c before 18f02354ed229b8e4561b580812d026e7eb29c85; affected cfad1ba87150e198be9ea32367a24e500e59de2c before e6397fe7b8b5ef18e051f49612d40ff476c5f7d9; affected cfad1ba87150e198be9ea32367a24e500e59de2c before d0902a7c454326c6384c614226ab8987f3fd425d; affected cfad1ba87150e198be9ea32367a24e500e59de2c before dabfa26a208e56f4d8dbf26fddc48f188bdb0649; affected cfad1ba87150e198be9ea32367a24e500e59de2c before 953963b9ac5eecbb316617d337bfaa3d731e3c5e; affected cfad1ba87150e198be9ea32367a24e500e59de2c before 25519469972ef57c3edb1805dabd6c5612b90211 |
| Linux / Linux | affected 3.9; unaffected 0 before 3.9; unaffected 5.10.267 through 5.10.*; unaffected 5.15.218 through 5.15.*; unaffected 6.1.185 through 6.1.*; unaffected 6.6.154 through 6.6.*; unaffected 6.12.106 through 6.12.*; unaffected 6.18.47 through 6.18.*; unaffected 7.1.11 through 7.1.*; unaffected 7.2.1 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/c6de4241f2efbbab286efbb84a9c7190298b3052
- https://git.kernel.org/stable/c/92a6f0201bb68391b5eba1b3f330af007d7323b6
- https://git.kernel.org/stable/c/cb298672282421159e53ab311fe49d204c8a52da
- https://git.kernel.org/stable/c/18f02354ed229b8e4561b580812d026e7eb29c85
- https://git.kernel.org/stable/c/e6397fe7b8b5ef18e051f49612d40ff476c5f7d9
- https://git.kernel.org/stable/c/d0902a7c454326c6384c614226ab8987f3fd425d
- https://git.kernel.org/stable/c/dabfa26a208e56f4d8dbf26fddc48f188bdb0649
- https://git.kernel.org/stable/c/953963b9ac5eecbb316617d337bfaa3d731e3c5e
- https://git.kernel.org/stable/c/25519469972ef57c3edb1805dabd6c5612b90211