util-linux versions through 2.41.5 and 2.42.2 fail to check mount helper exit status before running post-mount hooks, allowing unprivileged users to execute privileged operations on pre-existing filesystems. Attackers can exploit X-mount.idmap or X-mount.owner hooks to clone filesystems with inherited suid bits or modify target inode permissions after a helper fails, achieving privilege escalation.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-390"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76642.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "2.39"
},
{
"fixed": "2.41.6"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "2.42"
},
{
"fixed": "2.42.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "f57cea130839c0af8dc0525274267ae4cfd66bbf"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "1d14676ea70003e9f5b2a6a76af0cadb1190411a"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "a15c00a9e545aa8b9cf6ec0f888ff6c7b3eaeedc"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-76642.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "231834648963002285768291963693058281121",
"length": 1541
},
"id": "CVE-2026-76642-02c5f09c",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/util-linux/util-linux/commit/a15c00a9e545aa8b9cf6ec0f888ff6c7b3eaeedc",
"target": {
"file": "libmount/src/context_mount.c",
"function": "mnt_context_mount"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "231834648963002285768291963693058281121",
"length": 1541
},
"id": "CVE-2026-76642-364af411",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/util-linux/util-linux/commit/1d14676ea70003e9f5b2a6a76af0cadb1190411a",
"target": {
"file": "libmount/src/context_mount.c",
"function": "mnt_context_mount"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "133281925866185137591021574535477504190",
"length": 253
},
"id": "CVE-2026-76642-46f46d62",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/util-linux/util-linux/commit/1d14676ea70003e9f5b2a6a76af0cadb1190411a",
"target": {
"file": "libmount/src/hook_loopdev.c",
"function": "hookset_deinit"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "242289989841050256691018651834816396743",
"length": 1541
},
"id": "CVE-2026-76642-48118b48",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/util-linux/util-linux/commit/f57cea130839c0af8dc0525274267ae4cfd66bbf",
"target": {
"file": "libmount/src/context_mount.c",
"function": "mnt_context_mount"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"55218515733450798731216135315735916816",
"3921252240536986979700149378665315172",
"277961465953627764036107494254536282790",
"116312463450562576640736865666202195992",
"286365227122950077258756110158610680107",
"4370948598745793075799969918370406079",
"321625399388288065797316329286763398233",
"103175749726201353795086785314674694522",
"277400334890740258290850723335185369218",
"263198089839489699495144096384057141722",
"244674509374242799767948705796383511211"
],
"threshold": 0.9
},
"id": "CVE-2026-76642-49e3e2c7",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/util-linux/util-linux/commit/a15c00a9e545aa8b9cf6ec0f888ff6c7b3eaeedc",
"target": {
"file": "libmount/src/context_mount.c"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"55218515733450798731216135315735916816",
"3921252240536986979700149378665315172",
"277961465953627764036107494254536282790",
"116312463450562576640736865666202195992",
"286365227122950077258756110158610680107",
"4370948598745793075799969918370406079",
"321625399388288065797316329286763398233",
"103175749726201353795086785314674694522",
"277400334890740258290850723335185369218",
"263198089839489699495144096384057141722",
"244674509374242799767948705796383511211"
],
"threshold": 0.9
},
"id": "CVE-2026-76642-63143645",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/util-linux/util-linux/commit/f57cea130839c0af8dc0525274267ae4cfd66bbf",
"target": {
"file": "libmount/src/context_mount.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "55827025012798539621447988673971646146",
"length": 1023
},
"id": "CVE-2026-76642-7a273734",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/util-linux/util-linux/commit/a15c00a9e545aa8b9cf6ec0f888ff6c7b3eaeedc",
"target": {
"file": "libmount/src/context_mount.c",
"function": "mnt_context_do_mount"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "314485091134137154508197357793663630715",
"length": 253
},
"id": "CVE-2026-76642-833ddf50",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/util-linux/util-linux/commit/f57cea130839c0af8dc0525274267ae4cfd66bbf",
"target": {
"file": "libmount/src/hook_loopdev.c",
"function": "hookset_deinit"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"17989711024947974121519068396662392088",
"311889267921061494022393327700764872631",
"78115924382164963739391726279642525773",
"100479621781559039280967416493069183298",
"117108681030351722332625637983199545564",
"57987610330545539796159969617597419598",
"194446008419049159158263308909908607334",
"168250881839990326691700181141875524368"
],
"threshold": 0.9
},
"id": "CVE-2026-76642-a9870b0c",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/util-linux/util-linux/commit/a15c00a9e545aa8b9cf6ec0f888ff6c7b3eaeedc",
"target": {
"file": "libmount/src/hook_loopdev.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "207800752218999914478399995797338025413",
"length": 1023
},
"id": "CVE-2026-76642-a9c83566",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/util-linux/util-linux/commit/f57cea130839c0af8dc0525274267ae4cfd66bbf",
"target": {
"file": "libmount/src/context_mount.c",
"function": "mnt_context_do_mount"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "55827025012798539621447988673971646146",
"length": 1023
},
"id": "CVE-2026-76642-cedb1f78",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/util-linux/util-linux/commit/1d14676ea70003e9f5b2a6a76af0cadb1190411a",
"target": {
"file": "libmount/src/context_mount.c",
"function": "mnt_context_do_mount"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "133281925866185137591021574535477504190",
"length": 253
},
"id": "CVE-2026-76642-dbb87783",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/util-linux/util-linux/commit/a15c00a9e545aa8b9cf6ec0f888ff6c7b3eaeedc",
"target": {
"file": "libmount/src/hook_loopdev.c",
"function": "hookset_deinit"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"17989711024947974121519068396662392088",
"311889267921061494022393327700764872631",
"78115924382164963739391726279642525773",
"198602760997071500301932192730649687640",
"87304573351533731340658457077414531463",
"270897980139346454566214339069973491182",
"194446008419049159158263308909908607334",
"168250881839990326691700181141875524368"
],
"threshold": 0.9
},
"id": "CVE-2026-76642-e2941f61",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/util-linux/util-linux/commit/f57cea130839c0af8dc0525274267ae4cfd66bbf",
"target": {
"file": "libmount/src/hook_loopdev.c"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"55218515733450798731216135315735916816",
"3921252240536986979700149378665315172",
"277961465953627764036107494254536282790",
"116312463450562576640736865666202195992",
"286365227122950077258756110158610680107",
"4370948598745793075799969918370406079",
"321625399388288065797316329286763398233",
"103175749726201353795086785314674694522",
"277400334890740258290850723335185369218",
"263198089839489699495144096384057141722",
"244674509374242799767948705796383511211"
],
"threshold": 0.9
},
"id": "CVE-2026-76642-e825cbc6",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/util-linux/util-linux/commit/1d14676ea70003e9f5b2a6a76af0cadb1190411a",
"target": {
"file": "libmount/src/context_mount.c"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"17989711024947974121519068396662392088",
"311889267921061494022393327700764872631",
"78115924382164963739391726279642525773",
"100479621781559039280967416493069183298",
"117108681030351722332625637983199545564",
"57987610330545539796159969617597419598",
"194446008419049159158263308909908607334",
"168250881839990326691700181141875524368"
],
"threshold": 0.9
},
"id": "CVE-2026-76642-ed250ad0",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/util-linux/util-linux/commit/1d14676ea70003e9f5b2a6a76af0cadb1190411a",
"target": {
"file": "libmount/src/hook_loopdev.c"
}
}
]
"2026-10-22T16:40:34Z"