[SRU] [E] [PATCH 0/1] Fix potential null pointer dereference on kernfs

Kai-Heng Feng kai.heng.feng at canonical.com
Wed Apr 22 09:53:18 UTC 2020


BugLink: https://bugs.launchpad.net/bugs/1874221

[Impact]
We are seeing a null kernel dereference on kernfs during system sleep
stress.

[Fix]
Make sure kernfs node is not null before reaching to root.

[Test]
Run sleep stress. Not seeing the issue after the fix is applied.

[Regression Potential]
Low. Fix limits to kernfs, also the it has been in upstream kernel for
quite a while. 

Peng Wang (1):
  kernfs: fix potential null pointer dereference

 fs/kernfs/dir.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

-- 
2.17.1




More information about the kernel-team mailing list