A flaw was found in Linux kernel in the ext4 filesystem code. A use-after-free is possible in ext4extremove_space() function when mounting and operating a crafted ext4 image.
[
{
"target": {
"file": "fs/ext4/mballoc.c",
"function": "ext4_mb_add_groupinfo"
},
"id": "CVE-2018-10876-0520b59c",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@8844618d8aa7a9973e7b527d038a2a589665002c",
"digest": {
"length": 1798.0,
"function_hash": "143140906126351204776549937694991246696"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function"
},
{
"target": {
"file": "fs/ext4/super.c",
"function": "ext4_has_uninit_itable"
},
"id": "CVE-2018-10876-13626121",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@8844618d8aa7a9973e7b527d038a2a589665002c",
"digest": {
"length": 312.0,
"function_hash": "109962726037900657697431409370146423011"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function"
},
{
"target": {
"file": "fs/ext4/mballoc.c"
},
"id": "CVE-2018-10876-1a2aed31",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@8844618d8aa7a9973e7b527d038a2a589665002c",
"digest": {
"threshold": 0.9,
"line_hashes": [
"94095711913855932904160949836595453000",
"304086143291535292534432258327379702016",
"251806698594663795583154471481468326172",
"86547248514654907636744925804675961268",
"287436889009502249409440719820913789377",
"74443154194116413337557276535294081595",
"333330643875445163694714482181674864160",
"43026280776121902272789890955688166606"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line"
},
{
"target": {
"file": "fs/ext4/balloc.c"
},
"id": "CVE-2018-10876-5c5a06fe",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@8844618d8aa7a9973e7b527d038a2a589665002c",
"digest": {
"threshold": 0.9,
"line_hashes": [
"92828599180102796571107041582137738832",
"64901858494960899741527731244116761969",
"108051702602935705100824885995743334100",
"193598062265354358407494240333542123755"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line"
},
{
"target": {
"file": "fs/ext4/mballoc.c",
"function": "ext4_mb_mark_diskspace_used"
},
"id": "CVE-2018-10876-9c1035c6",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@8844618d8aa7a9973e7b527d038a2a589665002c",
"digest": {
"length": 2708.0,
"function_hash": "270352726007950760681597619507139675002"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function"
},
{
"target": {
"file": "fs/ext4/ialloc.c",
"function": "ext4_read_inode_bitmap"
},
"id": "CVE-2018-10876-aa3edbe0",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@8844618d8aa7a9973e7b527d038a2a589665002c",
"digest": {
"length": 1928.0,
"function_hash": "329873178388536868742746694998766278710"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function"
},
{
"target": {
"file": "fs/ext4/ialloc.c"
},
"id": "CVE-2018-10876-b7528eaa",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@8844618d8aa7a9973e7b527d038a2a589665002c",
"digest": {
"threshold": 0.9,
"line_hashes": [
"164900051560582225970399031220553300183",
"241417533496074955988497334295992906569",
"196805961828889926312754233800679035702",
"175928695839854684913171340274829972613",
"85993654918940891304235001190807340261",
"85217960752233332160192140653560127731",
"218906962361148634309098353056039582545",
"312937891318677785575793962001265173871"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line"
},
{
"target": {
"file": "fs/ext4/ialloc.c",
"function": "__ext4_new_inode"
},
"id": "CVE-2018-10876-d39a76d0",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@8844618d8aa7a9973e7b527d038a2a589665002c",
"digest": {
"length": 8800.0,
"function_hash": "76221934216497104815569712127024514524"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function"
},
{
"target": {
"file": "fs/ext4/balloc.c",
"function": "ext4_read_block_bitmap_nowait"
},
"id": "CVE-2018-10876-d514e6bb",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@8844618d8aa7a9973e7b527d038a2a589665002c",
"digest": {
"length": 1710.0,
"function_hash": "308391704029434782650383319649931056241"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function"
},
{
"target": {
"file": "fs/ext4/super.c"
},
"id": "CVE-2018-10876-f5a4e3ec",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@8844618d8aa7a9973e7b527d038a2a589665002c",
"digest": {
"threshold": 0.9,
"line_hashes": [
"180399010958935924289294796748668204865",
"93637561587529350838622410663697243466",
"300887341202431082469363499543501726567",
"133289706090236306664189856654338903301",
"15215474293434927017976753066747696986",
"220471345717732550301577994649437167634",
"121601387928255655819870180844148148587",
"291928793080632497962774573852392745434",
"187691311092160008738119865327484362233"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-10876.json"