CVE-2024-42312sysctl: always initialize i_uid/i_gid
Updated under an hour ago ()
Does this affect you?
It affects Linux and 2 other products. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 5.5 MEDIUM (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weakness (CWE)
- Not given
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Linux
- NVD analysis
- Modified
- Record last updated
- Oct 15, 2026
- First seen by InfoSec Signals
- Oct 15, 2026
Affected products
Linux Linux linux:linux (from the name) | from 5ec27ec735ba0477d48c80561cc5e856f0c5dfaf before b2591c89a6e2858796111138c38fcb6851aa1955; from 5ec27ec735ba0477d48c80561cc5e856f0c5dfaf before 34a86adea1f2b3c3f9d864c8cce09dca644601ab; 5ec27ec735ba0477d48c80561cc5e856f0c5dfaf builds before 1deae34db9f4f8e0e03f891be2e2e15c15c8ac05; from 5ec27ec735ba0477d48c80561cc5e856f0c5dfaf before ffde3af4b29bf97d62d82e1d45275587e10a991a; from 5ec27ec735ba0477d48c80561cc5e856f0c5dfaf before c7e2f43d182f5dde473389dbb39f16c9f0d64536; from 5ec27ec735ba0477d48c80561cc5e856f0c5dfaf before 98ca62ba9e2be5863c7d069f84f7166b45a5b2f4; e83234d7ef237931148b4b17834dadf57eb46c12; 2cbf2af144f0cd08a3361c6299b2e6086b7d21d9; and 8 more ranges | CNA record |
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem siemens:simatic_s7_1500_tm_mfp_gnu_linux_subsystem (from the name) | before V1.1.1 | CISA ADP |
linux linux_kernel linux:linux_kernel | from 4.9.187 before 4.10; from 4.14.135 before 4.15; from 4.19.61 before 4.20; from 5.1.20 before 5.2; from 5.2.3 before 5.10.224; from 5.11 before 5.15.165; from 5.16 before 6.1.104; from 6.2 before 6.6.45; and 1 more ranges | NVD |
References
- https://git.kernel.org/stable/c/b2591c89a6e2858796111138c38fcb6851aa1955patch
- https://git.kernel.org/stable/c/34a86adea1f2b3c3f9d864c8cce09dca644601abpatch
- https://git.kernel.org/stable/c/1deae34db9f4f8e0e03f891be2e2e15c15c8ac05patch
- https://git.kernel.org/stable/c/ffde3af4b29bf97d62d82e1d45275587e10a991apatch
- https://git.kernel.org/stable/c/c7e2f43d182f5dde473389dbb39f16c9f0d64536patch
- https://git.kernel.org/stable/c/98ca62ba9e2be5863c7d069f84f7166b45a5b2f4patch
- https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.