CVE-2026-97554
smb: client: avoid using uninitialized SIDs in cifs_posix_to_fattr()
Check your servers for CVE-2026-97554
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-97554 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
smb: client: avoid using uninitialized SIDs in cifs_posix_to_fattr()
cifs_posix_to_fattr() ignores the return value of posix_info_parse(). When a malformed POSIX directory entry is encountered (e.g. invalid SID lengths from an untrusted server), posix_info_parse() returns -1 without populating the 'parsed' struct. The uninitialized stack memory in parsed.owner and parsed.group is then passed to sid_to_id(), which processes the garbage bytes and passes them to request_key() to construct a SID string, potentially leaking kernel stack contents to the userspace idmap daemon.
Fix this by checking the return value and skipping the SID-to-id mapping when parsing fails. The remaining fattr fields (timestamps, mode, etc.) are populated directly from the 'info' pointer so they are unaffected.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.90% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 9934430e2178d5164eb1ac91a9b092f9e7e64745, before 1915b69e36906968e2b698699d0f219875ae846e affected from 9934430e2178d5164eb1ac91a9b092f9e7e64745, before 604feb3e8141bf11f5afd48d36d401fee5af9536 affected from 9934430e2178d5164eb1ac91a9b092f9e7e64745, before 33106019c3be57b5fc6411cfaad6d98214a51265 affected from 9934430e2178d5164eb1ac91a9b092f9e7e64745, before 2be31f252ade791b84f7164991f14436aed1d4b9 affected from 9934430e2178d5164eb1ac91a9b092f9e7e64745, before c9a8b60ce140a68d172452f418137fc7ddbae7db affected from 9934430e2178d5164eb1ac91a9b092f9e7e64745, before da6e25842431982d5a53cf00d925b98c690f4467 affected dd80b98bdf0a4b3206739f3513b0518f27a7b4ef affected d8e39c11f66125f49de55537a6efc8ecadf4a0f7 affected from 5.8.17, before 5.9 affected from 5.9.2, before 5.10
Other versions: unaffected
|
| Linux |
affected 5.10 unaffected before 5.10 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.114 up to and including 6.12.* unaffected from 6.18.57 up to and including 6.18.* unaffected from 7.2.7 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-97554 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-97554
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-97554
trivy image --scanners vuln IMAGE | grep CVE-2026-97554
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/1915b69e36906968e2b698699d0f219875ae846e git.kernel.org
- https://git.kernel.org/stable/c/604feb3e8141bf11f5afd48d36d401fee5af9536 git.kernel.org
- https://git.kernel.org/stable/c/33106019c3be57b5fc6411cfaad6d98214a51265 git.kernel.org
- https://git.kernel.org/stable/c/2be31f252ade791b84f7164991f14436aed1d4b9 git.kernel.org
- https://git.kernel.org/stable/c/c9a8b60ce140a68d172452f418137fc7ddbae7db git.kernel.org
- https://git.kernel.org/stable/c/da6e25842431982d5a53cf00d925b98c690f4467 git.kernel.org
Source: the record CVE-2026-97554 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse