{"id":"CVE-2026-98168","state":"PUBLISHED","title":"smb: client: fix reparse buffer bounds in cifs_query_reparse_point()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix reparse buffer bounds in cifs_query_reparse_point()\n\nIn cifs_query_reparse_point(), the start >= end check before casting to\nstruct reparse_data_buffer * only ensures the start pointer is within the\nresponse. It fails to verify that there is enough space remaining for the\nfixed 8-byte header of the structure.\n\nIf a server provides a DataOffset that leaves less than 8 bytes remaining,\nthe check passes, but subsequent reads of ReparseTag and ReparseDataLength\nwill occur out-of-bounds.\n\nFix this by ensuring the remaining space is at least the size of the\nreparse_data_buffer structure before accessing its fields.","publishedAt":"2026-10-06T08:44:13.534Z","updatedAt":"2026-10-21T12:54:47.190Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"848d78e3625f15de09d34a562dc49a98b78a62f3","status":"affected","lessThan":"aa00eead258e4fe8158a3a3e2d65facf06274abd","versionType":"git"},{"version":"48ca7139ab7f0bbed95ff7a901ea497017769657","status":"affected","lessThan":"3d67f155fe5813cfb02a551a9a12d6ea06a902e9","versionType":"git"},{"version":"56e84c64fc257a95728ee73165456b025c48d408","status":"affected","lessThan":"d1152c96a3002e3df6b9a5b007cecaa7b19b4f79","versionType":"git"},{"version":"56e84c64fc257a95728ee73165456b025c48d408","status":"affected","lessThan":"8dc5db3a0e583ea8d31d0613cefd99e93e095c3c","versionType":"git"},{"version":"56e84c64fc257a95728ee73165456b025c48d408","status":"affected","lessThan":"5f0306e731e2f46e91419eae57eee3a241c055e0","versionType":"git"},{"version":"c13b779d26b3702fba8f7d5fe757aba5bda85fd0","status":"affected","versionType":"git"},{"version":"6.6.94","status":"affected","lessThan":"6.6.160","versionType":"semver"},{"version":"6.12.34","status":"affected","lessThan":"6.12.112","versionType":"semver"},{"version":"6.15.3","status":"affected","lessThan":"6.16","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/cifssmb.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.112","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.54","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.8","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/cifssmb.c"]}],"references":["https://git.kernel.org/stable/c/aa00eead258e4fe8158a3a3e2d65facf06274abd","https://git.kernel.org/stable/c/3d67f155fe5813cfb02a551a9a12d6ea06a902e9","https://git.kernel.org/stable/c/d1152c96a3002e3df6b9a5b007cecaa7b19b4f79","https://git.kernel.org/stable/c/8dc5db3a0e583ea8d31d0613cefd99e93e095c3c","https://git.kernel.org/stable/c/5f0306e731e2f46e91419eae57eee3a241c055e0"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98168.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98168","state":"PUBLISHED","datePublished":"2026-10-06T08:44:13.534Z","dateUpdated":"2026-10-21T12:54:47.190Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.321Z"},"containers":{"cna":{"title":"smb: client: fix reparse buffer bounds in cifs_query_reparse_point()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix reparse buffer bounds in cifs_query_reparse_point()\n\nIn cifs_query_reparse_point(), the start >= end check before casting to\nstruct reparse_data_buffer * only ensures the start pointer is within the\nresponse. It fails to verify that there is enough space remaining for the\nfixed 8-byte header of the structure.\n\nIf a server provides a DataOffset that leaves less than 8 bytes remaining,\nthe check passes, but subsequent reads of ReparseTag and ReparseDataLength\nwill occur out-of-bounds.\n\nFix this by ensuring the remaining space is at least the size of the\nreparse_data_buffer structure before accessing its fields."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"848d78e3625f15de09d34a562dc49a98b78a62f3","status":"affected","lessThan":"aa00eead258e4fe8158a3a3e2d65facf06274abd","versionType":"git"},{"version":"48ca7139ab7f0bbed95ff7a901ea497017769657","status":"affected","lessThan":"3d67f155fe5813cfb02a551a9a12d6ea06a902e9","versionType":"git"},{"version":"56e84c64fc257a95728ee73165456b025c48d408","status":"affected","lessThan":"d1152c96a3002e3df6b9a5b007cecaa7b19b4f79","versionType":"git"},{"version":"56e84c64fc257a95728ee73165456b025c48d408","status":"affected","lessThan":"8dc5db3a0e583ea8d31d0613cefd99e93e095c3c","versionType":"git"},{"version":"56e84c64fc257a95728ee73165456b025c48d408","status":"affected","lessThan":"5f0306e731e2f46e91419eae57eee3a241c055e0","versionType":"git"},{"version":"c13b779d26b3702fba8f7d5fe757aba5bda85fd0","status":"affected","versionType":"git"},{"version":"6.6.94","status":"affected","lessThan":"6.6.160","versionType":"semver"},{"version":"6.12.34","status":"affected","lessThan":"6.12.112","versionType":"semver"},{"version":"6.15.3","status":"affected","lessThan":"6.16","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/cifssmb.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.112","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.54","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.8","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/cifssmb.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/aa00eead258e4fe8158a3a3e2d65facf06274abd"},{"url":"https://git.kernel.org/stable/c/3d67f155fe5813cfb02a551a9a12d6ea06a902e9"},{"url":"https://git.kernel.org/stable/c/d1152c96a3002e3df6b9a5b007cecaa7b19b4f79"},{"url":"https://git.kernel.org/stable/c/8dc5db3a0e583ea8d31d0613cefd99e93e095c3c"},{"url":"https://git.kernel.org/stable/c/5f0306e731e2f46e91419eae57eee3a241c055e0"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-21T12:54:47.190Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.94","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.34","versionEndExcluding":"6.12.112"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.18.54"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.2.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}