{"api_version":"1","generated_at":"2026-12-04T01:43:49+00:00","cve":"CVE-2026-143035","urls":{"html":"https://cve.report/CVE-2026-143035","api":"https://cve.report/api/cve/CVE-2026-143035.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143035","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143035"},"summary":{"title":"smb: client: validate descriptor headers before query result allocation","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: validate descriptor headers before query result allocation\n\nquery_info() uses the server's returned length instead of the caller's\nminimum when a dynamic result is requested. A zero-length ACL response\ncan therefore return ZERO_SIZE_PTR to id_mode_to_cifs_acl(), whose\nownership-change path reads dacloffset before checking the header size.\nA KASAN-enabled test shows a read at address 0x20 and a kernel Oops.\n\nValidate the returned range and the caller's minimum before allocating\nthe dynamic result. Keep the reported length zero if validation fails.\n\nUse the security descriptor header size as the minimum in SMB2_query_acl().\nDACL-only and SACL-only xattr queries do not require owner and group SIDs,\nso enforcing MIN_SEC_DESC_LEN would reject short descriptors that these\nqueries could previously return. The rewrite paths validate the required\nowner/group SIDs and DACL separately before using their contents.\n\nThese issues were discovered and fixed by Qihoo 360's Tulongfeng\nmulti-agent system.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:17:31","updated_at":"2026-12-03 10:17:31"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/8814ab12de4868b137e9048f95ba5de23d99d42a","name":"https://git.kernel.org/stable/c/8814ab12de4868b137e9048f95ba5de23d99d42a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ffb59029c0d52bf76fdd2678f5d6fd13e26220dd","name":"https://git.kernel.org/stable/c/ffb59029c0d52bf76fdd2678f5d6fd13e26220dd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/63ac0e4293f03143f112fee06352aaca8396ae79","name":"https://git.kernel.org/stable/c/63ac0e4293f03143f112fee06352aaca8396ae79","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143035","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143035","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9ee2afe5207b63b20426ee081f486d831bae871d 63ac0e4293f03143f112fee06352aaca8396ae79 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9ee2afe5207b63b20426ee081f486d831bae871d 8814ab12de4868b137e9048f95ba5de23d99d42a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9ee2afe5207b63b20426ee081f486d831bae871d ffb59029c0d52bf76fdd2678f5d6fd13e26220dd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7ceb25df4900183479deacd3ccf7add41b2b836a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.0.18 6.1 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"143035","cve":"CVE-2026-143035","epss":"0.002060000","percentile":"0.113030000","score_date":"2026-12-03","updated_at":"2026-12-04 00:14:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/smb/client/cifsacl.h","fs/smb/client/smb2pdu.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"63ac0e4293f03143f112fee06352aaca8396ae79","status":"affected","version":"9ee2afe5207b63b20426ee081f486d831bae871d","versionType":"git"},{"lessThan":"8814ab12de4868b137e9048f95ba5de23d99d42a","status":"affected","version":"9ee2afe5207b63b20426ee081f486d831bae871d","versionType":"git"},{"lessThan":"ffb59029c0d52bf76fdd2678f5d6fd13e26220dd","status":"affected","version":"9ee2afe5207b63b20426ee081f486d831bae871d","versionType":"git"},{"status":"affected","version":"7ceb25df4900183479deacd3ccf7add41b2b836a","versionType":"git"},{"lessThan":"6.1","status":"affected","version":"6.0.18","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/smb/client/cifsacl.h","fs/smb/client/smb2pdu.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.1"},{"lessThan":"6.1","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"6.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"6.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc3","versionStartIncluding":"6.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0.18","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: validate descriptor headers before query result allocation\n\nquery_info() uses the server's returned length instead of the caller's\nminimum when a dynamic result is requested. A zero-length ACL response\ncan therefore return ZERO_SIZE_PTR to id_mode_to_cifs_acl(), whose\nownership-change path reads dacloffset before checking the header size.\nA KASAN-enabled test shows a read at address 0x20 and a kernel Oops.\n\nValidate the returned range and the caller's minimum before allocating\nthe dynamic result. Keep the reported length zero if validation fails.\n\nUse the security descriptor header size as the minimum in SMB2_query_acl().\nDACL-only and SACL-only xattr queries do not require owner and group SIDs,\nso enforcing MIN_SEC_DESC_LEN would reject short descriptors that these\nqueries could previously return. The rewrite paths validate the required\nowner/group SIDs and DACL separately before using their contents.\n\nThese issues were discovered and fixed by Qihoo 360's Tulongfeng\nmulti-agent system."}],"providerMetadata":{"dateUpdated":"2026-12-03T09:18:10.892Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/63ac0e4293f03143f112fee06352aaca8396ae79"},{"url":"https://git.kernel.org/stable/c/8814ab12de4868b137e9048f95ba5de23d99d42a"},{"url":"https://git.kernel.org/stable/c/ffb59029c0d52bf76fdd2678f5d6fd13e26220dd"}],"title":"smb: client: validate descriptor headers before query result allocation","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143035","datePublished":"2026-12-03T09:18:10.892Z","dateReserved":"2026-12-03T03:10:28.344Z","dateUpdated":"2026-12-03T09:18:10.892Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:17:31","lastModifiedDate":"2026-12-03 10:17:31","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143035","Ordinal":"1","Title":"smb: client: validate descriptor headers before query result all","CVE":"CVE-2026-143035","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143035","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: validate descriptor headers before query result allocation\n\nquery_info() uses the server's returned length instead of the caller's\nminimum when a dynamic result is requested. A zero-length ACL response\ncan therefore return ZERO_SIZE_PTR to id_mode_to_cifs_acl(), whose\nownership-change path reads dacloffset before checking the header size.\nA KASAN-enabled test shows a read at address 0x20 and a kernel Oops.\n\nValidate the returned range and the caller's minimum before allocating\nthe dynamic result. Keep the reported length zero if validation fails.\n\nUse the security descriptor header size as the minimum in SMB2_query_acl().\nDACL-only and SACL-only xattr queries do not require owner and group SIDs,\nso enforcing MIN_SEC_DESC_LEN would reject short descriptors that these\nqueries could previously return. The rewrite paths validate the required\nowner/group SIDs and DACL separately before using their contents.\n\nThese issues were discovered and fixed by Qihoo 360's Tulongfeng\nmulti-agent system.","Type":"Description","Title":"smb: client: validate descriptor headers before query result all"}]}}}