VDB

CVE-2026-68179

CVE-2026-68179 PUBLISHED CVSS 8.4 HIGH

misc: nsm: only unlock nsm_dev on post-lock error paths

Reported by linux · Published August 10, 2026

In the Linux kernel, the following vulnerability has been resolved: misc: nsm: only unlock nsm_dev on post-lock error paths nsm_dev_ioctl() jumps to the common out label even when the initial copy_from_user() fails before nsm->lock has been taken. The error path then blindly unlocks a mutex that was never acquired. This issue was found by our static analysis tool and then manually reviewed against the current tree. The grounded PoC kept the miscdevice ioctl entry and the pre-lock copy_from_user(&raw, argp, _IOC_SIZE(cmd)) failure path by issuing NSM_IOCTL_RAW with an invalid user pointer. That failure reaches the shared out label before mutex_lock(&nsm->lock). Lockdep reported: WARNING: bad unlock balance detected! exploit/193 is trying to release lock (&global_nsm.lock) at: nsm_dev_ioctl+0x5f/0xcf [vuln_msv] but there are no more locks to release! no locks held by exploit/193. Return immediately on the pre-lock copy_from_user() failure and keep the common unlock label for the post-lock paths only.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3-perf6.18Amazon Linux1:6.18.44-99.149.amzn2023
kernel6.18-headersAmazon Linux1:6.18.44-99.149.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.103-127.188.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.103-127.188.amzn2023

Risk scores

CVSS 3.1
8.4
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxb9873755a6c8ccfce79094c4dce9efa3ecb1a749, b9873755a6c8ccfce79094c4dce9efa3ecb1a749, b9873755a6c8ccfce79094c4dce9efa3ecb1a749
LinuxLinux6.8, 0, 6.12.101
amazon:2023python3-perf6.180
amazon:2023kernel6.18-headers0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-modules-extra-common0
linuxlinux_kernel6.8, 6.8, 6.8
amazon:2023kernel6.18-tools-devel0
LinuxLinux6.18.42, 6.12.101, 0
amazon:2023perf6.120
amazon:2023bpftool6.120
amazon:2023kernel6.18-devel0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.120
amazon:2023kernel-livepatch-6.12.103-127.1880
amazon:2023kernel6.180
amazon:2023perf6.180
amazon:2023kernel6.12-headers0
amazon:2023microvm-kernel6.180
amazon:2023bpftool6.180

…and 7 more

Timeline

  • Aug 10, 2026 CVE Published
  • Aug 11, 2026 Coalition ESS Score
  • Aug 16, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score (14 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-68179
vulnetix vdb fixes CVE-2026-68179

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-68179/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›