{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99541","id":"CVE-2026-99541","title":"Linux kernel out-of-bounds read in ksmbd durable handle reconnect","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix OOB read and cross-share confusion in ksmbd_validate_name_reconnect()\n\nksmbd_validate_name_reconnect() indexes\nab_pathname[share->path_sz + 1] without checking that the path is\nlonger than share->path_sz + 1 (d_path() fills the buffer from the\nend). A durable fp is not bound to its original share, so a client\ncan prese","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix OOB read and cross-share confusion in ksmbd_validate_name_reconnect()\n\nksmbd_validate_name_reconnect() indexes\nab_pathname[share->path_sz + 1] without checking that the path is\nlonger than share->path_sz + 1 (d_path() fills the buffer from the\nend). A durable fp is not bound to its original share, so a client\ncan preserve a file from a short-path share and reconnect it on a\nlong-path share, making strcmp() read past the PATH_MAX buffer -\nwith a long enough share path this oopses the kernel, and on a\nmapped page it also gives a byte-equality oracle on adjacent heap\n(the reconnect succeeds exactly when the out-of-bounds string\nequals the requested name). A same-share variant with the durable\nfp at the share root reads 1 byte past the buffer\n(strlen(ab_pathname) == share->path_sz).\n\nCheck before comparing: the path must be longer than share->path_sz,\nit must start with share->path, and the next character must be '/'.\nThe share root itself is accepted only for an empty name.","published":"2026-11-19T14:44:56.387Z","updated":"2026-11-19T14:44:56.387Z","reserved":"2026-09-25T10:25:14.421Z","status":"PUBLISHED","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c8efcc786146a951091588e5fa7e3c754850cb3c","lessThan":"0129f7196a05a974bfb3ac4efd8380be651a51b9","status":"affected","versionType":"git"},{"version":"c8efcc786146a951091588e5fa7e3c754850cb3c","lessThan":"93cb902b0ca04c9dc28b38776f7a03503c84b7ad","status":"affected","versionType":"git"},{"version":"c8efcc786146a951091588e5fa7e3c754850cb3c","lessThan":"828c02c65e2b0541f0cce403e336b978f92b6dfa","status":"affected","versionType":"git"},{"version":"c8efcc786146a951091588e5fa7e3c754850cb3c","lessThan":"783a7fc454991544bf92268d8f2413af1a7c7eb8","status":"affected","versionType":"git"},{"version":"8df4bcdb0a4232192b2445256c39b787d58ef14d","status":"affected","versionType":"git"},{"version":"6.6.32","lessThan":"6.7","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","lessThan":"6.9","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.61","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.2","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/0129f7196a05a974bfb3ac4efd8380be651a51b9","tags":[]},{"url":"https://git.kernel.org/stable/c/93cb902b0ca04c9dc28b38776f7a03503c84b7ad","tags":[]},{"url":"https://git.kernel.org/stable/c/828c02c65e2b0541f0cce403e336b978f92b6dfa","tags":[]},{"url":"https://git.kernel.org/stable/c/783a7fc454991544bf92268d8f2413af1a7c7eb8","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99541","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99541","ok":false,"note":"not found"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99541","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99541","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}