CVE-2024-26822
smb: client: set correct id, uid and cruid for multiuser automounts
Mitigation
- Upgrade Linux to 6.1.164 or later.
Who should check
- Anyone running Linux >= c8117ac42303f7ae99bbe53e4952f7d147cca1fb, < 4a6e4c56721a3e6e2550b72ec56aab306c4607a7; >= 60e3318e3e900ba1ddfead937012b3432dfccc92, < 2ceba8ae1bd1f5589548cb722a5c583ca3a2dede; >= 9fd29a5bae6e8f94b410374099a6fddb253d2d5f, < c2aa2718cda2d56b4a551cb40043e9abc9684626; >= 9fd29a5bae6e8f94b410374099a6fddb253d2d5f, < 7590ba9057c6d74c66f3b909a383ec47cd2f27fb; >= 9fd29a5bae6e8f94b410374099a6fddb253d2d5f, < 4508ec17357094e2075f334948393ddedbb75157; >= 5.15.124, < 5.15.201; >= 6.1.54, < 6.1.164
- Anyone running Linux 6.2
Vulnerability facts
- Affected
- Linux >= c8117ac42303f7ae99bbe53e4952f7d147cca1fb, < 4a6e4c56721a3e6e2550b72ec56aab306c4607a7; >= 60e3318e3e900ba1ddfead937012b3432dfccc92, < 2ceba8ae1bd1f5589548cb722a5c583ca3a2dede; >= 9fd29a5bae6e8f94b410374099a6fddb253d2d5f, < c2aa2718cda2d56b4a551cb40043e9abc9684626; >= 9fd29a5bae6e8f94b410374099a6fddb253d2d5f, < 7590ba9057c6d74c66f3b909a383ec47cd2f27fb; >= 9fd29a5bae6e8f94b410374099a6fddb253d2d5f, < 4508ec17357094e2075f334948393ddedbb75157; >= 5.15.124, < 5.15.201; >= 6.1.54, < 6.1.164; Linux 6.2
- Fixed in
- Linux 4a6e4c56721a3e6e2550b72ec56aab306c4607a7, Linux 2ceba8ae1bd1f5589548cb722a5c583ca3a2dede, Linux 7590ba9057c6d74c66f3b909a383ec47cd2f27fb, Linux 4508ec17357094e2075f334948393ddedbb75157, Linux 5.15.201, Linux 6.1.164
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 8.7 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: Low
- EPSS
- 0.32% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= c8117ac42303f7ae99bbe53e4952f7d147cca1fb, < 4a6e4c56721a3e6e2550b72ec56aab306c4607a7; >= 60e3318e3e900ba1ddfead937012b3432dfccc92, < 2ceba8ae1bd1f5589548cb722a5c583ca3a2dede; >= 9fd29a5bae6e8f94b410374099a6fddb253d2d5f, < c2aa2718cda2d56b4a551cb40043e9abc9684626; >= 9fd29a5bae6e8f94b410374099a6fddb253d2d5f, < 7590ba9057c6d74c66f3b909a383ec47cd2f27fb; >= 9fd29a5bae6e8f94b410374099a6fddb253d2d5f, < 4508ec17357094e2075f334948393ddedbb75157; >= 5.15.124, < 5.15.201; >= 6.1.54, < 6.1.164 | — | cvelist |
| Linux | 6.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-26822. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-26822.md Affected: Linux >= c8117ac42303f7ae99bbe53e4952f7d147cca1fb, < 4a6e4c56721a3e6e2550b72ec56aab306c4607a7; >= 60e3318e3e900ba1ddfead937012b3432dfccc92, < 2ceba8ae1bd1f5589548cb722a5c583ca3a2dede; >= 9fd29a5bae6e8f94b410374099a6fddb253d2d5f, < c2aa2718cda2d56b4a551cb40043e9abc9684626; >= 9fd29a5bae6e8f94b410374… Fixed in: Linux 4a6e4c56721a3e6e2550b72ec56aab306c4607a7, Linux 2ceba8ae1bd1f5589548cb722a5c583ca3a2dede, Linux 7590ba9057c6d74c66f3b909a383ec47cd2f27fb, Linux 4508ec17357094e2075f334948393ddedbb75157, Linux 5.15.201, Linux 6.1.164 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/4a6e4c56721a3e6e2550b72ec56aab306c4607a7
- https://git.kernel.org/stable/c/2ceba8ae1bd1f5589548cb722a5c583ca3a2dede
- https://git.kernel.org/stable/c/c2aa2718cda2d56b4a551cb40043e9abc9684626
- https://git.kernel.org/stable/c/7590ba9057c6d74c66f3b909a383ec47cd2f27fb
- https://git.kernel.org/stable/c/4508ec17357094e2075f334948393ddedbb75157
FAQ
Is CVE-2024-26822 being exploited?
There is no confirmed exploitation: CVE-2024-26822 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-26822?
High: CVSS 8.7 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-26822?
Linux >= c8117ac42303f7ae99bbe53e4952f7d147cca1fb, < 4a6e4c56721a3e6e2550b72ec56aab306c4607a7; >= 60e3318e3e900ba1ddfead937012b3432dfccc92, < 2ceba8ae1bd1f5589548cb722a5c583ca3a2dede; >= 9fd29a5bae6e8f94b410374099a6fddb253d2d5f, < c2aa2718cda2d56b4a551cb40043e9abc9684626; >= 9fd29a5bae6e8f94b410374099a6fddb253d2d5f, < 7590ba9057c6d74c66f3b909a383ec47cd2f27fb; >= 9fd29a5bae6e8f94b410374099a6fddb253d2d5f, < 4508ec17357094e2075f334948393ddedbb75157; >= 5.15.124, < 5.15.201; >= 6.1.54, < 6.1.164; Linux 6.2.
Is there a fix for CVE-2024-26822?
Yes. Fixed in Linux 4a6e4c56721a3e6e2550b72ec56aab306c4607a7, Linux 2ceba8ae1bd1f5589548cb722a5c583ca3a2dede, Linux 7590ba9057c6d74c66f3b909a383ec47cd2f27fb, Linux 4508ec17357094e2075f334948393ddedbb75157, Linux 5.15.201, Linux 6.1.164. Upgrade Linux to 6.1.164 or later.
How do I check if I'm affected by CVE-2024-26822?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.