Thread (10 messages) 10 messages, 2 authors, 2021-10-21

Re: [PATCH v2] thermal: Fix a NULL pointer dereference

From: Daniel Lezcano <hidden>
Date: 2021-10-19 07:35:35
Also in: lkml, stable

On 19/10/2021 03:21, Subbaraman Narayanamurthy wrote:
On 10/8/21 12:50 PM, Subbaraman Narayanamurthy wrote:
quoted
On 10/6/21 4:08 AM, Daniel Lezcano wrote:
[ ... ]
quoted
/sys/devices/virtual/thermal/thermal_zone87 # echo 120000 > trip_point_0_temp  
[  184.290964][  T211] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000020
[  184.300896][  T211] Mem abort info:                                         
[  184.304486][  T211]   ESR = 0x96000006                                      
[  184.308348][  T211]   EC = 0x25: DABT (current EL), IL = 32 bits            
[  184.314531][  T211]   SET = 0, FnV = 0                                      
[  184.318384][  T211]   EA = 0, S1PTW = 0                                     
[  184.322323][  T211] Data abort info:                                        
[  184.325993][  T211]   ISV = 0, ISS = 0x00000006                             
[  184.330655][  T211]   CM = 0, WnR = 0                                       
[  184.334425][  T211] user pgtable: 4k pages, 39-bit VAs, pgdp=000000081a7a2000
[  184.341750][  T211] [0000000000000020] pgd=000000081a7a7003, p4d=000000081a7a7003, pud=000000081a7a7003, pmd=0000000000000000
[  184.353359][  T211] Internal error: Oops: 96000006 [#1] PREEMPT SMP         
[  184.359797][  T211] Dumping ftrace buffer:                                  
[  184.364001][  T211]    (ftrace buffer empty)

Hope this helps.
Hi Daniel,
Have you got a chance to look at this?
Hi Subbaraman,

Actually, I think the root problem is the thermal zone is showing up
while there is no sensor associated with it. You can read the
temperature and get a kernel warning also.

That's what should be fixed IMO.


-- 
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help