CVE-2026-139768
dlm: fix buffer overflow from negative len in dlm_search_rsb_tree
Mitigation
- Upgrade Linux to 7.3.6 or later.
Who should check
- Anyone running Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 08cb20cf07a8c5324b49442421da1556fd2d7cff; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 35d6a8cf1b8865f4f1646f98683925e3cd070a1c; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 69beb43cd143f63078e569d9d90c6c401c866695; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d785f7d92f197b72d496bbcf54a160cd54f00263; < 6.12.119; < 6.18.65; < 7.3.6
- Anyone running Linux all versions
Vulnerability facts
- Affected
- Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 08cb20cf07a8c5324b49442421da1556fd2d7cff; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 35d6a8cf1b8865f4f1646f98683925e3cd070a1c; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 69beb43cd143f63078e569d9d90c6c401c866695; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d785f7d92f197b72d496bbcf54a160cd54f00263; < 6.12.119; < 6.18.65; < 7.3.6; Linux all versions
- Fixed in
- Linux 08cb20cf07a8c5324b49442421da1556fd2d7cff, Linux 35d6a8cf1b8865f4f1646f98683925e3cd070a1c, Linux 69beb43cd143f63078e569d9d90c6c401c866695, Linux 6.12.119, Linux 6.18.65, Linux 7.3.6
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: dlm: fix buffer overflow from negative len in dlm_search_rsb_tree commit 080e5563f878c ("dlm: validate length in dlm_search_rsb_tree") only checks for len > DLM_RESNAME_MAXLEN, which does not catch negative values. While the input 'len' can be negative and a negative int passed to memcpy() is implicitly converted to a large size_t, causing a stack buffer overflow on the key[] array. Fix this by changing the 'len' parameter type from int to unsigned int. This ensures negative values from callers are implicitly converted to large unsigned values that are caught by the existing len > DLM_RESNAME_MAXLEN check.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 08cb20cf07a8c5324b49442421da1556fd2d7cff; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 35d6a8cf1b8865f4f1646f98683925e3cd070a1c; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 69beb43cd143f63078e569d9d90c6c401c866695; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d785f7d92f197b72d496bbcf54a160cd54f00263; < 6.12.119; < 6.18.65; < 7.3.6 | — | cvelist |
| Linux | all versions | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-139768. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-139768.md Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 08cb20cf07a8c5324b49442421da1556fd2d7cff; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 35d6a8cf1b8865f4f1646f98683925e3cd070a1c; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 69beb43cd143f63078e569d9d90c6c401c866695; >= 1da177e4c3f41524e886b7f… Fixed in: Linux 08cb20cf07a8c5324b49442421da1556fd2d7cff, Linux 35d6a8cf1b8865f4f1646f98683925e3cd070a1c, Linux 69beb43cd143f63078e569d9d90c6c401c866695, Linux 6.12.119, Linux 6.18.65, Linux 7.3.6 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
FAQ
Is CVE-2026-139768 being exploited?
There is no confirmed exploitation: CVE-2026-139768 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-139768?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-139768?
Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 08cb20cf07a8c5324b49442421da1556fd2d7cff; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 35d6a8cf1b8865f4f1646f98683925e3cd070a1c; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 69beb43cd143f63078e569d9d90c6c401c866695; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d785f7d92f197b72d496bbcf54a160cd54f00263; < 6.12.119; < 6.18.65; < 7.3.6; Linux all versions.
Is there a fix for CVE-2026-139768?
Yes. Fixed in Linux 08cb20cf07a8c5324b49442421da1556fd2d7cff, Linux 35d6a8cf1b8865f4f1646f98683925e3cd070a1c, Linux 69beb43cd143f63078e569d9d90c6c401c866695, Linux 6.12.119, Linux 6.18.65, Linux 7.3.6. Upgrade Linux to 7.3.6 or later.
How do I check if I'm affected by CVE-2026-139768?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 6.5 | CVE-2026-140063 Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker | Linux kernel+1 | ||
| MEDIUM 5.1 | CVE-2026-140038 Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-139801 KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM | Linux kernel | ||
| UNSCORED | CVE-2026-139800 9p/xen: drain response work after unbinding IRQ | Linux kernel | ||
| HIGH 7.0 | CVE-2026-139799 mm/shmem: hold off eviction in shmem_writeout() | Linux kernel |