CVE-2026-46185
Beschrijving NL
In de Linux kernel is de volgende kwetsbaarheid verholpen:
smb/client: fix out-of-bounds gelezen in symlink_data()
Aangezien smb2_check_message() succes retourneert zonder lengtevalidatie voor
de symlink-foutrespons, in symlink_data() is het mogelijk om
iov->iov_len kleiner zijn dan sizeof(struct smb2_err_rsp). Als de buffer
alleen de basis SMB2-header (64 bytes) bevat,
err->ErrorContextCount (bij offset 66) of err->ByteCount later in
symlink_data() zal een out-of-bounds lezen veroorzaken.
Origineel (Engels) tonen
In the Linux kernel, the following vulnerability has been resolved:
smb/client: fix out-of-bounds read in symlink_data()
Since smb2_check_message() returns success without length validation for
the symlink error response, in symlink_data() it is possible for
iov->iov_len to be smaller than sizeof(struct smb2_err_rsp). If the buffer
only contains the base SMB2 header (64 bytes), accessing
err->ErrorContextCount (at offset 66) or err->ByteCount later in
symlink_data() will cause an out-of-bounds read.