Back to CVE records
Medium 5.5Published Aug 17, 2024

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.

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

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

  • patch
  • patch
  • patch
  • patch
  • patch
  • patch

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.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.