Bugzilla – Bug 1157717
VUL-0: CVE-2019-19037: kernel-source: kernel: null-pointer dereference in ext4_empty_dir in fs/ext4/namei.c
Last modified: 2024-06-25 14:07:58 UTC
CVE-2019-19037 A vulnerability was found in ext4_empty_dir in fs/ext4/namei.c in the Linux kernel allows a NULL pointer dereference because ext4_read_dirblock(inode,0,DIRENT_HTREE) can be zero. Reference: https://github.com/bobfuzzer/CVE/tree/master/CVE-2019-19037 References: https://bugzilla.redhat.com/show_bug.cgi?id=1775182 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-19037 http://people.canonical.com/~ubuntu-security/cve/2019/CVE-2019-19037.html https://github.com/bobfuzzer/CVE/tree/master/CVE-2019-19037 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-19037
Created attachment 825053 [details] [PATCH] ext4: Fix ext4_empty_dir for directories with holes This is the patch I've just submitted upstream.
The problem has been introduced by commit 4e19d6b65fb4 ("ext4: allow directory holes") which was merged into 5.3 so we need to fix only SLE15-SP2.
My fixes have been merged upstream as: 64d4ce892383 "ext4: fix ext4_empty_dir() for directories with holes" 109ba779d6cc "ext4: check for directory entries too close to block end" I've pushed the fixes to SLE15-SP2 branch. Reassigning to security team for further handling.
Closing