NFC: nci: Bounds check struct nfc_target arrays
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 27eb2d7a1b9987b6d0429b7716b1ff3b82c4ffc9, Kernel 6778434706940b8fad7ef35f410d2b9929f256d2, Kernel 6b37f0dc0638d13a006f2f24d2f6ca61e83bc714 and 5 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =3.4, >=019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5 <27eb2d7a1b9987b6d0429b7716b1ff3b82c4ffc9, >=019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5 <6778434706940b8fad7ef35f410d2b9929f256d2, >=019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5 <6b37f0dc0638d13a006f2f24d2f6ca61e83bc714, >=019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5 <908b2da426fe9c3ce74cf541ba40e7a4251db191, >=019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5 <cff35329070b96b4484d23f9f48a5ca2c947e750, >=019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5 <dbdcfb9f6748218a149f62468d6297ce3f014e9c, >=019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5 <e329e71013c9b5a4535b099208493c7826ee4a64, >=019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5 <f41547546db9af99da2c34e3368664d7a79cefae | 27eb2d7a1b9987b6d0429b7716b1ff3b82c4ffc9, 6778434706940b8fad7ef35f410d2b9929f256d2, 6b37f0dc0638d13a006f2f24d2f6ca61e83bc714, 908b2da426fe9c3ce74cf541ba40e7a4251db191, cff35329070b96b4484d23f9f48a5ca2c947e750, dbdcfb9f6748218a149f62468d6297ce3f014e9c, e329e71013c9b5a4535b099208493c7826ee4a64, f41547546db9af99da2c34e3368664d7a79cefae |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket