CVE-2024-42312
MediumIn 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 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-908CVE-2024-42312 is classified as CWE-908
See CWE-908 on MITRE CWE for full details on this weakness type.
Affected versions
Linux kernel versions
4.9.187,
4.14.135,
4.19.61,
5.1.20,
5.2.3,
5.3
and later are affected. Fixed in
5.10.224,
5.15.165,
6.1.104,
6.6.45,
6.10.3,
6.11
and their respective stable series.
References
9 total-
Patch
-
Patch
-
Patch
-
Patch
-
Patch
Frequently asked questions
-
What is CVE-2024-42312?
CVE-2024-42312 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 4.9.187 onward and has been patched in 5.10.224, 5.15.165, 6.1.104 and others. CVE-2024-42312 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-42312?
CVE-2024-42312 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-42312?
Yes. CVE-2024-42312 has been patched. Fixed versions include 5.10.224, 5.15.165, 6.1.104 and others. If you are running Linux kernel 4.9.187 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-42312 actively exploited?
No. CVE-2024-42312 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.