util-linux is a random collection of Linux utilities. Prior to version 2.41.4, a TOCTOU (Time-of-Check-Time-of-Use) vulnerability has been identified in the SUID binary /usr/bin/mount from util-linux. The mount binary, when setting up loop devices, validates the source file path with user privileges via fork() + setuid() + realpath(), but subsequently re-canonicalizes and opens it with root privileges (euid=0) without verifying that the path has not been replaced between both operations. Neither O_NOFOLLOW, nor inode comparison, nor post-open fstat() are employed. This allows a local unprivileged user to replace the source file with a symlink pointing to any root-owned file or device during the race window, causing the SUID binary to open and mount it as root. Exploitation requires an /etc/fstab entry with user,loop options whose path points to a directory where the attacker has write permission, and that /usr/bin/mount has the SUID bit set (the default configuration on virtually all Linux distributions). The impact is unauthorized read access to root-protected files and block devices, including backup images, disk volumes, and any file containing a valid filesystem. This issue has been patched in version 2.41.4.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27456.json",
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-269",
"CWE-367",
"CWE-59"
]
}{
"cpe": "cpe:2.3:a:kernel:util-linux:*:*:*:*:*:*:*:*",
"source": [
"CPE_RANGE",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2.41.4"
}
]
}"2026-07-27T09:24:11Z"
[
{
"id": "CVE-2026-27456-0aacee98",
"signature_version": "v1",
"digest": {
"function_hash": "181824420828116349628969132987390238291",
"length": 2643.0
},
"signature_type": "Function",
"target": {
"function": "loopcxt_setup_device",
"file": "lib/loopdev.c"
},
"source": "https://github.com/util-linux/util-linux/commit/5e390467b26a3cf3fecc04e1a0d482dff3162fc4",
"deprecated": false
},
{
"id": "CVE-2026-27456-2f8b088c",
"signature_version": "v1",
"digest": {
"function_hash": "275582541338556880950891935069961735188",
"length": 353.0
},
"signature_type": "Function",
"target": {
"function": "loopcxt_set_backing_file",
"file": "lib/loopdev.c"
},
"source": "https://github.com/util-linux/util-linux/commit/5e390467b26a3cf3fecc04e1a0d482dff3162fc4",
"deprecated": false
},
{
"id": "CVE-2026-27456-71536bc0",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"30654884298135965453829100619382842676",
"284877634596794671269644176326736707514",
"60185837360609185145715190812760167390",
"331664447028603842614077221479130865804"
]
},
"signature_type": "Line",
"target": {
"file": "include/loopdev.h"
},
"source": "https://github.com/util-linux/util-linux/commit/5e390467b26a3cf3fecc04e1a0d482dff3162fc4",
"deprecated": false
},
{
"id": "CVE-2026-27456-bf35d4ef",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"191299049309288260872233437536970783449",
"213936454775363984182550115121855535090",
"58115886371639823765726219619555508099",
"148787741903638565984479733029197769495"
]
},
"signature_type": "Line",
"target": {
"file": "libmount/src/hook_loopdev.c"
},
"source": "https://github.com/util-linux/util-linux/commit/5e390467b26a3cf3fecc04e1a0d482dff3162fc4",
"deprecated": false
},
{
"id": "CVE-2026-27456-e20e5684",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"301147071237761744420783012050259039310",
"259480792782040843222983174721685570600",
"331258797035909311274918485733983960068",
"331344308027496955379774053184636727347",
"304340342550483111131512781487744997413",
"207359331938843751581664831970219974471",
"326504577873282085312209133573997021021",
"249834514991481020223303974422184793283"
]
},
"signature_type": "Line",
"target": {
"file": "lib/loopdev.c"
},
"source": "https://github.com/util-linux/util-linux/commit/5e390467b26a3cf3fecc04e1a0d482dff3162fc4",
"deprecated": false
},
{
"id": "CVE-2026-27456-f4497197",
"signature_version": "v1",
"digest": {
"function_hash": "278246948182860954011619579310704151007",
"length": 4786.0
},
"signature_type": "Function",
"target": {
"function": "setup_loopdev",
"file": "libmount/src/hook_loopdev.c"
},
"source": "https://github.com/util-linux/util-linux/commit/5e390467b26a3cf3fecc04e1a0d482dff3162fc4",
"deprecated": false
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27456.json"