Description
In the Linux kernel, the following vulnerability has been resolved: nvmet-auth: reject incomplete DHCHAP messages Commit c9359401036e ("nvmet-auth: reject undersized AUTH_SEND payloads") only ensures that AUTH_SEND has auth_type and auth_id before nvmet_execute_auth_send() starts parsing the payload, but the DHCHAP path reads t_id before it verifies message lengths. A two-byte DHCHAP NEGOTIATE payload can therefore still trigger an OOB read that KASAN reports as: BUG: KASAN: slab-out-of-bounds in nvmet_execute_auth_send Read of size 2 at addr ffff8880030d8364 Require the payload to cover the minimum DHCHAP message length before parsing it.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
72424f283c6285d1c8d027ac6b9f745e4a24c668 to < a4c65a7da4f5337d9baa2a873594c8a218c149b8affectede980903adec43914634885e3b54ee60f49709add to < 8392df9e06f9d4f6206a06d02dec9aa266f477a3affected53b1a27a94a363593810922ee66111ba618cb53d to < 97f424808bd3a64f5e7661ddbc205338387b2d67affected78d983a6a2dbeb24c71ab0b657cd7295162fb97b to < 41dd730fbbf6b780b22d7ba73f138002a43f06cdaffected1dd05c2f5c44cd73ec742443848b7c4f9a86acb3 to < dc8fd2f836c0174e37e65796c9cc51a76575e084affectedc9359401036e8294c007a10e8c8d8da7030fcc76 to < 29e027774324dbd5321a67bbd16840e8f7bcd189affected
Linux Linux
Default version status: affected
7.4-rc1affected0 to < 7.4-rc1unaffected7.4-rc2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/a4c65a7da4f5337d9baa2a873594c8a218c149b8 ↗
- https://git.kernel.org/stable/c/8392df9e06f9d4f6206a06d02dec9aa266f477a3 ↗
- https://git.kernel.org/stable/c/97f424808bd3a64f5e7661ddbc205338387b2d67 ↗
- https://git.kernel.org/stable/c/41dd730fbbf6b780b22d7ba73f138002a43f06cd ↗
- https://git.kernel.org/stable/c/dc8fd2f836c0174e37e65796c9cc51a76575e084 ↗
- https://git.kernel.org/stable/c/29e027774324dbd5321a67bbd16840e8f7bcd189 ↗