clocksource/drivers/timer-sun4i: Advertise a real minimum delta
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0cc4b14d7401d50e53a01f1554147ee075ee6943, Kernel 151eb52f8712017c8f7b00bb2305e8916cb9e3dc, Kernel 53a3bc024b8e5d284468cce84957cded5f859f98 and 5 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =3.13, >=12e1480bcb4920c1b02b3793cb48756497919a60 <0cc4b14d7401d50e53a01f1554147ee075ee6943, >=12e1480bcb4920c1b02b3793cb48756497919a60 <151eb52f8712017c8f7b00bb2305e8916cb9e3dc, >=12e1480bcb4920c1b02b3793cb48756497919a60 <53a3bc024b8e5d284468cce84957cded5f859f98, >=12e1480bcb4920c1b02b3793cb48756497919a60 <753a220084dfc4d737f2ab9eaddc9a01a397edd7, >=12e1480bcb4920c1b02b3793cb48756497919a60 <bf38be01d43c4e4ca903aff7236d8486a950a252, >=12e1480bcb4920c1b02b3793cb48756497919a60 <d21808328225ab8cee46885bf9a0dffcefbe630e, >=12e1480bcb4920c1b02b3793cb48756497919a60 <ebba4d0aeba0e8eb3a9676380fc2652de8ab1c44, >=12e1480bcb4920c1b02b3793cb48756497919a60 <f0efafcdf6eec1f3361bfd8c811420198f55c8bb | 0cc4b14d7401d50e53a01f1554147ee075ee6943, 151eb52f8712017c8f7b00bb2305e8916cb9e3dc, 53a3bc024b8e5d284468cce84957cded5f859f98, 753a220084dfc4d737f2ab9eaddc9a01a397edd7, bf38be01d43c4e4ca903aff7236d8486a950a252, d21808328225ab8cee46885bf9a0dffcefbe630e, ebba4d0aeba0e8eb3a9676380fc2652de8ab1c44, f0efafcdf6eec1f3361bfd8c811420198f55c8bb |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket