Lucene search

K
nvd416baaa9-dc9f-4396-8d5f-8c081fb06d67NVD:CVE-2024-42312
HistoryAug 17, 2024 - 9:15 a.m.

CVE-2024-42312

2024-08-1709:15:11
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
3
linux kernel
sysctl vulnerability
initialization
sysfs core
set_ownership
i_uid
i_gid

EPSS

0

Percentile

10.8%

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.