nfc: microread: validate target discovery payload lengths
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e6397fe7b8b5ef18e051f49612d40ff476c5f7d9, Kernel 18f02354ed229b8e4561b580812d026e7eb29c85, Kernel 25519469972ef57c3edb1805dabd6c5612b90211 and 14 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=cfad1ba87150e198be9ea32367a24e500e59de2c <e6397fe7b8b5ef18e051f49612d40ff476c5f7d9, >=cfad1ba87150e198be9ea32367a24e500e59de2c <18f02354ed229b8e4561b580812d026e7eb29c85, >=cfad1ba87150e198be9ea32367a24e500e59de2c <25519469972ef57c3edb1805dabd6c5612b90211, >=cfad1ba87150e198be9ea32367a24e500e59de2c <92a6f0201bb68391b5eba1b3f330af007d7323b6, >=cfad1ba87150e198be9ea32367a24e500e59de2c <953963b9ac5eecbb316617d337bfaa3d731e3c5e, >=cfad1ba87150e198be9ea32367a24e500e59de2c <c6de4241f2efbbab286efbb84a9c7190298b3052, >=cfad1ba87150e198be9ea32367a24e500e59de2c <cb298672282421159e53ab311fe49d204c8a52da, >=cfad1ba87150e198be9ea32367a24e500e59de2c <d0902a7c454326c6384c614226ab8987f3fd425d, >=cfad1ba87150e198be9ea32367a24e500e59de2c <dabfa26a208e56f4d8dbf26fddc48f188bdb0649, =3.9 | e6397fe7b8b5ef18e051f49612d40ff476c5f7d9, 18f02354ed229b8e4561b580812d026e7eb29c85, 25519469972ef57c3edb1805dabd6c5612b90211, 92a6f0201bb68391b5eba1b3f330af007d7323b6, 953963b9ac5eecbb316617d337bfaa3d731e3c5e, c6de4241f2efbbab286efbb84a9c7190298b3052, cb298672282421159e53ab311fe49d204c8a52da, d0902a7c454326c6384c614226ab8987f3fd425d, dabfa26a208e56f4d8dbf26fddc48f188bdb0649 |
| linux-kernel: Kernel | >=5.11.0 <5.15.218, >=5.16.0 <6.1.185, >=6.13.0 <6.18.47, >=6.19.0 <7.1.11, >=6.2.0 <6.6.154, >=6.7.0 <6.12.106, >=7.2.0 <7.2.1, >=3.9.0 <5.10.267 | 5.15.218, 6.1.185, 6.18.47, 7.1.11, 6.6.154, 6.12.106, 7.2.1, 5.10.267 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket