Skip to content
Snippets Groups Projects
Select Git revision
  • b89cbe688b97261a4c924a74417f275aa5b25fb9
  • openEuler-1.0-LTS default protected
  • openEuler-22.09
  • OLK-5.10
  • openEuler-22.03-LTS
  • openEuler-22.03-LTS-Ascend
  • master
  • openEuler-22.03-LTS-LoongArch-NW
  • openEuler-22.09-HCK
  • openEuler-20.03-LTS-SP3
  • openEuler-21.09
  • openEuler-21.03
  • openEuler-20.09
  • 4.19.90-2210.5.0
  • 5.10.0-123.0.0
  • 5.10.0-60.63.0
  • 5.10.0-60.62.0
  • 4.19.90-2210.4.0
  • 5.10.0-121.0.0
  • 5.10.0-60.61.0
  • 4.19.90-2210.3.0
  • 5.10.0-60.60.0
  • 5.10.0-120.0.0
  • 5.10.0-60.59.0
  • 5.10.0-119.0.0
  • 4.19.90-2210.2.0
  • 4.19.90-2210.1.0
  • 5.10.0-118.0.0
  • 5.10.0-106.19.0
  • 5.10.0-60.58.0
  • 4.19.90-2209.6.0
  • 5.10.0-106.18.0
  • 5.10.0-106.17.0
33 results

kernel

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Zheng Yejian authored and Yongqiang Liu committed
    hulk inclusion
    category: feature
    bugzilla: 186346, https://gitee.com/openeuler/kernel/issues/I4WBFN
    
    
    CVE: NA
    
    --------------------------------
    
    Refer to following procedure:
      klp_init_object
        klp_init_object_loaded
          klp_find_object_symbol <-- 1. oops happened when old_name is NULL!!!
        klp_init_func  <-- 2. currently old_name is first time check here
    
    This problem was introduced in commit 453d3845 ("livepatch/arm64:
    fix func size less than limit") which exchange order of 'klp_init_func'
    and 'klp_init_object_loaded' then cause old_name being used before check.
    
    We move these checks before 'klp_init_object_loaded' and add several
    logs to tell why check failed.
    
    Fixes: 453d3845 ("livepatch/arm64: fix func size less than limit")
    Signed-off-by: default avatarZheng Yejian <zhengyejian1@huawei.com>
    Reviewed-by: default avatarCheng Jian <cj.chengjian@huawei.com>
    Signed-off-by: default avatarYongqiang Liu <liuyongqiang13@huawei.com>
    b89cbe68
    History
    Name Last commit Last update
    ..