Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2024-42312
VULNERABILITY

CVE-2024-42312

Common Vulnerabilities and Exposures record

MEDIUM

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.

Risk

CVSS
5.5
Severity
MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Timeline

Published
Aug 17, 2024 09:15
Modified
Oct 15, 2026 01:18
Last observed
Oct 15, 2026 12:24

CWE

CWE-908

Affected product identifiers

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

References