Skip to main content
Network Thinking Solutions Logo

CVE-2024-42312

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.

All CVEs
CVE-2024-42312Published 8/17/2024

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.

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
8/17/2024
Last modified
10/15/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.9.187, < 4.10

Verify advisory

Source
linux kernel
linux
≥ 4.14.135, < 4.15

Verify advisory

Source
linux kernel
linux
≥ 4.19.61, < 4.20

Verify advisory

Source
linux kernel
linux
≥ 5.1.20, < 5.2

Verify advisory

Source
linux kernel
linux
≥ 5.2.3, < 5.10.224

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.165

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.104

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.45

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.10.3

Verify advisory

Source
Linux
Linux
≥ 5ec27ec735ba0477d48c80561cc5e856f0c5dfaf, < b2591c89a6e2858796111138c38fcb6851aa1955

Verify advisory

Source
Linux
Linux
≥ 5ec27ec735ba0477d48c80561cc5e856f0c5dfaf, < 34a86adea1f2b3c3f9d864c8cce09dca644601ab

Verify advisory

Source
Linux
Linux
≥ 5ec27ec735ba0477d48c80561cc5e856f0c5dfaf, < 1deae34db9f4f8e0e03f891be2e2e15c15c8ac05

Verify advisory

Source
Linux
Linux
≥ 5ec27ec735ba0477d48c80561cc5e856f0c5dfaf, < ffde3af4b29bf97d62d82e1d45275587e10a991a

Verify advisory

Source
Linux
Linux
≥ 5ec27ec735ba0477d48c80561cc5e856f0c5dfaf, < c7e2f43d182f5dde473389dbb39f16c9f0d64536

Verify advisory

Source
Linux
Linux
≥ 5ec27ec735ba0477d48c80561cc5e856f0c5dfaf, < 98ca62ba9e2be5863c7d069f84f7166b45a5b2f4

Verify advisory

Source
Linux
Linux
e83234d7ef237931148b4b17834dadf57eb46c12

Verify advisory

Source
Linux
Linux
2cbf2af144f0cd08a3361c6299b2e6086b7d21d9

Verify advisory

Source
Linux
Linux
2c7b50c7b1d036f71acd9a917a8cb0f9b6e43dab

Verify advisory

Source
Linux
Linux
7eb45a94c279dd5af4cafaa738ae93737517eef4

Verify advisory

Source
Linux
Linux
14cc90952cef94bfa89a6b4a2f55fd9a70f50a16

Verify advisory

Source
Linux
Linux
≥ 4.9.187, < 4.10

Verify advisory

Source
Linux
Linux
≥ 4.14.135, < 4.15

Verify advisory

Source
Linux
Linux
≥ 4.19.61, < 4.20

Verify advisory

Source
Linux
Linux
≥ 5.1.20, < 5.2

Verify advisory

Source
Linux
Linux
≥ 5.2.3, < 5.3

Verify advisory

Source
Linux
Linux
5.3

Verify advisory

Source
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
Siemens
< V1.1.1

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.