FKIE_CVE-2026-142790
Vulnerability from fkie_nvd - Published: 2026-12-03 04:18 - Updated: 2026-12-03 04:18| Vendor | Product | Version |
|---|
{
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/smb/client/readdir.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "318f8316852f3f0780aa14b0ec66d5fe06b19b15",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
},
{
"lessThan": "5bab3beacb28f13bb883aea30e489dd32557401a",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
},
{
"lessThan": "408054cbb7e43bb83e518d1c0278d8c8c7c06982",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
},
{
"lessThan": "b2817ed0d16c168aa5349f7e4b3af2b8f7ff39b6",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
},
{
"lessThan": "9615d78d537db9e7599f55b8ad1f061e29ed1f11",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
},
{
"lessThan": "fa0c2f082946917c3f07d2475c8ce73a8c96d0e2",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/smb/client/readdir.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.12"
},
{
"lessThan": "2.6.12",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.193",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.163",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.118",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.64",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix OOB read in the SMB_FIND_FILE_UNIX name scan\n\ncifs_fill_dirent_unix() finds the length of an SMB_FIND_FILE_UNIX\nentry name by scanning for its terminating NUL, over up to PATH_MAX + 1\nUTF-16 units in cifs_unicode_bytelen() or PATH_MAX bytes in strnlen().\nNeither scan knows where the response ends. cifs_fill_dirent() only\nrequires the fixed part of the entry to fit, so the name can start\nexactly at the end of the received data, and a name that holds no\nterminator is then scanned for 8194 bytes, or 4096 bytes without\nunicode, past the end of the received data. SendReceive() copies at\nmost 16468 bytes into the 16588-byte cifs_request allocation, so for a\nresponse of that length up to 8074 of the bytes scanned lie past the\nend of the allocation. Before the preceding patches bounded where the\nentry starts, the entry itself could start up to 820 bytes past the\nend of the allocation at the default CIFSMaxBufSize, and its name 928\nbytes past it, so all 8194 scanned bytes would lie outside.\ncifs_fill_dirent() rejects the name afterwards because it extends past\nthe end of the response, so nothing of what was read is used, but the\nout-of-bounds read itself remains.\n\nSMB_FIND_FILE_UNIX is only used with SMB1 servers that offer the Unix\nextensions; SMB1 is not negotiated by default and requires an explicit\nvers=1.0 mount.\n\nBefore the preceding patches, an entry placed past the buffer left the\nscan out of bounds from its first read. They bound where the entry\nstarts, but nothing bounds the scan, so a name that holds no\nterminator still runs off the end of the allocation. Reproduced on\nthe unpatched tree with KASAN enabled, for an entry that starts\ninside the response, which is the case the preceding patches leave\nopen:\n\n ==================================================================\n BUG: KASAN: slab-out-of-bounds in cifs_save_resume_key.isra.0+0x75c/0x7f0\n Read of size 2 at addr ffff88807ee640cc by task ls/84\n\n CPU: 0 UID: 0 PID: 84 Comm: ls Not tainted 7.3.0-rc4-00457-gf14572c203d5 #69 PREEMPT(lazy)\n Call Trace:\n \u003cTASK\u003e\n kasan_report+0xdf/0x1a0\n cifs_save_resume_key.isra.0+0x75c/0x7f0\n cifs_readdir+0x1ed6/0x29c0\n iterate_dir+0x1c0/0x570\n __x64_sys_getdents64+0x133/0x270\n do_syscall_64+0x109/0x5d0\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\n \u003c/TASK\u003e\n\n Allocated by task 84 on cpu 1 at 15.751078s:\n cifs_buf_get+0x36/0x90\n smb_init+0x4f/0x110\n CIFSFindNext+0xf7/0x14c0\n cifs_readdir+0xf51/0x29c0\n\n The buggy address belongs to the object at ffff88807ee60000\n which belongs to the cache cifs_request of size 16588\n The buggy address is located 0 bytes to the right of\n allocated 16588-byte region [ffff88807ee60000, ffff88807ee640cc)\n ==================================================================\n\nThe two bytes read there are one UTF-16 unit of the scan, at the first\nbyte past the end of the object. The scan carries on from there,\nreported again 2, 4 and 6 bytes to the right.\n\nPass the number of bytes that follow the fixed part of the entry to\ncifs_fill_dirent_unix() and stop both scans there. A scan that reaches\nthe end of the response without finding a terminator now fails: it\nreturns a name that ends exactly at the end of the response and would\notherwise pass the bound, so cifs_fill_dirent() requires the position\nof the terminator of an SMB_FIND_FILE_UNIX name to lie inside the\nresponse as well. Accepting such a name truncated at the end of the\nresponse would turn a malformed entry into a directory entry, or a\nresume name, that no server sent. A name longer than the PATH_MAX cap\nof the scans is still truncated there, as before, when the response\nextends past the cap. The message cifs_unicode_bytelen() logs when it\nfinds no terminator now covers both limits.\n\nThis patch depends on \"smb: client: fix OOB read of the resume name\nsent in TRANS2_FIND_NEXT2\", which adds the end argument of\ncifs_fill_dirent() and the length it deri\n---truncated---"
}
],
"id": "CVE-2026-142790",
"lastModified": "2026-12-03T04:18:12.193",
"metrics": {},
"published": "2026-12-03T04:18:12.193",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/318f8316852f3f0780aa14b0ec66d5fe06b19b15"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/408054cbb7e43bb83e518d1c0278d8c8c7c06982"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/5bab3beacb28f13bb883aea30e489dd32557401a"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/9615d78d537db9e7599f55b8ad1f061e29ed1f11"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/b2817ed0d16c168aa5349f7e4b3af2b8f7ff39b6"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/fa0c2f082946917c3f07d2475c8ce73a8c96d0e2"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.