Description
In the Linux kernel, the following vulnerability has been resolved: nvmet-auth: zero the AUTH_RECEIVE response buffer nvmet_execute_auth_receive() allocates the response buffer with kmalloc() sized by the host-supplied AUTH_RECEIVE allocation length, but the DH-HMAC-CHAP builders write only a fixed-size message into it. The full allocation length is then copied to the wire by nvmet_copy_to_sgl(), so a remote initiator receives the bytes past the built message -- up to nearly a page of uninitialized slab -- during the pre-authentication handshake. Allocate the buffer with kzalloc() so the unwritten tail is zeroed before it is sent; conforming responses are unaffected.
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
db1312dd95488b5e6ff362ff66fcf953a46b1821 to < 447b668faa14710f611e714031e3739ac3ec3a4faffecteddb1312dd95488b5e6ff362ff66fcf953a46b1821 to < 8f6363c8d54dde95982f0ab45e77cf57ec0efd62affecteddb1312dd95488b5e6ff362ff66fcf953a46b1821 to < dfcf013f77709ebdb282767edc2795a37cab5b57affecteddb1312dd95488b5e6ff362ff66fcf953a46b1821 to < b26189d28442183a8b5edb754f4a6918f77ca84eaffecteddb1312dd95488b5e6ff362ff66fcf953a46b1821 to < 2dcc9226203da7275a9c29d20007da278d73d5e9affecteddb1312dd95488b5e6ff362ff66fcf953a46b1821 to < 1d6837d98bf966a041af65de5f78de7409ff83bcaffecteddb1312dd95488b5e6ff362ff66fcf953a46b1821 to < 3ddcfb013322aa37eaa7a0d344b73079c38dfa21affected
Linux Linux
Default version status: affected
6.0affected0 to < 6.0unaffected6.1.185 to ≤ 6.1.*unaffected6.6.154 to ≤ 6.6.*unaffected6.12.106 to ≤ 6.12.*unaffected6.18.47 to ≤ 6.18.*unaffected7.1.11 to ≤ 7.1.*unaffected7.2.1 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/447b668faa14710f611e714031e3739ac3ec3a4f ↗
- https://git.kernel.org/stable/c/8f6363c8d54dde95982f0ab45e77cf57ec0efd62 ↗
- https://git.kernel.org/stable/c/dfcf013f77709ebdb282767edc2795a37cab5b57 ↗
- https://git.kernel.org/stable/c/b26189d28442183a8b5edb754f4a6918f77ca84e ↗
- https://git.kernel.org/stable/c/2dcc9226203da7275a9c29d20007da278d73d5e9 ↗
- https://git.kernel.org/stable/c/1d6837d98bf966a041af65de5f78de7409ff83bc ↗
- https://git.kernel.org/stable/c/3ddcfb013322aa37eaa7a0d344b73079c38dfa21 ↗