High · published October 22, 2024
In the Linux kernel, the following vulnerability has been resolved:
NFC: nci: Bounds check struct nfc_target arrays
While running under CONFIG_FORTIFY_SOURCE=y, syzkaller reported:
memcpy: detected field-spanning write (size 129) of single field "target->sensf_res" at net/nfc/nci/ntf.c:260 (size 18)
This appears to be a legitimate lack of bounds checking in
nci_add_new_protocol(). Add the missing checks.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 3.4, < 4.9.336 | 4.9.336 |
| linux/linux_kernel | ≥ 4.10, < 4.14.302 | 4.14.302 |
| linux/linux_kernel | ≥ 4.15, < 4.19.269 | 4.19.269 |
| linux/linux_kernel | ≥ 4.20, < 5.4.227 | 5.4.227 |
| linux/linux_kernel | ≥ 5.5, < 5.10.159 | 5.10.159 |
| linux/linux_kernel | ≥ 5.11, < 5.15.83 | 5.15.83 |
| linux/linux_kernel | ≥ 5.16, < 6.0.13 | 6.0.13 |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |