CVE-2023-54246
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
30/12/2025
Last modified:
30/12/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
rcuscale: Move rcu_scale_writer() schedule_timeout_uninterruptible() to _idle()<br />
<br />
The rcuscale.holdoff module parameter can be used to delay the start<br />
of rcu_scale_writer() kthread. However, the hung-task timeout will<br />
trigger when the timeout specified by rcuscale.holdoff is greater than<br />
hung_task_timeout_secs:<br />
<br />
runqemu kvm nographic slirp qemuparams="-smp 4 -m 2048M"<br />
bootparams="rcuscale.shutdown=0 rcuscale.holdoff=300"<br />
<br />
[ 247.071753] INFO: task rcu_scale_write:59 blocked for more than 122 seconds.<br />
[ 247.072529] Not tainted 6.4.0-rc1-00134-gb9ed6de8d4ff #7<br />
[ 247.073400] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.<br />
[ 247.074331] task:rcu_scale_write state:D stack:30144 pid:59 ppid:2 flags:0x00004000<br />
[ 247.075346] Call Trace:<br />
[ 247.075660] <br />
[ 247.075965] __schedule+0x635/0x1280<br />
[ 247.076448] ? __pfx___schedule+0x10/0x10<br />
[ 247.076967] ? schedule_timeout+0x2dc/0x4d0<br />
[ 247.077471] ? __pfx_lock_release+0x10/0x10<br />
[ 247.078018] ? enqueue_timer+0xe2/0x220<br />
[ 247.078522] schedule+0x84/0x120<br />
[ 247.078957] schedule_timeout+0x2e1/0x4d0<br />
[ 247.079447] ? __pfx_schedule_timeout+0x10/0x10<br />
[ 247.080032] ? __pfx_rcu_scale_writer+0x10/0x10<br />
[ 247.080591] ? __pfx_process_timeout+0x10/0x10<br />
[ 247.081163] ? __pfx_sched_set_fifo_low+0x10/0x10<br />
[ 247.081760] ? __pfx_rcu_scale_writer+0x10/0x10<br />
[ 247.082287] rcu_scale_writer+0x6b1/0x7f0<br />
[ 247.082773] ? mark_held_locks+0x29/0xa0<br />
[ 247.083252] ? __pfx_rcu_scale_writer+0x10/0x10<br />
[ 247.083865] ? __pfx_rcu_scale_writer+0x10/0x10<br />
[ 247.084412] kthread+0x179/0x1c0<br />
[ 247.084759] ? __pfx_kthread+0x10/0x10<br />
[ 247.085098] ret_from_fork+0x2c/0x50<br />
[ 247.085433] <br />
<br />
This commit therefore replaces schedule_timeout_uninterruptible() with<br />
schedule_timeout_idle().
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/4f03fba096bfded90e0d71eba8839a46922164d1
- https://git.kernel.org/stable/c/55887adc76e19aec9763186e2c1d0a3481d20e96
- https://git.kernel.org/stable/c/83ed0cdb6ae0383dd14b02375c353773836884ed
- https://git.kernel.org/stable/c/9416dccb31fdb190d25d57e97674f232651f6560
- https://git.kernel.org/stable/c/e60c122a1614b4f65b29a7bef9d83b9fd30e937a



