sysctl: always initialize i_uid/i_gid
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 4.10, 4.15, 4.20, 5.2, 5.3, and 5 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
In the Linux kernel, the following vulnerability has been resolved: sysctl: always initialize i_uid/i_gid Always initialize i_uid/i_gid inside the sysfs core so set_ownership() can safely skip setting them. Commit 5ec27ec735ba ("fs/proc/proc_sysctl.c: fix the default values of i_uid/i_gid on /proc/sys inodes.") added defaults for i_uid/i_gid when set_ownership() was not implemented. It also missed adjusting net_ctl_set_ownership() to use the same default values in case the computation of a better value failed.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 5ec27ec735ba0477d48c80561cc5e856f0c5dfaf · fixed in b2591c89a6e2858796111138c38fcb6851aa1955; From 5ec27ec735ba0477d48c80561cc5e856f0c5dfaf · fixed in 34a86adea1f2b3c3f9d864c8cce09dca644601ab; From 5ec27ec735ba0477d48c80561cc5e856f0c5dfaf · fixed in 1deae34db9f4f8e0e03f891be2e2e15c15c8ac05; From 5ec27ec735ba0477d48c80561cc5e856f0c5dfaf · fixed in ffde3af4b29bf97d62d82e1d45275587e10a991a; From 5ec27ec735ba0477d48c80561cc5e856f0c5dfaf · fixed in c7e2f43d182f5dde473389dbb39f16c9f0d64536; From 5ec27ec735ba0477d48c80561cc5e856f0c5dfaf · fixed in 98ca62ba9e2be5863c7d069f84f7166b45a5b2f4; From 4.9.187 · fixed in 4.10; From 4.14.135 · fixed in 4.15; From 4.19.61 · fixed in 4.20; From 5.1.20 · fixed in 5.2; From 5.2.3 · fixed in 5.3
- Linux Linux
5.3
- KernelLinux
From 5.3.0 · fixed in 5.10.224; From 5.11.0 · fixed in 5.15.165; From 5.16.0 · fixed in 6.1.104; From 6.2.0 · fixed in 6.6.45; From 6.7.0 · fixed in 6.10.3