Skip to contentSkip to conversation

CVE-2026-93219: clocksource/drivers/timer-sun4i: Advertise a real minimum delta

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 24

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

clocksource/drivers/timer-sun4i: Advertise a real minimum delta

sun4i_clkevt_next_event() compensates for the timer stop/start synchronization delay by programming evt - TIMER_SYNC_TICKS into the hardware interval register. The clockevent device currently advertises TIMER_SYNC_TICKS as min_delta_ticks, so the clockevents core is allowed to call set_next_event() with evt == TIMER_SYNC_TICKS.

That programs a zero-tick interval. With oneshot/highres/nohz timer operation this can leave the next event stuck, which was observed as a boot hang on Allwinner D1 after the clockevents core started reusing forced minimum-delta events.

Advertise one extra tick instead, so the smallest event accepted by the core still programs at least one hardware tick after the synchronization compensation.

The Linux kernel CVE team has assigned CVE-2026-93219 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 3.13 with commit 12e1480bcb4920c1b02b3793cb48756497919a60 and fixed in 5.10.270 with commit 0cc4b14d7401d50e53a01f1554147ee075ee6943
	Issue introduced in 3.13 with commit 12e1480bcb4920c1b02b3793cb48756497919a60 and fixed in 5.15.221 with commit 53a3bc024b8e5d284468cce84957cded5f859f98
	Issue introduced in 3.13 with commit 12e1480bcb4920c1b02b3793cb48756497919a60 and fixed in 6.1.188 with commit 753a220084dfc4d737f2ab9eaddc9a01a397edd7
	Issue introduced in 3.13 with commit 12e1480bcb4920c1b02b3793cb48756497919a60 and fixed in 6.6.157 with commit ebba4d0aeba0e8eb3a9676380fc2652de8ab1c44
	Issue introduced in 3.13 with commit 12e1480bcb4920c1b02b3793cb48756497919a60 and fixed in 6.12.109 with commit 151eb52f8712017c8f7b00bb2305e8916cb9e3dc
	Issue introduced in 3.13 with commit 12e1480bcb4920c1b02b3793cb48756497919a60 and fixed in 6.18.50 with commit bf38be01d43c4e4ca903aff7236d8486a950a252
	Issue introduced in 3.13 with commit 12e1480bcb4920c1b02b3793cb48756497919a60 and fixed in 7.2.4 with commit f0efafcdf6eec1f3361bfd8c811420198f55c8bb
	Issue introduced in 3.13 with commit 12e1480bcb4920c1b02b3793cb48756497919a60 and fixed in 7.3-rc1 with commit d21808328225ab8cee46885bf9a0dffcefbe630e

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-93219

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/clocksource/timer-sun4i.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/0cc4b14d7401d50e53a01f1554147ee075ee6943
	https://git.kernel.org/stable/c/53a3bc024b8e5d284468cce84957cded5f859f98
	https://git.kernel.org/stable/c/753a220084dfc4d737f2ab9eaddc9a01a397edd7
	https://git.kernel.org/stable/c/ebba4d0aeba0e8eb3a9676380fc2652de8ab1c44
	https://git.kernel.org/stable/c/151eb52f8712017c8f7b00bb2305e8916cb9e3dc
	https://git.kernel.org/stable/c/bf38be01d43c4e4ca903aff7236d8486a950a252
	https://git.kernel.org/stable/c/f0efafcdf6eec1f3361bfd8c811420198f55c8bb
	https://git.kernel.org/stable/c/d21808328225ab8cee46885bf9a0dffcefbe630e