A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
In the Linux kernel, the following vulnerability has been resolved:
smb: client: validate SMB1 EA list bounds before parsing
CIFSSMBQAllEAs() checks the server-provided EA list length by adding it to the response pointer. On 32-bit systems, a positive length can wrap the pointer and pass the comparison. The parser then walks outside the received response while reading the next FEA header.
A response with a list length of 0x40000000 reproduces this as a native i386 page fault and kernel panic from listxattr() against an SMB1 server.
Check that the EA list starts within the SMB byte area before reading its header. Keep its length unsigned and compare it with the bytes left in the response without pointer addition.
SMB1 is not negotiated by default and requires an explicit vers=1.0 mount.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
References
- git.kernel.org /stable/c/25b2cf78709cffcc04b2c576e7150d46b0cecef0
- git.kernel.org /stable/c/3c3679ef16b5e763809f91eb0cde20ee17b6f5a3
- git.kernel.org /stable/c/8eec99e61b79bb5f698754dda8e8a1ff7e4ed7ff
- git.kernel.org /stable/c/cb6df4e56561f7f59f90293d67ba93018fd9a5c6
- git.kernel.org /stable/c/ccdd05f4573951164edd0390bb995fe6d2072441
- git.kernel.org /stable/c/ddc7a7e1eeb116ccaf010a6f1fb6ab927f3f888d
- git.kernel.org /stable/c/e4a360cb4d0a3be7e2812caece32cd03f72c7745
- git.kernel.org /stable/c/fe9262a2a4c5e12d6bd6237bfc7addf778f97435
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning