In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix Out-of-Bounds Write in ksmbdvfsstream_write
An offset from client could be a negative value, It could allows to write data outside the bounds of the allocated buffer. Note that this issue is coming when setting 'vfs objects = streams_xattr parameter' in ksmbd.conf.
[ { "signature_type": "Line", "id": "CVE-2024-56626-42ef855f", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@313dab082289e460391c82d855430ec8a28ddf81", "signature_version": "v1", "target": { "file": "fs/smb/server/smb2pdu.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "178554235205006154635986307362107258969", "281107571834695729650332214422309764005", "244035633269388772129877168702606127586", "332467830953785321139387063984308946570" ] }, "deprecated": false }, { "signature_type": "Function", "id": "CVE-2024-56626-6e5a0a49", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c5797f195c67132d061d29c57a7c6d30530686f0", "signature_version": "v1", "target": { "function": "smb2_write", "file": "fs/smb/server/smb2pdu.c" }, "digest": { "function_hash": "82255487739535611120480018709520286688", "length": 3139.0 }, "deprecated": false }, { "signature_type": "Function", "id": "CVE-2024-56626-8b97b730", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@313dab082289e460391c82d855430ec8a28ddf81", "signature_version": "v1", "target": { "function": "smb2_write", "file": "fs/smb/server/smb2pdu.c" }, "digest": { "function_hash": "167771336259933976036081518758301539482", "length": 3192.0 }, "deprecated": false }, { "signature_type": "Function", "id": "CVE-2024-56626-9e7d6053", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1aea5c9470be2c7129704fb1b9562b1e3e0576f8", "signature_version": "v1", "target": { "function": "smb2_write", "file": "fs/ksmbd/smb2pdu.c" }, "digest": { "function_hash": "82255487739535611120480018709520286688", "length": 3139.0 }, "deprecated": false }, { "signature_type": "Line", "id": "CVE-2024-56626-a7055976", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1aea5c9470be2c7129704fb1b9562b1e3e0576f8", "signature_version": "v1", "target": { "file": "fs/ksmbd/smb2pdu.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "178554235205006154635986307362107258969", "281107571834695729650332214422309764005", "244035633269388772129877168702606127586", "332467830953785321139387063984308946570" ] }, "deprecated": false }, { "signature_type": "Function", "id": "CVE-2024-56626-ab2e51e5", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8cd7490fc0f268883e86e840cda5311257af69ca", "signature_version": "v1", "target": { "function": "smb2_write", "file": "fs/smb/server/smb2pdu.c" }, "digest": { "function_hash": "82255487739535611120480018709520286688", "length": 3139.0 }, "deprecated": false }, { "signature_type": "Line", "id": "CVE-2024-56626-ae7d0227", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8cd7490fc0f268883e86e840cda5311257af69ca", "signature_version": "v1", "target": { "file": "fs/smb/server/smb2pdu.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "178554235205006154635986307362107258969", "281107571834695729650332214422309764005", "244035633269388772129877168702606127586", "332467830953785321139387063984308946570" ] }, "deprecated": false }, { "signature_type": "Line", "id": "CVE-2024-56626-d8624d6f", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@164d3597d26d9acff5d5b8bc3208bdcca942dd6a", "signature_version": "v1", "target": { "file": "fs/smb/server/smb2pdu.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "178554235205006154635986307362107258969", "281107571834695729650332214422309764005", "244035633269388772129877168702606127586", "332467830953785321139387063984308946570" ] }, "deprecated": false }, { "signature_type": "Function", "id": "CVE-2024-56626-da3b3f9b", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@164d3597d26d9acff5d5b8bc3208bdcca942dd6a", "signature_version": "v1", "target": { "function": "smb2_write", "file": "fs/smb/server/smb2pdu.c" }, "digest": { "function_hash": "82255487739535611120480018709520286688", "length": 3139.0 }, "deprecated": false }, { "signature_type": "Line", "id": "CVE-2024-56626-f044825c", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c5797f195c67132d061d29c57a7c6d30530686f0", "signature_version": "v1", "target": { "file": "fs/smb/server/smb2pdu.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "178554235205006154635986307362107258969", "281107571834695729650332214422309764005", "244035633269388772129877168702606127586", "332467830953785321139387063984308946570" ] }, "deprecated": false } ]