Skip to content
Snippets Groups Projects
Select Git revision
  • db2aa7fd15e857891cefbada8348c8d938c7a2bc
  • 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

usr

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Greg Kroah-Hartman authored and Yongqiang Liu committed
    stable inclusion
    from stable-v4.19.258
    commit ebfb744bb6036485dac2a45c46e82b911c3726d1
    category: bugfix
    bugzilla: https://gitee.com/openeuler/kernel/issues/I5UQH4
    
    
    CVE: NA
    
    --------------------------------
    
    commit dec9b2f1e0455a151a7293c367da22ab973f713e upstream.
    
    There is a very common pattern of using
    debugfs_remove(debufs_lookup(..)) which results in a dentry leak of the
    dentry that was looked up.  Instead of having to open-code the correct
    pattern of calling dput() on the dentry, create
    debugfs_lookup_and_remove() to handle this pattern automatically and
    properly without any memory leaks.
    
    Cc: stable <stable@kernel.org>
    Reported-by: default avatarKuyo Chang <kuyo.chang@mediatek.com>
    Tested-by: default avatarKuyo Chang <kuyo.chang@mediatek.com>
    Link: https://lore.kernel.org/r/YxIaQ8cSinDR881k@kroah.com
    
    
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    Signed-off-by: default avatarYongqiang Liu <liuyongqiang13@huawei.com>
    a1c25212
    History
    Name Last commit Last update
    ..