# CVE-2024-26822: smb: client: set correct id, uid and cruid for multiuser automounts

- Severity: High 8.7 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-04-17T09:43:49.221Z
- Modified: 2026-08-05T11:27:37.199Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from c8117ac42303f7ae99bbe53e4952f7d147cca1fb before 4a6e4c56721a3e6e2550b72ec56aab306c4607a7; from 60e3318e3e900ba1ddfead937012b3432dfccc92 before 2ceba8ae1bd1f5589548cb722a5c583ca3a2dede; from 9fd29a5bae6e8f94b410374099a6fddb253d2d5f before c2aa2718cda2d56b4a551cb40043e9abc9684626; from 9fd29a5bae6e8f94b410374099a6fddb253d2d5f before 7590ba9057c6d74c66f3b909a383ec47cd2f27fb; from 9fd29a5bae6e8f94b410374099a6fddb253d2d5f before 4508ec17357094e2075f334948393ddedbb75157; from 5.15.124 before 5.15.201; from 6.1.54 before 6.1.164; 6.2 (not affected: before 6.2; from 5.15.201 up to 5.15.*; from 6.1.164 up to 6.1.*; from 6.6.18 up to 6.6.*; from 6.7.6 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 6.2 before 6.6.18; from 6.7 before 6.7.6; 5.15.124; 6.1.54; 6.8

## Every score

- Linux: CVSS:3.1 8.7 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://git.kernel.org/stable/c/4a6e4c56721a3e6e2550b72ec56aab306c4607a7> (patch)
- <https://git.kernel.org/stable/c/2ceba8ae1bd1f5589548cb722a5c583ca3a2dede> (patch)
- <https://git.kernel.org/stable/c/c2aa2718cda2d56b4a551cb40043e9abc9684626> (patch)
- <https://git.kernel.org/stable/c/7590ba9057c6d74c66f3b909a383ec47cd2f27fb> (patch)
- <https://git.kernel.org/stable/c/4508ec17357094e2075f334948393ddedbb75157> (patch)

## Sources

- CVE List: [CVE-2024-26822](https://www.cve.org/CVERecord?id=CVE-2024-26822), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-26822](https://nvd.nist.gov/vuln/detail/CVE-2024-26822), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-26822 · Whole record: https://cve.day/CVE-2024-26822.json · Rebuilt by cve.day 2026-11-25T22:58:39.338Z
