CVE-2024-26822 smb: client: set correct id, uid and cruid for multiuser automounts
A flaw in the Linux kernel SMB client allows privilege escalation during multiuser automounts by incorrectly reusing parent mount credentials.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-26822?
CVE-2024-26822 is a high-severity vulnerability in Linux kernel, published on 17 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2024-26822?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-26822?
Apply the vendor's patch.
Is CVE-2024-26822 being exploited?
There is no known exploitation of CVE-2024-26822 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-26822, DEBIAN-CVE-2024-26822, GHSA-5gcf-h7r6-w82j, ROOT-OS-DEBIAN-12-CVE-2024-26822, UBUNTU-CVE-2024-26822.