CVE-2024-26822
smb: client: set correct id, uid and cruid for multiuser automounts
Check your servers for CVE-2024-26822
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-2024-26822 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: set correct id, uid and cruid for multiuser automounts
When uid, gid and cruid are not specified, we need to dynamically set them into the filesystem context used for automounting otherwise they'll end up reusing the values from the parent mount.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality high, integrity high, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 9 May 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from c8117ac42303f7ae99bbe53e4952f7d147cca1fb, before 4a6e4c56721a3e6e2550b72ec56aab306c4607a7 affected from 60e3318e3e900ba1ddfead937012b3432dfccc92, before 2ceba8ae1bd1f5589548cb722a5c583ca3a2dede affected from 9fd29a5bae6e8f94b410374099a6fddb253d2d5f, before c2aa2718cda2d56b4a551cb40043e9abc9684626 affected from 9fd29a5bae6e8f94b410374099a6fddb253d2d5f, before 7590ba9057c6d74c66f3b909a383ec47cd2f27fb affected from 9fd29a5bae6e8f94b410374099a6fddb253d2d5f, before 4508ec17357094e2075f334948393ddedbb75157 affected from 5.15.124, before 5.15.201 affected from 6.1.54, before 6.1.164
Other versions: unaffected
|
| Linux |
affected 6.2 unaffected before 6.2 unaffected from 5.15.201 up to and including 5.15.* unaffected from 6.1.164 up to and including 6.1.* unaffected from 6.6.18 up to and including 6.6.* unaffected from 6.7.6 up to and including 6.7.* unaffected 6.8 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-2024-26822 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26822
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-2024-26822
trivy image --scanners vuln IMAGE | grep CVE-2024-26822
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/4a6e4c56721a3e6e2550b72ec56aab306c4607a7 git.kernel.org
- https://git.kernel.org/stable/c/2ceba8ae1bd1f5589548cb722a5c583ca3a2dede git.kernel.org
- https://git.kernel.org/stable/c/c2aa2718cda2d56b4a551cb40043e9abc9684626 git.kernel.org
- https://git.kernel.org/stable/c/7590ba9057c6d74c66f3b909a383ec47cd2f27fb git.kernel.org
- https://git.kernel.org/stable/c/4508ec17357094e2075f334948393ddedbb75157 git.kernel.org
Source: the record CVE-2024-26822 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse