[GIT PULL] sysctl fixes for v7.3-rc4

From: Joel Granados

Date: Tue Sep 15 2026 - 03:43:02 EST


The following changes since commit fd73f4a6659897191fa0d40695fe370925dd3780:

Linux 7.3-rc3 (2026-09-13 14:38:02 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/sysctl/sysctl.git tags/sysctl-7.03-fixes-rc4

for you to fetch changes up to afdf35cfae0d039a4a6c907fa5d8391f1ef0a0aa:

sysctl: Fix type truncation in sysctl_msec_to_jiffies (2026-09-15 09:20:58 +0200)

----------------------------------------------------------------
Summary

* Re-add the range check for millisecond to jiffy conversion in sysctl

They where removed in d174174c6776 ("sysctl: replace SYSCTL_INT_CONV_CUSTOM
macro with functions") and b96b5c6708ea ("sysctl: Replace
do_proc_do{int,ulong,uint}vec with do_proc_vec")

* Fix type truncation in sysctl_msec_to_jiffies

Previously truncated millisecond values now get converted into
MAX_JIFFY_OFFSET

* Testing

Ran through x86_64 selftest. One week in linux-next

----------------------------------------------------------------
Joel Granados (1):
sysctl: Fix type truncation in sysctl_msec_to_jiffies

Kuniyuki Iwashima (2):
sysctl: Check range in proc_dointvec_ms_jiffies_minmax
sysctl: Check range in do_proc_ulong_conv_ms_jiffies

kernel/time/jiffies.c | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)

Attachment: signature.asc
Description: PGP signature