CVE
CVE-2022-48967
CNA description
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.
Affected versions
All Linux kernel vulnerabilities →
- 6.1-rc8This version only
- 6.1-rc7This version only
- 6.1-rc6This version only
- 6.1-rc5This version only
- 6.1-rc4This version only
- 6.1-rc3This version only
- 6.1-rc2This version only
- 6.1-rc1This version only
- ≥ 5.16, < 6.0.13Fixed in 6.0.13
- ≥ 5.11, < 5.15.83Fixed in 5.15.83
- ≥ 5.5, < 5.10.159Fixed in 5.10.159
- ≥ 4.20, < 5.4.227Fixed in 5.4.227
- ≥ 4.15, < 4.19.269Fixed in 4.19.269
- ≥ 4.10, < 4.14.302Fixed in 4.14.302
- ≥ 3.4, < 4.9.336Fixed in 4.9.336
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/27eb2d7a1b9987b6d0429b7716b1ff3b82c4ffc9 · Patch
- git.kernel.org/stable/c/6778434706940b8fad7ef35f410d2b9929f256d2 · Patch
- git.kernel.org/stable/c/6b37f0dc0638d13a006f2f24d2f6ca61e83bc714 · Patch
- git.kernel.org/stable/c/908b2da426fe9c3ce74cf541ba40e7a4251db191 · Patch
- git.kernel.org/stable/c/cff35329070b96b4484d23f9f48a5ca2c947e750 · Patch
- git.kernel.org/stable/c/dbdcfb9f6748218a149f62468d6297ce3f014e9c · Patch
- git.kernel.org/stable/c/e329e71013c9b5a4535b099208493c7826ee4a64 · Patch
- git.kernel.org/stable/c/f41547546db9af99da2c34e3368664d7a79cefae · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.