Files
vuln-cve/data/2026/89xxx/CVE-2026-89998.json
T

244 lines
13 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-89998",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2026-09-11T19:38:34.780Z",
"datePublished": "2026-09-16T10:33:10.012Z",
"dateUpdated": "2026-10-19T08:56:12.250Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-10-19T08:56:12.250Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndm: fix race when loading and unloading a table\n\nIf the userspace calls two concurrent table load ioctls and one of them\nsucceeds and the other fails, there is a race condition because\ndm_setup_md_queue walks &md->table_devices without any lock. If the walk\nraces with dm_table_destroy -> free_devices -> dm_put_table_device, there\nis access to invalid memory.\n\nFix this race by extending the lock over the list walk."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 7.8,
"baseSeverity": "HIGH"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - The race is reached only through local DM_TABLE_LOAD ioctls on /dev/mapper/control (ctl_ioctl → table_load → dm_setup_md_queue walking md->table_devices). No network, Bluetooth, or physical-bus path loads a device-mapper table.\nAC:L - The attacker issues two concurrent table-load ioctls on a mapped device they created, owning both sides of the race: one load fails after populate_table added devices and dm_table_destroy frees them while the other walks the list. Device-mapper is a standard distro component, not a rare config.\nPR:L - ctl_ioctl requires capable(CAP_SYS_ADMIN). In the most severe reasonable deployment that capability is held by a container, CSI, or LVM/storage-stack administrator with delegated /dev/mapper/control rather than exclusive host root, matching kernel-CNA scoring of other device-mapper ioctl bugs as Low.\nUI:N - The attacker performs every step with its own ioctls (DM_DEV_CREATE then concurrent DM_TABLE_LOAD). No separate victim action such as mounting a filesystem or opening a file is required.\nS:U - The use-after-free of struct table_device stays inside the host kernel's security authority. This is standard kernel memory corruption, not a VM, IOMMU, or sandbox boundary crossing.\nC:H - dm_setup_md_queue walks md->table_devices and dereferences td->dm_dev.bdev after a concurrent dm_table_destroy has kfree'd the table_device. Reclaiming that slab object yields an arbitrary kernel read, so confidentiality is High.\nI:H - The same use-after-free lets an attacker spray a replacement object so bd_link_disk_holder writes through an attacker-controlled bdev pointer, a classic heap UAF write and control-flow hijack primitive, so integrity is High.\nA:H - Walking a freed table_device list entry or calling bd_link_disk_holder on a dangling bdev causes a kernel oops, panic, or hang, which is a complete availability impact."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/md/dm.c"
],
"versions": [
{
"version": "773bfda35c9511734d7f898e2ee73cd60d2a3f38",
"lessThan": "b02e35b81176c7d61dd441cc7a2e5c324a82444b",
"status": "affected",
"versionType": "git"
},
{
"version": "1a581b72169968f4154b5793828f3bc28b258b35",
"lessThan": "0ea6e5ad4a5817e91f11b4cc1e022e575ed2e7ca",
"status": "affected",
"versionType": "git"
},
{
"version": "1a581b72169968f4154b5793828f3bc28b258b35",
"lessThan": "a1af1884c960b98c621b6fe2fea1216b78c02152",
"status": "affected",
"versionType": "git"
},
{
"version": "1a581b72169968f4154b5793828f3bc28b258b35",
"lessThan": "af1f32ccf8051f4691ced11feb452b9d13561727",
"status": "affected",
"versionType": "git"
},
{
"version": "1a581b72169968f4154b5793828f3bc28b258b35",
"lessThan": "00ad6f9ed27f91925d4d3fb7aab50a60d774f998",
"status": "affected",
"versionType": "git"
},
{
"version": "1a581b72169968f4154b5793828f3bc28b258b35",
"lessThan": "5380c7f6335cc6d77eb77d065105e81155c4d9d3",
"status": "affected",
"versionType": "git"
},
{
"version": "600593707c239bb99486925d65540a5020bc1e58",
"status": "affected",
"versionType": "git"
},
{
"version": "6.1.2",
"lessThan": "6.1.188",
"status": "affected",
"versionType": "semver"
},
{
"version": "6.0.16",
"lessThan": "6.1",
"status": "affected",
"versionType": "semver"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/md/dm.c"
],
"versions": [
{
"version": "6.2",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.2",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.1.188",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.6.157",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.12.110",
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.18.51",
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "7.2.5",
"lessThanOrEqual": "7.2.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "7.3",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.1.2",
"versionEndExcluding": "6.1.188"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.2",
"versionEndExcluding": "6.6.157"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.2",
"versionEndExcluding": "6.12.110"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.2",
"versionEndExcluding": "6.18.51"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.2",
"versionEndExcluding": "7.2.5"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.2",
"versionEndExcluding": "7.3"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.0.16"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/b02e35b81176c7d61dd441cc7a2e5c324a82444b"
},
{
"url": "https://git.kernel.org/stable/c/0ea6e5ad4a5817e91f11b4cc1e022e575ed2e7ca"
},
{
"url": "https://git.kernel.org/stable/c/a1af1884c960b98c621b6fe2fea1216b78c02152"
},
{
"url": "https://git.kernel.org/stable/c/af1f32ccf8051f4691ced11feb452b9d13561727"
},
{
"url": "https://git.kernel.org/stable/c/00ad6f9ed27f91925d4d3fb7aab50a60d774f998"
},
{
"url": "https://git.kernel.org/stable/c/5380c7f6335cc6d77eb77d065105e81155c4d9d3"
}
],
"title": "dm: fix race when loading and unloading a table",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
}
}